]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Sync netinet/tcp.h with upstream Linux kernel.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
e83d7298
DM
12013-01-09 David S. Miller <davem@davemloft.net>
2
3 [BZ# 15003]
4 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
5 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7 TCP_FASTOPEN): Define.
8 (tcp_repair_opt): New structure.
9 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10 enum values.
11 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14 (tcp_cookie_transactions): New structure.
15
d5e0b9bd
AB
162013-01-09 Anton Blanchard <anton@samba.org>
17
18 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22
0c07e3ea
JM
232013-01-09 Joseph Myers <joseph@codesourcery.com>
24
25 * include/features.h (__USE_ANSI): Remove.
26
232f7002
RM
272013-01-09 Roland McGrath <roland@hack.frob.com>
28
ad98e30c
RM
29 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30
232f7002
RM
31 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32
950c99ca
SP
332013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34
b5792741
SP
35 * sysdeps/s390/fpu/libm-test-ulps: Update.
36
47cf2278
SP
37 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38
950c99ca
SP
39 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40 (__acr): Likewise.
41 (__cpy): Likewise.
42 (norm): Likewise.
43 (denorm): Likewise.
44 (__mp_dbl): Likewise.
45 (__dbl_mp): Likewise.
46 (add_magnitudes): Likewise.
47 (sub_magnitudes): Likewise.
48 (__add): Likewise.
49 (__sub): Likewise.
50 (__mul): Likewise.
51 (__inv): Likewise.
52 (__dvd): Likewise.
53 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
54 (__acr): Likewise.
55 (__cpy): Likewise.
56 (norm): Likewise.
57 (denorm): Likewise.
58 (__mp_dbl): Likewise.
59 (__dbl_mp): Likewise.
60 (add_magnitudes): Likewise.
61 (sub_magnitudes): Likewise.
62 (__add): Likewise.
63 (__sub): Likewise.
64 (__mul): Likewise.
65 (__inv): Likewise.
66 (__dvd): Likewise.
67 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
68 (__acr): Likewise.
69 (__cpy): Likewise.
70 (norm): Likewise.
71 (denorm): Likewise.
72 (__mp_dbl): Likewise.
73 (__dbl_mp): Likewise.
74 (add_magnitudes): Likewise.
75 (sub_magnitudes): Likewise.
76 (__add): Likewise.
77 (__sub): Likewise.
78 (__mul): Likewise.
79 (__inv): Likewise.
80 (__dvd): Likewise.
81
eede9df9
JM
822013-01-08 Joseph Myers <joseph@codesourcery.com>
83
84 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
85 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
86 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
87 2 && __USE_EXTERN_INLINES]: Likewise.
88
c40ea3d9
AJ
892013-01-08 Andreas Jaeger <aj@suse.de>
90
91 [BZ# 14985]
92 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
93 Remove.
94 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
95 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
96
2ccdea26
AB
972013-01-07 Anton Blanchard <anton@samba.org>
98
99 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
100 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
101 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
102 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
103 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
104 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
105 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
106 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
107 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
108 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
109 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
110 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
111 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
112 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
113 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
114 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
115 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
116 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
117 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
118 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
119 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
120 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
121 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
122 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
123 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
124 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
125 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
126 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
127 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
128 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
129 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
130 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
131 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
132 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
133 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
134 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
135 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
136 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
137 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
138 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
139 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
140 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
141 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
142
a9708fed
JM
1432013-01-07 Joseph Myers <joseph@codesourcery.com>
144
375607b9
JM
145 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
146 (__MALLOC_PMT): Likewise.
147 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
148 [__GNUC__], only on [_LIBC].
149 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
150 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
151 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
152 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
153 forward declaration.
154 (realloc_hook_ini): Likewise.
155 (memalign_hook_ini): Likewise.
156 (__libc_memalign): Do not use __MALLOC_PMT in variable
157 declaration.
158 (__libc_valloc): Likewise.
159 (__libc_pvalloc): Likewise.
160 (__libc_calloc): Likewise.
161 (__posix_memalign): Likewise.
162
a9708fed
JM
163 [BZ #14996]
164 * math/s_casinh.c: Include <float.h>.
165 (__casinh): Do not do computation with squaring and square root
166 for large arguments.
167 * math/s_casinhf.c: Include <float.h>.
168 (__casinhf): Do not do computation with squaring and square root
169 for large arguments.
170 * math/s_casinhl.c: Include <float.h>.
171 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
172 (__casinhl): Do not do computation with squaring and square root
173 for large arguments.
174 * math/libm-test.inc (casin_test): Add more tests.
175 (casinh_test): Likewise.
176 * sysdeps/i386/fpu/libm-test-ulps: Update.
177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
178
afec409a
L
1792013-01-04 H.J. Lu <hongjiu.lu@intel.com>
180
181 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
182 (__x86_64_raw_data_cache_size): Likewise.
183 (__x86_64_data_cache_size_half): Likewise.
184 (__x86_64_raw_data_cache_size_half): Likewise.
185 (__x86_64_shared_cache_size): Likewise.
186 (__x86_64_raw_shared_cache_size): Likewise.
187 (__x86_64_shared_cache_size_half): Likewise.
188 (__x86_64_raw_shared_cache_size_half): Likewise.
189 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
190 to ...
191 (__x86_data_cache_size): This.
192 (__x86_64_raw_data_cache_size): Renamed to ...
193 (__x86_raw_data_cache_size): This.
194 (__x86_64_data_cache_size_half): Renamed to ...
195 (__x86_data_cache_size_half): This.
196 (__x86_64_raw_data_cache_size_half): Renamed to ...
197 (__x86_raw_data_cache_size_half): This.
198 (__x86_64_shared_cache_size): Renamed to ...
199 (__x86_shared_cache_size): This.
200 (__x86_64_raw_shared_cache_size): Renamed to ...
201 (__x86_raw_shared_cache_size): This.
202 (__x86_64_shared_cache_size_half): Renamed to ...
203 (__x86_shared_cache_size_half): This.
204 (__x86_64_raw_shared_cache_size_half): Renamed to ...
205 (__x86_raw_shared_cache_size_half): This.
206 * sysdeps/x86_64/memcpy.S: Updated.
207 * sysdeps/x86_64/memset.S: Likewise.
208 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
209 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
210 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
211
0b3986d0
DM
2122013-01-04 David S. Miller <davem@davemloft.net>
213
214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
215
e47686e9
AS
2162013-01-04 Andreas Schwab <schwab@linux-m68k.org>
217
d643bac1
AS
218 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
219 1 to avoid redefinition warning.
220 (__USE_GNU): Don't define.
221 (init_signaling_nan): Protoize.
222
e47686e9
AS
223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
224
b18decba
SP
2252013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
226
fffb407f
SP
227 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
228 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
229 (__cpymn): Likewise.
230 (norm): Remove commented code.
231 (denorm): Likewise.
232 (__mp_dbl): Likewise.
233 (__inv): Likewise.
234 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
235 (__cpymn): Likewise.
236 (norm): Remove commented code.
237 (denorm): Likewise.
238 (__mp_dbl): Likewise.
239 (__inv): Likewise.
240
b18decba
SP
241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
242 mp_no value for 1.0 and 2.0.
243 (norm): Use RADIXI instead of radixi.d.
244 (denorm): Likewise.
245 (__mul): Use 0.0 instead of zero.d.
246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
247 mp_no value for 1.0 and 2.0.
248 (norm): Use RADIXI instead of radixi.d.
249 (denorm): Likewise.
250 (__mul): Use 0.0 instead of zero.d.
251
cdc1c96f
JM
2522013-01-04 Joseph Myers <joseph@codesourcery.com>
253
254 [BZ #14994]
255 * math/s_casinh.c (__casinh): Reduce finite argument to first
256 quadrant then set signs of results at the end.
257 * math/s_casinhf.c (__casinhf): Likewise.
258 * math/s_casinhl.c (__casinhl): Likewise.
259 * math/libm-test.inc (casin_test): Add more tests.
260 (casinh_test): Likewise.
261 * sysdeps/i386/fpu/libm-test-ulps: Update.
262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
263
302913e1
SP
2642013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
265
6420d207
SP
266 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
267
a9e48ab4
SP
268 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
269
b7837264
SP
270 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
271 declarations.
272 (denorm): Likewise.
273 (__mp_dbl): Likewise.
274 (__inv): Likewise.
275
f8af25d2
SP
276 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
277 and adjust the header comment.
278
302913e1
SP
279 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
280 variable name from declaration.
281
5d7dd1ca
L
2822013-01-03 H.J. Lu <hongjiu.lu@intel.com>
283
284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
285 Initialize COMMON_CPUID_INDEX_7 element.
286 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
287 (CPUID_RTM): Likewise.
288 (HAS_RTM): Likewise.
289 (COMMON_CPUID_INDEX_7): New enum.
290
2f5f40f4
AS
2912013-01-03 Andreas Schwab <schwab@linux-m68k.org>
292
293 [BZ #14981]
294 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
295 size is zero, record memory as freed.
296
4056f4a0
AJ
2972013-01-03 Andreas Jaeger <aj@suse.de>
298
299 * po/ia.po: Add new Interlingua translation.
300
ab15736f 3012012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
302
303 * locale/programs/localedef.c: Fix description of '--posix' flag.
304
568035b7
JM
3052013-01-02 Joseph Myers <joseph@codesourcery.com>
306
e6898b8d
JM
307 * NEWS: Update dates in second copyright notice.
308 * README: Update copyright dates in example.
309 * manual/libc.texinfo: Update copyright dates.
310 * scripts/test-installation.pl: Update copyright date in --version
311 output.
312
0e2f9562
JM
313 * hurd/ctty-input.c: Fix copyright notice formatting.
314 * hurd/ctty-output.c: Likewise.
315 * hurd/dtable.c: Likewise.
316 * hurd/hurd-raise.c: Likewise.
317 * hurd/hurdprio.c: Likewise.
318 * hurd/msgportdemux.c: Likewise.
319 * misc/sys/file.h: Likewise.
320 * misc/sys/ioctl.h: Likewise.
321 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
322 * sysdeps/mach/hurd/chdir.c: Likewise.
323 * sysdeps/mach/hurd/fchdir.c: Likewise.
324 * sysdeps/mach/hurd/rename.c: Likewise.
325 * sysdeps/mach/hurd/rmdir.c: Likewise.
326 * sysdeps/mach/hurd/seekdir.c: Likewise.
327 * sysdeps/mach/hurd/setsid.c: Likewise.
328 * sysdeps/posix/wait3.c: Likewise.
329
568035b7
JM
330 * All files with FSF copyright notices: Update copyright dates
331 using scripts/update-copyrights.
332 * intl/plural.c: Regenerated.
333 * locale/programs/charmap-kw.h: Likewise.
334 * locale/programs/locfile-kw.h: Likewise.
335
da08f647
SP
3362013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
337
0f5477af
SP
338 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
339 four values.
340
44e0d4c2
SP
341 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
342 calculation loop and add branch prediction.
343
4d55b4e5
SP
344 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
345 check access beyond bounds of m1np.
346
da08f647
SP
347 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
348 MPTWO.
349 (__inv): Remove local variable MPTWO to use the global
350 constant.
351 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
352 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
353 variable MPTWO.
354 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
355 MP3HALFS static const.
356
8e051029
DM
3572013-01-01 David S. Miller <davem@davemloft.net>
358
359 * po/ca.po: Update from translation team.
360
f4cf5f2d
JM
3612013-01-01 Joseph Myers <joseph@codesourcery.com>
362
363 * scripts/update-copyrights: New file.
364 * Makeconfig: Reformat copyright notice.
365 * ctype/ctype.h: Likewise.
366 * debug/swprintf_chk.c: Likewise.
367 * elf/dl-cache.c: Likewise.
368 * elf/dl-debug.c: Likewise.
369 * elf/dl-object.c: Likewise.
370 * grp/initgroups.c: Likewise.
371 * hurd/Makefile: Likewise.
372 * hurd/hurd/signal.h: Likewise.
373 * hurd/hurdfault.c: Likewise.
374 * hurd/hurdioctl.c: Likewise.
375 * hurd/hurdlookup.c: Likewise.
376 * hurd/intr-msg.c: Likewise.
377 * iconv/gconv_open.c: Likewise.
378 * libio/swprintf.c: Likewise.
379 * locale/lc-ctype.c: Likewise.
380 * locale/nl_langinfo.c: Likewise.
381 * mach/Machrules: Likewise.
382 * mach/Makefile: Likewise.
383 * malloc/obstack.h: Likewise.
384 * manual/Makefile: Likewise.
385 * manual/tsort.awk: Likewise.
386 * misc/bits/stab.def: Likewise.
387 * nis/nis_print_group_entry.c: Likewise.
388 * nis/nis_table.c: Likewise.
389 * nis/nss_compat/compat-pwd.c: Likewise.
390 * nis/nss_compat/compat-spwd.c: Likewise.
391 * po/Makefile: Likewise.
392 * posix/fnmatch.c: Likewise.
393 * posix/regex.h: Likewise.
394 * resolv/Makefile: Likewise.
395 * resolv/nss_dns/dns-network.c: Likewise.
396 * resolv/res_hconf.c: Likewise.
397 * scripts/gen-sorted.awk: Likewise.
398 * soft-fp/soft-fp.h: Likewise.
399 * stdio-common/printf.h: Likewise.
400 * stdlib/monetary.h: Likewise.
401 * stdlib/random.c: Likewise.
402 * stdlib/random_r.c: Likewise.
403 * sysdeps/generic/Makefile: Likewise.
404 * sysdeps/gnu/Makefile: Likewise.
405 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
406 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
407 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
408 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
409 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
410 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
411 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
412 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
413 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
414 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
415 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
416 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
417 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
418 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
419 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
420 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
421 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
422 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
423 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
424 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
425 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
426 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
427 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
428 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
429 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
430 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
431 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
432 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
433 * sysdeps/mach/hurd/errnos.awk: Likewise.
434 * sysdeps/mach/hurd/fork.c: Likewise.
435 * sysdeps/mach/hurd/getcwd.c: Likewise.
436 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
437 * sysdeps/mach/hurd/mmap.c: Likewise.
438 * sysdeps/mach/hurd/utimes.c: Likewise.
439 * sysdeps/mach/hurd/xmknod.c: Likewise.
440 * sysdeps/posix/profil.c: Likewise.
441 * sysdeps/posix/readdir_r.c: Likewise.
442 * sysdeps/powerpc/bits/mathdef.h: Likewise.
443 * sysdeps/powerpc/bits/setjmp.h: Likewise.
444 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
445 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
446 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
447 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
448 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
449 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
451 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
452 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
453 * sysdeps/pthread/lio_listio.c: Likewise.
454 * sysdeps/sparc/dl-procinfo.h: Likewise.
455 * sysdeps/unix/i386/sysdep.S: Likewise.
456 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
457 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
458 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
459 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
461 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
462 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
463 * sysdeps/unix/sysv/linux/speed.c: Likewise.
464 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
465 * sysdeps/wordsize-32/divdi3.c: Likewise.
466 * time/sys/time.h: Likewise.
467 * wcsmbs/Makefile: Likewise.
468
0549fbba
DM
4692013-01-01 David S. Miller <davem@davemloft.net>
470
a141f1a7
DM
471 * po/fr.po: Update from translation team.
472
0549fbba
DM
473 * catgets/gencat.c: Update copyright year.
474 * csu/version.c: Likewise.
475 * debug/catchsegv.sh: Likewise.
476 * debug/pcprofiledump.c: Likewise.
477 * debug/xtrace.sh: Likewise.
478 * elf/ldconfig.c: Likewise.
479 * elf/ldd.bash.in: Likewise.
480 * elf/pldd.c: Likewise.
481 * elf/sotruss.ksh: Likewise.
482 * elf/sprof.c: Likewise.
483 * iconv/iconv_prog.c: Likewise.
484 * iconv/iconvconfig.c: Likewise.
485 * locale/programs/locale.c: Likewise.
486 * locale/programs/localedef.c: Likewise.
487 * login/programs/pt_chown.c: Likewise.
488 * malloc/memusage.sh: Likewise.
489 * malloc/memusagestat.c: Likewise.
490 * malloc/mtrace.pl: Likewise.
491 * nscd/nscd.c: Likewise.
492 * nss/getent.c: Likewise.
493 * nss/makedb.c: Likewise.
494 * posix/getconf.c: Likewise.
495
18ea052c
SP
4962012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
497
498 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
499 numbers.
500
9c89fca6
MF
5012012-12-30 Mike Frysinger <vapier@gentoo.org>
502
503 * math/bits/mathcalls.h (modf): Use __nonnull.
504
085ec079
SP
5052012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
506
507 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
508 (split): Use macro CN instead of the bare value.
509 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
510 could be used.
511 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
512 instead of the bare value.
513 (power1): Likewise.
514
6d9f97e1
SP
5152012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
516
d63f73be
SP
517 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
518 __ATAN_TWOM.
519 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
520
6d9f97e1
SP
521 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
522 their values.
523 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
524 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
525 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
526 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
527
4c4febf5
AJ
5282012-12-28 Andreas Jaeger <aj@suse.de>
529
af5843ef
AJ
530 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
531 values are from Linux 3.7.
532
4c4febf5
AJ
533 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
534 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
535
99136f82
SP
5362012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
537
2f216c3c 538 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
539 TRUE case.
540
99136f82
SP
541 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
542 (norm): Likewise.
543 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
544 variables with preprocessor constants.
545 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
546 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
547 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
548
7fffbdff
BH
5492012-12-27 Bruno Haible <bruno@clisp.org>
550
551 [BZ #14317]
552 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
553 only if needed.
554
b76eb5f0
SP
5552012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
556
31a7fe5c
SP
557 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
558 and use variable directly.
559 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
560
b76eb5f0
SP
561 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
562 MPONE.
563 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
564 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
565 variable MPONE.
566 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
567 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
568 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
569 include directive. Remove local variable MPONE.
570 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
571 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
572 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
573
2c8bfe7d
DM
5742012-12-25 David S. Miller <davem@davemloft.net>
575
576 * version.h (RELEASE): Set to "development".
577 (VERSION): Set to "2.17.90".
578 * NEWS: Add 2.18 section.
579
147d03b0
DM
5802012-12-21 David S. Miller <davem@davemloft.net>
581
582 * po/hr.po: Update from translation team.
583
a8ebb2b9
AK
5842012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
585
586 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
587
95b4f1b6
SE
5882012-12-19 Steve Ellcey <sellcey@mips.com>
589
b2d94007 590 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 591
cedb2a90
MS
5922012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
593
594 * manual/contrib.texi (Contributors): Spelling correction.
595
bbf527d6
DM
5962012-12-15 David S. Miller <davem@davemloft.net>
597
598 * po/ru.po: Update from translation team.
599
bc38c906
DM
6002012-12-13 David S. Miller <davem@davemloft.net>
601
85429b1a
DM
602 * NEWS: Mention IFUNC testsuite enhancements.
603
d283e353
DM
604 * po/pl.po: Update from translation team.
605 * po/bg.po: Likewise.
606
bc38c906
DM
607 * manual/contrib.texi (Contributors): Update entries for Hongjiu
608 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
609
a181b0d7
DM
6102012-12-11 David S. Miller <davem@davemloft.net>
611
4641d57e
DM
612 * po/sv.po: Update from translation team.
613
f7bc6495
DM
614 * po/vi.po: Update from translation team.
615
6fc9048f
DM
616 * po/cs.po: Update from translation team.
617
a181b0d7
DM
618 * po/de.po: Update from translation team.
619 * po/eo.po: Likewise.
620 * po/nl.po: Likewise.
621
f70bfe80
SP
6222012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
623
3c8b4190
SP
624 [BZ #14246]
625 * manual/argp.texi (Argp Helper Functions): Move node to follow
626 Argp Parsing State.
627
f70bfe80
SP
628 [BZ #14872]
629 * manual/conf.texi (Limits on File System Capacity): Mention if
630 terminating null is included in the max size.
631
188f0adf
AJ
6322012-12-10 Andreas Jaeger <aj@suse.de>
633
634 * po/cs.po: Update from translation team.
635
56e7d3ad
SP
6362012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
637
638 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
639 void pointer and cast to uintptr_t.
640 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
641 path.
642 * sysdeps/s390/s390-64/memcpy.S: Likewise.
643 * sysdeps/s390/s390-64/memset.S: Likewise.
644
76f2d2ea 6452012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
646
647 [BZ #14833]
648 * menual/message.texi (Message Translation): Fix typos.
649 (Helper programs for gettext): Likewise.
650
67cbf9a2
AS
6512012-12-07 Andreas Schwab <schwab@linux-m68k.org>
652
653 [BZ #14898]
654 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
655 Change to -1.
656
682d0e9a
DM
6572012-12-07 David S. Miller <davem@davemloft.net>
658
659 * po/libc.pot: Update.
660
573cd484
RH
6612012-12-07 Richard Henderson <rth@redhat.com>
662
7e9da188 663 [BZ #10114]
573cd484
RH
664 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
665 normal/normal case to before the switch.
666 (_FP_DIV): Likewise.
667
e933a943
MF
6682012-12-06 Carlos O'Donell <carlos@systemhalted.org>
669 Mike Frysinger <vapier@gentoo.org>
670
671 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
672 check for __NR_fadvise64_64.
673
82123268
CM
6742012-12-06 Chris Metcalf <cmetcalf@tilera.com>
675
676 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
677 0, not just to plain "0" as a statement.
678 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
679 with cw.
680
d9814526
JM
6812012-12-06 Joseph Myers <joseph@codesourcery.com>
682
683 * NEWS: Use sourceware.org in Bugzilla URL.
684
7728c574
SP
6852012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
686
f16946dd
SP
687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
688 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
689
5704bbcb
SP
690 * stdio-common/tst-put-error.c (do_test): Add newline to the
691 padded test to ensure flush.
692
17aa0516
JL
6932012-12-05 Jeff Law <law@redhat.com>
694
695 * sunrpc/etc.rpc (fedfs_admin): Add entry.
696
363313b5
JM
6972012-12-05 Joseph Myers <joseph@codesourcery.com>
698
effbd42a
JM
699 * README: Don't refer to ports add-on as distributed separately.
700 Mention AArch64 in list of systems supported in the ports add-on.
701
87600365
JM
702 * LICENSES: Add more non-FSF copyright and license notices.
703
a0d7066a
JM
704 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
705 ((unused)).
706
66ca5a5b
JM
707 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
708
363313b5
JM
709 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
710 10000 as width of padded output.
711
b37984ad
JM
7122012-12-04 Joseph Myers <joseph@codesourcery.com>
713
9003570a
JM
714 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
715
b37984ad
JM
716 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
717 variable LX with __attribute__ ((unused)).
718 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
719 Likewise.
720 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
721 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
722 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
723 with __attribute__ ((unused)).
724
c8df52ec
DM
7252012-12-04 David S. Miller <davem@abraco.davemloft.net>
726
727 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
728
b3b099af
JM
7292012-12-04 Joseph Myers <joseph@codesourcery.com>
730
c33aa6e3
JM
731 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
732 (CFLAGS-nldbl-acos.c): New variable.
733 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
734 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
735 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
736 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
737 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
738 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
739 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
740 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
741 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
742 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
743 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
744 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
745 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
746 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
747 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
748 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
749 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
750 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
751 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
752 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
753 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
754 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
755 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
756 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
757 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
758 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
759 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
760 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
761 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
762 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
763 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
764 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
765 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
766 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
767 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
768 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
769 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
770 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
771 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
772 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
773 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
774 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
775 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
776 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
777 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
778 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
779 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
780 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
781 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
782 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
783 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
784 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
785 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
786 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
787 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
788 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
789 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
790 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
791 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
792 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
793 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
794 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
795 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
796 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
797 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
798 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
799 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
800 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
801 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
802 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
803 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
804 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
805 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
806 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
807 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
808 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
809 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
810 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
811 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
812 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
813 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
814 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
815 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
816 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
817 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
818 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
819 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
820 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
821 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
822 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
823 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
824 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
825 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
826 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
827 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
828 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
829 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
830
20f0018d
JM
831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
832 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
833
b3b099af
JM
834 [BZ #14914]
835 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
836 whole low double instead of just low 47 bits when splitting values
837 into two parts.
838
029264d1
AM
8392012-12-03 Allan McRae <allan@archlinux.org>
840
841 * manual/stdio.texi (Predefined Printf Handlers): Remove
842 @hsep and @vsep usage.
843
c9d6789e
MF
8442012-12-03 Mike Frysinger <vapier@gentoo.org>
845
846 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
847 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
848
4b7634a5
JL
8492012-12-03 Jeff Law <law@redhat.com>
850
851 * time/sys/time.h (settimeofday): Do not mark TV argument
852 as __nonnull.
853
eb6cbd24
MF
8542012-12-01 Mike Frysinger <vapier@gentoo.org>
855
856 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
857 when currently writing and seek to current position when not.
858 * libio/Makefile (tests): Remove bug-fclose1.
859 * libio/bug-fclose1.c: Delete.
860
f638872a
JM
8612012-12-01 Joseph Myers <joseph@codesourcery.com>
862
863 * manual/arith.texi (feenableexcept): Fix typo.
864 (fedisableexcept): Likewise.
865
48085d14
RM
8662012-11-30 Roland McGrath <roland@hack.frob.com>
867
868 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
869 second, differently-typed declaration, rather than a cast.
870
1a538b9f
SP
8712012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
872
873 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
874 * include/rpc/svc.h: ... here.
875
d07f2ff1 8762012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
877
878 [BZ #13013]
879 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
880 depending n and resplen2 to catch cases where answer
881 equals answerp2.
882
c93ec1f0
CD
8832012-11-29 Carlos O'Donell <carlos@systemhalted.org>
884
885 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
886 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
887
37db69de
MF
8882012-11-29 Mike Frysinger <vapier@gentoo.org>
889
890 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
891
e10c4e4f
RM
8922012-11-29 Roland McGrath <roland@hack.frob.com>
893
894 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
895
2af1b328
JL
8962012-11-28 Jeff Law <law@redhat.com>
897
898 [BZ #13761]
899 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
900 dataset_temporary. Track alloca usage into alloca_used.
901 If dataset is large allocate and release it via malloc/free.
902
111db5b1
FW
9032012-06-04 Florian Weimer <fweimer@redhat.com>
904
f06cc227 905 [BZ #14197]
111db5b1
FW
906 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
907
dd694abd
DM
9082012-11-28 David S. Miller <davem@davemloft.net>
909
910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
911
9984dd01
JM
9122012-11-28 Joseph Myers <joseph@codesourcery.com>
913
914 [BZ #14803]
915 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
916 of pi/2 rounded to nearest to 64 bits.
917 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
918 nearest to 64 bits.
919 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
920 bits.
921
14bc93a9
JL
9222012-11-28 Jeff Law <law@redhat.com>
923 Martin Osvald <mosvald@redhat.com>
924
925 [BZ #14889]
926 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
927 * sunrpc/svc.c: Include time.h.
928 (__svc_accept_failed): New function.
929 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
930 any reason other than EINTR, call __svc_accept_failed.
931 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
932 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
933
e3c6aa3a
AS
9342012-11-28 Andreas Schwab <schwab@suse.de>
935
936 * scripts/abilist.awk: Also handle indirect functions in .opd
937 section.
938
1bead169
JM
9392012-11-28 Joseph Myers <joseph@codesourcery.com>
940
941 [BZ #13881]
942 * sysdeps/x86/fpu/powl_helper.c: New file.
943 * sysdeps/x86/fpu/Makefile: Likewise.
944 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
945 (p3): New object.
946 (__ieee754_powl): Use __powl_helper for finite arguments except
947 integer exponents below 8.
948 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
949 (p3): New object.
950 (__ieee754_powl): Use __powl_helper for finite arguments except
951 integer exponents below 8.
952 * math/libm-test.inc (pow_test): Add more tests and enable some
953 previously disabled tests.
954 * sysdeps/i386/fpu/libm-test-ulps: Update.
955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
956
0817d63d
SP
9572012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
958 Carlos O'Donell <carlos_odonell@mentor.com>
959
960 * nss/makedb.c (is_prime): Assert that input is odd and greater
961 than 4. Note that fact in a comment too.
962 (next_prime): Add 4 to input.
963
de2fd463
SP
9642012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
965
966 [BZ #11741]
967 * libio/Makefile (tests): Add test case tst-fwrite-error.
968 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
969 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
970 * libio/tst-fwrite-error.c: New test case.
971
c515fb51
L
9722012-11-26 H.J. Lu <hongjiu.lu@intel.com>
973
974 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
975 before casting to void *.
976 * include/libc-internal.h (__pointer_type): New macro.
977 (__integer_if_pointer_type_sub): Likewise.
978 (__integer_if_pointer_type): Likewise.
979 (cast_to_integer): Likewise.
980 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
981 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
982 before casting to atomic64_t.
983 (atomic_exchange_acq): Likewise.
984 (__arch_exchange_and_add_body): Likewise.
985 (__arch_add_body): Likewise.
986 (atomic_add_negative): Likewise.
987 (atomic_add_zero): Likewise.
988
4cf77aa9
JM
9892012-11-26 Joseph Myers <joseph@codesourcery.com>
990
991 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
992 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
993 (add_fdes): Likewise.
994 (linear_search_fdes): Likewise.
995 (binary_search_unencoded_fdes): Likewise.
996
d260b3b4
AS
9972012-11-26 Andreas Schwab <schwab@linux-m68k.org>
998
999 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1000
67060746
AC
10012012-11-24 Adam Conrad <adconrad@0c3.net>
1002
1003 * configure.in: Autodetect C++ header directories.
1004 * configure: Regenerated.
1005
800938a1
MF
10062012-11-23 Mike Frysinger <vapier@gentoo.org>
1007
1008 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1009
4e6e34e6
AS
10102012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1011
1012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1013
7c7feb47
JM
10142012-11-22 Joseph Myers <joseph@codesourcery.com>
1015
7184dcdf
JM
1016 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1017 LDBL_MANT_DIG == 106]: Disable some tests.
1018 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1019 Likewise.
1020 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1021 Likewise.
1022
0a42601f
JM
1023 [BZ #14871]
1024 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1025 input for small inputs. Return +/- pi/2 for large inputs.
1026 * math/libm-test.inc (atan_test): Add more tests.
1027
79c9b9fe
JM
1028 * sysdeps/generic/unwind-dw2-fde-glibc.c
1029 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1030 __attribute__ ((unused)).
1031
c60d3bf2
JM
1032 [BZ #14645]
1033 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1034 x * y if x and y are nonzero and z is zero.
1035
ef1e0867
JM
1036 [BZ #14811]
1037 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1038 nonzero exponents with absolute value below 0x1p-117 to +/-
1039 0x1p-117.
1040
1468ded3
JM
1041 [BZ #14869]
1042 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1043 up arguments below 2**-450, not just those below 2**-500.
1044 * math/libm-test.inc (hypot_test): Add another test.
1045
8e27e3cc
JM
1046 [BZ #14868]
1047 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1048 Return a+b for ratio over 2**120, not 2**60.
1049 * math/libm-test.inc (hypot_test): Add another test.
1050
c9c0279b
JM
1051 * math/libm-test.inc (clog_test): Use
1052 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1053 (clog10_test): Likewise.
1054
7c7feb47
JM
1055 [BZ #6778]
1056 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1057
fff1530e
AS
10582012-11-22 Andreas Schwab <schwab@suse.de>
1059
1060 * sysdeps/i386/fpu/libm-test-ulps: Update.
1061
94558d30
PT
10622012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1063
1064 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1065 printf output with newline.
1066
7e1be741
L
10672012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1068
6bfea974
L
1069 [BZ #14865]
1070 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1071 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1072 -z nodlopen, -z initfirst and -z execstack support.
1073 * configure: Regenerated.
1074
7e1be741
L
1075 * elf/elf.h (DF_1_NODIRECT): New macro.
1076 (DF_1_IGNMULDEF): Likewise.
1077 (DF_1_NOKSYMS): Likewise.
1078 (DF_1_NOHDR): Likewise.
1079 (DF_1_EDITED): Likewise.
1080 (DF_1_NORELOC): Likewise.
1081 (DF_1_SYMINTPOSE): Likewise.
1082 (DF_1_GLOBAUDIT): Likewise.
1083 (DF_1_SINGLETON): Likewise.
1084 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1085 DT_1_SUPPORTED_MASK bits.
1086 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1087
105ce2ce
CD
10882012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1089
1090 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1091
123be9de
TS
10922012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1093
d072f3f7
TS
1094 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1095 macro.
1096
123be9de
TS
1097 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1098 (sendmmsg): Move declarations...
1099 * socket/sys/socket.h: ... here.
1100 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1101 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1102 include it from...
1103 * socket/recvmmsg.c: ... this new file.
1104 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1105 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1106 definition of __sendmmsg hidden.
1107 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1108 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1109 Move ENOSYS stub into and include it from...
1110 * socket/sendmmsg.c: ... this new file.
1111 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1112 (sysdep_routines): Move recvmmsg and sendmmsg...
1113 * socket/Makefile (routines): ... here.
1114 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1115 (GLIBC_PRIVATE): Add __sendmmsg.
1116 * include/sys/socket.h (__sendmmsg): Add declarations.
1117 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1118 sendmmsg.
1119
cf9a5d18
JM
11202012-11-20 Joseph Myers <joseph@codesourcery.com>
1121
1122 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1123 variable I1 with __attribute__ ((unused)).
1124 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1125
ecd4caf9
JM
11262012-11-19 Joseph Myers <joseph@codesourcery.com>
1127
be14d48f
JM
1128 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1129 DUMMY variables with __attribute__ ((unused)).
1130
ecd4caf9
JM
1131 * bits/byteswap.h: Include <bits/types.h>.
1132 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1133
986cab95
PT
11342012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1135
1136 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1137 string_t. Do not manually set errno.
1138 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1139 length with __strnlen. Make sure to both set errno and return it on
1140 failure.
1141
6d33cc9d
DM
11422012-11-19 David S. Miller <davem@davemloft.net>
1143
1144 With help from Joseph Myers.
1145 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1146 very large arguments properly.
1147 * math/libm-test.inc (atan_test): New tests.
1148 (atan2_test): New tests.
1149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1151
ee663277
JM
11522012-11-19 Joseph Myers <joseph@codesourcery.com>
1153
877f2d8e
JM
1154 [BZ #14856]
1155 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1156 Define to 3.
1157
116fc08a
JM
1158 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1159 [POSIX] (EADDRNOTAVAIL): Likewise.
1160 [POSIX] (EAFNOSUPPORT): Likewise.
1161 [POSIX] (EALREADY): Likewise.
1162 [POSIX] (ECONNABORTED): Likewise.
1163 [POSIX] (ECONNREFUSED): Likewise.
1164 [POSIX] (ECONNRESET): Likewise.
1165 [POSIX] (EDESTADDRREQ): Likewise.
1166 [POSIX] (EDQUOT): Likewise.
1167 [POSIX] (EHOSTUNREACH): Likewise.
1168 [POSIX] (EIDRM): Likewise.
1169 [POSIX] (EISCONN): Likewise.
1170 [POSIX] (ELOOP): Likewise.
1171 [POSIX] (EMULTIHOP): Likewise.
1172 [POSIX] (ENETDOWN): Likewise.
1173 [POSIX] (ENETUNREACH): Likewise.
1174 [POSIX] (ENOBUFS): Likewise.
1175 [POSIX] (ENODATA): Likewise.
1176 [POSIX] (ENOLINK): Likewise.
1177 [POSIX] (ENOMSG): Likewise.
1178 [POSIX] (ENOPROTOOPT): Likewise.
1179 [POSIX] (ENOSR): Likewise.
1180 [POSIX] (ENOSTR): Likewise.
1181 [POSIX] (ENOTCONN): Likewise.
1182 [POSIX] (ENOTSOCK): Likewise.
1183 [POSIX] (EOPNOTSUPP): Likewise.
1184 [POSIX] (EOVERFLOW): Likewise.
1185 [POSIX] (EPROTO): Likewise.
1186 [POSIX] (EPROTONOSUPPORT): Likewise.
1187 [POSIX] (EPROTOTYPE): Likewise.
1188 [POSIX] (ESTALE): Likewise.
1189 [POSIX] (ETIME): Likewise.
1190 [POSIX] (ETXTBSY): Likewise.
1191 [POSIX] (EWOULDBLOCK): Likewise.
1192 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1193 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1194 [POSIX] (SEEK_CUR): Likewise.
1195 [POSIX] (SEEK_END): Likewise.
1196 [POSIX || UNIX98] (mode_t): Do not require.
1197 [POSIX] (off_t): Likewise.
1198 [POSIX] (pid_t): Likewise.
1199 [POSIX] (sys/stat.h): Do not allow header.
1200 [POSIX] (unistd.h): Likewise.
1201 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1202 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1203 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1204 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1205 require.
1206 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1207 sigevent): Specify elements.
1208 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1209 entry.
1210 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1211 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1212
a483863f
JM
1213 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1214 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1215 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1216 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1217 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1218 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1219 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1220 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1221 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1222 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1223 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1224 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1225 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1226 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1227 Likewise.
1228 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1229 Likewise.
1230 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1231 Likewise.
1232 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1233 Likewise.
1234 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1235 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1236 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1237 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1238 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1239 Specify lower bound on value.
1240 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1241 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1242 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1243 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1244 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1245 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1246 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1247 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1248 value.
1249 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1250 as optional.
1251 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1252 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1253 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1254 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1255 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1256 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1257 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1258 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1259 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1260 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1261 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1262 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1263 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1264 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1265 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1266 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1267 entry.
1268 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1269 optional.
1270 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1271 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1272 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1273 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1274 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1275 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1276 Likewise.
1277 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1278 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1279 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1280 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1281 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1282 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1283 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1284 as optional.
1285 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1286 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1287 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1288 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1289 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1290 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1291 specify as optional.
1292 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1293 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1294 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1295 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1296 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1297 [XPG3] (NL_LANGMAX): Likewise.
1298 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1299 [POSIX || XPG3] (NL_NMAX): Likewise.
1300 [POSIX || XPG3] (NL_SETMAX): Likewise.
1301 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1302 [XPG3] (NZERO): Likewise.
1303 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1304 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1305 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1306 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1307 (REG_ERANGE): Expect.
1308 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1309 optional-constant.
1310 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1311 Use (void) in prototype.
1312 [POSIX] (*_t): Allow.
1313 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1314 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1315 (WRDE_BADVAL): Expect.
1316
5ba924e3
JM
1317 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1318 expect.
1319 [XPG3 || XPG4] (O_RSYNC): Likewise.
1320 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1321 Likewise.
1322 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1323 [XPG3 || XPG4] (sigqueue): Likewise.
1324 [XPG3 || XPG4] (sigtimedwait): Likewise.
1325 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1326 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1327 [XPG3 || XPG4] (vsnprintf): Likewise.
1328 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1329 Likewise.
1330 [XPG3 || XPG4] (blksize_t): Likewise.
1331 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1332 Likewise.
1333 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1334 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1335 [XPG3 || XPG4] (struct itimerspec): Likewise.
1336 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1337 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1338 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1339 [XPG3 || XPG4] (clockid_t): Likewise.
1340 [XPG3 || XPG4] (timer_t): Likewise.
1341 [XPG3 || XPG4] (clock_getres): Likewise.
1342 [XPG3 || XPG4] (clock_gettime): Likewise.
1343 [XPG3 || XPG4] (clock_settime): Likewise.
1344 [XPG3 || XPG4] (nanosleep): Likewise.
1345 [XPG3 || XPG4] (timer_create): Likewise.
1346 [XPG3 || XPG4] (timer_delete): Likewise.
1347 [XPG3 || XPG4] (timer_gettime): Likewise.
1348 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1349 [XPG3 || XPG4] (timer_settime): Likewise.
1350 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1351 [XPG3 || XPG4] (getlogin_r): Likewise.
1352 [XPG3 || XPG4] (pread): Likewise.
1353 [XPG3 || XPG4] (pthread_atfork): Likewise.
1354 [XPG3 || XPG4] (pwrite): Likewise.
1355
ee663277
JM
1356 [BZ #14835]
1357 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1358 <bits/siginfo.h>.
1359
942caa16
PT
13602012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1361
e19af380
PT
1362 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1363 finalizing MALLSTREAM.
1364
942caa16
PT
1365 * sysdeps/mach/hurd/syncfs.c: New file.
1366
cfde9b46
SP
13672012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1368
1369 [BZ #14719]
1370 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1371 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1372 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1373 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1374 (_nss_dns_gethostbyname4_r): Likewise.
1375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1376 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1377
f6da27e5
PH
13782012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1379
1380 [BZ #13763]
1381 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1382
6665d4a2
SM
13832012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1384
1f51ee92
SM
1385 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1386 * elf/cache.c (print_entry): Print ",AArch64" for
1387 FLAG_AARCH64_LIB64
1388
6665d4a2
SM
1389 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1390 * elf/cache.c (print_entry): Print ",hard-float" for
1391 FLAG_ARM_LIBHF.
1392
05b227bd
DM
13932012-11-18 David S. Miller <davem@davemloft.net>
1394
1395 With help from Joseph Myers.
1396 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1397 cutoff to 2**-13.
1398 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1399 cutoff to 2**-25.
1400 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1401 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1402 small.
1403 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1404 * math/libm-test.inc (y0_test): New tests.
1405 (y1_test): New tests.
1406 * sysdeps/i386/fpu/libm-test-ulps: Update.
1407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1409
786b0b67
AS
14102012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1411
1412 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1413 64-bit targets.
1414 * configure: Regenerated.
1415
8e18b86d
DM
14162012-11-17 David S. Miller <davem@davemloft.net>
1417
1418 [BZ #14811]
1419 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1420 nonzero exponents with absolute value below 0x1p-128 to +/-
1421 0x1p-128.
1422
531f1ae0
JM
14232012-11-17 Joseph Myers <joseph@codesourcery.com>
1424
12df29e2
JM
1425 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1426
150dc1a0
JM
1427 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1428
531f1ae0
JM
1429 * posix/getconf-speclist.c: New file.
1430 * posix/posix-envs.def: Likewise.
1431 * posix/confstr.c (START_ENV_GROUP): New macro.
1432 (END_ENV_GROUP): Likewise.
1433 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1434 (KNOWN_PRESENT_ENV_STRING): Likewise.
1435 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1436 (UNKNOWN_ENVIRONMENT): Likewise.
1437 (confstr): Include posix-envs.def instead of handling
1438 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1439 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1440 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1441 (END_ENV_GROUP): Likewise.
1442 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1443 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1444 (UNKNOWN_ENVIRONMENT): Likewise.
1445 (__sysconf): Include posix-envs.def instead of handling associated
1446 cases directly here.
1447 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1448 preprocessing getconf-speclist.c rather than running getconf or
1449 generating empty file.
1450
a93f9cbc
PT
14512012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1452
1453 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1454
d64d9f87
AL
14552012-11-16 Andrej Lajovic <natrij@gmail.com>
1456
1457 [BZ #14672]
1458 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1459
447885eb
DM
14602012-11-16 David S. Miller <davem@davemloft.net>
1461
1462 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1463 smaller than LDBL_EPSILON/2.0L, just return xm1.
1464
bcbf9830
L
14652012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1466
1467 * elf/tst-array1.c (init): Set constructor priority to 1000.
1468 (fini): Set destructor priority to 1000.
1469 * elf/tst-array2dep.c: Likewise.
1470
2b766585
SP
14712012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1472
1473 [BZ #11741]
1474 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1475 (_IO_new_file_xsputn): Also return EOF if none of the input
1476 data was written when overflow failed.
1477 * libio/iopadn.c (_IO_padn): Likewise.
1478 * libio/iowpadn.c (_IO_wpadn): Likewise.
1479 * stdio-common/tst-put-error.c: Add copyright notice.
1480 (do_test): Add case for printing padded string.
1481 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1482 _IO_padn returned error.
1483 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1484 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1485 return EOF.
1486
b1848fde
SP
14872012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1488
1489 * libio/libioP.h: Add comment note that the references to C++
1490 bits are now obsolete.
1491
2fd89785
MS
14922012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1493
1494 * math/libm-test.inc (check_complex): Use asprintf.
1495
e3ea5409
JM
14962012-11-14 Joseph Myers <joseph@codesourcery.com>
1497
1498 * debug/pcprofiledump.c (print_version): Update copyright year.
1499 * malloc/memusagestat.c (print_version): Likewise.
1500
2e64d265
L
15012012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1502
1503 [BZ #14831]
1504 * elf/Makefile (tests): Add tst-audit8.
1505 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1506 ($(objpfx)tst-audit8.out): New target.
1507 (tst-audit8-ENV): New variable.
1508 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1509 audit if l_reloc_result is NULL.
1510 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1511 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1512 * elf/tst-audit8.c: New file.
1513
c485e4d2
MS
15142012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1515
1516 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1517 * misc/Makefile (CFLAGS-select.c): Define.
1518 * posix/Makefile (CFLAGS-pause.c): Define.
1519
3a0d900a
DM
15202012-11-13 David S. Miller <davem@davemloft.net>
1521
1522 * crypt/Makefile: Move test targets after toplevel Rules
1523 inclusion. Grab any necessary sysdep routines when linking.
1524 * crypt/md5.c (md5_process_block): Remove define, we will always
1525 name it __md5_process_block.
1526 (md5_finish_ctx): Update md5_process_block call.
1527 (md5_stream): Likewise.
1528 (md5_process_bytes): Likewise.
1529 (md5_process_block): Rename to __md5_process_block and move to ...
1530 * crypt/md5-block.c: ... here.
1531 * crypt/sha256.c (sha256_process_block): Move to ...
1532 * crypt/sha256-block.c: ... here.
1533 * crypt/sha512.c (sha512_process_block): Move to ...
1534 * crypt/sha512-block.c: ... here.
1535 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1536 path.
1537 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1538 * sysdeps/sparc/sparc64/multiarch/Makefile
1539 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1540 crypt subdir.
1541 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1542 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1543 multiarch changes.
1544 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1545 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1546 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1547 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1548 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1549 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1550 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1551 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1552 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1553 file.
1554 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1555 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1556 file.
1557 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1558
8ca89318
JM
15592012-11-13 Joseph Myers <joseph@codesourcery.com>
1560
e27d476a
JM
1561 * timezone/tzselect.ksh: Update from tzcode git revision
1562 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1563 * timezone/zdump.c: Likewise.
1564 * timezone/zic.c: Likewise.
1565 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1566 in TZVERSION setting, not $(PKGVERSION).
1567 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1568 REPORT_BUGS_TO settings.
1569
8ca89318
JM
1570 [BZ #14838]
1571 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1572 macro.
1573
47594329
MS
15742012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1575
1576 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1577 detection to immediately after _FP_ROUND().
1578 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1579 bits are 0.
1580
640ac3f1
DM
15812012-11-11 David S. Miller <davem@davemloft.net>
1582
1583 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1584 inttypes.h
1585 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1586 __close rather than their public counterparts.
1587
3d2577bb
JM
15882012-11-10 Joseph Myers <joseph@codesourcery.com>
1589
1590 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1591 file.
1592 [UNIX98] (sem_timedwait): Do not expect.
1593 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1594 [XPG4 || UNIX98] (sockatmark): Do not expect.
1595 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1596 (clock_getcpuclockid): Do not expect.
1597 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1598 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1599 Do not expect.
1600 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1601 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1602 [UNIX98] (vwscanf): Likewise.
1603 [UNIX98] (vswscanf): Likewise.
1604
fb1ae1ee
JM
16052012-11-09 Joseph Myers <joseph@codesourcery.com>
1606
9ec6f8bd
JM
1607 * timezone/version.h: Remove file.
1608 * timezone/README: Do not refer to version.h.
1609 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1610 $(objpfx)version.h.
1611 ($(objpfx)zdump.o): Likewise.
c3f81911 1612 ($(objpfx)version.h): New target.
9ec6f8bd 1613
0aa8f8a1
JM
1614 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1615 2012i.
1616 * timezone/README: Don't mention modification to tzselect.ksh.
1617 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1618 work on unmodified tzselect.ksh. Substitute version numbers in
1619 tzselect.ksh.
1620
4e87147f
JM
1621 * Makefile (format-me): Remove.
1622 (INSTALL): Adjust indentation. Use commands directly instead of
1623 using $(format-me).
1624
8b748aed
JM
1625 * aclocal.m4 (ACX_PKGVERSION): New macro.
1626 (ACX_BUGURL): Likewise.
1627 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1628 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1629 (REPORT_BUGS_TO): Likewise.
1630 * configure: Regenerated.
1631 * config.h.in (PKGVERSION): New macro.
1632 (REPORT_BUGS_TO): Likewise.
1633 * config.make.in (PKGVERSION): New variable.
1634 (PKGVERSION_TEXI): Likewise.
1635 (REPORT_BUGS_TO): Likewise.
1636 (REPORT_BUGS_TEXI): Likewise.
1637 * Makefile (format-me): Use -I$(common-objpfx)manual.
1638 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1639 ($(common-objpfx)manual/%): New target.
1640 (manual/%): Remove target.
1641 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1642 (print_version): Use PKGVERSION.
1643 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1644 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1645 and REPORT_BUGS_TO.
1646 ($(objpfx)xtrace): Likewise.
1647 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1648 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1649 (print_version): Use PKGVERSION.
1650 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1651 (do_version): Use PKGVERSION.
1652 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1653 REPORT_BUGS_TO.
1654 (common-ldd-rewrite): Likewise.
1655 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1656 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1657 (print_version): Use PKGVERSION.
1658 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1659 * elf/pldd.c (argp_program_bug_address): Remove variable.
1660 (more_help): New function.
1661 (argp): Use more_help.
1662 (print_version): Use PKGVERSION.
1663 * elf/sln.c (main): Use PKGVERSION.
1664 (usage): Use REPORT_BUGS_TO.
1665 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1666 (top level): Use PKGVERSION.
1667 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1668 (print_version): Use PKGVERSION.
1669 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1670 (print_version): Use PKGVERSION.
1671 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1672 (print_version): Use PKGVERSION.
1673 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1674 (print_version): Use PKGVERSION.
1675 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1676 (print_version): Use PKGVERSION.
1677 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1678 (print_version): Use PKGVERSION.
1679 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1680 and BUGURL.
1681 ($(objpfx)memusage): Likewise.
1682 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1683 (do_version): Use PKGVERSION.
1684 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1685 (print_version): Use PKGVERSION.
1686 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1687 ($PKGVERSION): New variable.
1688 ($REPORT_BUGS_TO): Likewise.
1689 (usage): Use $REPORT_BUGS_TO.
1690 (top level): Use $PKGVERSION.
1691 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1692 ($(objpfx)pkgvers.texi): New rule.
1693 ($(objpfx)stamp-pkgvers): Likewise.
1694 * manual/install.texi: Include pkgvers.texi.
1695 (--with-pkgversion): Document new configure option.
1696 (--with-bugurl): Likewise.
1697 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1698 than necessarily for this particular distribution. Use
1699 REPORT_BUGS_TO for where to report bugs.
1700 * INSTALL: Regenerated.
1701 * manual/libc.texinfo: Include pkgvers.texi.
1702 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1703 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1704 (print_version): Use PKGVERSION.
1705 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1706 (print_version): Use PKGVERSION.
1707 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1708 (print_version): Use PKGVERSION.
1709 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1710 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1711 macro.
1712 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1713 (print_version): Use PKGVERSION.
1714 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1715 (print_version): Use PKGVERSION.
1716 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1717 and PKGVERSION.
1718
92e4b6a9
JM
1719 * timezone/checktab.awk: Update from tzcode 2012i.
1720 * timezone/ialloc.c: Likewise.
1721 * timezone/private.h: Likewise.
1722 * timezone/scheck.c: Likewise.
1723 * timezone/tzfile.h: Likewise.
1724 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1725 (TZVERSION): Hardcode tzcode version number.
1726 * timezone/zdump.c: Update from tzcode 2012i.
1727 * timezone/zic.c: Likewise.
1728 * timezone/version.h: New file.
1729 * timezone/README: Describe version.h. Update upstream location.
1730
9bde902c
JM
1731 [BZ #14824]
1732 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1733 (mktemp): Enable declaration.
1734 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1735 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1736 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1737 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1738 Likewise.
1739 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1740 Likewise.
1741 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1742 Likewise.
1743 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1744 Likewise.
1745 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1746 Likewise.
1747 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1748 Likewise.
1749
fb1ae1ee
JM
1750 [BZ #14821]
1751 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1752 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1753 for copies of such integer values.
1754 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1755 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1756
2c1adbcb
AJ
17572012-11-09 Andreas Jaeger <aj@suse.de>
1758
1759 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1760 definitions and declarations that are provided by
1761 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1762
d0f8457e
AK
17632012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1764
3a235abb 1765 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
1766 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1767 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1768 definition.
1769
57241e26
MS
17702012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1771
1772 * elf/elf.h: Update comment before AArch64 relocations.
1773
60e8270d
DM
17742012-11-07 David S. Miller <davem@davemloft.net>
1775
1776 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1777 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1778 (__start_context): Declare.
1779 (__makecontext_ret): Delete.
1780 (__makecontext): Hook up __start_context instead of
1781 __makecontext_ret.
1782 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1783 (sysdep_routines): Add __start_context when in stdlib.
1784
0fbb0fbc
JM
17852012-11-07 Joseph Myers <joseph@codesourcery.com>
1786
1787 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1788 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1789 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1790 hardcoded "nm".
1791 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1792 (READELF): New variable. Use it instead of hardcoded "readelf".
1793
eb48db7e
L
17942012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1795
1796 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1797 * sysdeps/x86/Makefile: Here.
1798 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1799 * sysdeps/x86/tst-xmmymm.sh: This.
1800
05bcf62a
JM
18012012-11-07 Joseph Myers <joseph@codesourcery.com>
1802
c4b6cf53
JM
1803 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1804 expectations.
1805 [UNIX98] (pthread_barrier_t): Do not expect.
1806 [UNIX98] (pthread_barrierattr_t): Likewise.
1807 [UNIX98] (pthread_spinlock_t): Likewise.
1808 [UNIX98] (pthread_barrier_destroy): Likewise.
1809 [UNIX98] (pthread_barrier_init): Likewise.
1810 [UNIX98] (pthread_barrier_wait): Likewise.
1811 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1812 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1813 [UNIX98] (pthread_barrierattr_init): Likewise.
1814 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1815 [UNIX98] (pthread_getcpuclockid): Likewise.
1816 [UNIX98] (pthread_mutex_timedlock): Likewise.
1817 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1818 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1819 [UNIX98] (pthread_sigmask): Likewise.
1820 [UNIX98] (pthread_spin_destroy): Likewise.
1821 [UNIX98] (pthread_spin_init): Likewise.
1822 [UNIX98] (pthread_spin_lock): Likewise.
1823 [UNIX98] (pthread_spin_trylock): Likewise.
1824 [UNIX98] (pthread_spin_unlock): Likewise.
1825 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1826 Do not expect.
1827 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1828 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1829 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1830 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1831 [XPG3 || XPG4] (pthread_key_t): Likewise.
1832 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1833 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1834 [XPG3 || XPG4] (pthread_once_t): Likewise.
1835 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1836 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1837 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1838 [XPG3 || XPG4] (pthread_t): Likewise.
1839
cbe6e120
JM
1840 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1841 not expect.
1842 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1843
1b126443
JM
1844 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1845 Change function return type to int.
1846
b961a573
JM
1847 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1848 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1849 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1850 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1851 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1852 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1853 [!POSIX] (posix_madvise): Likewise.
1854 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1855 && !UNIX98].
1856 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1857 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1858 (mode_t): Likewise.
1859 (posix_mem_offset): Likewise.
1860 (posix_typed_mem_get_info): Likewise.
1861 (posix_typed_mem_open): Likewise.
1862
9e188909
JM
1863 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1864 Change condition to [XOPEN2K8].
1865
05bcf62a
JM
1866 * conform/conformtest.pl: Preprocess allow-header data with -x c
1867 instead of from stdin.
1868 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1869 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1870 [C99-based standards] (cerfc): Likewise.
1871 [C99-based standards] (cexp2): Likewise.
1872 [C99-based standards] (cexpm1): Likewise.
1873 [C99-based standards] (clog10): Likewise.
1874 [C99-based standards] (clog1p): Likewise.
1875 [C99-based standards] (clog2): Likewise.
1876 [C99-based standards] (clgamma): Likewise.
1877 [C99-based standards] (ctgamma): Likewise.
1878 [C99-based standards] (cerff): Likewise.
1879 [C99-based standards] (cerfcf): Likewise.
1880 [C99-based standards] (cexp2f): Likewise.
1881 [C99-based standards] (cexpm1f): Likewise.
1882 [C99-based standards] (clog10f): Likewise.
1883 [C99-based standards] (clog1pf): Likewise.
1884 [C99-based standards] (clog2f): Likewise.
1885 [C99-based standards] (clgammaf): Likewise.
1886 [C99-based standards] (ctgammaf): Likewise.
1887 [C99-based standards] (cerfl): Likewise.
1888 [C99-based standards] (cerfcl): Likewise.
1889 [C99-based standards] (cexp2l): Likewise.
1890 [C99-based standards] (cexpm1l): Likewise.
1891 [C99-based standards] (clog10l): Likewise.
1892 [C99-based standards] (clog1pl): Likewise.
1893 [C99-based standards] (clog2l): Likewise.
1894 [C99-based standards] (clgammal): Likewise.
1895 [C99-based standards] (ctgammal): Likewise.
1896 * conform/data/inttypes.h-data [C99-based standards]: Include
1897 stdint.h-data. Remove all expectations for stdint.h contents.
1898 [C99-based standards] (PRI*): Do not allow.
1899 [C99-based standards] (SCN*): Likewise.
1900 [C99-based standards] (*_t): Likewise.
1901 [C99-based-standards] (PRId8): Expect macro.
1902 [C99-based-standards] (PRIi8): Likewise.
1903 [C99-based-standards] (PRIo8): Likewise.
1904 [C99-based-standards] (PRIu8): Likewise.
1905 [C99-based-standards] (PRIx8): Likewise.
1906 [C99-based-standards] (PRIX8): Likewise.
1907 [C99-based-standards] (SCNd8): Likewise.
1908 [C99-based-standards] (SCNi8): Likewise.
1909 [C99-based-standards] (SCNo8): Likewise.
1910 [C99-based-standards] (SCNu8): Likewise.
1911 [C99-based-standards] (SCNx8): Likewise.
1912 [C99-based-standards] (PRIdLEAST8): Likewise.
1913 [C99-based-standards] (PRIiLEAST8): Likewise.
1914 [C99-based-standards] (PRIoLEAST8): Likewise.
1915 [C99-based-standards] (PRIuLEAST8): Likewise.
1916 [C99-based-standards] (PRIxLEAST8): Likewise.
1917 [C99-based-standards] (PRIXLEAST8): Likewise.
1918 [C99-based-standards] (SCNdLEAST8): Likewise.
1919 [C99-based-standards] (SCNiLEAST8): Likewise.
1920 [C99-based-standards] (SCNoLEAST8): Likewise.
1921 [C99-based-standards] (SCNuLEAST8): Likewise.
1922 [C99-based-standards] (SCNxLEAST8): Likewise.
1923 [C99-based-standards] (PRIdFAST8): Likewise.
1924 [C99-based-standards] (PRIiFAST8): Likewise.
1925 [C99-based-standards] (PRIoFAST8): Likewise.
1926 [C99-based-standards] (PRIuFAST8): Likewise.
1927 [C99-based-standards] (PRIxFAST8): Likewise.
1928 [C99-based-standards] (PRIXFAST8): Likewise.
1929 [C99-based-standards] (SCNdFAST8): Likewise.
1930 [C99-based-standards] (SCNiFAST8): Likewise.
1931 [C99-based-standards] (SCNoFAST8): Likewise.
1932 [C99-based-standards] (SCNuFAST8): Likewise.
1933 [C99-based-standards] (SCNxFAST8): Likewise.
1934 [C99-based-standards] (PRId16): Likewise.
1935 [C99-based-standards] (PRIi16): Likewise.
1936 [C99-based-standards] (PRIo16): Likewise.
1937 [C99-based-standards] (PRIu16): Likewise.
1938 [C99-based-standards] (PRIx16): Likewise.
1939 [C99-based-standards] (PRIX16): Likewise.
1940 [C99-based-standards] (SCNd16): Likewise.
1941 [C99-based-standards] (SCNi16): Likewise.
1942 [C99-based-standards] (SCNo16): Likewise.
1943 [C99-based-standards] (SCNu16): Likewise.
1944 [C99-based-standards] (SCNx16): Likewise.
1945 [C99-based-standards] (PRIdLEAST16): Likewise.
1946 [C99-based-standards] (PRIiLEAST16): Likewise.
1947 [C99-based-standards] (PRIoLEAST16): Likewise.
1948 [C99-based-standards] (PRIuLEAST16): Likewise.
1949 [C99-based-standards] (PRIxLEAST16): Likewise.
1950 [C99-based-standards] (PRIXLEAST16): Likewise.
1951 [C99-based-standards] (SCNdLEAST16): Likewise.
1952 [C99-based-standards] (SCNiLEAST16): Likewise.
1953 [C99-based-standards] (SCNoLEAST16): Likewise.
1954 [C99-based-standards] (SCNuLEAST16): Likewise.
1955 [C99-based-standards] (SCNxLEAST16): Likewise.
1956 [C99-based-standards] (PRIdFAST16): Likewise.
1957 [C99-based-standards] (PRIiFAST16): Likewise.
1958 [C99-based-standards] (PRIoFAST16): Likewise.
1959 [C99-based-standards] (PRIuFAST16): Likewise.
1960 [C99-based-standards] (PRIxFAST16): Likewise.
1961 [C99-based-standards] (PRIXFAST16): Likewise.
1962 [C99-based-standards] (SCNdFAST16): Likewise.
1963 [C99-based-standards] (SCNiFAST16): Likewise.
1964 [C99-based-standards] (SCNoFAST16): Likewise.
1965 [C99-based-standards] (SCNuFAST16): Likewise.
1966 [C99-based-standards] (SCNxFAST16): Likewise.
1967 [C99-based-standards] (PRId32): Likewise.
1968 [C99-based-standards] (PRIi32): Likewise.
1969 [C99-based-standards] (PRIo32): Likewise.
1970 [C99-based-standards] (PRIu32): Likewise.
1971 [C99-based-standards] (PRIx32): Likewise.
1972 [C99-based-standards] (PRIX32): Likewise.
1973 [C99-based-standards] (SCNd32): Likewise.
1974 [C99-based-standards] (SCNi32): Likewise.
1975 [C99-based-standards] (SCNo32): Likewise.
1976 [C99-based-standards] (SCNu32): Likewise.
1977 [C99-based-standards] (SCNx32): Likewise.
1978 [C99-based-standards] (PRIdLEAST32): Likewise.
1979 [C99-based-standards] (PRIiLEAST32): Likewise.
1980 [C99-based-standards] (PRIoLEAST32): Likewise.
1981 [C99-based-standards] (PRIuLEAST32): Likewise.
1982 [C99-based-standards] (PRIxLEAST32): Likewise.
1983 [C99-based-standards] (PRIXLEAST32): Likewise.
1984 [C99-based-standards] (SCNdLEAST32): Likewise.
1985 [C99-based-standards] (SCNiLEAST32): Likewise.
1986 [C99-based-standards] (SCNoLEAST32): Likewise.
1987 [C99-based-standards] (SCNuLEAST32): Likewise.
1988 [C99-based-standards] (SCNxLEAST32): Likewise.
1989 [C99-based-standards] (PRIdFAST32): Likewise.
1990 [C99-based-standards] (PRIiFAST32): Likewise.
1991 [C99-based-standards] (PRIoFAST32): Likewise.
1992 [C99-based-standards] (PRIuFAST32): Likewise.
1993 [C99-based-standards] (PRIxFAST32): Likewise.
1994 [C99-based-standards] (PRIXFAST32): Likewise.
1995 [C99-based-standards] (SCNdFAST32): Likewise.
1996 [C99-based-standards] (SCNiFAST32): Likewise.
1997 [C99-based-standards] (SCNoFAST32): Likewise.
1998 [C99-based-standards] (SCNuFAST32): Likewise.
1999 [C99-based-standards] (SCNxFAST32): Likewise.
2000 [C99-based-standards] (PRId64): Likewise.
2001 [C99-based-standards] (PRIi64): Likewise.
2002 [C99-based-standards] (PRIo64): Likewise.
2003 [C99-based-standards] (PRIu64): Likewise.
2004 [C99-based-standards] (PRIx64): Likewise.
2005 [C99-based-standards] (PRIX64): Likewise.
2006 [C99-based-standards] (SCNd64): Likewise.
2007 [C99-based-standards] (SCNi64): Likewise.
2008 [C99-based-standards] (SCNo64): Likewise.
2009 [C99-based-standards] (SCNu64): Likewise.
2010 [C99-based-standards] (SCNx64): Likewise.
2011 [C99-based-standards] (PRIdLEAST64): Likewise.
2012 [C99-based-standards] (PRIiLEAST64): Likewise.
2013 [C99-based-standards] (PRIoLEAST64): Likewise.
2014 [C99-based-standards] (PRIuLEAST64): Likewise.
2015 [C99-based-standards] (PRIxLEAST64): Likewise.
2016 [C99-based-standards] (PRIXLEAST64): Likewise.
2017 [C99-based-standards] (SCNdLEAST64): Likewise.
2018 [C99-based-standards] (SCNiLEAST64): Likewise.
2019 [C99-based-standards] (SCNoLEAST64): Likewise.
2020 [C99-based-standards] (SCNuLEAST64): Likewise.
2021 [C99-based-standards] (SCNxLEAST64): Likewise.
2022 [C99-based-standards] (PRIdFAST64): Likewise.
2023 [C99-based-standards] (PRIiFAST64): Likewise.
2024 [C99-based-standards] (PRIoFAST64): Likewise.
2025 [C99-based-standards] (PRIuFAST64): Likewise.
2026 [C99-based-standards] (PRIxFAST64): Likewise.
2027 [C99-based-standards] (PRIXFAST64): Likewise.
2028 [C99-based-standards] (SCNdFAST64): Likewise.
2029 [C99-based-standards] (SCNiFAST64): Likewise.
2030 [C99-based-standards] (SCNoFAST64): Likewise.
2031 [C99-based-standards] (SCNuFAST64): Likewise.
2032 [C99-based-standards] (SCNxFAST64): Likewise.
2033 [C99-based-standards] (PRIdMAX): Likewise.
2034 [C99-based-standards] (PRIiMAX): Likewise.
2035 [C99-based-standards] (PRIoMAX): Likewise.
2036 [C99-based-standards] (PRIuMAX): Likewise.
2037 [C99-based-standards] (PRIxMAX): Likewise.
2038 [C99-based-standards] (PRIXMAX): Likewise.
2039 [C99-based-standards] (SCNdMAX): Likewise.
2040 [C99-based-standards] (SCNiMAX): Likewise.
2041 [C99-based-standards] (SCNoMAX): Likewise.
2042 [C99-based-standards] (SCNuMAX): Likewise.
2043 [C99-based-standards] (SCNxMAX): Likewise.
2044 [C99-based-standards] (PRIdPTR): Likewise.
2045 [C99-based-standards] (PRIiPTR): Likewise.
2046 [C99-based-standards] (PRIoPTR): Likewise.
2047 [C99-based-standards] (PRIuPTR): Likewise.
2048 [C99-based-standards] (PRIxPTR): Likewise.
2049 [C99-based-standards] (PRIXPTR): Likewise.
2050 [C99-based-standards] (SCNdPTR): Likewise.
2051 [C99-based-standards] (SCNiPTR): Likewise.
2052 [C99-based-standards] (SCNoPTR): Likewise.
2053 [C99-based-standards] (SCNuPTR): Likewise.
2054 [C99-based-standards] (SCNxPTR): Likewise.
2055 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2056 allow.
2057 * conform/data/stdint.h-data: Update comments to clarify
2058 requirements.
2059 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2060 type.
2061 [C99-based standards] (INT8_MAX): Likewise.
2062 [C99-based standards] (INT16_MIN): Likewise.
2063 [C99-based standards] (INT16_MAX): Likewise.
2064 [C99-based standards] (INT32_MIN): Likewise.
2065 [C99-based standards] (INT32_MAX): Likewise.
2066 [C99-based standards] (INT64_MIN): Likewise.
2067 [C99-based standards] (INT64_MAX): Likewise.
2068 [C99-based standards] (UINT8_MAX): Likewise.
2069 [C99-based standards] (UINT16_MAX): Likewise.
2070 [C99-based standards] (UINT32_MAX): Likewise.
2071 [C99-based standards] (UINT64_MAX): Likewise.
2072 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2073 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2074 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2075 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2076 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2077 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2078 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2079 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2080 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2081 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2082 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2083 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2084 [C99-based standards] (INT_FAST8_MIN): Likewise.
2085 [C99-based standards] (INT_FAST8_MAX): Likewise.
2086 [C99-based standards] (INT_FAST16_MIN): Likewise.
2087 [C99-based standards] (INT_FAST16_MAX): Likewise.
2088 [C99-based standards] (INT_FAST32_MIN): Likewise.
2089 [C99-based standards] (INT_FAST32_MAX): Likewise.
2090 [C99-based standards] (INT_FAST64_MIN): Likewise.
2091 [C99-based standards] (INT_FAST64_MAX): Likewise.
2092 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2093 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2094 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2095 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2096 [C99-based standards] (INTPTR_MIN): Likewise.
2097 [C99-based standards] (INTPTR_MAX): Likewise.
2098 [C99-based standards] (UINTPTR_MAX): Likewise.
2099 [C99-based standards] (INTMAX_MIN): Likewise.
2100 [C99-based standards] (INTMAX_MAX): Likewise.
2101 [C99-based standards] (UINTMAX_MAX): Likewise.
2102 [C99-based standards] (PTRDIFF_MIN): Likewise.
2103 [C99-based standards] (PTRDIFF_MAX): Likewise.
2104 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2105 [C99-based standards] (SIZE_MAX): Likewise.
2106 [C99-based standards] (WCHAR_MAX): Likewise.
2107 [C99-based standards] (WINT_MAX): Likewise.
2108 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2109 constraint on value.
2110 [C99-based standards] (WCHAR_MIN): Likewise.
2111 [C99-based standards] (WINT_MIN): Likewise.
2112 [C99-based standards] (*_t): Allow.
2113 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2114 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2115 Include math.h-data and complex.h-data. Remove all expectations
2116 of math.h and complex.h contents.
2117 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2118 at end of line.
2119 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2120 (struct tm): Expect tag.
2121 [C99-based-standards] (wcstof): Expect function.
2122 [C99-based-standards] (wcstold): Likewise.
2123 [C99-based-standards] (wcstoll): Likewise.
2124 [C99-based-standards] (wcstoull): Likewise.
2125 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2126 macro-int-constant. Specify type.
2127 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2128 constraint on value.
2129 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2130 Specify type.
2131 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2132 Specify value.
2133 [ISO C standards]: Do not allow headers.
2134 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2135 wcs[abcdefghijklmnopqrstuvwxyz]*.
2136 [ISO C standards] (*_t): Do not allow.
2137 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2138 Expect function.
2139 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2140 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2141 Specify type.
2142 [ISO C standards]: Do not allow headers.
2143 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2144 is[abcdefghijklmnopqrstuvwxyz]*.
2145 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2146 to[abcdefghijklmnopqrstuvwxyz]*.
2147 [ISO C standards] (*_t): Do not allow.
2148 * conform/data/stdalign.h-data: New file.
2149 * conform/data/stdbool.h-data: Likewise.
2150 * conform/data/stdnoreturn.h-data: Likewise.
2151
7514feb8
RM
21522012-11-07 Roland McGrath <roland@hack.frob.com>
2153
2154 [BZ #14815]
2155 * manual/filesys.texi (Directory Entries): Typo fix.
2156 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2157
19b2ecfc
MS
21582012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2159
2160 * elf/elf.h (EM_AARCH64): New macro.
2161 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2162 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2163 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2164 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2165 (R_AARCH64_TLSDESC): Likewise.
2166 (NT_ARM_TLS): Likewise.
2167 (NT_ARM_HW_BREAK): Likewise.
2168 (NT_ARM_HW_WATCH): Likewise.
2169
60e235ee
JM
21702012-11-07 Joseph Myers <joseph@codesourcery.com>
2171
2172 [BZ #14811]
2173 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2174 (__ieee754_powl): Saturate nonzero exponents with absolute value
2175 below 0x1p-79 to +/- 0x1p-79.
2176 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2177 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2178 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2179 nonzero exponents with absolute value below 0x1p-32 to +/-
2180 0x1p-32.
2181 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2182 (__ieee754_powl): Saturate nonzero exponents with absolute value
2183 below 0x1p-79 to +/- 0x1p-79.
2184 * math/libm-test.inc (pow_test): Add more tests.
2185
0ab234b7
AK
21862012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2187
2188 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2189 _dl_s390_cap_flags with kernel. Increase string length.
2190 (_dl_s390_platforms): Add z196 and zEC12.
2191
45832f74
JM
21922012-11-07 Joseph Myers <joseph@codesourcery.com>
2193
2194 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2195 Change XOPEN21K to XOPEN2K.
2196
19218757
MK
21972012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2198
2199 * string/memmove.c: Use memcpy when possible.
2200
c5f45721
AJ
22012012-11-06 Andreas Jaeger <aj@suse.de>
2202
2203 * po/eo.po: Update from translation team.
2204
82477c28
JM
22052012-11-06 Joseph Myers <joseph@codesourcery.com>
2206
2207 [BZ #14793]
2208 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2209 exponent and small x and y exponents, scale x or y up. Increase
2210 by 2 the exponent used in scaling up.
2211 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2212 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2213 * math/libm-test.inc (fma_test): Add more tests.
2214 (fma_test_towardzero): Likewise.
2215 (fma_test_downward): Likewise.
2216 (fma_test_upward): Likewise.
2217
99252c8c
JM
22182012-11-05 Joseph Myers <joseph@codesourcery.com>
2219
acfa885f
JM
2220 [BZ #14805]
2221 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2222 fenv_t *.
2223
99252c8c
JM
2224 [BZ #14801]
2225 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2226 namespace for names of struct fields.
2227 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2228 fenv_t fields.
2229 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2230 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2231
d6d98dea
ST
22322012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2233
2234 [BZ #3665]
2235 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2236
e10bb107
TS
22372012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2238
2239 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2240 PTR_DEMANGLE.
2241
2242 [BZ #5246]
2243 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2244 PTR_DEMANGLE.
2245
a0c2940d
JM
22462012-11-04 Joseph Myers <joseph@codesourcery.com>
2247
2248 [BZ #14797]
2249 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2250 definitely overflow as x * y not x * y + z.
2251 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2252 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2253 * math/libm-test.inc (fma_test): Add more tests.
2254 (fma_test_towardzero): Likewise.
2255 (fma_test_downward): Likewise.
2256 (fma_test_upward): Likewise.
2257
b830319d
TS
22582012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2259
2260 [BZ #157]
2261
2262 * include/stub-tag.h: Remove file.
2263 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2264 '#include' of it.
2265 * manual/maint.texi (Porting): Don't reference it.
2266 * Makerules ($(objpfx)stubs): Likewise.
2267 * dirent/closedir.c: Don't include <stub-tag.h>.
2268 * dirent/dirfd.c: Likewise.
2269 * dirent/fdopendir.c: Likewise.
2270 * dirent/getdents.c: Likewise.
2271 * dirent/getdents64.c: Likewise.
2272 * dirent/opendir.c: Likewise.
2273 * dirent/readdir.c: Likewise.
2274 * dirent/readdir64.c: Likewise.
2275 * dirent/readdir64_r.c: Likewise.
2276 * dirent/readdir_r.c: Likewise.
2277 * dirent/rewinddir.c: Likewise.
2278 * dirent/seekdir.c: Likewise.
2279 * dirent/telldir.c: Likewise.
2280 * gmon/profil.c: Likewise.
2281 * grp/setgroups.c: Likewise.
2282 * inet/if_index.c: Likewise.
2283 * io/access.c: Likewise.
2284 * io/chdir.c: Likewise.
2285 * io/chmod.c: Likewise.
2286 * io/chown.c: Likewise.
2287 * io/close.c: Likewise.
2288 * io/dup.c: Likewise.
2289 * io/dup2.c: Likewise.
2290 * io/dup3.c: Likewise.
2291 * io/euidaccess.c: Likewise.
2292 * io/faccessat.c: Likewise.
2293 * io/fchdir.c: Likewise.
2294 * io/fchmod.c: Likewise.
2295 * io/fchmodat.c: Likewise.
2296 * io/fchown.c: Likewise.
2297 * io/fchownat.c: Likewise.
2298 * io/fcntl.c: Likewise.
2299 * io/flock.c: Likewise.
2300 * io/fstatfs.c: Likewise.
2301 * io/fstatfs64.c: Likewise.
2302 * io/fstatvfs.c: Likewise.
2303 * io/fstatvfs64.c: Likewise.
2304 * io/futimens.c: Likewise.
2305 * io/fxstat.c: Likewise.
2306 * io/fxstat64.c: Likewise.
2307 * io/fxstatat.c: Likewise.
2308 * io/fxstatat64.c: Likewise.
2309 * io/getcwd.c: Likewise.
2310 * io/isatty.c: Likewise.
2311 * io/lchmod.c: Likewise.
2312 * io/lchown.c: Likewise.
2313 * io/link.c: Likewise.
2314 * io/linkat.c: Likewise.
2315 * io/lseek.c: Likewise.
2316 * io/lseek64.c: Likewise.
2317 * io/lxstat64.c: Likewise.
2318 * io/mkdir.c: Likewise.
2319 * io/mkdirat.c: Likewise.
2320 * io/mkfifo.c: Likewise.
2321 * io/mkfifoat.c: Likewise.
2322 * io/open.c: Likewise.
2323 * io/open64.c: Likewise.
2324 * io/openat.c: Likewise.
2325 * io/openat64.c: Likewise.
2326 * io/pipe.c: Likewise.
2327 * io/pipe2.c: Likewise.
2328 * io/poll.c: Likewise.
2329 * io/posix_fadvise.c: Likewise.
2330 * io/posix_fadvise64.c: Likewise.
2331 * io/posix_fallocate.c: Likewise.
2332 * io/posix_fallocate64.c: Likewise.
2333 * io/read.c: Likewise.
2334 * io/readlink.c: Likewise.
2335 * io/readlinkat.c: Likewise.
2336 * io/rmdir.c: Likewise.
2337 * io/sendfile.c: Likewise.
2338 * io/sendfile64.c: Likewise.
2339 * io/statfs.c: Likewise.
2340 * io/statfs64.c: Likewise.
2341 * io/statvfs.c: Likewise.
2342 * io/statvfs64.c: Likewise.
2343 * io/symlink.c: Likewise.
2344 * io/symlinkat.c: Likewise.
2345 * io/ttyname.c: Likewise.
2346 * io/ttyname_r.c: Likewise.
2347 * io/umask.c: Likewise.
2348 * io/unlink.c: Likewise.
2349 * io/unlinkat.c: Likewise.
2350 * io/utime.c: Likewise.
2351 * io/utimensat.c: Likewise.
2352 * io/write.c: Likewise.
2353 * io/xmknod.c: Likewise.
2354 * io/xmknodat.c: Likewise.
2355 * io/xstat.c: Likewise.
2356 * io/xstat64.c: Likewise.
2357 * login/getpt.c: Likewise.
2358 * login/grantpt.c: Likewise.
2359 * login/unlockpt.c: Likewise.
2360 * math/e_acoshl.c: Likewise.
2361 * math/e_acosl.c: Likewise.
2362 * math/e_asinl.c: Likewise.
2363 * math/e_atan2l.c: Likewise.
2364 * math/e_atanhl.c: Likewise.
2365 * math/e_coshl.c: Likewise.
2366 * math/e_expl.c: Likewise.
2367 * math/e_fmodl.c: Likewise.
2368 * math/e_gammal_r.c: Likewise.
2369 * math/e_hypotl.c: Likewise.
2370 * math/e_j0l.c: Likewise.
2371 * math/e_j1l.c: Likewise.
2372 * math/e_jnl.c: Likewise.
2373 * math/e_lgammal_r.c: Likewise.
2374 * math/e_log10l.c: Likewise.
2375 * math/e_log2l.c: Likewise.
2376 * math/e_logl.c: Likewise.
2377 * math/e_powl.c: Likewise.
2378 * math/e_rem_pio2l.c: Likewise.
2379 * math/e_sinhl.c: Likewise.
2380 * math/e_sqrtl.c: Likewise.
2381 * math/fclrexcpt.c: Likewise.
2382 * math/fedisblxcpt.c: Likewise.
2383 * math/feenablxcpt.c: Likewise.
2384 * math/fegetenv.c: Likewise.
2385 * math/fegetexcept.c: Likewise.
2386 * math/fegetround.c: Likewise.
2387 * math/feholdexcpt.c: Likewise.
2388 * math/fesetenv.c: Likewise.
2389 * math/fesetround.c: Likewise.
2390 * math/feupdateenv.c: Likewise.
2391 * math/fgetexcptflg.c: Likewise.
2392 * math/fraiseexcpt.c: Likewise.
2393 * math/fsetexcptflg.c: Likewise.
2394 * math/ftestexcept.c: Likewise.
2395 * math/k_cosl.c: Likewise.
2396 * math/k_rem_pio2l.c: Likewise.
2397 * math/k_sinl.c: Likewise.
2398 * math/k_tanl.c: Likewise.
2399 * math/s_asinhl.c: Likewise.
2400 * math/s_atanl.c: Likewise.
2401 * math/s_cbrtl.c: Likewise.
2402 * math/s_erfl.c: Likewise.
2403 * math/s_expm1l.c: Likewise.
2404 * math/s_log1pl.c: Likewise.
2405 * math/s_tanhl.c: Likewise.
2406 * misc/acct.c: Likewise.
2407 * misc/brk.c: Likewise.
2408 * misc/chflags.c: Likewise.
2409 * misc/chroot.c: Likewise.
2410 * misc/fchflags.c: Likewise.
2411 * misc/fgetxattr.c: Likewise.
2412 * misc/flistxattr.c: Likewise.
2413 * misc/fremovexattr.c: Likewise.
2414 * misc/fsetxattr.c: Likewise.
2415 * misc/fsync.c: Likewise.
2416 * misc/ftruncate.c: Likewise.
2417 * misc/futimes.c: Likewise.
2418 * misc/futimesat.c: Likewise.
2419 * misc/getdomain.c: Likewise.
2420 * misc/getdtsz.c: Likewise.
2421 * misc/gethostid.c: Likewise.
2422 * misc/gethostname.c: Likewise.
2423 * misc/getloadavg.c: Likewise.
2424 * misc/getpagesize.c: Likewise.
2425 * misc/getsysstats.c: Likewise.
2426 * misc/getxattr.c: Likewise.
2427 * misc/gtty.c: Likewise.
2428 * misc/ioctl.c: Likewise.
2429 * misc/lgetxattr.c: Likewise.
2430 * misc/listxattr.c: Likewise.
2431 * misc/llistxattr.c: Likewise.
2432 * misc/lremovexattr.c: Likewise.
2433 * misc/lsetxattr.c: Likewise.
2434 * misc/lutimes.c: Likewise.
2435 * misc/madvise.c: Likewise.
2436 * misc/mincore.c: Likewise.
2437 * misc/mlock.c: Likewise.
2438 * misc/mlockall.c: Likewise.
2439 * misc/mmap.c: Likewise.
2440 * misc/mprotect.c: Likewise.
2441 * misc/msync.c: Likewise.
2442 * misc/munlock.c: Likewise.
2443 * misc/munlockall.c: Likewise.
2444 * misc/munmap.c: Likewise.
2445 * misc/preadv.c: Likewise.
2446 * misc/preadv64.c: Likewise.
2447 * misc/ptrace.c: Likewise.
2448 * misc/pwritev.c: Likewise.
2449 * misc/pwritev64.c: Likewise.
2450 * misc/readv.c: Likewise.
2451 * misc/reboot.c: Likewise.
2452 * misc/remap_file_pages.c: Likewise.
2453 * misc/removexattr.c: Likewise.
2454 * misc/revoke.c: Likewise.
2455 * misc/select.c: Likewise.
2456 * misc/setdomain.c: Likewise.
2457 * misc/setegid.c: Likewise.
2458 * misc/seteuid.c: Likewise.
2459 * misc/sethostid.c: Likewise.
2460 * misc/sethostname.c: Likewise.
2461 * misc/setregid.c: Likewise.
2462 * misc/setreuid.c: Likewise.
2463 * misc/setxattr.c: Likewise.
2464 * misc/sstk.c: Likewise.
2465 * misc/stty.c: Likewise.
2466 * misc/swapoff.c: Likewise.
2467 * misc/swapon.c: Likewise.
2468 * misc/sync.c: Likewise.
2469 * misc/syncfs.c: Likewise.
2470 * misc/syscall.c: Likewise.
2471 * misc/truncate.c: Likewise.
2472 * misc/ualarm.c: Likewise.
2473 * misc/usleep.c: Likewise.
2474 * misc/ustat.c: Likewise.
2475 * misc/utimes.c: Likewise.
2476 * misc/vhangup.c: Likewise.
2477 * misc/writev.c: Likewise.
2478 * posix/_exit.c: Likewise.
2479 * posix/alarm.c: Likewise.
2480 * posix/execve.c: Likewise.
2481 * posix/fexecve.c: Likewise.
2482 * posix/fork.c: Likewise.
2483 * posix/fpathconf.c: Likewise.
2484 * posix/getaddrinfo.c: Likewise.
2485 * posix/getegid.c: Likewise.
2486 * posix/geteuid.c: Likewise.
2487 * posix/getgid.c: Likewise.
2488 * posix/getgroups.c: Likewise.
2489 * posix/getlogin.c: Likewise.
2490 * posix/getlogin_r.c: Likewise.
2491 * posix/getpgid.c: Likewise.
2492 * posix/getpid.c: Likewise.
2493 * posix/getppid.c: Likewise.
2494 * posix/getresgid.c: Likewise.
2495 * posix/getresuid.c: Likewise.
2496 * posix/getsid.c: Likewise.
2497 * posix/getuid.c: Likewise.
2498 * posix/glob64.c: Likewise.
2499 * posix/nanosleep.c: Likewise.
2500 * posix/pathconf.c: Likewise.
2501 * posix/pause.c: Likewise.
2502 * posix/posix_madvise.c: Likewise.
2503 * posix/pread.c: Likewise.
2504 * posix/pread64.c: Likewise.
2505 * posix/pwrite.c: Likewise.
2506 * posix/pwrite64.c: Likewise.
2507 * posix/sched_getaffinity.c: Likewise.
2508 * posix/sched_getp.c: Likewise.
2509 * posix/sched_gets.c: Likewise.
2510 * posix/sched_primax.c: Likewise.
2511 * posix/sched_primin.c: Likewise.
2512 * posix/sched_rr_gi.c: Likewise.
2513 * posix/sched_setaffinity.c: Likewise.
2514 * posix/sched_setp.c: Likewise.
2515 * posix/sched_sets.c: Likewise.
2516 * posix/sched_yield.c: Likewise.
2517 * posix/setgid.c: Likewise.
2518 * posix/setlogin.c: Likewise.
2519 * posix/setpgid.c: Likewise.
2520 * posix/setresgid.c: Likewise.
2521 * posix/setresuid.c: Likewise.
2522 * posix/setsid.c: Likewise.
2523 * posix/setuid.c: Likewise.
2524 * posix/sleep.c: Likewise.
2525 * posix/spawni.c: Likewise.
2526 * posix/sysconf.c: Likewise.
2527 * posix/times.c: Likewise.
2528 * posix/wait.c: Likewise.
2529 * posix/wait3.c: Likewise.
2530 * posix/wait4.c: Likewise.
2531 * posix/waitpid.c: Likewise.
2532 * resolv/gai_sigqueue.c: Likewise.
2533 * resource/getpriority.c: Likewise.
2534 * resource/getrlimit.c: Likewise.
2535 * resource/getrusage.c: Likewise.
2536 * resource/nice.c: Likewise.
2537 * resource/setpriority.c: Likewise.
2538 * resource/setrlimit.c: Likewise.
2539 * resource/ulimit.c: Likewise.
2540 * rt/aio_cancel.c: Likewise.
2541 * rt/aio_fsync.c: Likewise.
2542 * rt/aio_read.c: Likewise.
2543 * rt/aio_sigqueue.c: Likewise.
2544 * rt/aio_suspend.c: Likewise.
2545 * rt/aio_write.c: Likewise.
2546 * rt/clock_getres.c: Likewise.
2547 * rt/clock_gettime.c: Likewise.
2548 * rt/clock_nanosleep.c: Likewise.
2549 * rt/clock_settime.c: Likewise.
2550 * rt/lio_listio.c: Likewise.
2551 * rt/mq_close.c: Likewise.
2552 * rt/mq_getattr.c: Likewise.
2553 * rt/mq_notify.c: Likewise.
2554 * rt/mq_open.c: Likewise.
2555 * rt/mq_receive.c: Likewise.
2556 * rt/mq_send.c: Likewise.
2557 * rt/mq_setattr.c: Likewise.
2558 * rt/mq_timedreceive.c: Likewise.
2559 * rt/mq_timedsend.c: Likewise.
2560 * rt/mq_unlink.c: Likewise.
2561 * rt/shm_open.c: Likewise.
2562 * rt/shm_unlink.c: Likewise.
2563 * rt/timer_create.c: Likewise.
2564 * rt/timer_delete.c: Likewise.
2565 * rt/timer_getoverr.c: Likewise.
2566 * rt/timer_gettime.c: Likewise.
2567 * rt/timer_settime.c: Likewise.
2568 * setjmp/__longjmp.c: Likewise.
2569 * setjmp/setjmp.c: Likewise.
2570 * signal/kill.c: Likewise.
2571 * signal/killpg.c: Likewise.
2572 * signal/raise.c: Likewise.
2573 * signal/sigaction.c: Likewise.
2574 * signal/sigaltstack.c: Likewise.
2575 * signal/sigblock.c: Likewise.
2576 * signal/sigignore.c: Likewise.
2577 * signal/sigintr.c: Likewise.
2578 * signal/signal.c: Likewise.
2579 * signal/sigpause.c: Likewise.
2580 * signal/sigpending.c: Likewise.
2581 * signal/sigqueue.c: Likewise.
2582 * signal/sigreturn.c: Likewise.
2583 * signal/sigset.c: Likewise.
2584 * signal/sigsetmask.c: Likewise.
2585 * signal/sigstack.c: Likewise.
2586 * signal/sigsuspend.c: Likewise.
2587 * signal/sigtimedwait.c: Likewise.
2588 * signal/sigvec.c: Likewise.
2589 * signal/sigwait.c: Likewise.
2590 * signal/sigwaitinfo.c: Likewise.
2591 * signal/sysv_signal.c: Likewise.
2592 * socket/accept.c: Likewise.
2593 * socket/accept4.c: Likewise.
2594 * socket/bind.c: Likewise.
2595 * socket/connect.c: Likewise.
2596 * socket/getpeername.c: Likewise.
2597 * socket/getsockname.c: Likewise.
2598 * socket/getsockopt.c: Likewise.
2599 * socket/isfdtype.c: Likewise.
2600 * socket/listen.c: Likewise.
2601 * socket/recv.c: Likewise.
2602 * socket/recvfrom.c: Likewise.
2603 * socket/recvmsg.c: Likewise.
2604 * socket/send.c: Likewise.
2605 * socket/sendmsg.c: Likewise.
2606 * socket/sendto.c: Likewise.
2607 * socket/setsockopt.c: Likewise.
2608 * socket/shutdown.c: Likewise.
2609 * socket/sockatmark.c: Likewise.
2610 * socket/socket.c: Likewise.
2611 * socket/socketpair.c: Likewise.
2612 * stdio-common/ctermid.c: Likewise.
2613 * stdio-common/cuserid.c: Likewise.
2614 * stdio-common/remove.c: Likewise.
2615 * stdio-common/rename.c: Likewise.
2616 * stdio-common/renameat.c: Likewise.
2617 * stdio-common/tempname.c: Likewise.
2618 * stdlib/getcontext.c: Likewise.
2619 * stdlib/makecontext.c: Likewise.
2620 * stdlib/setcontext.c: Likewise.
2621 * stdlib/swapcontext.c: Likewise.
2622 * stdlib/system.c: Likewise.
2623 * streams/fattach.c: Likewise.
2624 * streams/fdetach.c: Likewise.
2625 * streams/getmsg.c: Likewise.
2626 * streams/getpmsg.c: Likewise.
2627 * streams/putmsg.c: Likewise.
2628 * streams/putpmsg.c: Likewise.
2629 * sysdeps/unix/bsd/getpt.c: Likewise.
2630 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2631 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2632 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2634 Likewise.
2635 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2636 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2637 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2638 * sysvipc/msgctl.c: Likewise.
2639 * sysvipc/msgget.c: Likewise.
2640 * sysvipc/msgrcv.c: Likewise.
2641 * sysvipc/msgsnd.c: Likewise.
2642 * sysvipc/semctl.c: Likewise.
2643 * sysvipc/semget.c: Likewise.
2644 * sysvipc/semop.c: Likewise.
2645 * sysvipc/semtimedop.c: Likewise.
2646 * sysvipc/shmat.c: Likewise.
2647 * sysvipc/shmctl.c: Likewise.
2648 * sysvipc/shmdt.c: Likewise.
2649 * sysvipc/shmget.c: Likewise.
2650 * termios/tcdrain.c: Likewise.
2651 * termios/tcflow.c: Likewise.
2652 * termios/tcflush.c: Likewise.
2653 * termios/tcgetattr.c: Likewise.
2654 * termios/tcgetpgrp.c: Likewise.
2655 * termios/tcsendbrk.c: Likewise.
2656 * termios/tcsetattr.c: Likewise.
2657 * termios/tcsetpgrp.c: Likewise.
2658 * time/adjtime.c: Likewise.
2659 * time/clock.c: Likewise.
2660 * time/getitimer.c: Likewise.
2661 * time/gettimeofday.c: Likewise.
2662 * time/setitimer.c: Likewise.
2663 * time/settimeofday.c: Likewise.
2664 * time/stime.c: Likewise.
2665 * time/time.c: Likewise.
2666
26672012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2668
a20492cf
PT
2669 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2670 /usr/old/bin.
2671
72e182e3
PT
2672 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2673 instead of spaces.
2674 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2675
fbeafede
JM
26762012-11-03 Joseph Myers <joseph@codesourcery.com>
2677
5b5b04d6
JM
2678 [BZ #14796]
2679 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2680 FE_TONEAREST before applying Dekker multiplication and Knuth
2681 addition. Clear inexact exceptions and check for exact zero
2682 results afterwards.
2683 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2684 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2685 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2686 * math/libm-test.inc (fma_test): Add more tests.
2687 (fma_test_towardzero): Likewise.
2688 (fma_test_downward): Likewise.
2689 (fma_test_upward): Likewise.
2690 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2691 function.
2692 (libc_fesetround): New macro.
2693 (libc_fesetroundf): Likewise.
2694 (libc_fesetroundl): Likewise.
2695 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2696 function.
2697 (libc_fesetround_387): Likewise.
2698 (libc_fesetroundf): New macro.
2699 (libc_fesetround): Likewise.
2700 (libc_fesetroundl): Likewise.
2701 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2702 function.
2703 (libc_fesetroundf): New macro.
2704 (libc_fesetround): Likewise.
2705 (libc_fesetroundl): Likewise.
2706 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2707 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2708 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2709 libm_hidden_ver.
2710 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2711 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2712 libm_hidden_def.
2713 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2714 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2715 libm_hidden_ver.
2716 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2717 libm_hidden_def.
2718
fbeafede
JM
2719 [BZ #3439]
2720 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2721 integer constant usable in #if and use that to give value to enum
2722 constant.
2723 (FE_DIVBYZERO): Likewise.
2724 (FE_UNDERFLOW): Likewise.
2725 (FE_OVERFLOW): Likewise.
2726 (FE_INVALID): Likewise.
2727 (FE_INVALID_SNAN): Likewise.
2728 (FE_INVALID_ISI): Likewise.
2729 (FE_INVALID_IDI): Likewise.
2730 (FE_INVALID_ZDZ): Likewise.
2731 (FE_INVALID_IMZ): Likewise.
2732 (FE_INVALID_COMPARE): Likewise.
2733 (FE_INVALID_SOFTWARE): Likewise.
2734 (FE_INVALID_SQRT): Likewise.
2735 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2736 (FE_TONEAREST): Likewise.
2737 (FE_TOWARDZERO): Likewise.
2738 (FE_UPWARD): Likewise.
2739 (FE_DOWNWARD): Likewise.
2740 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2741 (FE_DIVBYZERO): Likewise.
2742 (FE_OVERFLOW): Likewise.
2743 (FE_UNDERFLOW): Likewise.
2744 (FE_INEXACT): Likewise.
2745 (FE_TONEAREST): Likewise.
2746 (FE_DOWNWARD): Likewise.
2747 (FE_UPWARD): Likewise.
2748 (FE_TOWARDZERO): Likewise.
2749 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2750 (FE_UNDERFLOW): Likewise.
2751 (FE_OVERFLOW): Likewise.
2752 (FE_DIVBYZERO): Likewise.
2753 (FE_INVALID): Likewise.
2754 (FE_TONEAREST): Likewise.
2755 (FE_TOWARDZERO): Likewise.
2756 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2757 (FE_OVERFLOW): Likewise.
2758 (FE_UNDERFLOW): Likewise.
2759 (FE_DIVBYZERO): Likewise.
2760 (FE_INEXACT): Likewise.
2761 (FE_TONEAREST): Likewise.
2762 (FE_TOWARDZERO): Likewise.
2763 (FE_UPWARD): Likewise.
2764 (FE_DOWNWARD): Likewise.
2765 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2766 (FE_DIVBYZERO): Likewise.
2767 (FE_OVERFLOW): Likewise.
2768 (FE_UNDERFLOW): Likewise.
2769 (FE_INEXACT): Likewise.
2770 (FE_TONEAREST): Likewise.
2771 (FE_DOWNWARD): Likewise.
2772 (FE_UPWARD): Likewise.
2773 (FE_TOWARDZERO): Likewise.
2774
105ca950
CM
27752012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2776
2777 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2778
a542b389
AS
27792012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2780
2781 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2782 commands. Quote $PWD.
2783 (blacklist_exports): Don't use remove_newlines. Replace "declare
2784 -x" by "export".
2785 (remove_newlines): Remove.
2786
f62c8abc
L
27872012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2788
2789 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2790 * stdlib/stdlib.h (atof): Moved to ...
2791 * include/bits/stdlib-float.h: Here. New file.
2792 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2793 * stdlib/bits/stdlib-float.h: New file.
2794 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2795 -mno-sse -mno-mmx.
2796 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2797 <xmmintrin.h>.
2798
0155d5b2
JM
27992012-11-02 Joseph Myers <joseph@codesourcery.com>
2800
a68d0680
JM
2801 * conform/conformtest.pl (@headers): Add fenv.h.
2802 * conform/data/fenv.h-data: New file.
2803 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2804 include of <math/fenv.h>.
2805
caf7f573
JM
2806 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2807 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2808 && !UNIX98]. Enables tests for XOPEN2K8.
2809 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2810 POSIX2008]: Likewise.
2811
6c073ad6
JM
2812 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2813 (struct rusage): Do not expect type or its members.
2814
0155d5b2
JM
2815 [BZ #3439]
2816 * math/math.h (FP_NAN): Define macro to integer constant usable in
2817 #if and use that to give value to enum constant.
2818 (FP_INFINITE): Likewise.
2819 (FP_ZERO): Likewise.
2820 (FP_SUBNORMAL): Likewise.
2821 (FP_NORMAL): Likewise.
2822
b5dcacb4
AS
28232012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2824
2825 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2826 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2827 arguments.
2828
f7934be8
RM
28292012-11-02 Roland McGrath <roland@hack.frob.com>
2830
2831 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2832 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2833 autoconf-time if not.
2834 * configure.in: Remove AC_PREREQ.
2835
d7d08bde
TMQMF
28362012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2837
2838 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2839 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2840 of the internal implementation.
2841
dcdae19a
JM
28422012-11-02 Joseph Myers <joseph@codesourcery.com>
2843
2844 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2845 except include of <misc/sys/syslog.h>.
2846
d6cffd3e
AS
28472012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2848
2849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2850 function returns with a NULL context exit with zero.
2851
b3563932
TMQMF
28522012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2853
2854 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2855
b288a93d
L
28562012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2857
2858 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2859 (run_program_cmd): This.
2860 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2861 (tst_langinfo): New variable. Use it.
2862
a2421a68
SAS
28632012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2864
2865 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2866 floating point opcodes.
2867
6f796e1b
TS
28682012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2869
7402596b
TS
2870 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2871 variable.
2872
d0d4f868
TS
2873 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2874
6f796e1b
TS
2875 * sysdeps/mach/hurd/powerpc: Remove directory.
2876 * sysdeps/mach/powerpc: Likewise.
2877
4da224a2
AS
28782012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2879
2880 * scripts/check-local-headers.sh: Ignore c++ headers.
2881
341dd673
TS
28822012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2883
2884 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2885 __libc_cleanup_region_start argument.
2886
473611b2
JM
28872012-11-01 Joseph Myers <joseph@codesourcery.com>
2888
2889 [BZ #14784]
2890 [BZ #14785]
2891 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2892 x * y using scaling, not as x * y + z.
2893 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2894 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2895 * math/libm-test.inc (fma_test): Add more tests.
2896 (fma_test_towardzero): Likewise.
2897 (fma_test_downward): Likewise.
2898 (fma_test_upward): Likewise.
2899
4078da3d
TS
29002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2901
2902 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2903
903252aa
JM
29042012-10-31 Joseph Myers <joseph@codesourcery.com>
2905
2906 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2907 New variable.
2908
cbc818d0
TS
29092012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2910
2911 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2912
5a03cb1e
AS
29132012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2914
2915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2916 Fix sort order.
2917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2918 Likewise.
2919
90aff2ff
TMQMF
29202012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2921
2922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2923 Fix the order of the list for glibc 2.17.
2924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2925 Likewise.
2926
1818fcb7
AS
29272012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2928
2929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2930
ef82f4da
JM
29312012-10-31 Joseph Myers <joseph@codesourcery.com>
2932
16a0e2ec
JM
2933 [BZ #14610]
2934 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2935 for low part of x being zero before using __atanl (y).
2936 * math/libm-test.inc (atan2_test): Add another test.
2937
0eb69512
JM
2938 * manual/install.texi (Configuring and compiling): Document
2939 general use of test-wrapper and test-wrapper-env.
2940 * INSTALL: Regenerated.
2941
ef82f4da
JM
2942 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2943 (__fma): Do not extract and scale down low bits on after-rounding
2944 systems when result rounded to normal precision would have normal
2945 exponent.
2946 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2947 (__fmal): Do not extract and scale down low bits on after-rounding
2948 systems when result rounded to normal precision would have normal
2949 exponent.
2950 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2951 (__fmal): Do not extract and scale down low bits on after-rounding
2952 systems when result rounded to normal precision would have normal
2953 exponent.
2954 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2955 macro.
2956 (fma_test): Add more tests.
2957 (fma_test_towardzero): Likewise.
2958 (fma_test_downward): Likewise.
2959 (fma_test_upward): Likewise.
2960
954ef0d9
L
29612012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2962
2963 * sysdeps/i386/tininess.h: Renamed to ...
2964 * sysdeps/x86/tininess.h: This.
2965 * sysdeps/x86_64/tininess.h: Removed.
2966
df61ffb2
JM
29672012-10-30 Joseph Myers <joseph@codesourcery.com>
2968
2969 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2970 input. Use $(build-program-cmd).
2971 ($(objpfx)tst-array1-static.out): Likewise.
2972 ($(objpfx)tst-array2.out): Likewise.
2973 ($(objpfx)tst-array3.out): Likewise.
2974 ($(objpfx)tst-array4.out): Likewise.
2975 ($(objpfx)tst-array5.out): Likewise.
2976 ($(objpfx)tst-array5-static.out): Likewise.
2977
01767843
CM
29782012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2979
47cc1490
CM
2980 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2981 if defined.
2982
01767843
CM
2983 * nss/nsswitch.h (nss_interface_function): Provide new
2984 macro for use with NSS functions.
2985 * grp/initgroups.c: Use new macro.
2986 * nss/getXXbyYY.c: Likewise.
2987 * nss/getXXbyYY_r.c: Likewise.
2988 * nss/getXXent.c: Likewise.
2989 * nss/getXXent_r.c: Likewise.
2990 * sysdeps/posix/getaddrinfo.c: Likewise.
2991
8321aa97
AJ
29922012-10-30 Andreas Jaeger <aj@suse.de>
2993
2994 * po/ru.po: Update Russion translation from translation project.
2995
2a27fd6d
JM
29962012-10-30 Joseph Myers <joseph@codesourcery.com>
2997
8627a232
JM
2998 [BZ #14152]
2999 [BZ #14783]
3000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3001 result and shift together with sticky bit instead of replicating
3002 round-to-nearest rounding.
3003 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3004 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3005 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3006 missing underflow exceptions.
3007 (fma_test_towardzero): Add more tests.
3008 (fma_test_downward): Likewise.
3009 (fma_test_upward): Likewise.
3010
2a27fd6d
JM
3011 [BZ #14047]
3012 * sysdeps/generic/tininess.h: New file.
3013 * sysdeps/i386/tininess.h: Likewise.
3014 * sysdeps/sh/tininess.h: Likewise.
3015 * sysdeps/x86_64/tininess.h: Likewise.
3016 * stdlib/tst-strtod-underflow.c: Likewise.
3017 * stdlib/tst-tininess.c: Likewise.
3018 * stdlib/strtod_l.c: Include <tininess.h>.
3019 (round_and_return): Do not set errno for exact underflow cases.
3020 Force an underflow exception when setting errno for underflow.
3021 Determine underflow based on rounding to normal precision if
3022 TININESS_AFTER_ROUNDING.
3023 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3024 ERANGE for exact underflow cases.
3025 * stdlib/Makefile (tests): Add tst-tininess and
3026 tst-strtod-underflow.
3027 ($(objpfx)tst-tininess): Use $(link-libm).
3028 ($(objpfx)tst-strtod-underflow): Likewise.
3029
e7170363
AJ
30302012-10-30 Andreas Jaeger <aj@suse.de>
3031
e5088dc6
AJ
3032 [BZ#14767]
3033 * elf/Makefile (tests): Remove conditional for have-initfini-array
3034 since this is now always required and the variable does not exist
3035 anymore.
3036 (tests-static): Likewise.
3037 (modules-names): Likewise.
3038
e7170363 3039 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
3040
3041 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3042 merged with constructor/destructor.
3043 (init_array): Likewise.
3044 * elf/tst-array2dep.c (fini_array): Likewise.
3045 (init_array): Likewise.
3046
60457d8a
MF
30472012-10-29 Mike Frysinger <vapier@gentoo.org>
3048
3049 * manual/message.texi: Delete @cartouche tags.
3050
8bece752
PT
30512012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3052
94ce799f
PT
3053 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3054 EOPNOTSUPP.
3055 * sysdeps/mach/hurd/fsync.c: Likewise.
3056
8bece752
PT
3057 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3058 [_POSIX_REALTIME_SIGNALS]: Change condition to
3059 [_POSIX_REALTIME_SIGNALS > 0].
3060
86ebe6b1
AJ
30612012-10-27 Andreas Jaeger <aj@suse.de>
3062
3063 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3064 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3065 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3066 [__WORDSIZE != 64]: Likewise.
3067
54399c08
L
30682012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3069
3070 * iconvdata/tst-table.sh: Remove ${SHELL}.
3071 * iconvdata/tst-tables.sh: Likewise.
3072
e2211bed
DM
30732012-10-25 David S. Miller <davem@davemloft.net>
3074
3075 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3076 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3077 of strtoull.
3078
f303f97c
DM
3079 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3080 ifunc-impl-list.c
3081 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3082 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3083 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3084 file.
3085
1e9d84cd
RM
30862012-10-25 Roland McGrath <roland@hack.frob.com>
3087
3088 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3089 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3090 __getdirentries.
3091
df381762
JM
30922012-10-25 Joseph Myers <joseph@codesourcery.com>
3093 Jim Blandy <jimb@codesourcery.com>
3094
3095 * scripts/cross-test-ssh.sh: New file.
3096 * manual/install.texi (Configuring and compiling): Document use of
3097 cross-test-ssh.sh.
3098 * INSTALL: Regenerated.
3099
bff64913
PT
31002012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3101
3102 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3103 EOPNOTSUPP.
3104
25fe8932
JM
31052012-10-25 Joseph Myers <joseph@codesourcery.com>
3106
3107 * Makeconfig (run-program-prefix): Fix comment.
3108
cc1290d0
JM
31092012-10-24 Joseph Myers <joseph@codesourcery.com>
3110 Jim Blandy <jimb@codesourcery.com>
3111
3112 * Makeconfig (test-wrapper): New variable,
3113 (test-wrapper-env): Likewise.
3114 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3115 (run-built-tests): Define to yes.
3116 (run-program-prefix): Use $(test-wrapper).
3117 (built-program-cmd): Likewise.
3118 * Rules (make-test-out): Use $(test-wrapper-env) and
3119 $(host-built-program-cmd).
3120 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3121 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3122 tst-pathopt.sh.
3123 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3124 $(test-wrapper-env) to tst-rtld-load-self.sh.
3125 ($(objpfx)order2.out): Use $(test-wrapper).
3126 ($(objpfx)tst-initorder.out): Likewise.
3127 ($(objpfx)tst-initorder2.out): Likewise.
3128 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3129 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3130 (test_wrapper_env): New variable. Use it to run ld.so.
3131 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3132 Use it to run ld.so.
3133 (test_wrapper_env): Likewise.
3134 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3135 $(test-wrapper) to run-iconv-test.sh.
3136 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3137 (ICONV): Use $test_wrapper.
3138 * posix/Makefile ($(objpfx)globtest.out): Pass
3139 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3140 globtest.sh, not $(run-program-prefix).
3141 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3142 (test_wrapper): Likewise.
3143 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3144 set together with run_via_rtld_prefix.
3145 (run_program_prefix): Define in terms of test_wrapper and
3146 run_via_rtld_prefix.
3147
6e6249d0
RM
31482012-10-24 Roland McGrath <roland@hack.frob.com>
3149
3150 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3151 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3152 Targets removed.
3153
3154 [BZ #14743]
3155 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3156 Declare __clock_getres, __clock_gettime, __clock_settime,
3157 __clock_nanosleep, and __clock_getcpuclockid.
3158 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3159 Remove librt_hidden_def (clock_gettime).
3160 * sysdeps/unix/clock_gettime.c: Likewise.
3161 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3162 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3163 * rt/clock_getres.c: Define __clock_getres as an alias.
3164 * sysdeps/posix/clock_getres.c: Likewise.
3165 * rt/clock_settime.c: Define __clock_settime as an alias.
3166 * sysdeps/unix/clock_settime.c: Likewise.
3167 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3168 * sysdeps/unix/clock_nanosleep.c: Likewise.
3169 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3170 * rt/clock-compat.c: New file.
3171 * rt/Makefile (librt-routines): Add clock-compat and move
3172 $(clock-routines) to ...
3173 (routines): ... here, new variable.
3174 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3175 Don't add get_clockfreq here.
3176 * rt/Versions (libc: GLIBC_2.17): New version set.
3177 Add clock_* symbols here.
3178 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3179 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3180 (GLIBC_2.17): Add clock_* symbols.
3181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3183 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3185 Likewise.
3186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3187 Likewise.
3188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3192 * NEWS: Mention the move.
3193
3194 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3195 Use __open, __read, __close rather than their public counterparts.
3196 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3197 (__get_clockfreq_via_cpuinfo): Likewise.
3198 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3199 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3200
3201 * config.h.in (HAVE_IFUNC): New #undef.
3202 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3203 was successful.
3204 * configure: Regenerated.
3205
0cae3f4b
MF
32062012-10-24 Mike Frysinger <vapier@gentoo.org>
3207
3208 * configure.in: Move READELF check to start of file.
3209 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3210 libc_cv_asm_gnu_indirect_function in the process.
3211 * configure: Regenerated.
3212
8175a253
MF
32132012-10-24 Mike Frysinger <vapier@gentoo.org>
3214
3215 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3216 send the output to /dev/null.
3217 (libc_cv_cc_with_libunwind): Likewise.
3218 (libc_cv_as_noexecstack): Likewise.
3219 * configure: Regenerate.
3220
0708a7d1
JM
32212012-10-24 Joseph Myers <joseph@codesourcery.com>
3222
10b40d85
JM
3223 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3224
0708a7d1
JM
3225 * posix/globtest.sh (TMPDIR): Do not set.
3226 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3227 (testout): Likewise.
3228
9fddec1a
AJ
32292012-10-24 Andreas Jaeger <aj@suse.de>
3230
3a8db22f
AJ
3231 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3232 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3233 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3234 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3235 posix_fadvise64, posix_fallocate64.
3236
9fddec1a
AJ
3237 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3238 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3239 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3240 Likewise.
3241 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3242 Likewise.
3243 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3244
3245 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3246 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3247 <bits/fcntl-linux.h>.
3248 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3249
3250 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3251 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3252 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3253 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3254 [__WORDSIZE != 64]: Likewise.
3255
ebfd1bbd
JM
32562012-10-23 Joseph Myers <joseph@codesourcery.com>
3257
03ac099f
JM
3258 * Makeconfig (run-built-tests): New variable.
3259 * Rules [$(cross-compiling) = yes]: Change condition to
3260 [$(run-built-tests) = no].
3261 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3262 to [$(run-built-tests) = yes].
3263 * elf/Makefile [$(cross-compiling) = no]: Likewise
3264 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3265 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3266 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3267 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3268 * io/Makefile [$(cross-compiling) = no]: Likewise.
3269 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3270 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3271 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3272 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3273 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3274 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3275 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3276 * string/Makefile [$(cross-compiling) = no]: Likewise.
3277
ebfd1bbd
JM
3278 * posix/Makefile ($(objpfx)globtest.out): Pass
3279 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3280 $(rtld-installed-name).
3281 * posix/globtest.sh (elf_objpfx): Remove variable.
3282 (rtld_installed_name): Likewise.
3283 (library_path): Likewise.
3284 (run_program_prefix): New variable. Use for running globtest
3285 binary.
3286
166bca24
JB
32872012-10-23 Jim Blandy <jimb@codesourcery.com>
3288 Joseph Myers <joseph@codesourcery.com>
3289
3290 * Makeconfig (host-built-program-cmd): New variable.
3291 * elf/Makefile (tst-stackguard1-ARGS): Use
3292 $(host-built-program-cmd).
3293 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3294 (tst-spawn-ARGS): Likewise.
3295 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3296
88866099
JM
32972012-10-23 Joseph Myers <joseph@codesourcery.com>
3298 Jim Blandy <jimb@codesourcery.com>
3299
3300 * Makeconfig (run-via-rtld-prefix): New variable.
3301 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3302 (built-program-cmd): Likewise.
3303
b4b4c296
AJ
33042012-10-22 Andreas Jaeger <aj@suse.de>
3305
3306 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3307 __O_RSYNC if it exists, otherwise to O_SYNC.
3308
6fb54a22
JB
33092012-10-22 Jim Blandy <jimb@codesourcery.com>
3310 Joseph Myers <joseph@codesourcery.com>
3311
3312 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3313 /dev/null.
3314 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3315 from /dev/null
3316 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3317 /dev/null.
3318
481b90b9
AJ
33192012-10-22 Andreas Jaeger <aj@suse.de>
3320
2a0e2669
AJ
3321 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3322 Define always.
3323 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3324
76e38f9a
AJ
3325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3326 bits/fcntl-linux.h.
3327
7cd37b43
AJ
3328 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3329 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3330
481b90b9
AJ
3331 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3332 to __O_LARGEFILE.
3333 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3334 to __O_LARGEFILE.
3335
aba75984
JB
33362012-10-21 Jim Blandy <jimb@codesourcery.com>
3337 Joseph Myers <joseph@codesourcery.com>
3338
3339 * config.make.in (NM): New variable.
3340
88d4247f
AJ
33412012-10-21 Andreas Jaeger <aj@suse.de>
3342
3343 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3344 definitions and declarations that are provided by
3345 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3346
f2eed205
L
33472012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3348
3349 [BZ #14683]
3350 * elf/Makefile (tests-static): Add tst-leaks1-static.
3351 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3352 ($(objpfx)tst-leaks1-static): New rule.
3353 ($(objpfx)tst-leaks1-static-mem): Likewise.
3354 (tst-leaks1-static-ENV): New macro.
3355 * elf/dl-open.c (dl_open_worker): Check the main application
3356 only if SHARED is defined.
3357 * elf/tst-leaks1-static.c: New file.
3358
335e6931
AJ
33592012-10-20 Andreas Jaeger <aj@suse.de>
3360
3361 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3362 generic values for Linux.
3363 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3364 and declarations that are provided by <bits/fcntl-linux.h> and
3365 include <bits/fcntl-linux.h>.
3366 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3367 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3368
ac5c94d3
RM
33692012-10-20 Roland McGrath <roland@hack.frob.com>
3370
3371 * io/fcntl.h: Move include of <bits/types.h> to the top and
3372 include it unconditionally.
3373
de54b33a
L
33742012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3375
228cfb01
L
3376 * wcsmbs/Makefile (tests-ifunc): New variable.
3377 (tests): Add $(tests-ifunc).
3378 * wcsmbs/test-wcschr-ifunc.c: New file.
3379 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3380 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3381 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3382 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3383 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3384
69f07e5f
L
3385 * string/Makefile (tests-ifunc): New variable.
3386 (tests): Add $(tests-ifunc).
3387 * string/test-memccpy.c (TEST_NAME): New macro.
3388 * string/test-memchr.c (TEST_NAME): Likewise.
3389 * string/test-memcmp.c (TEST_NAME): Likewise.
3390 * string/test-memcpy.c (TEST_NAME): Likewise.
3391 * string/test-memmem.c (TEST_NAME): Likewise.
3392 * string/test-memmove.c (TEST_NAME): Likewise.
3393 * string/test-memset.c (TEST_NAME): Likewise.
3394 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3395 * string/test-stpcpy.c (TEST_NAME): Likewise.
3396 * string/test-stpncpy.c (TEST_NAME): Likewise.
3397 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3398 * string/test-strcasestr.c (TEST_NAME): Likewise.
3399 * string/test-strcat.c (TEST_NAME): Likewise.
3400 * string/test-strchr.c (TEST_NAME): Likewise.
3401 * string/test-strcmp.c(TEST_NAME): Likewise.
3402 * string/test-strcpy.c (TEST_NAME): Likewise.
3403 * string/test-strcspn.c (TEST_NAME): Likewise.
3404 * string/test-strlen.c (TEST_NAME): Likewise.
3405 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3406 * string/test-strncmp.c (TEST_NAME): Likewise.
3407 * string/test-strncpy.c (TEST_NAME): Likewise.
3408 * string/test-strnlen.c (TEST_NAME): Likewise.
3409 * string/test-strpbrk.c (TEST_NAME): Likewise.
3410 * string/test-strrchr.c (TEST_NAME): Likewise.
3411 * string/test-strspn.c (TEST_NAME): Likewise.
3412 * string/test-strstr.c (TEST_NAME): Likewise.
3413 * string/test-bcopy-ifunc.c: New file.
3414 * string/test-bzero-ifunc.c: Likewise.
3415 * string/test-memccpy-ifunc.c: Likewise.
3416 * string/test-memchr-ifunc.c: Likewise.
3417 * string/test-memcmp-ifunc.c: Likewise.
3418 * string/test-memcpy-ifunc.c: Likewise.
3419 * string/test-memmem-ifunc.c: Likewise.
3420 * string/test-memmove-ifunc.c: Likewise.
3421 * string/test-mempcpy-ifunc.c: Likewise.
3422 * string/test-memset-ifunc.c: Likewise.
3423 * string/test-rawmemchr-ifunc.c: Likewise.
3424 * string/test-stpcpy-ifunc.c: Likewise.
3425 * string/test-stpncpy-ifunc.c: Likewise.
3426 * string/test-strcasecmp-ifunc.c: Likewise.
3427 * string/test-strcasestr-ifunc.c: Likewise.
3428 * string/test-strcat-ifunc.c: Likewise.
3429 * string/test-strchr-ifunc.c: Likewise.
3430 * string/test-strchrnul-ifunc.c: Likewise.
3431 * string/test-strcmp-ifunc.c: Likewise.
3432 * string/test-strcpy-ifunc.c: Likewise.
3433 * string/test-strcspn-ifunc.c: Likewise.
3434 * string/test-strlen-ifunc.c: Likewise.
3435 * string/test-strncasecmp-ifunc.c: Likewise.
3436 * string/test-strncat-ifunc.c: Likewise.
3437 * string/test-strncmp-ifunc.c: Likewise.
3438 * string/test-strncpy-ifunc.c: Likewise.
3439 * string/test-strnlen-ifunc.c: Likewise.
3440 * string/test-strpbrk-ifunc.c: Likewise.
3441 * string/test-strrchr-ifunc.c: Likewise.
3442 * string/test-strspn-ifunc.c: Likewise.
3443 * string/test-strstr-ifunc.c: Likewise.
3444
de54b33a
L
3445 * debug/Makefile (tests-ifunc): New variable.
3446 (tests): Add $(tests-ifunc).
3447 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3448 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3449 * debug/test-stpcpy_chk-ifunc.c: New file.
3450 * debug/test-strcpy_chk-ifunc.c: Likewise.
3451
88481c16
SP
34522012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3453
3454 [BZ #13601]
3455 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3456 header is not read in.
3457
135948bd
JM
34582012-10-19 Joseph Myers <joseph@codesourcery.com>
3459
89f1c388
JM
3460 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3461 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3462 directly. Pass built executable to script as
3463 $(built-program-cmd).
3464 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3465 $testprogram without using LD_LIBRARY_PATH and $ldso.
3466
e40a0d21
JM
3467 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3468 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3469 $(rtld-installed-name).
3470 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3471 (rtld_installed_name): Likewise.
3472 (library_path): Likewise.
3473 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3474 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3475 $(run-program-prefix) to tst-tables.sh.
3476 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3477 it to run tst-table-from and tst-table-to.
3478 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3479 Pass it to tst-table.sh.
3480 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3481 $(run-program-prefix) to tst-gettext.sh.
3482 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3483 tst-translit.sh.
3484 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3485 tst-gettext2.sh.
3486 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3487 to run tst-gettext.
3488 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3489 to run tst-gettext2.
3490 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3491 to run tst-translit.
3492 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3493 $(run-program-prefix) to tst-mtrace.sh.
3494 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3495 to run tst-mtrace.
3496 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3497 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3498 $(rtld-installed-name).
3499 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3500 (rtld_installed_name): Likewise.
3501 (run_program_prefix): New variable. Use it to run wordexp-test.
3502
728e272a
JM
3503 * Makeconfig (ARCH): Remove all definitions.
3504 (machine): Likewise.
3505 [ARCH]: Remove conditional code.
3506 [!objdir]: Give error.
3507 [!objdir] (objpfx): Remove.
3508 [!objdir] (common-objpfx): Likewise.
3509 [!objdir] (common-objdir): Likewise.
3510 * configure.in (config_makefile): Remove. Hardcode Makefile in
3511 AC_CONFIG_FILES call.
3512 * configure: Regenerated.
3513
d528cdcf
JM
3514 [BZ #13888]
3515 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3516 or TMPDIR.
3517 (testout): Likewise.
3518
135948bd
JM
3519 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3520 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3521 $(rtld-installed-name).
3522 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3523 (rtld_installed_name): Likwise.
3524 (runit): Remove function.
3525 (run_getconf): New variable, Use it for running getconf binary.
3526
38c78296
L
35272012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3528
3529 [BZ #14716]
3530 * string/test-memmem.c (check_result): New function.
3531 (do_one_test): Use it.
3532 (check1): New function.
3533 (test_main): Use it.
3534
d077f65f
MT
35352012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3536
3537 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3538
ced52c71
JM
35392012-10-18 Joseph Myers <joseph@codesourcery.com>
3540
3541 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3542 (_G_LSEEK64): Likewise.
3543 (_G_MMAP64): Likewise.
3544 (_G_FSTAT64): Likewise.
3545 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3546 (_G_LSEEK64): Likewise.
3547 (_G_MMAP64): Likewise.
3548 (_G_FSTAT64): Likewise.
3549 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3550 unconditional. Call __mmap64 directly.
3551 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3552 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3553 __lseek64 directly.
3554 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3555 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3556 __mmap64 directly.
3557 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3558 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3559 __lseek64 directly.
3560 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3561 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3562 __lseek64 directly.
3563 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3564 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3565 __lseek64 directly.
3566 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3567 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3568 __fxstat64 directly.
3569 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3570 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3571 unconditional.
3572 (freopen64) [!_G_OPEN64]: Remove conditional code.
3573 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3574 unconditional.
3575 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3576 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3577 unconditional.
3578 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3579 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3580 unconditional.
3581 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3582 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3583 unconditional.
3584 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3585 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3586 unconditional.
3587 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3588 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3589 unconditional.
3590 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3591 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3592 unconditional.
3593 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3594
b741de23
SP
35952012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3596
3597 [BZ #12140]
3598 * manual/memory.texi (Malloc Tunable Parameters): Add note
3599 about free list pointers overwriting some perturb bytes.
3600 Wording suggested by Roland McGrath.
3601
f9b9d9c9
JM
36022012-10-17 Joseph Myers <joseph@codesourcery.com>
3603
3604 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3605 (lgamma_test): Likewise.
3606 (tgamma_test): Likewise.
3607
172a631a
FW
36082012-10-16 Florian Weimer <fweimer@redhat.com>
3609
3610 [BZ #14700]
3611 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3612 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3613
e9f37252
MK
36142012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3615
3616 * NEWS: Mention BZ #14716.
3617 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3618 when removing AVAILABLE1_USES_J macro.
3619
d394eb74
L
36202012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3621
3622 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3623 (__bswap_64): __uint64_t for unsigned 64-bit int.
3624
ca38dc17
AS
36252012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3626
3627 * include/string.h (memmem): Declare libc hidden alias.
3628 * string/memmem.c (memmem): Define libc hidden alias.
3629 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3630 __read, __close instead of open, read, close.
3631
9a387d1f
L
36322012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3633
ac49ecaf
L
3634 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3635 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3636 global and hidden.
3637 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3638 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3639 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3640 Likewise.
3641 (__rawmemchr_sse2): Likewise.
3642 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3643 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3644 (__strchr_sse2): Likewise.
3645 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3646 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3647 (__strcasecmp_sse2): Likewise.
3648 (__strncasecmp_sse2): Likewise.
3649 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3650 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3651 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3652 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3653 (__strrchr_sse2): Likewise.
3654 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3655 ifunc-impl-list.c.
3656 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3657 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3658 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3659 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3660 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3661 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3662 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3663 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3664 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3665 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3666 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3667 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3668 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3669 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3670 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3671 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3672 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3673 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3674 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3675 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3676 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3677 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3678 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3679 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3680 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3681 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3682 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3683 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3684 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3685 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3686
b090e8ea
L
3687 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3688 global and hidden.
3689 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3690 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3691 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3692 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3693 Likewise.
3694 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3695 Likewise.
3696 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3697 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3698 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3699 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3700 ifunc-impl-list.c.
3701 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3702 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3703 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3704 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3705 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3706 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3707 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3708 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3709 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3710 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3711 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3712 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3713 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3714 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3715 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3716 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3717 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3718 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3719 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3720 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3721 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3722 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3723 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3724 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3725 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3726 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3727 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3728 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3729 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3730 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3731 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3732 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3733 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3734 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3735 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3736 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3737 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3738 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3739 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3740 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3741 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3742
11dd4af6
L
3743 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3744 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3745 * include/ifunc-impl-list.h: New file.
3746 * misc/ifunc-impl-list.c: Likewise.
3747 * misc/Makefile (routines): Add ifunc-impl-list.
3748 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3749 * string/test-string.h: Include <ifunc-impl-list.h>.
3750 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3751 impl_array): New variables.
3752 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3753 are defined.
3754 (test_init): Call __libc_ifunc_impl_list to initialize
3755 func_list if TEST_IFUNC and TEST_NAME are defined.
3756
9a387d1f
L
3757 * string/Makefile (strop-tests): Add bcopy and bzero.
3758 * string/test-bcopy.c: New file.
3759 * string/test-bzero.c: Likewise.
3760 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3761 defined.
3762 * string/test-memset.c: Support bzero test if TEST_BZERO is
3763 defined.
3764 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3765 __libc_memmove.
3766 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3767 __libc_memset.
3768 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3769 of memset.
3770
472371b9
JM
37712012-10-10 Joseph Myers <joseph@codesourcery.com>
3772
1e4a9536
JM
3773 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3774 * configure: Regenerated.
3775
d173d12e
JM
3776 * Makeconfig (+link-static-before-libc): Don't include
3777 $(link-static-libc).
3778
472371b9
JM
3779 * libio/libio.h (_IO_pos_t): Remove.
3780
89a3ad0b
AO
37812012-10-10 Alexandre Oliva <aoliva@redhat.com>
3782
3783 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3784 McGrath.
3785
e7451425
AO
37862012-10-10 Alexandre Oliva <aoliva@redhat.com>
3787
3788 * crypt/crypt-entry.c: Include fips-private.h.
3789 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3790 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3791 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3792 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3793
4ba74a35
AO
37942012-10-10 Alexandre Oliva <aoliva@redhat.com>
3795
3796 * crypt/crypt-private.h: Include stdbool.h.
3797 (_ufc_setup_salt_r): Return bool.
3798 * crypt/crypt-entry.c: Include errno.h.
3799 (__crypt_r): Return NULL with EINVAL for bad salt.
3800 * crypt/crypt_util.c (bad_for_salt): New.
3801 (_ufc_setup_salt_r): Check that salt is long enough and within
3802 the specified alphabet.
3803 * crypt/badsalttest.c: New file.
3804 * crypt/Makefile (tests): Add it.
3805 ($(objpfx)badsalttest): New.
3806
f96f1242
MK
38072012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3808
3809 * NEWS: Add entry for BZ #14602.
3810
0e8e0c1c
JM
38112012-10-09 Joseph Myers <joseph@codesourcery.com>
3812
3813 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3814 type-generic.
3815 * math/libm-test.inc: Update comment listing what functions and
3816 macros are tested.
3817 (isgreater_test): New function.
3818 (isgreaterequal_test): Likewise.
3819 (isless_test): Likewise.
3820 (islessequal_test): Likewise.
3821 (islessgreater_test): Likewise.
3822 (isunordered_test): Likewise.
3823 (main): Call the new functions.
3824
273edc5e
RM
38252012-10-09 Roland McGrath <roland@hack.frob.com>
3826
b8493de0
RM
3827 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3828 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3829 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3830 * sysdeps/i386/configure: Regenerated.
3831 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3832 * sysdeps/mach/configure: Regenerated.
3833 * sysdeps/mach/hurd/configure: Regenerated.
3834 * sysdeps/powerpc/configure: Regenerated.
3835 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3836 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3837 * sysdeps/s390/s390-32/configure: Regenerated.
3838 * sysdeps/s390/s390-64/configure: Regenerated.
3839 * sysdeps/sh/configure: Regenerated.
3840 * sysdeps/sparc/configure: Regenerated.
3841 * sysdeps/unix/sysv/linux/configure: Regenerated.
3842 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3843 * sysdeps/x86_64/configure: Regenerated.
3844
273edc5e
RM
3845 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3846 defined. Don't check if MAP is NULL.
3847
c8450f70
JM
38482012-10-09 Joseph Myers <joseph@codesourcery.com>
3849
3850 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3851 (_G_stat64): Likewise.
3852 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3853 (_G_stat64): Likewise.
3854 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3855 instead of struct _G_stat64.
3856 * libio/fileops.c (mmap_remap_check): Likewise.
3857 (decide_maybe_mmap): Likewise.
3858 (_IO_new_file_seekoff): Likewise.
3859 (_IO_file_stat): Likewise.
3860 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3861 _G_off64_t.
3862 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3863 instead of struct _G_stat64.
3864 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3865
57e605ba
MK
38662012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3867
3868 [BZ #14602]
3869 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3870 Replace with ...
3871 (CHECK_EOL): New macro.
3872 (two_way_short_needle): Check beginning of haystack for EOL. Use
3873 CHECK_EOL.
3874 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3875 Replace with CHECK_EOL.
3876 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3877 Replace with CHECK_EOL.
3878
ef1bb361
JM
38792012-10-08 Joseph Myers <joseph@codesourcery.com>
3880
3881 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3882 type-generic.
3883 * math/libm-test.inc: Update comment listing what functions and
3884 macros are tested.
3885 (finite_test): New function.
3886 (isinf_test): Likewise.
3887 (isnan_test): Likewise.
3888 (fpclassify_test): Test subnormal input.
3889 (isfinite_test): Likewise.
3890 (isnormal_test): Likewise.
3891 (main): Call the new functions.
3892
55f11534
JN
38932012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3894
3895 [BZ #14660]
3896 * Makerules (%.dynsym): Force C locale when running
3897 $(OBJDUMP) --dynamic-syms.
3898
1ab29350
AS
38992012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3900
3901 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3902 <stdint.h>.
3903
f1ecb7ef
DM
39042012-10-06 David S. Miller <davem@davemloft.net>
3905
3906 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3907 upper 32-bits of the length value in %o2 since we use branch-on-register
3908 tests which consider the entire 64-bit register.
3909
5d41d91a
L
39102012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3911
3912 * string/test-strstr.c (check2): Add a test for page boundary.
3913
3baddb72
DM
39142012-10-05 David S. Miller <davem@davemloft.net>
3915
3916 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3917 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3918 file.
3919 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3920 sysdep_routines.
3921 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3922 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3923 and bzero when HWCAP_SPARC_CRYPTO is present.
3924
9cee5585
L
39252012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3926
d7e0dab9
L
3927 [BZ #14602]
3928 * string/test-strstr.c (check2): New function.
3929 (test_main): Call check2.
3930
03759f47
L
3931 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3932 and bug-strchr1.
3933 * string/bug-strcasestr1.c (do_test): Moved to ...
3934 * string/test-strcasestr.c (check1): Here. New function.
3935 (do_one_test): Break out result checking code into ...
3936 (check_result): This. New function.
3937 (do_one_test): Call check_result.
3938 (test_main): Call check1.
3939 * string/bug-strchr1.c (do_test): Moved to ...
3940 * string/test-strchr.c (check1): Here. New function.
3941 (do_one_test): Break out result checking code into ...
3942 (check_result): This. New function.
3943 (do_one_test): Call check_result.
3944 (test_main): Call check1.
3945 * string/bug-strstr1.c (main): Moved to ...
3946 * string/test-strchr.c (check1): Here. New function.
3947 (do_one_test): Break out result checking code into ...
3948 (check_result): This. New function.
3949 (do_one_test): Call check_result.
3950 (test_main): Call check1.
3951 * string/bug-strcasestr1.c: Removed.
3952 * string/bug-strchr1.c: Likewise.
3953 * string/bug-strstr1.c: Likewise.
3954
53cea63e
L
3955 * elf/Makefile (dl-routines): Add hwcaps.
3956 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3957 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3958 (_dl_important_hwcaps): Moved to ...
3959 * elf/dl-hwcaps.c: Here. New file.
3960 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3961
9cee5585 3962 [BZ #14557]
bb859b06
L
3963 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3964 if IS_IN_rtld isn't defined.
3965
9cee5585
L
3966 * elf/dl-support.c (_dl_sysinfo_map): New.
3967 Include "get-dynamic-info.h" and "setup-vdso.h".
3968 (_dl_non_dynamic_init): Call setup_vdso.
3969 * elf/dynamic-link.h: Don't include <assert.h>.
3970 (elf_get_dynamic_info): Moved to ...
3971 * elf/get-dynamic-info.h: Here. New file.
3972 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3973 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3974 * elf/setup-vdso.h: Here. New file.
3975 * elf/rtld.c: Include "setup-vdso.h".
3976 (dl_main): Call setup_vdso.
3977
23c31b76
JM
39782012-10-05 Joseph Myers <joseph@codesourcery.com>
3979
28234b07
JM
3980 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3981 creal in comment listing functions tested. List finite, isinf,
3982 isnan, isless, islessequal, isgreater, isgreaterequal,
3983 islessgreater, isunordered, lgamma_r and pow10 as functions and
3984 macros not tested. Mention which functions not tested are aliases
3985 for other functions. Fix typo. Note that signs of NaNs are not
3986 tested.
3987
23c31b76
JM
3988 * scripts/config.guess: Update from config.git.
3989 * scripts/config.sub: Likewise.
3990
9043e228
RM
39912012-10-04 Roland McGrath <roland@hack.frob.com>
3992
3993 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3994 * misc/madvise.c (madvise): Renamed to __madvise.
3995 Make madvise a weak alias.
3996 * include/sys/mman.h: Declare __madvise.
3997 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3998 * sysdeps/unix/syscalls.list
3999 (madvise): Make __madvise the strong name, and madvise a weak alias.
4000 * sysdeps/unix/sysv/linux/syscalls.list
4001 (madvise, mmap): Remove redundant entries.
4002 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4003 * malloc/malloc.c (mtrim): Likewise.
4004 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4005
f57f8055
RM
40062012-10-03 Roland McGrath <roland@hack.frob.com>
4007
4008 * sysdeps/mach/hurd/dl-cache.c: File removed.
4009 * config.h.in (USE_LDCONFIG): New #undef.
4010 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4011 * configure: Regenerated.
4012 * elf/Makefile (dl-routines): Add dl-cache only under
4013 [$(use-ldconfig) = yes].
4014 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4015 cache on [USE_LDCONFIG].
4016 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4017 [USE_LDCONFIG].
4018 * elf/rtld.c (dl_main): Likewise.
4019
5bb0c10a
PT
40202012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4021
4022 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4023 _SC_LEVEL4_CACHE_LINESIZE.
4024
010188c6
RM
40252012-10-03 Roland McGrath <roland@hack.frob.com>
4026
4027 * sysdeps/unix/bsd/confstr.h: File removed.
4028
b6c5ec07
AO
40292012-10-02 Alexandre Oliva <aoliva@redhat.com>
4030
4031 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4032 sys/sdt-config.h.
4033
408223d4
RM
40342012-10-02 Roland McGrath <roland@hack.frob.com>
4035
4036 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4037 Make 'mapoff' field ElfW(Off) rather than off_t.
4038
bb9510dc
DL
40392012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4040
fc997c6e
DL
4041 * nscd/Makefile: Remove nscd-cflags and all its users.
4042 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4043 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4044
bb9510dc
DL
4045 [BZ #10631]
4046 * malloc.c (malloc_printerr): Clarify error message.
4047
05699367
L
40482012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4049
4050 [BZ #14648]
4051 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4052 Set bit_FMA_Usable if FMA is supported.
4053 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4054 macro.
4055 (bit_FMA4_Usable): Updated.
4056 (index_FMA_Usable): New macro.
4057 (CPUID_FMA): Likewise
4058 (HAS_FMA): Defined with bit_FMA_Usable.
4059
51367701
RM
40602012-10-01 Roland McGrath <roland@hack.frob.com>
4061
4062 * bits/types.h (__swblk_t): Type removed.
4063 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4064 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4065 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4066 (__SWBLK_T_TYPE): Likewise.
4067 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4068 (__SWBLK_T_TYPE): Likewise.
4069 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4070 (__SWBLK_T_TYPE): Likewise.
4071 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4072 (__SWBLK_T_TYPE): Likewise.
4073
4d57bf63 40742012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 4075 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
4076
4077 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4078 (xdr_mapname): Use YPMAXMAP as maxsize.
4079 (xdr_peername): Use YPMAXPEER as maxsize.
4080 (xdr_keydat): Use YPAXRECORD as maxsize.
4081 (xdr_valdat): Use YPMAXRECORD as maxsize.
4082
93c65d43
RM
40832012-10-01 Roland McGrath <roland@hack.frob.com>
4084
497a03d6
RM
4085 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4086
93c65d43
RM
4087 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4088 * csu/init-first.c: ... here.
4089 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4090 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4091 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4092 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4093 * sysdeps/i386/init-first.c: File removed.
4094 * sysdeps/sh/init-first.c: File removed.
4095
bec749fd
JM
40962012-10-01 Joseph Myers <joseph@codesourcery.com>
4097
4098 [BZ #14645]
4099 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4100 if x * y might underflow to zero and z is zero.
4101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4102 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4103 * math/libm-test.inc (min_subnorm_value): New variable.
4104 (fma_test): Add more tests.
4105 (fma_test_towardzero): Likewise.
4106 (fma_test_downward): Likewise
4107 (fma_test_upward): Likewise.
4108 (initialize): Set min_subnorm_value.
4109
8ec5b013
JM
41102012-09-29 Joseph Myers <joseph@codesourcery.com>
4111
4112 [BZ #14638]
4113 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4114 0 + 0.
4115 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4116 mode for addition resulting in exact zero.
4117 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4118 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4119 exact 0 + 0.
4120 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4121 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4122 * math/libm-test.inc (fma_test): Add more tests.
4123 (fma_test_towardzero): New function.
4124 (fma_test_downward): Likewise.
4125 (fma_test_upward): Likewise.
4126 (main): Call the new functions.
4127
b1fa802e
DM
41282012-09-28 David S. Miller <davem@davemloft.net>
4129
4130 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4131
d3b9fd9e
RM
41322012-09-28 Roland McGrath <roland@hack.frob.com>
4133
ea4d37b3
RM
4134 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4135 instead of SIGALRM.
4136
ac51c949
RM
4137 * sysdeps/gnu/_G_config.h: Moved to ...
4138 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4139 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4140 * sysdeps/generic/_G_config.h: ... here.
4141
28c195f7
RM
4142 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4143
848917f9
RM
4144 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4145
6bacf05b
RM
4146 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4147 Conditionalize target on [libnss_test1.so-version].
4148
91363dbb
RM
4149 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4150
cc87f7d8
RM
4151 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4152 (elfobjdir): Move out of conditionals.
4153
b1c608fe
RM
4154 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4155 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4156 (__nss_lookup_function): Conditionalize label remove_from_tree on
4157 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 4158
1d9a6d96
DM
41592012-09-28 David S. Miller <davem@davemloft.net>
4160
4161 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4162 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4163 file.
4164 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4165 sysdep_routines.
4166 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4167 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4168 when HWCAP_SPARC_CRYPTO is present.
4169
72581615
PT
41702012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4171
4172 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4173
715a900c
JL
41742012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4175
4176 [BZ #6530]
4177 * stdio-common/vfprintf.c (process_string_arg): Revert
4178 2000-07-22 change.
4179
41802011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4181
4182 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4183 for testcase.
4184 * stdio-common/tst-sprintf.c: Include <locale.h>
4185 (main): Test sprintf's handling of incomplete multibyte
4186 characters.
4187
9bac1d86
L
41882012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4189
4190 * elf/dl-runtime.c (VERSYMIDX): Removed.
4191 * elf/dl-version.c (VERSYMIDX): Likewise.
4192 * elf/do-rel.h (VERSYMIDX): Likewise.
4193 (VALIDX): Likewise.
4194 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4195 * elf/rtld.c (VALIDX): Likewise.
4196 (ADDRIDX): Likewise.
9bac1d86
L
4197 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4198 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4199 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
4200 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4201 (VALIDX): Likewise.
4202 (ADDRIDX): Likewise.
9bac1d86 4203
b31606c0
PT
42042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4205
4206 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4207
11541177
JL
42082012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4209
4210 [BZ #11438]
4211 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4212 to global scope.
4213 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4214 addresses are in the same scope as 192.0.2/24.
4215 * posix/gai.conf: Document new scope table defaults.
4216
adb26fae
SP
42172012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4218
4219 [BZ #5298]
4220 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4221 for ftell. Compute offsets from write pointers instead.
4222 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4223
4573c6b0
SP
42242012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4225
4226 [BZ #14543]
4227 * libio/Makefile (tests): New test case tst-fseek.
4228 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4229 combination works in wide mode.
4230 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4231 state when the external buffer state changes.
4232
aa9bbfe6
DM
42332012-09-27 David S. Miller <davem@davemloft.net>
4234
4235 [BZ #14376]
4236 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4237 pass reloc->r_addend in as the 'high' argument to
4238 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4239
784421e7
DM
4240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4241
c39bc8b8
PT
42422012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4243
4244 * rt/tst-aio2.c: Include <pthread.h>.
4245 * rt/tst-aio3.c: Likewise.
4246
1ccc2399
SE
42472012-09-27 Steve Ellcey <sellcey@mips.com>
4248
4249 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4250
31ed4153
L
42512012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4252
25f5f885
L
4253 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4254 contents on [SHARED].
31ed4153 4255
b7bfe116
MP
42562012-09-26 Marek Polacek <polacek@redhat.com>
4257
4258 [BZ #14530]
4259 [BZ #13741]
4260 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4261 for C++ and GCC <4.3 as well as for non GCC compilers.
4262
43c4edba
MT
42632012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4264
4265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4266
6a1bf82f
RM
42672012-09-25 Roland McGrath <roland@hack.frob.com>
4268
4269 * Makefile.in (all, install): Declare with .PHONY.
4270 Reported by Michael Hope <michael.hope@linaro.org>.
4271
8ad11b9a
TMQMF
42722012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4273
4274 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4275 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4276 system header.
4277 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4278 Likewise.
4279 (sydep_routines): Add the new and the internal functions.
4280 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4281 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4283 (GLIBC_2.17): Add the new function.
4284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4285 (GLIBC_2.17): Likewise.
4286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4287 (GLIBC_2.17): Likewise.
4288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4289 (GLIBC_2.17): Likewise.
4290 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4291
7e2fca8d
AM
42922012-09-25 Alan Modra <amodra@gmail.com>
4293
4294 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4295 Add release barrier before setting once_control to say
4296 initialisation is done. Add hints on lwarx. Use macro in
4297 place of isync.
4298 (clear_once_control): Add release barrier.
4299
b87c4b24
JM
43002012-09-25 Joseph Myers <joseph@codesourcery.com>
4301
d032e0d2
JM
4302 [BZ #13629]
4303 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4304 specially.
4305 * math/s_clog10.c (__clog10): Likewise.
4306 * math/s_clog10f.c (__clog10f): Likewise.
4307 * math/s_clog10l.c (__clog10l): Likewise.
4308 * math/s_clogf.c (__clogf): Likewise.
4309 * math/s_clogl.c (__clogl): Likewise.
4310 * math/Makefile (libm-calls): Add x2y2m1.
4311 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4312 (__x2y2m1): Likewise.
4313 (__x2y2m1l): Likewise.
4314 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4315 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4316 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4317 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4318 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4319 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4320 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4321 * sysdeps/i386/fpu/libm-test-ulps: Update.
4322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4323
b87c4b24
JM
4324 [BZ #14621]
4325 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4326 int as type of variable DEPTH.
4327 (glob): Use size_t instead of int as type of variables NEWCOUNT
4328 and OLD_PATHC.
4329
6d3bf199
LD
43302012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4331
22bf5c17
LD
4332 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4333 Add s_sincosf-sse2.
4334 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4335 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4336 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4337 macros for using routine as __sincosf_ia32.
4338 Use macro for function declaration and weak_alias.
4339 * sysdeps/i386/fpu/libm-test-ulps: Update.
4340
4341 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4342 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4343
4344 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4345 subnormal argument.
4346 * math/s_cexpf.c (__cexpf): Likewise.
4347 * math/s_csinf.c (__csinf): Likewise.
4348 * math/s_csinhf.c (__csinhf): Likewise.
4349 * math/s_ctanf.c (__ctanf): Likewise.
4350 * math/s_ctanhf.c (__ctanhf): Likewise.
4351 * math/s_ccosh.c (__ccoshf): Likewise.
4352 * math/s_cexp.c (__cexpl): Likewise.
4353 * math/s_csin.c (__csin): Likewise.
4354 * math/s_csinh.c (__csinh): Likewise.
4355 * math/s_ctan.c (__ctan): Likewise.
4356 * math/s_ctanh.c (ctanh): Likewise.
4357 * math/s_ccoshl.c (__ccoshl): Likewise.
4358 * math/s_cexpl.c (__cexpl): Likewise.
4359 * math/s_csinl.c (__csinl): Likewise.
4360 * math/s_csinhl.c (__csinhl): Likewise.
4361 * math/s_ctanl.c (__ctanl): Likewise.
4362 * math/s_ctanhl.c (__ctanhl): Likewise.
4363
203e5603
JM
43642012-09-25 Joseph Myers <joseph@codesourcery.com>
4365
4366 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4367 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4368 (_IO_off_t): Define to __off_t, not _G_off_t.
4369 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4370 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4371 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4372 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4373 type of __dummy and __dummy2 fields.
4374 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4375 (_G_ssize_t): Likewise.
4376 (_G_off_t): Likewise.
4377 (_G_pid_t): Likewise.
4378 (_G_uid_t): Likewise.
4379 (_G_wchar_t): Likewise.
4380 (_G_wint_t): Likewise.
4381 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4382 (_G_ssize_t): Likewise.
4383 (_G_off_t): Likewise.
4384 (_G_pid_t): Likewise.
4385 (_G_uid_t): Likewise.
4386 (_G_wchar_t): Likewise.
4387 (_G_wint_t): Likewise.
4388 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4389 (_G_ssize_t): Likewise.
4390 (_G_off_t): Likewise.
4391 (_G_pid_t): Likewise.
4392 (_G_uid_t): Likewise.
4393 (_G_wchar_t): Likewise.
4394 (_G_wint_t): Likewise.
4395
9fab36eb
SP
43962012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4397
4398 * malloc/arena.c: Include malloc-sysdep.h.
4399 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4400 is sufficient to shrink the heap or an unmap is needed.
4401 * sysdeps/generic/malloc-sysdep.h: New file. Define
4402 new function check_may_shrink_heap.
4403 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4404 new function check_may_shrink_heap.
4405
2b4f00d1
SP
44062012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4407
4408 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4409 comments.
4410
9a9028b1
DL
44112012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4412
57c69bef
DL
4413 * catgets/test-gencat.sh: Add "set -e".
4414 * elf/tst-pathopt.sh: Likewise.
4415 * grp/tst_fgetgrent.sh: Likewise.
4416 * iconvdata/run-iconv-test.sh: Likewise.
4417 * intl/tst-gettext.sh: Likewise.
4418 * intl/tst-gettext2.sh: Likewise.
4419 * intl/tst-gettext4.sh: Likewise.
4420 * intl/tst-gettext6.sh: Likewise.
4421 * intl/tst-translit.sh: Likewise.
4422 * io/ftwtest-sh: Likewise.
4423 * libio/test-freopen.sh: Likewise.
4424 * malloc/tst-mtrace.sh: Likewise.
4425 * posix/globtest.sh: Likewise.
4426 * posix/tst-getconf.sh: Likewise.
4427 * posix/wordexp-tst.sh: Likewise.
4428 * stdio-common/tst-printf.sh: Likewise.
4429 * stdio-common/tst-unbputc.sh: Likewise.
4430 * stdlib/tst-fmtmsg.sh: Likewise.
4431 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4432 * catgets/Makefile: Do not specify -e option when running
4433 testsuite shell scripts.
4434 * elf/Makefile: Likewise.
4435 * grp/Makefile: Likewise.
4436 * iconvdata/Makefile: Likewise.
4437 * intl/Makefile: Likewise.
4438 * io/Makefile: Likewise.
4439 * libio/Makefile: Likewise.
4440 * malloc/Makefile: Likewise.
4441 * posix/Makefile: Likewise.
4442 * stdio-common/Makefile: Likewise.
4443 * stdlib/Makefile: Likewise.
4444 * sysdeps/x86_64/Makefile: Likewise.
4445
9a9028b1
DL
4446 * io/ftwtest-sh: Add copyright header.
4447 * posix/globtest.sh: Likewise.
4448 * posix/tst-getconf.sh: Likewise.
4449 * posix/wordexp-tst.sh: Likewise.
4450 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4451
ced6f16e
L
44522012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4453
94b32c39
L
4454 [BZ #13679]
4455 * Makeconfig (+link): Defined as $(+link-static) if
4456 $(build-shared) isn't yes.
4457 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4458 isn't yes.
4459 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4460
189e935b
L
4461 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4462
ced6f16e
L
4463 [BZ #14562]
4464 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4465 new chunk size with MALLOC_ALIGN_MASK.
4466
a9f8e53a
JM
44672012-09-24 Joseph Myers <joseph@codesourcery.com>
4468
4469 [BZ #5044]
4470 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4471 <rounding-mode.h>.
4472 (__printf_fphex): Determine rounding using get_rounding_mode and
4473 round_away.
4474 * stdio-common/tst-printf-round.c (struct hex_test): New
4475 structure.
4476 (hex_tests): New variable.
4477 (test_hex_in_one_mode): New function.
4478 (do_test): Also run tests for hex float output.
4479
43153109
JM
44802012-09-21 Joseph Myers <joseph@codesourcery.com>
4481
4482 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4483 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4484 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4485 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4486 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4487 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4488 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4489 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4490
8a26625d
JM
44912012-09-20 Joseph Myers <joseph@codesourcery.com>
4492
4493 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4494 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4495 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4496 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4497
f3fd569c
DL
44982012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4499
4500 [BZ #14579]
4501 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4502 mode only.
4503 * elf/tst-rtld-load-self.sh: New test.
4504 * elf/Makefile: Run it.
4505
63bbedd4
JM
45062012-09-18 Joseph Myers <joseph@codesourcery.com>
4507
4508 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4509 (tst-writev-ENV): Remove.
4510 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4511
626f8b6a
CM
45122012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4513
4514 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4515
b7aaa4d6
JM
45162012-09-17 Joseph Myers <joseph@codesourcery.com>
4517
4518 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4519 unconditional.
4520 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4521 Likewise.
4522 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4523 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4524 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4525 Likewise.
4526
65513990
L
45272012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4528
4529 [BZ #14587]
4530 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4531 * config.make.in (have-cpp-asm-debuginfo): Removed.
4532 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4533 * configure: Regenerated.
4534
784761be
JM
45352012-09-14 Joseph Myers <joseph@codesourcery.com>
4536
4537 [BZ #5044]
4538 * stdio-common/printf_fp.c: Include <stdbool.h> and
4539 <rounding-mode.h>.
4540 (___printf_fp): Determine rounding using get_rounding_mode and
4541 round_away.
4542 * stdio-common/tst-printf-round.c: New file.
4543 * stdio-common/Makefile (tests): Add tst-printf-round.
4544 (link-libm): New variable.
4545 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4546
9503345f
L
45472012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4548
4549 [BZ #14576]
4550 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4551 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4552 Likewise.
4553 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4554 Likewise.
4555
ad35fc00
JM
45562012-09-13 Joseph Myers <joseph@codesourcery.com>
4557
4558 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4559 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4560 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4561 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4562
6c9b0f68
JM
45632012-09-12 Joseph Myers <joseph@codesourcery.com>
4564
4565 [BZ #14518]
4566 * include/rounding-mode.h: New file.
4567 * sysdeps/generic/get-rounding-mode.h: Likewise.
4568 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4569 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4570 (MAX_VALUE): New macro.
4571 (MIN_VALUE): Likewise.
4572 (overflow_value): New function.
4573 (underflow_value): Likewise.
4574 (round_and_return): Use overflow_value and underflow_value to
4575 determine return values in overflow and underflow cases. Use
4576 round_away to determine rounding depending on rounding mode.
4577 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4578 determine return values in overflow and underflow cases.
4579 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4580 (struct test_results): New structure.
4581 (struct test): Use struct test_results to store expected results
4582 for all rounding modes.
4583 (TEST): Include expected results for all rounding modes.
4584 (test_in_one_mode): New function.
4585 (do_test): Use test_in_one_mode to compute and check results.
4586 Check results for all rounding modes.
4587 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4588 $(link-libm).
4589
19fcedd5
AM
45902012-12-09 Allan McRae <allan@archlinux.org>
4591
1e9d84cd 4592 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 4593
8bbfd2f1
JM
45942012-09-11 Joseph Myers <joseph@codesourcery.com>
4595
4596 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4597 (_G_int32_t): Likewise.
4598 (_G_uint16_t): Likewise.
4599 (_G_uint32_t): Likewise.
4600 (_G_HAVE_BOOL): Likewise.
4601 (_G_HAVE_ATEXIT): Likewise.
4602 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4603 (_G_HAVE_IO_FILE_OPEN): Likewise.
4604 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4605 (_G_int32_t): Likewise.
4606 (_G_uint16_t): Likewise.
4607 (_G_uint32_t): Likewise.
4608 (_G_HAVE_BOOL): Likewise.
4609 (_G_HAVE_ATEXIT): Likewise.
4610 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4611 (_G_HAVE_IO_FILE_OPEN): Likewise.
4612 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4613 (_G_int32_t): Likewise.
4614 (_G_uint16_t): Likewise.
4615 (_G_uint32_t): Likewise.
4616 (_G_HAVE_BOOL): Likewise.
4617 (_G_HAVE_ATEXIT): Likewise.
4618 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4619 (_G_HAVE_IO_FILE_OPEN): Likewise.
4620
b1dc5912
L
46212012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4622
4623 * csu/libc-tls.c: Update copyright years.
4624
0e886ef9
JM
46252012-09-10 Joseph Myers <joseph@codesourcery.com>
4626
28361c5e
JM
4627 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4628 [!_G_USING_THUNKS]: Remove conditional code.
4629 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4630 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4631
0e886ef9
JM
4632 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4633 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4634 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4635 (_G_VTABLE_LABEL_PREFIX): Likewise.
4636 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4637 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4638 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4639 (_G_VTABLE_LABEL_PREFIX): Likewise.
4640 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4641 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4642 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4643 (_G_VTABLE_LABEL_PREFIX): Likewise.
4644 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4645
bcba7aa2
L
46462012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4647
4648 * libio/Makefile: Include ../Makeconfig before tests.
4649 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4650 only if $(build-shared) is yes.
4651
06585ee8
L
4652 * iconv/gconv_db.c: Update copyright years.
4653
80ccd52c
LD
46542012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4655
4656 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4657 unwind info if defined PIC. Fix special cases description.
4658 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4659
4660 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4661 DP_HI_MASK entry.
4662 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4663
691bc9c1
L
46642012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4665
3d9b46b3
L
4666 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4667
de2139a9
L
4668 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4669 is NULL.
4670
5ca78dd0
L
4671 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4672 (LDLIBS-tst-chk4): This.
4673 (LDFLAGS-tst-chk5): Renamed to ...
4674 (LDLIBS-tst-chk5): This.
4675 (LDFLAGS-tst-chk6): Renamed to ...
4676 (LDLIBS-tst-chk6): This.
4677 (LDFLAGS-tst-lfschk4): Renamed to ...
4678 (LDLIBS-tst-lfschk4): This.
4679 (LDFLAGS-tst-lfschk5): Renamed to ...
4680 (LDLIBS-tst-lfschk5): This.
4681 (LDFLAGS-tst-lfschk6): Renamed to ...
4682 (LDLIBS-tst-lfschk6): This.
4683
691bc9c1
L
4684 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4685 on $(common-objpfx)soversions.mk.
4686
65cafb1c
JM
46872012-09-07 Joseph Myers <joseph@codesourcery.com>
4688
4689 [BZ #10014]
4690 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4691 example host name.
4692
c78ab094
SP
46932012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4694
4695 * malloc/arena.c (arena_get_retry): New function that gets
4696 another arena for the caller to try its request on.
4697 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4698 current arena cannot fulfill the request.
4699 (__libc_memalign): Likewise.
4700 (__libc_memalign): Likewise.
4701 (__libc_pvalloc): Likewise.
4702 (__libc_calloc): Likewise.
4703
01f49f59
JT
47042012-09-05 John Tobey <john.tobey@gmail.com>
4705
4706 [BZ #13542]
4707 * manual/arith.texi (Operations on Complex): Fix description
4708 of carg branch cut.
4709
4c23fed5
JM
47102012-09-06 Joseph Myers <joseph@codesourcery.com>
4711
1d3c8572
JM
4712 [BZ #10014]
4713 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4714 host name.
4715
4c23fed5
JM
4716 [BZ #10038]
4717 * manual/memory.texi (Memory): Make order of menu items match
4718 order of sections.
4719
04570aaa
L
47202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4721
4722 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4723 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4724 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4725
b80af2f4
L
47262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4727
4728 * csu/libc-tls.c (static_dtv): Renamed to ...
4729 (_dl_static_dtv): This. Make it global.
4730 (_dl_initial_dtv): Removed.
4731 (__libc_setup_tls): Updated.
4732 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4733 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4734 DL_INITIAL_DTV.
4735
2abe9f15
PM
47362012-09-06 Petr Machata <pmachata@redhat.com>
4737
4738 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4739 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4740 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4741 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4742
0948c3af
L
47432012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4744
4745 [BZ #14545]
4746 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4747 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4748 freeing dtv[-1].
4749
a5055ad1
L
47502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4751
4752 [BZ #14544]
4753 * Makeconfig (link-static-before-libc): Replace $(+prector)
4754 with $(+prectorT).
4755 (link-static-after-libc): Replace $(+postctor) with
4756 $(+postctorT).
4757 (link-bounded): Replace $(+prector)/$(+postctor) with
4758 $(+prectorT)/$(+postctorT).
4759 (+prectorT): New macro.
4760 (+postctorT): Likewise.
4761
ed8c2ecd
JM
47622012-09-06 Joseph Myers <joseph@codesourcery.com>
4763
4764 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4765 (round_str): Handle values above the maximum for IBM long double
4766 as inexact.
4767 * stdlib/tst-strtod-round.c (tests): Regenerated.
4768
14c996c8
AK
47692012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4770
4771 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4772 assembler flag.
4773 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4774 zarch_nohighgprs around the zarch optimized routines.
4775 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4776 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4777 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4778 for zarch.
4779
430d6ce6
DM
47802012-09-05 David S. Miller <davem@davemloft.net>
4781
4782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4783
ff04dda4
DM
4784 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4785 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4786 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4787 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4788 entries.
4789
24d4e01b
AO
47902012-09-05 Alexandre Oliva <aoliva@redhat.com>
4791
4792 * malloc/arena.c: Fold copyright years.
4793 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4794
61d58174
AO
47952012-09-05 Alexandre Oliva <aoliva@redhat.com>
4796
4797 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4798
20196a5e
AO
47992012-09-05 Alexandre Oliva <aoliva@redhat.com>
4800
4801 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4802
5c447383
AO
48032012-09-05 Alexandre Oliva <aoliva@redhat.com>
4804
4805 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4806 change internal state upon failure.
4807
fad64255
AO
48082012-09-05 Alexandre Oliva <aoliva@redhat.com>
4809
4810 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4811 * malloc/memusage.c (mmap): Likewise.
4812 (mmap64, mremap): Likewise. Adjust name in comment.
4813
1ffb8c90
SP
48142012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4815
4816 * libio/fileops.c: Fix typos in comments.
4817 * libio/oldfileops.c: Likewise.
4818 * libio/wfileops.c: Likewise.
4819
6ef9cc37
SP
48202012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4821
4822 [BZ #1349]
4823 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4824 (tst-malloc-usable-ENV): Set environment for test case.
4825 * malloc/hooks.c (malloc_check_get_size): New function to get
4826 requested size.
4827 * malloc/malloc.c (musable): Use malloc_check_get_size.
4828 * malloc/tst-malloc-usable.c: New test case.
4829
4d038ae3
AS
48302012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4831
4832 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4833
c4e85184
AM
48342012-09-05 Allan McRae <allan@archlinux.org>
4835
b9dafc56 4836 [BZ #13966]
c4e85184
AM
4837 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4838 determine header location.
4839 * configure: Regenerated.
4840
e1343020
AS
48412012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4842
4843 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4844 float format.
4845 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4846 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4847 format.
e1343020
AS
4848 (test): Regenerate.
4849
0a9f1987
DM
48502012-09-04 David S. Miller <davem@davemloft.net>
4851
4852 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4853 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4854 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4855
29237804
FW
48562012-09-04 Florian Weimer <fweimer@redhat.com>
4857
4858 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4859 failures.
4860
edb3cb88
FW
4861 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4862
60160d83
JM
48632012-09-04 Joseph Myers <joseph@codesourcery.com>
4864
4865 [BZ #9914]
4866 * libio/iogetdelim.c: Include <limits.h>.
4867 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4868 + len + 1 would overflow.
4869
bcd6c8dc
AJ
48702012-09-03 Andreas Jaeger <aj@suse.de>
4871
4872 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4873 * sysdeps/i386/fpu/libm-test-ulps: Update.
4874
4ffffbd2
LD
48752012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4876
4877 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4878 Add s_sinf-sse2, s_conf-sse2.
4879
4880 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4881 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4882 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4883 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4884
4885 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4886 for using routine as __sinf_ia32.
4887 Use macro for function declaration and weak_alias.
4888 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4889 for using routine as __cosf_ia32.
4890 Use macro for function declaration and weak_alias.
4891
4892 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4893 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4894
4895 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4896 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4898
4899 * math/libm-test.inc (cos_test): Add more test cases.
4900 (sin_test): Likewise.
4901 (sincos_test): Likewise.
4902
511fa286
AK
49032012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4904
4905 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4906 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4907 hidden.
4908 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4909
5f30cfec
L
49102012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4911
4912 [BZ #14538]
4913 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4914 first element of the GOT.
4915 (elf_machine_load_address): Return the difference between
4916 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4917
0786794f
AM
49182012-09-01 Allan McRae <allan@archlinux.org>
4919
5f30cfec
L
4920 [BZ #13412]
4921 * configure.in (AWK): Require gawk version 3.0 or later.
4922 * configure: Regenerated.
0786794f 4923
26889eac
JM
49242012-09-01 Joseph Myers <joseph@codesourcery.com>
4925
4926 * sysdeps/unix/sysv/linux/kernel-features.h
4927 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4928 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4929 [__NR_clock_getres]: Make code unconditional.
4930 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4931 (clock_getcpuclockid): Remove code left unreachable by removal of
4932 conditionals.
4933 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4934 code unconditional.
4935 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4936 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4937 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4938 Make code unconditional.
4939 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4940 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4941 * sysdeps/unix/sysv/linux/clock_settime.c
4942 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4943 conditional code.
4944 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4945 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4946
d22e28b0
L
49472012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4948
4949 [BZ #14476]
4950 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4951 scripts/test-installation.pl.
4952
4953 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4954 and $ld_so_version if it is set.
4955
050af9c4
SP
49562012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4957
4958 [BZ #14516]
4959 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4960 failure if reading from procfs failed.
4961 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4962
ad845c0b
JM
49632012-08-27 Joseph Myers <joseph@codesourcery.com>
4964
4965 * sysdeps/unix/sysv/linux/kernel-features.h
4966 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4967 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4968 Remove conditional code.
4969 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4970 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4971 Remove conditional code.
4972 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4973 * sysdeps/unix/sysv/linux/i386/fxstat.c
4974 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4975 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4976 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4977 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4978 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4979 * sysdeps/unix/sysv/linux/i386/lxstat.c
4980 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4981 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4982 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4983 Remove conditional code.
4984 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4985 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4986 Remove conditional code.
4987 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4988 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4989 <kernel-features.h>.
4990 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4991 Remove.
4992 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4993 Remove conditional code.
4994 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4995 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4996 Remove conditional.
4997
5dbf56af
MF
49982012-08-27 Mike Frysinger <vapier@gentoo.org>
4999
5000 [BZ #5400]
5001 * NEWS: Add fixed bug number.
5002
d6e70f43
JM
50032012-08-27 Joseph Myers <joseph@codesourcery.com>
5004
7efb4737
JM
5005 [BZ #14519]
5006 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5007 underflowing exponent in case of negative sign.
5008 * stdlib/tst-strtod-round-data: Add more tests.
5009 * stdlib/tst-strtod-round.c (tests): Regenerated.
5010
af92131a
JM
5011 [BZ #3479]
5012 * stdlib/strtod_l.c (NDIG): Remove.
5013 (HEXNDIG): Likewise.
5014 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5015 smallest representable value.
5016 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5017 lie within an exact representation of 1/2 ulp of the result.
5018 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5019 unconditionally.
5020 (TENS_P9_IDX): Define unconditionally.
5021 (TENS_P9_SIZE): Likewise.
5022 (TENS_P10_IDX): Likewise.
5023 (TENS_P10_SIZE): Likewise.
5024 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5025 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5026 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5027 entries for 10^2^13 and 10^2^14.
5028 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5029 (TENS_P13_IDX): Define.
5030 (TENS_P13_SIZE): Likewise.
5031 (TENS_P14_IDX): Likewise.
5032 (TENS_P14_SIZE): Likewise.
5033 (_fpioconst_pow10): Change array size to
5034 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5035 unconditional.
5036 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5037 1024]: Add entries for 10^2^13 and 10^2^14.
5038 [LAST_POW10 > _LAST_POW10]: Remove #error.
5039 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5040 (_fpioconst_pow10): Change array size to
5041 FPIOCONST_POW10_ARRAY_SIZE.
5042 * stdlib/gen-fpioconst.c: New file.
5043 * stdlib/gen-tst-strtod-round.c: Likewise.
5044 * stdlib/tst-strtod-round-data: Likewise.
5045 * stdlib/tst-strtod-round.c: Likewise.
5046 * stdlib/Makefile (tests): Add tst-strtod-round.
5047
d6e70f43
JM
5048 [BZ #14459]
5049 * stdlib/strtod_l.c: Include <stdint.h>.
5050 (NDEBUG): Do not define.
5051 (round_and_return): Change EXPONENT parameter to type intmax_t.
5052 Rearrange calculations to avoid internal overflow possibilities.
5053 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5054 Rearrange calculations to avoid internal overflow possibilities.
5055 Assert that number fits inside MPNSIZE limbs.
5056 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5057 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5058 calculations and add assertions to avoid internal overflow
5059 possibilities. Add casts to avoid signed/unsigned operations.
5060 * stdlib/tst-strtod-overflow.c: New file.
5061 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5062
1f529f7d
MP
50632012-08-25 Marek Polacek <polacek@redhat.com>
5064
5065 * time/time.h: Fix some typos in comments.
5066
59a629f1
RM
50672012-08-23 Roland McGrath <roland@hack.frob.com>
5068
5069 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5070 * posix/tst-rfc3484-2.c: Likewise.
5071 * posix/tst-rfc3484-3.c: Likewise.
5072
d3bafbc9
SM
50732012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5074
5075 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5076 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5077
4efcc022
JM
50782012-08-23 Joseph Myers <joseph@codesourcery.com>
5079
5080 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5081 #include of fxstatat64.c.
5082
3cc3ef96
RM
50832012-08-22 Roland McGrath <roland@hack.frob.com>
5084
f04e2132
RM
5085 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5086 * shadow/getspent_r.c: Likewise.
5087 * shadow/getspnam.c: Likewise.
5088 * shadow/getspnam_r.c: Likewise.
5089 * gshadow/getsgent.c: Likewise.
5090 * gshadow/getsgent_r.c: Likewise.
5091 * gshadow/getsgnam.c: Likewise.
5092 * gshadow/getsgnam_r.c: Likewise.
5093 * inet/getnetbyad.c: Likewise.
5094 * inet/getnetbyad_r.c: Likewise.
5095 * inet/getnetbynm.c: Likewise.
5096 * inet/getnetbynm_r.c: Likewise.
5097 * inet/getnetent.c: Likewise.
5098 * inet/getnetent_r.c: Likewise.
5099 * inet/getproto.c: Likewise.
5100 * inet/getproto_r.c: Likewise.
5101 * inet/getprtent.c: Likewise.
5102 * inet/getprtent_r.c: Likewise.
5103 * inet/getprtname.c: Likewise.
5104 * inet/getprtname_r.c: Likewise.
5105 * inet/getrpcbyname.c: Likewise.
5106 * inet/getrpcbyname_r.c: Likewise.
5107 * inet/getrpcbynumber.c: Likewise.
5108 * inet/getrpcbynumber_r.c: Likewise.
5109 * inet/getrpcent.c: Likewise.
5110 * inet/getrpcent_r.c: Likewise.
5111 * inet/getaliasent.c: Likewise.
5112 * inet/getaliasent_r.c: Likewise.
5113 * inet/getaliasname.c: Likewise.
5114 * inet/getaliasname_r.c: Likewise.
5115 * nscd/getgrgid_r.c: Likewise.
5116 * nscd/getgrnam_r.c: Likewise.
5117 * nscd/gethstbyad_r.c: Likewise.
5118 * nscd/gethstbynm3_r.c: Likewise.
5119 * nscd/getpwnam_r.c: Likewise.
5120 * nscd/getpwuid_r.c: Likewise.
5121 * nscd/getsrvbynm_r.c: Likewise.
5122 * nscd/getsrvbypt_r.c: Likewise.
5123 * nscd/gai.c: Likewise.
5124
c53d909c
RM
5125 * configure.in (build_nscd): New substituted variable, set
5126 by --disable-build-nscd and defaults to $use_nscd.
5127 * configure: Regenerated.
5128 * config.make.in (build-nscd): New substituted variable.
5129 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5130 Change conditional to require [$(build-nscd) = yes] as well.
5131 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5132
3cc3ef96
RM
5133 [BZ# 13696]
5134 * configure.in (use_nscd): New substituted variable, set by
5135 --disable-nscd. If enabled, define USE_NSCD.
5136 * configure: Regenerated.
5137 * config.h.in: Add USE_NSCD.
5138 * config.make.in (use-nscd): New substituted variable.
5139 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5140 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5141 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5142 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5143 (CFLAGS-getgrnam_r.c): Likewise.
5144 (CFLAGS-initgroups.c): Likewise.
5145 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5146 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5147 Variables removed.
5148 * inet/getnetgrent_r.c
5149 (nscd_setnetgrent): New function, broken out of ...
5150 (setnetgrent): ... here. Call it.
5151 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5152 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5153 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5154 * nscd/Makefile (routines, aux): Move definitions after include of
5155 Makeconfig. Conditionalize on [$(use-nscd) != no].
5156 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5157 Conditionalize on [USE_NSCD].
5158 (is_nscd, nscd_init_cb): Likewise.
5159 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5160 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5161 * nss/nss_db/db-init.c: Likewise.
5162 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5163 [USE_NSCD].
5164 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5165 (make_request): Use it.
5166 (cache_valid_p): New function.
5167 (__check_pf): Use it.
5168 * NEWS: Add item for --disable-nscd.
5169
07e51550
DL
51702012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5171
5172 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5173 to support sed >= 4.2.1-20-ga9bf076.
5174 * configure: Regenerated.
5175
35a5b08b
RM
51762012-08-22 Roland McGrath <roland@hack.frob.com>
5177
5178 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5179 Conditionalize whole body on [IREL].
5180
8479f23a
JL
51812012-08-22 Jeff Law <law@redhat.com>
5182
5183 [BZ #14505]
5184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5185 if the family is PF_UNSPEC.
5186
48da0b21
MF
51872012-08-22 Mike Frysinger <vapier@gentoo.org>
5188
5189 * Makerules (lib-version): Rename from V.
5190 (install-lib-nosubdir): Change V to lib-version.
5191
15d0da8c
WS
51922012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5193
5194 [BZ #14252]
5195 * powerpc32/power6/wcschr.c: New file.
5196 * powerpc32/power6/wcscpy.c: New file.
5197 * powerpc32/power6/wcsrchr.c: New file.
5198 * powerpc64/power6/wcschr.c: New file.
5199 * powerpc64/power6/wcscpy.c: New file.
5200 * powerpc64/power6/wcsrchr.c: New file.
5201
bcca0895
MK
52022012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5203
5204 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5205 (two_way_short_needle): Use it.
5a4aaa33
RM
5206 * string/strstr.c (AVAILABLE1_USES_J): Define.
5207 * string/strcasestr.c: Likewise.
99677e57
MK
5208
5209 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5210 array references.
5211 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5212
400726de
MK
5213 [BZ #11607]
5214 * NEWS: Add an entry.
5215 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5216 define their defaults.
5217 (two_way_short_needle): Detect end-of-string on-the-fly.
5218 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5219 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5220 * string/bug-strcasestr1.c: New test.
5221 * string/Makefile: Run it.
5222
20a71f2c
MK
52232012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5224
5225 [BZ #11607]
5226 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5227 the first character.
5228
21ad0558
RM
52292012-08-21 Roland McGrath <roland@hack.frob.com>
5230
5231 * csu/elf-init.c (__libc_csu_irel): Function removed.
5232 * csu/libc-start.c (apply_irel): New function.
5233 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5234
0e1d9911
JM
52352012-08-21 Joseph Myers <joseph@codesourcery.com>
5236
5237 * sysdeps/unix/sysv/linux/kernel-features.h
5238 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5239 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5240 <kernel-features.h>.
5241 [__NR_fadvise64_64]: Make code unconditional.
5242 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5243 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5244 !__NR_fadvise64_64)]: Likewise.
5245 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5246 !__NR_fadvise64_64))]: Likewise.
5247 [__NR_fadvise64]: Make code unconditional.
5248 [!__NR_fadvise64]: Remove conditional code.
5249 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5250 <kernel-features.h>.
5251 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5252 unconditional.
5253 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5254 conditional code.
5255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5256 not include <kernel-features.h>.
5257 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5258 unconditional.
5259 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5260 conditional code.
5261 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5262 include <kernel-features.h>.
5263 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5264 unconditional.
5265 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5266 conditional code.
5267
14a50c9d
WS
52682012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5269
5270 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5271 slight instruction rearrangements per scrollpipe analysis.
5272 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5273
c0f4faf0
RM
52742012-08-20 Roland McGrath <roland@hack.frob.com>
5275
696da859
RM
5276 * manual/syslog.texi (syslog; vsyslog, closelog):
5277 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5278 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5279
c0f4faf0
RM
5280 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5281 DSOCAPS to match condition on defining it.
5282
348363b2
JM
52832012-08-20 Joseph Myers <joseph@codesourcery.com>
5284
a35cbf28
JM
5285 * sysdeps/unix/sysv/linux/kernel-features.h
5286 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5288 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5289 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5291 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5292 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5294 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5295 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5296
445f7ecd
JM
5297 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5298 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5299
348363b2
JM
5300 * sysdeps/unix/sysv/linux/kernel-features.h
5301 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5302 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5303 unconditional.
5304 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5305 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5306 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5307 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5308 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5309 Make code unconditional.
5310 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5311 (__mmap64) [!__NR_mmap2]: Likewise.
5312 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5313 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5314 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5315 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5316 [__NR_mmap2]: Make code unconditional.
5317 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5318 (__mmap64) [!__NR_mmap2]: Likewise.
5319
bc5bc0e5
AK
53202012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5321
5322 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5323
88d506de
AJ
53242012-08-18 Andreas Jaeger <aj@suse.de>
5325
5326 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5327
493387d2
MF
53282012-08-18 Mike Frysinger <vapier@gentoo.org>
5329
5330 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5331 * include/unistd.h (__have_sock_cloexec): Likewise.
5332 (__have_pipe2): Likewise.
5333 (__have_dup3): Likewise.
5334
a277af22
MF
53352012-08-18 Mike Frysinger <vapier@gentoo.org>
5336
5337 [BZ #9685]
5338 * include/unistd.h (__have_pipe2): Change define into an extern int.
5339 (__have_dup3): Likewise.
5340 * socket/have_sock_cloexec.c: Include fcntl.h.
5341 (__have_pipe2): New variable.
5342 (__have_dup3): Likewise.
5343
fdab8fd3
MF
53442012-08-17 Mike Frysinger <vapier@gentoo.org>
5345
5346 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5347
31035e80
MP
53482012-08-17 Marek Polacek <polacek@redhat.com>
5349
5350 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5351 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5352
3bd9e993
RM
53532012-08-17 Roland McGrath <roland@hack.frob.com>
5354
c91c505f
RM
5355 * configure.in: Add AC_SUBST for sysheaders.
5356 * configure: Regenerated.
5357 * config.make.in (sysheaders): New substituted variable.
5358
7c6f9d53
RM
5359 * sysdeps/unix/mkfifo.c: Moved ...
5360 * sysdeps/posix/mkfifo.c: ... here.
5361 * sysdeps/unix/mkfifoat.c: Moved ...
5362 * sysdeps/posix/mkfifoat.c: ... here.
5363
5364 * sysdeps/unix/utime.c: Moved ...
5365 * sysdeps/posix/utime.c: ... here.
5366
5367 * sysdeps/unix/time.c: Moved ...
5368 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
5369 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5370 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
5371
5372 * sysdeps/unix/nice.c: Moved ...
5373 * sysdeps/posix/nice.c: ... here.
5374
5375 * sysdeps/unix/alarm.c: Moved ...
5376 * sysdeps/posix/alarm.c: ... here.
5377
3bd9e993
RM
5378 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5379
d1f09384
JL
53802012-08-17 Jeff Law <law@redhat.com>
5381
5382 * intl/Makefile (codeset_mo): New variable.
5383 ($(codeset_mo)): New target.
5384 (tst-codeset.out): Depend on that. Remove explicit rule.
5385 (tst-gettext3.out, tst-gettext5.out): Likewise.
5386 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5387 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5388 * intl/tst-codeset.sh: Remove.
5389 * intl/tst-gettext3.sh: Likewise.
5390 * intl/tst-gettext5.sh: Likewise.
5391
2ae1ae5c
RM
53922012-08-17 Roland McGrath <roland@hack.frob.com>
5393
c31fdb83
RM
5394 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5395 * sysdeps/unix/syscalls.list: ... here.
5396
a0844057
RM
5397 * sysdeps/posix/getaddrinfo.c
5398 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5399 (gaiconf_init, gaiconf_reload): Use them.
5400 [!_STATBUF_ST_NSEC]
5401 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5402 Define using time_t rather than struct timespec.
5403
750c1f2a
RM
5404 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5405 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5406 Macros removed.
5407 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5408 [!NO_THREADS].
5409 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5410 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5411 Likewise.
5412
2ae1ae5c
RM
5413 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5414 __libc_cleanup_push argument.
5415
e66a42f5
RM
5416 * bits/param.h: New file.
5417 * misc/sys/param.h: New file.
5418 * include/sys/param.h: New file.
5419 * misc/Makefile (headers): Add bits/param.h.
5420 * sysdeps/generic/sys/param.h: File removed.
5421 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5422 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5423 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 5424 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 5425
b7c08a66
RM
5426 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5427 last change.
5428
b2e1c562
RM
5429 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5430 [_IO_MTSAFE_IO].
5431 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5432 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5433 New macros.
5434
c75ccd4c
RM
5435 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5436 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5437 rather than -D_IO_MTSAFE_IO conditionally.
5438 * stdio-common/Makefile (CPPFLAGS): Likewise.
5439 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5440 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5441 Use $(libio-mtsafe).
5442 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5443 of -D_IO_MTSAFE_IO.
5444 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5445 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5446 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5447 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5448 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5449 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5450 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5451 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5452 (CFLAGS-fread_u_chk.c): Likewise.
5453 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5454 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5455 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5456 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5457 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5458 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5459 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5460 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5461 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5462
5463 * libio/Makefile: Test [$(libc-reentrant) = yes]
5464 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5465
5466 * Makeconfig
5467 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5468 * sysdeps/pthread/configure: File removed.
5469 * sysdeps/pthread/Makeconfig: New file.
5470 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5471 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5472
d9195db8
GB
54732012-08-16 Gary Benson <gbenson@redhat.com>
5474
5475 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5476 unmapping the first object in a namespace.
5477
86466cd9
RM
54782012-08-16 Roland McGrath <roland@hack.frob.com>
5479
5480 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5481 (__internal_setnetgrent): ... this. Add internal_function to
5482 definition. Add libc_hidden_def.
5483 (setnetgrent): Update caller.
5484 (internal_endnetgrent): Renamed to ...
5485 (__internal_endnetgrent): ... this. Add internal_function to
5486 definition. Add libc_hidden_def.
5487 (endnetgrent): Update caller.
5488 (internal_getnetgrent_r): Renamed to ...
5489 (__internal_getnetgrent_r): ... this. Add internal_function to
5490 definition. Add libc_hidden_def.
5491 (__getnetgrent_r): Update caller.
5492 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5493
c3c8283c
JM
54942012-08-16 Joseph Myers <joseph@codesourcery.com>
5495
5496 * stdlib/longlong.h: Update from GCC.
5497
db1ee0a8
RM
54982012-08-16 Roland McGrath <roland@hack.frob.com>
5499
5500 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5501 on _QL, which is set by umul_ppmm but never used.
5502 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5503 variables, which are set by GMP macros but never used.
5504 * stdio-common/_itowa.c (_itowa): Likewise.
5505 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5506 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5507
30f69637
CD
55082012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5509
5510 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5511 struct La_sh_regs is not constant.
5512 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5513 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5514 and struct La_sparc64_regs are not constant.
5515
93a78ac4
JM
55162012-08-16 Joseph Myers <joseph@codesourcery.com>
5517
5518 * sysdeps/unix/sysv/linux/kernel-features.h
5519 (__ASSUME_POSIX_TIMERS): Remove.
5520 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5521 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5522 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5523 Make code unconditional.
5524 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5525 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5526 Make code unconditional.
5527 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5528 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5529 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5530 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5531 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5532 Make code unconditional.
5533 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5534 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5535 (__libc_missing_posix_timers): Remove.
5536
dd924cd7
RM
55372012-08-15 Roland McGrath <roland@hack.frob.com>
5538
4b4f2771
RM
5539 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5540 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5541
601c888b
RM
5542 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5543
176790a7
RM
5544 * elf/dl-sym.c: Include <stdlib.h>.
5545
329bc018
RM
5546 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5547 constants, which avoids warnings in 32-bit builds.
5548
e04e272d
RM
5549 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5550 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5551
952bf94a
RM
5552 * misc/lseek.c: File moved to ...
5553 * io/lseek.c: ... here.
5554
7c99b50a
RM
5555 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5556
dd924cd7
RM
5557 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5558 shifting LEN more than 31 bits at once.
5559
b3f479a8
LD
55602012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5561
5562 [BZ #14195]
8c4ae0d4
RM
5563 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5564 segmentation fault for a case of two empty input strings.
b3f479a8
LD
5565 * string/test-strncasecmp.c (check1): Renamed to...
5566 (bz12205): ...this.
5567 (bz14195): Add new testcase for two empty input strings and N > 0.
5568 (test_main): Call new testcase, adapt for renamed function.
5569
9c55864e
AJ
55702012-08-15 Andreas Jaeger <aj@suse.de>
5571
5572 [BZ #14090]
5573 * crypt/md5test2.c: New test, based on test supplied by Serge
5574 Belyshev <belyshev@depni.sinp.msu.ru>.
5575 * crypt/Makefile (xtests): Add md5test-giant..
5576 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5577
02dcb6c5
PE
55782012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5579
5580 [BZ #14090]
5581 * crypt/md5.c (md5_process_block): Don't assume the buffer
5582 length is less than 2**32.
5583 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5584 length is less than 2**64.
5585
a3f95dcc
RM
55862012-08-15 Roland McGrath <roland@hack.frob.com>
5587
be75d758
RM
5588 * string/str-two-way.h: Include <sys/param.h>.
5589 (MAX): Macro removed.
5590
7312ca90
RM
5591 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5592 Move #define and #undef of memmove to just before and after
5593 including <string.h>.
5594
9a0a5486
RM
5595 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5596 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5597 and after including <string.h>. Move declarations of
5598 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5599 to before #include "string/memmove.c".
5600
67cc348d
RM
5601 * include/dirent.h: Declare __getdirentries.
5602
a3f95dcc
RM
5603 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5604 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5605
ca98e171
MF
56062012-08-14 Mike Frysinger <vapier@gentoo.org>
5607
5608 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5609 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5610 * sysdeps/i386/configure: Regenerated.
5611 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5612 STABS_CURRENT_FILE, and STABS_FUN.
5613 (END): Remove call to STABS_FUN_END.
5614 (STABS_CURRENT_FILE1): Delete.
5615 (STABS_CURRENT_FILE): Likewise.
5616 (STABS_FUN): Likewise.
5617 (STABS_FUN_END): Likewise.
5618 (STABS_FUN2): Likewise.
5619 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5620 * sysdeps/x86_64/configure: Regenerated.
5621
5908bf46
RM
56222012-08-14 Roland McGrath <roland@hack.frob.com>
5623
5624 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 5625 * elf/dl-lookup.c: Likewise.
5908bf46 5626
f2c05b9e
JM
56272012-08-14 Joseph Myers <joseph@codesourcery.com>
5628
5629 * sysdeps/unix/sysv/linux/kernel-features.h
5630 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5631 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5632 unconditionally.
5633 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5634 unconditionally.
5635 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5636 condition on __ASSUME_CLONE_THREAD_FLAGS.
5637
e11f5155
AJ
56382012-08-14 Andreas Jaeger <aj@suse.de>
5639
5640 * sysdeps/i386/fpu/libm-test-ulps: Update.
5641
51a9ba86
MK
56422012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5643
2fdd4f78
AJ
5644 * include/atomic.h (atomic_exchange_and_add): Split into ...
5645 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5646 New atomic macros.
51a9ba86 5647
ba6cba9e
MT
56482012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5649
5650 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5651
42443a47
JL
56522012-08-13 Jeff Law <law@redhat.com>
5653
5654 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5655 null byte in the output string.
5656
121dce05
JM
56572012-08-10 Joseph Myers <joseph@codesourcery.com>
5658
5659 * sysdeps/unix/sysv/linux/kernel-features.h
5660 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5661 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5662 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5663 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5664 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5665 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5666 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5667
bf51f568
JL
56682012-08-09 Jeff Law <law@redhat.com>
5669
5670 [BZ #13939]
5671 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5672 When avoid_arena is set, don't retry in the that arena. Pick the
5673 next one, whatever it might be.
5674 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5675 (arena_lock): Pass in new parameter to arena_get2.
5676 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5677 arena_get2.
5678 (__libc_malloc): Unify retrying after main arena failure with
5679 __libc_memalign version.
5680 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5681
f85fa270
L
56822012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5683
5684 [BZ #14166]
5685 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5686 to __redirect_strstr.
5687 (__strstr_sse42): Use typeof __redirect_strstr.
5688 (__strstr_ia32): Likewise.
5689 (__libc_strstr): New prototype.
5690 (strstr): Renamed to ...
5691 (__libc_strstr): This.
5692 (strstr): New strong alias of __libc_strstr.
5693 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5694 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5695 __redirect_time.
5696 Include <time.h>.
5697 (__libc_time): New prototype.
5698 (time_ifunc): Replace time with __libc_time.
5699 (time): New strong alias and hidden definition of __libc_time.
5700 (__GI_time): Remove strong alias.
5701 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5702 Include <stddef.h>.
5703 (memmove): Redefined to __redirect_memmove.
5704 (__memmove_sse2): Use typeof __redirect_memmove.
5705 (__memmove_ssse3): Likewise.
5706 (__memmove_ssse3_back): Likewise.
5707 (__libc_memmove): New prototype.
5708 (memmove): Renamed to ...
5709 (__libc_memmove): This.
5710 (memmove): New strong alias of __libc_memmove.
5711
33b4a91e
MS
57122012-08-08 Mark Salter <msalter@redhat.com>
5713
5714 * elf/elf.h
5715 (R_MN10300_TLS_GD): Define.
5716 (R_MN10300_TLS_LD): Likewise.
5717 (R_MN10300_TLS_LDO): Likewise.
5718 (R_MN10300_TLS_GOTIE): Likewise.
5719 (R_MN10300_TLS_IE): Likewise.
5720 (R_MN10300_TLS_LE): Likewise.
5721 (R_MN10300_TLS_DTPMOD): Likewise.
5722 (R_MN10300_TLS_DTPOFF): Likewise.
5723 (R_MN10300_TLS_TPOFF): Likewise.
5724 (R_MN10300_SYM_DIFF): Likewise.
5725 (R_MN10300_ALIGN): Likewise.
5726 (R_MN10300_NUM): Update.
5727
b36137f1
JM
57282012-08-08 Joseph Myers <joseph@codesourcery.com>
5729
5730 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5731 Remove.
5732
cdd915fd
RM
57332012-08-08 Roland McGrath <roland@hack.frob.com>
5734
a2433aac
RM
5735 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5736
cdd915fd
RM
5737 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5738 sysdeps/unix -> sysdeps/posix move.
5739 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5740
bf9b740a
AM
57412012-08-07 Allan McRae <allan@archlinux.org>
5742
5743 [BZ #14303]
5744 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5745 (SUNOS_CPP): Likewise.
5746 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5747 not found.
5748 (open_input): Call CPP using execvp.
5749
93df14ee
JM
57502012-08-07 Joseph Myers <joseph@codesourcery.com>
5751
5752 * sysdeps/unix/sysv/linux/kernel-features.h
5753 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5754 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5755 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5756 (__ASSUME_WAITID_SYSCALL): Likewise.
5757 * sysdeps/unix/sysv/linux/dl-execstack.c
5758 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5759 code unconditional.
5760 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5761 conditional code.
5762 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5763 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5764 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5765 code.
5766 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5767 unconditional.
5768 [__ASSUME_WAITID_SYSCALL]: Likewise.
5769 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5770
d34689de
RM
57712012-08-07 Roland McGrath <roland@hack.frob.com>
5772
a281decc
RM
5773 * sysdeps/unix/closedir.c: Renamed to ...
5774 * sysdeps/posix/closedir.c: ... here.
5775 * sysdeps/unix/dirfd.c: Renamed to ...
5776 * sysdeps/posix/dirfd.c: ... here.
5777 * sysdeps/unix/dirstream.h: Renamed to ...
5778 * sysdeps/posix/dirstream.h: ... here.
5779 * sysdeps/unix/fdopendir.c: Renamed to ...
5780 * sysdeps/posix/fdopendir.c: ... here.
5781 * sysdeps/unix/opendir.c: Renamed to ...
5782 * sysdeps/posix/opendir.c: ... here.
5783 * sysdeps/unix/readdir.c: Renamed to ...
5784 * sysdeps/posix/readdir.c: ... here.
5785 * sysdeps/unix/readdir_r.c: Renamed to ...
5786 * sysdeps/posix/readdir_r.c: ... here.
5787 * sysdeps/unix/rewinddir.c: Renamed to ...
5788 * sysdeps/posix/rewinddir.c: ... here.
5789 * sysdeps/unix/seekdir.c: Renamed to ...
5790 * sysdeps/posix/seekdir.c: ... here.
5791 * sysdeps/unix/telldir.c: Renamed to ...
5792 * sysdeps/posix/telldir.c: ... here.
5793 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5794 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5795 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5796 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5797
22895b47
RM
5798 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5799 * bits/fcntl.h: ... here.
5800
707a53b6
RM
5801 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5802 not 0.
5803 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5804 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5805 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5806 (struct flock): Move l_start, l_len to the beginning.
5807 Use __pid_t for l_pid.
5808 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5809 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5810 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5811 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5812 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5813 [__USE_LARGEFILE64] (struct flock64): New type.
5814 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5815
f0bd3e25
RM
5816 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5817 * bits/dirent.h: ... here.
5818
d34689de
RM
5819 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5820 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5821
6dad2c06
JM
58222012-08-07 Joseph Myers <joseph@codesourcery.com>
5823
5824 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5825 Change from 2.6.0 to 2.6.16.
5826 * sysdeps/unix/sysv/linux/configure: Regenerated.
5827 * sysdeps/unix/sysv/linux/kernel-features.h
5828 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5829 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5830 version.
5831 (__ASSUME_UTIMES): Likewise.
5832 (__ASSUME_CLONE_STOPPED): Remove.
5833 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5834 architectures, not kernel version.
5835 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5836 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5837 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5838 (__ASSUME_WAITID_SYSCALL): Likewise.
5839 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5840 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5841 * README: State 2.6.16 as minimum Linux kernel version. Do not
5842 refer to older versions.
5843
03af9520
RM
58442012-08-06 Roland McGrath <roland@hack.frob.com>
5845
8e49df1d
RM
5846 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5847 Define alphasort64 as an alias.
5848 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5849 Define versionsort64 as an alias.
5850 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5851 Define scandir64 as an alias.
5852 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5853 Define scandirat64 as an alias.
5854 * dirent/alphasort64.c (alphasort64):
5855 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5856 * dirent/versionsort64.c: Likewise.
5857 * dirent/scandir64.c: Likewise.
5858 * dirent/scandirat64.c: Likewise.
5859 * sysdeps/wordsize-64/alphasort.c: File removed.
5860 * sysdeps/wordsize-64/alphasort64.c: File removed.
5861 * sysdeps/wordsize-64/scandir.c: File removed.
5862 * sysdeps/wordsize-64/scandir64.c: File removed.
5863 * sysdeps/wordsize-64/scandirat.c: File removed.
5864 * sysdeps/wordsize-64/scandirat64.c: File removed.
5865 * sysdeps/wordsize-64/versionsort.c: File removed.
5866 * sysdeps/wordsize-64/versionsort64.c: File removed.
5867 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5868 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5869 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5870 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5871 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5872 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5873 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5874 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5875
5876 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5877 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5878 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5879 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5880 [defined __arch64__ || defined __sparcv9]
5881 (__INO_T_MATCHES_INO64_T): New macro.
5882 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5883 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5884 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5885 * sysdeps/unix/sysv/linux/bits/dirent.h
5886 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5887 (_DIRENT_MATCHES_DIRENT64): New macro.
5888
03af9520
RM
5889 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5890 Define lockf64 as an alias.
5891 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5892 Define fseeko64 as an alias.
5893 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5894 Define ftello64 as an alias.
5895 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5896 Define _IO_fgetpos64 and fgetpos64 as aliases.
5897 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5898 Define _IO_fsetpos64 and fsetpos64 as aliases.
5899 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5900 Conditionalize body on this.
5901 * libio/fseeko64.c: Likewise.
5902 * libio/ftello64.c: Likewise.
5903 * libio/iofgetpos64.c: Likewise.
5904 * libio/iofsetpos64.c: Likewise.
5905 * sysdeps/wordsize-64/lockf.c: File removed.
5906 * sysdeps/wordsize-64/lockf64.c: File removed.
5907 * sysdeps/wordsize-64/fseeko.c: File removed.
5908 * sysdeps/wordsize-64/fseeko64.c: File removed.
5909 * sysdeps/wordsize-64/ftello.c: File removed.
5910 * sysdeps/wordsize-64/ftello64.c: File removed.
5911 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5912 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5913 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5914 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5915 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5916 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5917 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5918 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5919 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5920 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5921 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5922 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5923 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5924 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5925
5926 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5927 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5928 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5929 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5930 [defined __arch64__ || defined __sparcv9]
5931 (__OFF_T_MATCHES_OFF64_T): New macro.
5932 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5933 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5934 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5935 (__OFF_T_MATCHES_OFF64_T): New macro.
5936
c5757acd
L
59372012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5938
5939 * stdlib/secure-getenv.c (__secure_getenv): Replace
5940 GLIBC_2_16 with GLIBC_2_17.
5941
3a31811e
L
59422012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5943
5944 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5945 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5946
faa2bccb
DM
59472012-08-03 David S. Miller <davem@davemloft.net>
5948
5949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5950
85fe1997
JM
59512012-08-03 Joseph Myers <joseph@codesourcery.com>
5952
5953 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5954 Remove.
5955 (__ASSUME_CORRECT_SI_PID): Likewise.
5956 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5957 (__ASSUME_TMPFS_NAME): Likewise.
5958 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5959 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5960 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5961 (HAVE_AUX_SECURE): Make definition unconditional.
5962 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5963 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5964
4f75b7a0
RM
59652012-08-03 Roland McGrath <roland@hack.frob.com>
5966
5967 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5968 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5969 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5970 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5971 __eloop_threshold instead of SYMLOOP_MAX.
5972
5973 * sysdeps/generic/eloop-threshold.h: New file.
5974 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5975 of MAXSYMLINKS.
5976 * elf/chroot_canon.c (chroot_canon): Likewise.
5977
7aab07e4
JM
59782012-08-03 Joseph Myers <joseph@codesourcery.com>
5979
5980 [BZ #13717]
5981 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5982 Change to 2.6.0 everywhere.
5983 * sysdeps/unix/sysv/linux/configure: Regenerated.
5984 * sysdeps/unix/sysv/linux/kernel-features.h
5985 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5986 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5987 kernel versions.
5988 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5989 (__ASSUME_FUTEX_REQUEUE): Remove.
5990 (__ASSUME_STATFS64): Define unconditionally.
5991 (__ASSUME_AT_SECURE): Likewise.
5992 (__ASSUME_CORRECT_SI_PID): Likewise.
5993 (__ASSUME_TGKILL): Define without depending on kernel version for
5994 i386.
5995 (__ASSUME_UTIMES): Likewise.
5996 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5997 kernel version.
5998 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5999 (__ASSUME_TMPFS_NAME): Likewise.
6000 * README: Update reference to Linux kernel versions.
6001
b67e9372
MP
60022012-08-02 Marek Polacek <polacek@redhat.com>
6003
1f529f7d 6004 [BZ# 14150]
b67e9372
MP
6005 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6006 libc_cv_asm_type_prefix with %.
6007 * configure: Regenerated.
d2441631
RM
6008 * include/libc-symbols.h: Remove comment about
6009 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
6010 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6011 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6012 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6013 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6014 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6015 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6016 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6017 * elf/tst-unique2mod1.c: Likewise.
6018 * elf/tst-unique1mod2.c: Likewise.
6019 * elf/tst-unique1mod1.c: Likewise.
6020 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6021 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6022 Replace ASM_TYPE_DIRECTIVE with .type.
6023 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6024 * sysdeps/i386/sysdep.h: Likewise.
6025 * sysdeps/x86_64/sysdep.h: Likewise.
6026 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
6027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6028 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 6029 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
6030 * sysdeps/powerpc/powerpc32/sysdep.h:
6031 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
6032 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6033 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6034 * sysdeps/i386/fpu/e_powf.S: Likewise.
6035 * sysdeps/i386/fpu/e_expl.S: Likewise.
6036 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6037 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6038 * sysdeps/i386/fpu/e_pow.S: Likewise.
6039 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6040 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6041 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6042 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6043 * sysdeps/i386/fpu/e_log2.S: Likewise.
6044 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6045 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6046 * sysdeps/i386/fpu/e_powl.S: Likewise.
6047 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6048 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6049 * sysdeps/i386/fpu/e_logl.S: Likewise.
6050 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6051 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6052 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6053 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6054 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6055 * sysdeps/i386/fpu/e_log.S: Likewise.
6056 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6057 * sysdeps/i386/fpu/e_logf.S: Likewise.
6058 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6059 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6060 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6061 * sysdeps/i386/fpu/e_log10.S: Likewise.
6062 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6063 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6064 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6065 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6066 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6067 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6068 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6069 * sysdeps/i386/i686/strtok.S: Likewise.
6070 * sysdeps/i386/i386-mcount.S: Likewise.
6071 * sysdeps/i386/strtok.S: Likewise.
6072 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6073 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6074 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6075 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6076 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6077 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6078 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6079 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6080 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6081 * sysdeps/x86_64/_mcount.S: Likewise.
6082 * sysdeps/x86_64/strtok.S: Likewise.
6083 * sysdeps/sh/_mcount.S: Likewise.
6084
2747bf9a
RM
60852012-08-01 Roland McGrath <roland@hack.frob.com>
6086
6087 * libio/iofopen.c: Include <fcntl.h>.
6088 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6089 (_IO_fopen64, fopen64): Define as aliases.
6090 * libio/iofopen64.c: Include <fcntl.h>.
6091 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6092 Conditionalize body on this.
6093 * sysdeps/wordsize-64/iofopen.c: File removed.
6094 * sysdeps/wordsize-64/iofopen64.c: File removed.
6095
3fb791b8
MP
60962012-08-01 Marek Polacek <polacek@redhat.com>
6097
6098 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6099 Use dlfcn directly instead of a variable.
6100 (binfmt-subdir): Do not define.
6101 (dlfcn): Likewise.
6102
a9f1039f
JM
61032012-08-01 Joseph Myers <joseph@codesourcery.com>
6104
23bddc06
JM
6105 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6106 Remove all definitions.
6107 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6108 <kernel-features.h>.
6109 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6110 (miss_F_GETOWN_EX): Remove all definitions.
6111 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6112 macro definition.
6113 [!__ASSUME_FCNTL64]: Remove conditional code.
6114 [__ASSUME_FCNTL64]: Make code unconditional.
6115 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6116 <kernel-features.h>.
6117 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6118 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6119 (lockf64) [__NR_fcntl64]: Make code unconditional.
6120 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6121
a9f1039f
JM
6122 * sysdeps/unix/sysv/linux/kernel-features.h
6123 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6124 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6125 Make code unconditional.
6126 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6127 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6129 [__NR_vfork]: Make code unconditional.
6130 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6131 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6133 [__NR_vfork]: Make code unconditional.
6134 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6135 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6136
09c0ee5f
RM
61372012-08-01 Roland McGrath <roland@hack.frob.com>
6138
48aec5b9
RM
6139 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6140 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6141
cd97c966
RM
6142 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6143 Define mkstemp64 as an alias.
3f55550c
RM
6144 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6145 Define mkstemps64 as an alias.
cd97c966
RM
6146 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6147 Define mkostemp64 as an alias.
b8625cfc
RM
6148 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6149 Define mkostemps64 as an alias.
cd97c966
RM
6150 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6151 Conditionalize body on this.
6152 * misc/mkostemp64.c: Likewise.
b8625cfc 6153 * misc/mkostemps64.c: Likewise.
3f55550c 6154 * misc/mkstemps64.c: Likewise.
cd97c966
RM
6155 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6156 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6157 * sysdeps/wordsize-64/mkostemp.c: File removed.
6158 * sysdeps/wordsize-64/mkstemp.c: File removed.
6159 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6160 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6161 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6162 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6163
09c0ee5f
RM
6164 [BZ #14138]
6165 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6166 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6167 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6168 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6169
6170 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6171 compat_symbol macros from <shlib-compat.h> rather than the underlying
6172 default_symbol_version and symbol_version macros, so that DEFAULT
6173 lines in shlib-versions are respected.
6174 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6175
7e66ee51
FW
61762012-08-01 Florian Weimer <fweimer@redhat.com>
6177
6178 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6179 Declare with warn_unused_result.
6180 (setgid, setregid, setegid, setresgid): Likewise.
6181 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6182 Likewise.
6183 * WUR-REPORT: Remove set*id functions.
6184
d2a54255
PT
61852012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6186
6187 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6188
7ecdb005
RM
61892012-07-31 Roland McGrath <roland@hack.frob.com>
6190
789bd351
RM
6191 * include/sys/socket.h (__libc_accept, __libc_accept4):
6192 Add attribute_hidden.
6193 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6194
40ce302d
RM
6195 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6196 use of PTR_MANGLE.
6197 * inet/getnetgrent_r.c (setup): Likewise.
6198
7ecdb005
RM
6199 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6200
e2eabb2c
DM
62012012-07-31 David S. Miller <davem@davemloft.net>
6202
6203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6204
d0419dbf
JM
62052012-07-31 Joseph Myers <joseph@codesourcery.com>
6206
6207 [BZ #13629]
6208 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6209 value between 1.0 and 2.0 and smaller part has absolute value less
6210 than 1.0.
6211 * math/s_clog10.c (__clog10): Likewise.
6212 * math/s_clog10f.c (__clog10f): Likewise.
6213 * math/s_clog10l.c (__clog10l): Likewise.
6214 * math/s_clogf.c (__clogf): Likewise.
6215 * math/s_clogl.c (__clogl): Likewise.
6216 * math/libm-test.inc (clog_test): Add more tests.
6217 (clog10_test): Likewise.
6218 * sysdeps/i386/fpu/libm-test-ulps: Update.
6219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6220
2bc13872
FW
62212012-07-31 Florian Weimer <fweimer@redhat.com>
6222
6223 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6224 Exit with zero in case no suitable GID is found, and write a
6225 message to standard error.
6226
bea9b193
RM
62272012-07-30 Roland McGrath <roland@hack.frob.com>
6228
6229 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6230 rather than to 1.
6231 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6232 (MAXPATHLEN): Removed.
6233 (NOGROUP, NODEV): New macros.
6234 (setbit, clrbit, isset, isclr): New macros.
6235 (howmany, roundup, powerof2): New macros.
6236 (DEV_BSIZE): New macro.
6237
6238 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6239 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6240
6241 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6242 definition on [!__NO_LONG_DOUBLE_MATH].
6243
6244 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6245 PTR_MANGLE and PTR_DEMANGLE.
6246
6247 * socket/accept4.c (accept4): Rename to __libc_accept4.
6248 Define accept4 as a weak alias.
6249
6250 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6251 on [_DIRENT_HAVE_D_TYPE].
6252 * io/ftw.c (ftw_dir): Likewise.
6253
6254 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6255
6256 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6257
6258 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6259 Use the BSD numbers rather than the arbitrary ones we had.
6260 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6261 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6262 (SIGXCPU, SIGXFSZ): New macros.
6263 (_NSIG): Now 32.
6264
6265 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6266 initializer on [_LIBC_REENTRANT].
6267
6268 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6269 definitions inside [_POSIX_MAPPED_FILES].
6270
6271 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6272
6273 * dirent/opendir.c: Include <fcntl.h>.
6274
6275 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6276 (__libc_getspecific): Likewise.
6277 (__libc_key_create): Likewise.
6278
6279 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6280 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6281 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6282 (tmpfile64): Define as alias.
6283 * sysdeps/wordsize-64/tmpfile.c: File removed.
6284 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6285 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6286 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6287
6288 * stdio-common/vfscanf.c: Include <stdbool.h>.
6289 * nss/makedb.c: Likewise.
6290 * stdio-common/_i18n_number.h: Likewise.
6291 * argp/argp-help.c: Likewise.
6292 * posix/wordexp.c: Likewise.
6293 * sysdeps/posix/spawni.c: Likewise.
6294 * nss/nss_files/files-initgroups.c: Likewise.
6295 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6296 * nss/nss_files/files-initgroups.c: Likewise.
6297 * nss/nss_db/db-netgrp.c: Likewise.
6298 * nss/nss_db/db-initgroups.c: Likewise.
6299 * io/fchmodat.c: Include <sys/stat.h>.
6300
6301 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6302 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6303
6304 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6305 [HAVE_MMAP].
6306
6307 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6308 Add multiple inclusion protection.
6309
e5abc686
DM
63102012-07-27 David S. Miller <davem@davemloft.net>
6311
6312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6313
815e6fa3
GB
63142012-07-27 Gary Benson <gbenson@redhat.com>
6315
6316 [BZ #14298]
6317 * elf/rtld.c: Include <stap-probe.h>.
6318 (dl_main): Added static probes "init_start" and "init_complete".
6319 * elf/dl-load.c: Include <stap-probe.h>.
6320 (lose): Take new parameter "nsid".
6321 Added static probe "map_failed".
6322 (_dl_map_object_from_fd): Pass namespace id to lose.
6323 Added static probe "map_start".
6324 (open_verify): Pass namespace id to lose.
6325 * elf/dl-open.c: Include <stap-probe.h>.
6326 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6327 and "reloc_complete".
6328 * elf/dl-close.c: Include <stap-probe.h>.
6329 (_dl_close_worker): Added static probes "unmap_start" and
6330 "unmap_complete".
6331 * elf/rtld-debugger-interface.txt: New file documenting the above.
6332
9f98c16c
RM
63332012-07-26 Roland McGrath <roland@hack.frob.com>
6334
6335 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6336 rather than a string variable.
6337 * sunrpc/rpc_main.c (h_output): Likewise.
6338 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6339
f3c22df3
PT
63402012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6341
6342 * inet/check_native.c: New file.
6343
3129cfc6
JM
63442012-07-26 Joseph Myers <joseph@codesourcery.com>
6345
da865e95
JM
6346 [BZ #13629]
6347 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6348 if larger part has absolute value 1.0.
6349 * math/s_clog10.c (__clog10): Likewise.
6350 * math/s_clog10f.c (__clog10f): Likewise.
6351 * math/s_clog10l.c (__clog10l): Likewise.
6352 * math/s_clogf.c (__clogf): Likewise.
6353 * math/s_clogl.c (__clogl): Likewise.
6354 * math/libm-test.inc (clog_test): Add more tests.
6355 (clog10_test): Likewise.
6356 * sysdeps/i386/fpu/libm-test-ulps: Update.
6357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6358
3129cfc6
JM
6359 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6360 (pltexit): Likewise.
6361 (La_regs): Likewise.
6362 (La_retval): Likewise.
6363 (int_retval): Likewise.
6364 Update #error for removed macros to refer only to definitions in
6365 tst-audit.h.
6366 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6367 macro.
6368 (pltexit): Likewise.
6369 (La_regs): Likewise.
6370 (La_retval): Likewise.
6371 (int_retval): Likewise.
6372 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6373 macro.
6374 (pltexit): Likewise.
6375 (La_regs): Likewise.
6376 (La_retval): Likewise.
6377 (int_retval): Likewise.
6378 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6379 macro.
6380 (pltexit): Likewise.
6381 (La_regs): Likewise.
6382 (La_retval): Likewise.
6383 (int_retval): Likewise.
6384 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6385 macro.
6386 (pltexit): Likewise.
6387 (La_regs): Likewise.
6388 (La_retval): Likewise.
6389 (int_retval): Likewise.
6390 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6391 macro.
6392 (pltexit): Likewise.
6393 (La_regs): Likewise.
6394 (La_retval): Likewise.
6395 (int_retval): Likewise.
6396 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6397 macro.
6398 (pltexit): Likewise.
6399 (La_regs): Likewise.
6400 (La_retval): Likewise.
6401 (int_retval): Likewise.
6402 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6403 macro definitions in tst-audit.h.
6404 * sysdeps/i386/tst-audit.h: New file.
6405 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6406 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6407 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6408 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6409 * sysdeps/sh/tst-audit.h: Likewise.
6410 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6411 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6412 * sysdeps/x86_64/tst-audit.h: Likewise.
6413
bfc07087
AJ
64142012-07-26 Andreas Jaeger <aj@suse.de>
6415
b1b2aaf8
AJ
6416 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6417 ptrace.
6418
6419 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6420 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6421 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6422 PTRACE_O_MASK.
6423 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6424 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6425 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6426
bfc07087
AJ
6427 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6428 value.
6429
6430 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6431 _sigsys.
6432 (si_call_addr, si_syscall, si_arch): Define new macro.
6433 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6434 _sigsys.
6435 (si_call_addr, si_syscall, si_arch): Define new marcro.
6436 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6437 _sigsys.
6438 (si_call_addr, si_syscall, si_arch): Define new macro.
6439 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6440 _sigsys.
6441 (si_call_addr, si_syscall, si_arch): Define new macro.
6442
89b4b02f
JM
64432012-07-25 Joseph Myers <joseph@codesourcery.com>
6444
6445 [BZ #13717]
6446 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6447 Change to 2.4.21 where previously 2.4.1.
6448 * sysdeps/unix/sysv/linux/configure: Regenerated.
6449 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6450 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6451 Linux kernel version.
6452 (__ASSUME_STD_AUXV): Remove.
6453 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6454 kernel version.
6455 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6456 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6457 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6458 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6459 (__ASSUME_NETLINK_SUPPORT): Likewise.
6460 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6461 (__no_netlink_support): Remove conditional definition.
6462 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6463 Remove.
6464 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6465 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6466 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6467 (if_nameindex_ioctl): Remove.
6468 (if_nameindex_netlink): Do not handle __no_netlink_support.
6469 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6470 code.
6471 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6472 Remove conditional code.
6473 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6474 code.
6475 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6476 unconditional.
6477 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6478 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6479 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6480 Remove.
6481 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6482 [!__ASSUME_STD_AUXV]: Remove conditional code.
6483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6484 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6485 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6487 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6488 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6489 code.
6490 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6492 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6493 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6494 conditional code.
6495 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6497 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6498 code.
6499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6500 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6501 conditional code.
6502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6503 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6504 code unconditional.
6505 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6506 conditional code.
6507 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6508 unconditional.
6509 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6510 conditional code.
6511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6512 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6513 unconditional.
6514 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6515 conditional code.
6516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6517 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6518 code unconditional.
6519 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6520 conditional code.
6521 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6522 unconditional.
6523 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6524 conditional code.
6525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6526 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6527 code unconditional.
6528 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6529 conditional code.
6530 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6531 unconditional.
6532 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6533 conditional code.
6534
842a39cd
AS
65352012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6536
6537 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6538 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6539 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6540 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6541 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6542 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6543 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6544 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6545 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6546 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6547 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6548 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6549 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6550 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6551 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6552 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6553 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6554 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6555 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6556 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6557 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6558 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6559 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6560
84b3fd84
FW
65612012-07-25 Florian Weimer <fweimer@redhat.com>
6562
6563 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
6564 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6565 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6566 Introduce __libc_secure_getenv.
0c7936d5
FW
6567 * stdlib/Versions (2.17): Add secure_getenv
6568 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6569 * stdlib/secure-getenv.c: Rename __secure_getenv to
6570 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6571 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
6572 * stdlib/tst-secure-getenv.c: New.
6573 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
6574 * manual/startup.texi (Environment Access): Document
6575 secure_getenv.
84b3fd84
FW
6576 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6577 __libc_secure_getenv.
6578 * inet/ruserpass.c (ruserpass): Likewise.
6579 * malloc/mtrace.c (mtrace): Likewise.
6580 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 6581 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
6582 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6583 * sysdeps/posix/tempname.c: Likewise. Evaluate
6584 HAVE_SECURE_GETENV.
6585 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 6586 __secure_getenv to __libc_secure_getenv.
84b3fd84 6587 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
6588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6589 Likewise.
6590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6591 Likewise.
6592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6594 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 6599
56e49b71
JM
66002012-07-25 Joseph Myers <joseph@codesourcery.com>
6601
6602 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6603 (struct La_i86_retval): Likewise.
6604 (struct La_x86_64_regs): Likewise.
6605 (struct La_x86_64_retval): Likewise.
6606 (struct La_x32_regs): Likewise.
6607 (struct La_x32_retval): Likewise.
6608 (struct La_ppc32_regs): Likewise.
6609 (struct La_ppc32_retval): Likewise.
6610 (struct La_ppc64_regs): Likewise.
6611 (struct La_ppc64_retval): Likewise.
6612 (struct La_sh_regs): Likewise.
6613 (struct La_sh_retval): Likewise.
6614 (struct La_s390_32_regs): Likewise.
6615 (struct La_s390_32_retval): Likewise.
6616 (struct La_s390_64_regs): Likewise.
6617 (struct La_s390_64_retval): Likewise.
6618 (struct La_sparc32_regs): Likewise.
6619 (struct La_sparc32_retval): Likewise.
6620 (struct La_sparc64_regs): Likewise.
6621 (struct La_sparc64_retval): Likewise.
6622 (struct audit_ifaces): Remove architecture-specific pltenter and
6623 pltexit members.
6624 * sysdeps/i386/ldsodefs.h: New file.
6625 * sysdeps/powerpc/ldsodefs.h: Likewise.
6626 * sysdeps/s390/ldsodefs.h: Likewise.
6627 * sysdeps/sh/ldsodefs.h: Likewise.
6628 * sysdeps/sparc/ldsodefs.h: Likewise.
6629 * sysdeps/x86_64/ldsodefs.h: Likewise.
6630
354691b7
MP
66312012-07-25 Marek Polacek <polacek@redhat.com>
6632
6633 [BZ #6808]
6634 * math/libm-test.inc (yn_test): Add another test.
6635 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6636 to ERANGE when the result is +-Inf.
6637 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6638 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6639 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6640 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6641
bf9e2071
JM
66422012-07-24 Joseph Myers <joseph@codesourcery.com>
6643
6644 * conform/data/time.h-data (NULL): Use macro-constant. Require
6645 equal to 0.
6646 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6647 clock_t.
6648 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6649
57633811
TS
66502012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6651
6652 * configure.in <sysdeps resolving>: Correct printing
6653 Implies_before.
6654 * configure: Regenerate.
6655
c23c33b0
TS
66562012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6657
6658 * math/w_ilogb.c: Include <limits.h>.
6659 * math/w_ilogbl.c: Likewise.
6660
b5982523
JM
66612012-07-20 Joseph Myers <joseph@codesourcery.com>
6662
6663 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6664 va_copy. Document allowing for unavailable va_copy only as
6665 pre-C99 compatibility.
6666 * manual/string.texi (Copying and Concatenation): Use va_copy
6667 instead of __va_copy in concat example.
6668
ac4ea442
PT
66692012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6670
6671 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6672 (__sendto): Use create_address_port. Initialize APORT and deallocate
6673 it if not null.
6674
f98eafbd
PT
6675 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6676 with O_NOLINK passed to __file_name_lookup.
6677
898c7aab
PT
6678 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6679 with O_NOLINK passed to __file_name_lookup.
6680
0ced335a
PT
6681 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6682 negative N or less than NGIDS.
6683
b3404dbd
PT
6684 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6685 type to string_t. Set ERANGE as errno and return it if NAME is not big
6686 enough. Use memcpy instead of strncpy.
6687
0f48659e
JM
66882012-07-20 Joseph Myers <joseph@codesourcery.com>
6689
6690 * elf/Makefile (check-data): Remove.
6691 (localplt.data): New vpath directive.
6692 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6693 instead of $(check-data).
6694 * scripts/data/localplt-generic.data: Move to ...
6695 * sysdeps/generic/localplt.data: ... here.
6696 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6697 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6698 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6700 ... here.
6701 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6703 ... here.
6704 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6706 ... here.
6707 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6709 ... here.
6710 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6712 ... here.
6713 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6715 ... here.
6716
d37cbdaa
AZ
67172012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6718
6719 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6720 PPC32 and PPC64 files.
6721 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6722 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6723
46f85fc2
AK
67242012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6725
6726 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6727 __makecontext_ret to ...
6728 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6729 ... here and call exit if uc_link is NULL. New file.
6730 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6731 __makecontext_ret.S.
6732 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6733 __makecontext_ret to ...
6734 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6735 ... here and call exit if uc_link is NULL. New file.
6736 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6737 __makecontext_ret.S.
6738
08f43f9b
AK
67392012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6740
6741 * elf/elf.h (R_390_IRELATIVE): New definition.
6742 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6743 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6744 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6745 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6746 (elf_machine_lazy_rel): Likewise.
6747 * sysdeps/s390/dl-irel.h: New file.
6748 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6749 * sysdeps/s390/s390-64/memset.S: New asm code.
6750 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6751 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6752 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6753 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6754 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6755 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6756 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6757 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6758 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6759 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6760 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6761 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6762 * sysdeps/s390/s390-32/memset.S: New asm code.
6763 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6764
3b05db33
MP
67652012-07-17 Marek Polacek <polacek@redhat.com>
6766
6767 [BZ #14349]
6768 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6769 * sysdeps/s390/s390-64/configure.in: Likewise.
6770 * sysdeps/sparc/configure.in: Likewise.
6771 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6772 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6773 * sysdeps/i386/configure.in: Likewise.
6774 * sysdeps/x86_64/configure.in: Likewise.
6775 * sysdeps/sh/configure.in: Likewise.
6776 * sysdeps/s390/s390-32/configure: Regenerated.
6777 * sysdeps/s390/s390-64/configure: Likewise.
6778 * sysdeps/x86_64/configure: Likewise.
6779 * sysdeps/sh/configure: Likewise.
6780 * sysdeps/powerpc/powerpc64/configure: Likewise.
6781 * sysdeps/powerpc/powerpc32/configure: Likewise.
6782 * sysdeps/sparc/configure: Likwise.
6783 * sysdeps/i386/configure: Likewise.
6784
a66877c6
MP
6785 * elf/dl-open.c: Comment fixes.
6786
cfc82fd8
JM
67872012-07-17 Joseph Myers <joseph@codesourcery.com>
6788
bd29910a
JM
6789 * Makefile [CXX] (check-data): Remove.
6790 [CXX] (c++-types.data): New vpath directive.
6791 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6792 vpath. Do not allow for C++ type data being missing.
6793 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6794 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6795 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6796 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6797 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6798 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6799 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6801 ... here.
6802 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6804 ... here.
6805 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6807 ... here.
6808 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6810 ... here.
6811 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6813 ... here.
6814 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6816 ... here.
6817 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6819 ... here.
6820 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6822
cfc82fd8
JM
6823 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6824 definitions to architecture-specific files.
6825 (TLS_IE): Likewise.
6826 (TLS_LD): Likewise.
6827 (TLS_GD): Likewise.
6828 * sysdeps/i386/tls-macros.h: New file.
6829 * sysdeps/powerpc/tls-macros.h: Likewise.
6830 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6831 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6832 * sysdeps/sh/tls-macros.h: Likewise.
6833 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6834 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6835 * sysdeps/x86_64/tls-macros.h: Likewise.
6836
f7db3170
TS
68372012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6838
07cbfc23
TS
6839 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6840 zero value for regular exit case.
6841
f7db3170
TS
6842 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6843 (__start_context): Preserve zero value for regular exit case.
6844
dc97c227
TS
68452012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6846 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6847
6848 * manual/setjmp.texi (setcontext): Clarify normal process
6849 termination when uc_link is the null pointer.
6850 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6851 exit call.
6852
d0cd7d02
AS
68532012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6854
6855 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6856 preprocessor. Test for each exception mask separately.
6857
dd318934
AJ
68582012-07-16 Andreas Jaeger <aj@suse.de>
6859
6860 * po/ru.po: Update from translation team.
6861
8048311a
JM
68622012-07-15 Joseph Myers <joseph@codesourcery.com>
6863
6864 * conform/data/string.h-data (NULL): Use macro-constant. Require
6865 equal to 0.
6866 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6867 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6868 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6869 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6870 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6871
b637d46e
AJ
68722012-07-13 Andreas Jaeger <aj@suse.de>
6873
6874 * po/fr.po: Update from translation team.
6875
541428fe
MP
68762012-07-12 Marek Polacek <polacek@redhat.com>
6877
6878 [BZ #14173]
6879 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6880 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6881 loop condition.
6882
ec332e94
JM
68832012-07-12 Joseph Myers <joseph@codesourcery.com>
6884
6885 [BZ #13717]
6886 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6887 Change to 2.4.1 where previously 2.4.0.
6888 * sysdeps/unix/sysv/linux/configure: Regenerated.
6889 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6890 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6891 version.
6892 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6893 (__ASSUME_AT_CLKTCK): Remove.
6894 (__ASSUME_AT_PAGESIZE): Likewise.
6895 (__ASSUME_AT_XID): Likewise.
6896 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6897 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6898 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6899 unconditionally.
6900 (HAVE_AUX_PAGESIZE): Likewise.
6901 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6902 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6903 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6904
7b6e99be
JB
69052012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6906
6907 [BZ #14307]
6908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6909 the temporary buffer used to invoke __gethostbyname2_r,
6910 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6911 host_data / struct gaih_addrtuple.
6912 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6913 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6914 header file nss/nsswitch.h.
6915 * nss/nsswitch.h (global scope): Add definition of implementation
6916 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6917 resolv/nss_dns/dns-host.c).
6918
608404eb
AJ
69192012-07-11 Andreas Jaeger <aj@suse.de>
6920
6921 * po/fr.po: Update from translation team.
6922
71220aca
AJ
6923 * po/sv.po: Update from translation team
6924 * po/fr.po: Another update from translation team.
6925
28cfe843
AZ
69262012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6927
6928 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6929 for subnormals or multiply small sinh result by itself.
6930 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6932
6b90f981
DM
69332012-07-11 David S. Miller <davem@davemloft.net>
6934
6935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6936
c6825772
AS
69372012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6938
6939 [BZ #14347]
6940 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6941 (INTERNAL_MARK): Shift it here.
6942
7b8e0d49
MP
69432012-07-10 Marek Polacek <polacek@redhat.com>
6944
6945 [BZ #14151]
6946 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6947 libc_cv_asm_global_directive with .globl.
6948 * configure: Regenerated.
6949 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6950 with .globl.
6951 * sysdeps/i386/configure: Regenerated.
6952 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6953 with .globl.
6954 * sysdeps/x86_64/configure: Regenerated.
6955 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6956 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6957 * elf/tst-unique2mod2.c: Likewise.
6958 * elf/tst-unique2mod1.c: Likewise.
6959 * elf/tst-unique1mod2.c: Likewise.
6960 * elf/tst-unique1mod1.c: Likewise.
6961 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6962 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6963 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6964 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6965 * sysdeps/mach/sysdep.h: Likewise.
6966 * sysdeps/i386/sysdep.h: Likewise.
6967 * sysdeps/i386/i386-mcount.S: Likewise.
6968 * sysdeps/x86_64/_mcount.S: Likewise.
6969 * sysdeps/x86_64/sysdep.h: Likewise.
6970 * sysdeps/sh/_mcount.S: Likewise.
6971 * sysdeps/sh/sysdep.h: Likewise.
6972 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6973 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6974 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6975 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6976 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6977 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6978 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6979 * locale/localeinfo.h: Likewise.
6980 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6981 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6982
6c55cda3
RM
69832012-07-09 Roland McGrath <roland@hack.frob.com>
6984
6985 [BZ #14336]
6986 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6987 system".
6988 * manual/message.texi (The Uniforum approach): Likewise.
6989 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6990 (glibc iconv Implementation): Likewise.
6991
638a572e
JM
69922012-07-09 Joseph Myers <joseph@codesourcery.com>
6993
6994 [BZ #14337]
6995 * math/s_clog.c (__clog): Avoid scaling a value down where that
6996 could result in underflow.
6997 * math/s_clog10.c (__clog10): Likewise.
6998 * math/s_clog10f.c (__clog10f): Likewise.
6999 * math/s_clog10l.c (__clog10l): Likewise.
7000 * math/s_clogf.c (__clogf): Likewise.
7001 * math/s_clogl.c (__clogl): Likewise.
7002 * math/libm-test.inc (clog_test): Add more tests.
7003 (clog10_test): Likewise.
7004 * sysdeps/i386/fpu/libm-test-ulps: Update.
7005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7006
261f4859
AS
70072012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7008
0abaf3e4
AS
7009 [BZ #14283]
7010 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7011 by 7 not 8 to examine high bit of fractional part.
7012
261f4859
AS
7013 [BZ #14042]
7014 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7015 for call to __mcount_internal.
7016 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7017 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7018 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7019
f17ac40d
JM
70202012-07-06 Joseph Myers <joseph@codesourcery.com>
7021
9ad63c23
JM
7022 [BZ #14154]
7023 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7024 approximation for values within 0x1p-13f of an odd multiple of
7025 pi/4.
7026 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7027 exception. Add more tests.
7028 * sysdeps/i386/fpu/libm-test-ulps: Update.
7029
f17ac40d
JM
7030 [BZ #6778]
7031 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7032 inputs and return -1 for them. Do not check for +Inf in case not
7033 reachable for +Inf.
7034 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7035 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7036 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7037 and return -1 for them. Do not check for +Inf in case not
7038 reachable for +Inf.
7039 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7040 define.
7041 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7042 and return -1 for them. Do not check for +Inf in case not
7043 reachable for +Inf.
7044 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7045 spurious underflow.
7046 * sysdeps/i386/fpu/libm-test-ulps: Update.
7047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7048
fb21f89b
MF
70492012-07-06 Mike Frysinger <vapier@gentoo.org>
7050
7051 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7052
cdfe2c5e
JM
70532012-07-05 Joseph Myers <joseph@codesourcery.com>
7054
7055 [BZ #14157]
7056 [BZ #14331]
7057 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7058 could result in spurious underflow. Scale down values above
7059 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7060 * math/s_csqrtf.c (__csqrtf): Likewise.
7061 * math/s_csqrtl.c (__csqrtl): Likewise.
7062 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7063 spurious underflow.
7064 * sysdeps/i386/fpu/libm-test-ulps: Update.
7065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7066
70d35b67
AS
70672012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7068
704bc459
AS
7069 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7070 xopen-msg.sed.
7071 * catgets/xopen-msg.awk: New file.
7072 * catgets/xopen-msg.sed: Removed.
7073
70d35b67
AS
7074 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7075 po2text.sed.
7076 * intl/po2test.awk: New file.
7077 * intl/po2test.sed: Removed.
7078
ca61cf32
JM
70792012-07-04 Joseph Myers <joseph@codesourcery.com>
7080
7081 [BZ #14328]
7082 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7083 or multiply small sinh result by itself.
7084 * math/s_ctanf.c (__ctanf): Likewise.
7085 * math/s_ctanh.c (__ctanh): Likewise.
7086 * math/s_ctanhf.c (__ctanhf): Likewise.
7087 * math/s_ctanhl.c (__ctanhl): Likewise.
7088 * math/s_ctanl.c (__ctanl): Likewise.
7089 * math/libm-test.inc (ctan_test_tonearest): New function.
7090 (ctan_test_towardzero): Likewise.
7091 (ctan_test_downward): Likewise.
7092 (ctan_test_upward): Likewise.
7093 (ctanh_test_tonearest): Likewise.
7094 (ctanh_test_towardzero): Likewise.
7095 (ctanh_test_downward): Likewise.
7096 (ctanh_test_upward): Likewise.
7097 (main): Call these new functions.
7098 * sysdeps/i386/fpu/libm-test-ulps: Update.
7099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7100
ca48a46a
MF
71012012-07-03 Mike Frysinger <vapier@gentoo.org>
7102
7103 * .gitignore: Delete /ports entry.
7104
9d63d37d
AJ
71052012-07-03 Andreas Jaeger <aj@suse.de>
7106
7107 * po/bg.po: Update from translation team.
7108 * po/cs.po: Likewise.
7109 * po/de.po: Likewise.
7110 * po/hr.po: Likewise.
7111 * po/nl.pl: Likewise.
7112 * po/pl.po: Likewise.
7113 * po/vi.po: Likewise.
7114
370ca3d2
JM
71152012-07-03 Joseph Myers <joseph@codesourcery.com>
7116
95f5a9a8
JM
7117 * Makeconfig [!+link] (+link-before-libc): New variable.
7118 [!+link] (+link-after-libc): Likewise.
7119 [!+link] (+link-tests): Likewise.
7120 [!+link] (+link): Define in terms of $(+link-before-libc) and
7121 $(+link-after-libc).
7122 [!+link-static] (+link-static-before-libc): New variable.
7123 [!+link-static] (+link-static-after-libc): Likewise.
7124 [!+link-static] (+link-static-tests): Likewise.
7125 [!+link-static] (+link-static): Define in terms of
7126 $(+link-static-before-libc) and $(+link-static-after-libc).
7127 [build-shared] (link-libc-before-gnulib): New variable.
7128 [build-shared] (link-libc-tests): Likewise.
7129 [build-shared] (link-libc): Define in terms of
7130 $(link-libc-before-gnulib).
7131 [!build-shared] (link-libc-tests): New variable.
7132 (link-libc-static-tests): New variable.
7133 [!gnulib] (gnulib-arch): New variable.
7134 [!gnulib] (gnulib-tests): Likewise.
7135 [!gnulib] (static-gnulib-arch): Likewise.
7136 [!gnulib] (static-gnulib-tests): Likewise.
7137 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7138 Define with "=" instead of ":=".
7139 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7140 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7141 * Rules (binaries-all-notests): New variable.
7142 (binaries-all-tests): Likewise.
7143 (binaries-static-notests): Likewise.
7144 (binaries-static-tests): Likewise.
7145 (binaries-all): Define using $(binaries-all-notests) and
7146 $(binaries-all-tests).
7147 (binaries-static): Define using $(binaries-static-notests) and
7148 $(binaries-static-tests).
7149 (binaries-shared-tests): New variable.
7150 (binaries-shared-notests): Likewise.
7151 (binaries-shared): Remove variable.
7152 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7153 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7154 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7155 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7156 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7157 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7158 * elf/Makefile (sln-modules): New variable.
7159 (extra-objs): Add $(sln-modules:=.o).
7160 (ldconfig-modules): Add static-stubs.
7161 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7162 * elf/static-stubs.c: New file.
7163
7a845b2c
JM
7164 [BZ #14283]
7165 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7166 by 7 not 8 to examine high bit of fractional part. Use volatile
7167 variables when splitting into final array of floats if
7168 __FLT_EVAL_METHOD__ != 0.
7169 * math/libm-test.inc (cos_test): Add another test.
7170 (sin_test): Likewise.
7171 * sysdeps/i386/fpu/libm-test-ulps: Update.
7172
e2283f38
JM
7173 [BZ #14273]
7174 * math/libm-test.inc (cosh_test): Add more tests.
7175
370ca3d2
JM
7176 * version.h (RELEASE): Set to "development".
7177 (VERSION): Set to "2.16.90".
7178
ee9247c3
CD
71792012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7180
7181 * NEWS: Update copyright. Remove last-updated date.
7182 Mention math library bug fixes and timezone data changes.
7183 * README: Mention GNU/Hurd, x32, and HPPA support status.
7184
4648c381
TS
71852012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7186
7187 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7188
aac78a43
AJ
71892012-06-27 Andreas Jaeger <aj@suse.de>
7190
7191 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7192
ed3dbfad
AJ
71932012-06-25 Andreas Jaeger <aj@suse.de>
7194
7195 * sysdeps/s390/fpu/libm-test-ulps: Update.
7196
4d0ee855
AS
71972012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7198 Thomas Schwinge <thomas@codesourcery.com>
7199
7200 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7201 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7202 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7203 fanotify_mark.
7204
af1bce34
TS
72052012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7206
a9fa33ba
TS
7207 * sysdeps/mach/start.c: Remove file.
7208 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7209 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7210 * sysdeps/sh/init-first.c: Likewise.
7211
58f902b8
TS
7212 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7213 registers for frame unwinding purposes, add CFI directives.
7214 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7215 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7216 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7217 Likewise.
7218
1518f58b
TS
7219 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7220 __fortify_fail returning.
7221 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7222
db9b5059
TS
7223 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7224 sysdeps/sh/____longjmp_chk.S.
7225 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7226 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7227 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7228 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7229
967705fe
TS
7230 * sysdeps/sh/abort-instr.h: New file.
7231 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7232 process in case exit returns.
7233
a9def8c4
TS
7234 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7235 initialize the GOT register before use.
7236
2a649725
TS
7237 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7238 calculation of ARGC > 4.
7239
af1bce34
TS
7240 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7241 meaningful names to some local labels.
7242
d230f50a
KK
72432012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7244 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7245
7246 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7247 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7248 (__arch_compare_and_exchange_val_16_acq): Likewise.
7249 (__arch_compare_and_exchange_val_32_acq): Likewise.
7250 (atomic_exchange_and_add): Fix gUSA sequence.
7251 (atomic_add): Likewise.
7252 (atomic_add_negative): Likewise.
7253 (atomic_add_zero): Likewise.
7254 (atomic_bit_test_set): Likewise.
7255
0479b305
AS
72562012-06-22 Andreas Schwab <schwab@redhat.com>
7257
7258 [BZ #13579]
7259 * include/link.h (struct link_map): Add l_free_initfini.
7260 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7261 l_initfini.
7262 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7263 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7264 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7265 set.
7266
0e3933b9
CD
72672012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7268
7269 * configure.in: Use AC_LANG_SOURCE.
7270 * configure: Regenerate.
7271
4248b1b1
RM
72722012-06-22 Roland McGrath <roland@hack.frob.com>
7273
7274 * configure.in (libc_cv_localstatedir): New substituted variable.
7275 * configure: Regenerated.
7276 * config.make.in (localstatedir): New variable, substituted from
7277 libc_cv_localstatedir.
7278 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7279 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7280 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7281 * sysdeps/gnu/configure: Regenerated.
7282
006dd861
JL
72832012-06-21 Jeff Law <law@redhat.com>
7284
7285 [BZ #14277]
7286 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7287 free. Simplify list management for _LIBC case.
7288
79662d42
JM
72892012-06-21 Joseph Myers <joseph@codesourcery.com>
7290
b7abb4bf
JM
7291 [BZ #14273]
7292 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7293 Clear sign bit of 64-bit integer value before comparing against
7294 overflow value.
7295
79662d42
JM
7296 * sysdeps/mach/configure: Regenerated.
7297
1f150908
L
72982012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7299
7300 [BZ #14278]
7301 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7302
28363bbf
JL
73032012-06-21 Jeff Law <law@redhat.com>
7304
7305 [BZ #13882]
7306 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7307 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 7308 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
7309 * elf/dl-open.c (dl_open_worker): Likewise.
7310
09615db4
CD
73112012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7312
7313 * scripts/list-sources.sh: Scan PORTS for translations.
7314 * po/libc.pot: Regenerated.
7315
2174c6dd
AJ
73162012-06-21 Andreas Jaeger <aj@suse.de>
7317
7318 [BZ #12194]
7319 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7320 warning.
7321 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7322 * bits/byteswap-16.h (__bswap_16): Likewise.
7323 * bits/byteswap.h (__bswap_constant_16): Likewise.
7324
3ee947b1
L
73252012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7326
7327 [BZ #14117]
a2f34833
L
7328 * sysdeps/i386/fpu_control.h: Removed.
7329 * sysdeps/x86_64/fpu_control.h: Moved to ...
7330 * sysdeps/x86/fpu_control.h: Here.
7331
3ee947b1
L
7332 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7333 (_FPU_SETCW): Likewise.
7334
ed1825f8
L
73352012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7336
25f1282a
L
7337 [BZ #14117]
7338 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7339 * sysdeps/x86/fpu/bits/mathinline.h: This.
7340 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7341
ed1825f8
L
7342 [BZ #14050]
7343 [BZ #14117]
7344 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7345 functions if __x86_64__ is defined.
7346
36d54b74
CLT
73472012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7348
7349 * string/endian.h: Add !__ASSEMBLER__ condition for including
7350 conversion interfaces.
7351
10285c21
JM
73522012-06-15 Joseph Myers <joseph@codesourcery.com>
7353
7354 [BZ #14241]
7355 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7356 of ABS(x) in calculating zero to negative powers other than odd
7357 integers.
7358 * math/libm-test.inc (pow_test): Add more tests.
7359
06c5abbd
AJ
73602012-06-15 Andreas Jaeger <aj@suse.de>
7361
7362 * manual/contrib.texi (Contributors): Update entry of Liubov
7363 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7364 Machado Filho.
7365
a3aeac40
CH
73662012-06-15 Cyril Hrubis <metan@ucw.cz>
7367
7368 * string/string.h: Add __wur to GNU version of strerror_r.
7369
49bdf4c1
L
73702012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7371
7372 [BZ #14229]
7373 * string/Makefile (tests): Add tst-strtok_r.
7374 * string/tst-strtok_r.c: New file.
7375 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7376 RAX_LP/RDX_LP on SAVE_PTR.
7377
834f9b8d
RM
73782012-06-14 Roland McGrath <roland@hack.frob.com>
7379
7380 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7381
75fa1921
JM
73822012-06-14 Joseph Myers <joseph@codesourcery.com>
7383
7384 * libm_test.inc (csqrt_test): Allow more spurious underflow
7385 exceptions.
7386 (j0_test): Likewise.
7387 (j1_test): Likewise.
7388 (y0_test): Likewise.
7389 (y1_test): Likewise.
7390
771766df
CD
73912012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7392
7393 * po/Makefile (libc.pot): Use UTF-8 charset.
7394
ceb9e56b
PP
73952012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7396
7397 [BZ #14210]
7398 Suppress sign-conversion warning from FD_SET.
7399 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7400 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7401 not unsigned long int.
7402 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7403
ddb28975
L
74042012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7405
7406 [BZ #14050]
7407 [BZ #14117]
7408 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7409 __extern_always_inline instead of __extern_inline.
7410 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7411 (__signbit): Likewise.
7412 (__signbitl): Support C++ namespace.
7413 (lrintf): New inline function.
7414 (lrint): Likewise.
7415 (llrintf): Likewise.
7416 (llrint): Likewise.
7417 (fmaxf): Likewise.
7418 (fmax): Likewise.
7419 (fminf): Likewise.
7420 (fmin): Likewise.
7421 (rint): Likewise.
7422 (rintf): Likewise.
7423 (ceil): Likewise.
7424 (ceilf): Likewise.
7425 (floor): Likewise.
7426 (floorf): Likewise.
7427 (nearbyint): Likewise.
7428 (nearbyintf): Likewise.
7429
d7b4fb26
TS
74302012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7431
7432 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7433 non-default versions.
7434
eb55f5c2
RM
74352012-06-11 Roland McGrath <roland@hack.frob.com>
7436
7437 [BZ #14218]
7438 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7439
366af02c
TS
74402012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7441
99ff6e5c
TS
7442 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7443 (FE_UPWARD, FE_DOWNWARD): Don't define.
7444 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7445 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7446
366af02c
TS
7447 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7448 reading it.
7449 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7450 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7451
793ea851
KK
74522012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7453
7454 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7455 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7456 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7457 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7458
a728a38f
L
74592012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7460
7461 [BZ #14117]
c08010c7
L
7462 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7463 * sysdeps/i386/fpu/Implies: New file.
7464 * sysdeps/x86_64/fpu/Implies: Likewise.
7465 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7466 * sysdeps/x86/fpu/bits/fenv.h: This.
7467
a728a38f
L
7468 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7469 __SSE_MATH__.
7470
6e230d11
SP
74712012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7472
7473 [BZ #14134]
7474 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7475 character 0xffff that matches the last element of the
7476 conversion table.
7477
1b671feb
AZ
74782012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7479
7480 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7481 fmodl commit.
7482
6043738b
AZ
74832012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7484
7485 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7486 values higher than 25.6283.
7487
34ae0b32
AZ
74882012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7489
7490 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7491 subnormal exponent extraction and add some __builtin_expect.
7492 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7493 Fix for subnormal mantissa calculation.
7494
1214ec8f
MF
74952012-06-04 Mike Frysinger <vapier@gentoo.org>
7496
7497 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7498 cpu2 is -1 and errno is not ENOSYS.
7499
f3d1f93c
L
75002012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7501
7502 [BZ #14117]
0e4a3cd7
L
7503 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7504 * sysdeps/x86/bits/string.h: This.
7505 * sysdeps/x86_64/bits/string.h: Removed.
7506
6704c645
L
7507 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7508 if not compiling for x86-64, but compiling for >= i486.
7509
48495318
L
7510 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7511 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7512
14adcbfc
L
7513 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7514 New macro from Linux kernel 3.4.0.
7515 (FP_XSTATE_MAGIC2): Likewise.
7516 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7517 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7518 (struct _fpx_sw_bytes): New struct.
7519 (struct _xsave_hdr): Likewise.
7520 (struct _ymmh_state): Likewise.
7521 (struct _xstate): Likewise.
7522
68e408ab
L
7523 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7524 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7525 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7526 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7527 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7528 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7529
f3d1f93c
L
7530 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7531 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7532 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7533 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7534 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7535 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7536
d9dc34cd
TMQMF
75372012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7538
7539 [BZ #13743]
7540 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7541 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7542 (sysdep_headers): Include sys/platform/ppc.h.
7543 * sysdeps/powerpc/test-gettimebase.c: Test for
7544 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7545 * manual/Makefile (appendices): Include platform.texi.
7546 * manual/contrib.texi (Contributors): Update @node pointers.
7547 * manual/maint.texi (Maintenance): Likewise.
7548 (Platform): New node.
7549 * manual/platform.texi: New file. Document the new features.
7550
4af3879c
SP
75512012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7552 Jakub Jelinek <jakub@redhat.com>
7553
7554 [BZ #14188]
7555 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7556 where __builtin_expect is unavailable.
7557
2fd6ff13
DM
75582012-06-03 David S. Miller <davem@davemloft.net>
7559
7560 * stdlib/longlong.h: Updated from GCC.
7561
173f7220
AS
75622012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7563
7564 [BZ #14042]
7565 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7566 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7567 __mcount_internal.
7568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7569 (GLIBC_2.16): Likewise.
7570
f34a1c6f
L
75712012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7572
7573 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7574
88a4576f
JM
75752012-06-01 Joseph Myers <joseph@codesourcery.com>
7576
ea32bcdd
JM
7577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7578 (default-abi): New variable.
7579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7580 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7581 variable.
7582 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7583 Likewise.
7584 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7585 Likewise.
7586 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7587 Likewise.
7588
88a4576f
JM
7589 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7590 definition. Document in comment.
7591
402fe938
DM
75922012-06-01 David S. Miller <davem@davemloft.net>
7593
7594 * stdlib/longlong.h: Updated from GCC.
7595
3553723f
L
75962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7597
7598 [BZ #14117]
3bd872c4
L
7599 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7600 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7601 sys/debugreg.h sys/io.h here.
7602 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7603 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7604 sys/io.h.
7605 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7606 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7607 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7608 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7609 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7610 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7611
3553723f
L
7612 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7613 Define only if __x86_64__ is defined.
7614
4842e4fe
JM
76152012-06-01 Joseph Myers <joseph@codesourcery.com>
7616
c5bfe3d5
JM
7617 [BZ #14048]
7618 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7619 Use int64_t for variable i.
7620 * math/libm-test.inc (fmod_test): Add more tests.
7621
4842e4fe
JM
7622 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7623 z computation is not scheduled after fetestexcept.
7624 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7625 Use math_force_eval instead of asm to ensure calculation scheduled
7626 before exception test.
7627 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7628 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7629
efb73488
AJ
76302012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7631
7632 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7633 computation is not scheduled after fetestexcept.
7634
29bcce7c
L
76352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7636
7637 [BZ #14117]
7638 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7639 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7640
73a68f94
AZ
76412012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7642
7643 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7644 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7645
67b6df78
L
76462012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7647
edf2933a 7648 [BZ #14117]
ebc64a18
L
7649 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7650 <bits/wordsize.h>.
7651 (__WCHAR_MIN): Support __WORDSIZE == 64.
7652 (__WCHAR_MAX): Likewise.
7653
edf2933a
L
7654 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7655 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7656
57c6cf40
L
7657 [BZ #14183]
7658 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7659 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7660
67b6df78 7661 [BZ #14117]
8eb6281e
L
7662 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7663 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7664
aac639f4
L
7665 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7666 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7667
67b6df78
L
7668 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7669 Defined to 1 if __x86_64__ isn't defined.
7670 (_STAT_VER_LINUX_OLD): New.
7671 (st_atime): Remove duplicate.
7672 (st_mtime): Likewise.
7673 (st_ctime): Likewise.
7674
1c2cfe81
DM
76752012-05-31 David S. Miller <davem@davemloft.net>
7676
7677 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7678 entries.
7679
5be8418c
AS
76802012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7681
e7725326
AS
7682 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7683 gen-libm-test.pl.
7684
5be8418c
AS
7685 [BZ #14132]
7686 * elf/dl-reloc.c: Include <_itoa.h>.
7687 (_dl_reloc_bad_type): Remove use of INTUSE.
7688 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7689 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7690 * stdio-common/psiginfo.c (psiginfo): Likewise.
7691 * stdio-common/psignal.c (psignal): Likewise.
7692 * string/strsignal.c (strsignal): Likewise.
7693 * include/signal.h (_sys_siglist): Declare hidden proto.
7694 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7695 INTVARDEF with libc_hidden_data_def.
7696 * stdio-common/itoa-udigits.c: Likewise.
7697 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7698 (_itoa_lower_digits_internal): Remove declaration.
7699 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7700 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7701 (_sys_sigabbrev_internal): Remove aliases.
7702 (_sys_siglist): Define hidden alias.
7703
507352f1
MT
77042012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7705
7706 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7707 bits/sysctl.h.
7708
42bbb1c3
L
77092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7710
7711 [BZ #14117]
6bd784b6
L
7712 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7713 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7714
8bca20f0
L
7715 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7716 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7717 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7718 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7719 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7720 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7721
f9e890a9
L
7722 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7723 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7724 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7725
471101a1
L
7726 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7727 with __addr.
7728 (insw): Likewise.
7729 (insl): Likewise.
7730 (outsb): Likewise.
7731 (outsw): Likewise.
7732 (outsl): Likewise.
7733
6451c862
L
7734 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7735 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7736 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7737
a254b8c9
L
7738 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7739 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7740 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7741 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7742 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7743 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7744
b8dfdd92
L
7745 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7746 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7747
578cd270
L
7748 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7749 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7750
de662f5f
L
7751 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7752 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7753 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7754
25653439
L
7755 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7756 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7757 to ...
7758 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7759
6bad24a0
L
7760 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7761 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7762 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7763
42bbb1c3
L
7764 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7765 for x86-64.
7766 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7767
2d10d547
JM
77682012-05-31 Joseph Myers <joseph@codesourcery.com>
7769
7770 * math/math.h (M_El): Use two more decimal places.
7771 (M_LOG2El): Likewise.
7772 (M_LOG10El): Likewise.
7773 (M_LN2l): Likewise.
7774 (M_LN10l): Likewise.
7775 (M_PIl): Likewise.
7776 (M_PI_2l): Likewise.
7777 (M_PI_4l): Likewise.
7778 (M_1_PIl): Likewise.
7779 (M_2_PIl): Likewise.
7780 (M_2_SQRTPIl): Likewise.
7781 (M_SQRT2l): Likewise.
7782 (M_SQRT1_2l): Likewise.
7783
f230c29b
DM
77842012-05-31 David S. Miller <davem@davemloft.net>
7785
7786 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7787 values between float registers.
7788 * sysdeps/sparc/sparc64/memset.S: Likewise.
7789 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7790
fed806c3
MF
77912012-05-31 Mike Frysinger <vapier@gentoo.org>
7792
7793 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7794 -D_FORTIFY_SOURCE=1.
7795 (CPPFLAGS-tst-longjmp_chk.c): Define.
7796 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7797 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7798 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7799 CFLAGS-tst-wchar-h.c.
7800
30917259
MP
78012012-05-31 Marek Polacek <polacek@redhat.com>
7802
7803 [BZ #14132]
7804 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7805 __endmntent_internal): Remove declaration.
7806 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7807 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7808 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7809
1c58d5dc
DM
78102012-05-30 David S. Miller <davem@davemloft.net>
7811
7812 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7813 (___Q_simulate_exceptions): Use real FP ops rather than writing
7814 into the %fsr.
7815 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7816 Likewise.
7817
7dc00e0d
L
78182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7819
7820 [BZ #14117]
0bd53985
L
7821 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7822 * sysdeps/x86/bits/xtitypes.h: This.
7823
3a257e66
L
7824 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7825 * sysdeps/x86/bits/wordsize.h: This.
7826
62f62904
L
7827 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7828 * sysdeps/x86/bits/huge_vall.h: This.
7829
404fe9d9
L
7830 * sysdeps/i386/bits/select.h: Removed.
7831 * sysdeps/x86_64/bits/select.h: Renamed to ...
7832 * sysdeps/x86/bits/select.h: This.
7833
d48d0446
L
7834 * sysdeps/i386/bits/setjmp.h: Removed.
7835 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7836 * sysdeps/x86/bits/setjmp.h: This.
7837
7dc00e0d
L
7838 * sysdeps/i386/bits/mathdef.h: Removed.
7839 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7840 * sysdeps/x86/bits/mathdef.h: This.
7841
03277f8f
AS
78422012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7843
7844 [BZ #14132]
7845 * include/sys/socket.h (__connect_internal)
7846 (__libc_sa_len_internal): Remove declaration.
7847 (__connect, __libc_sa_len): Declare hidden_proto.
7848 (SA_LEN): Remove use of INTUSE.
7849 * socket/connect.c: Add libc_hidden_def.
7850 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7851 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7852 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7853 alias.
7854 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7855 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7856 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7857 of adding _internal alias.
7858
13764867
L
78592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7860
7861 [BZ #14117]
6bd97696
L
7862 * sysdeps/i386/bits/link.h: Removed.
7863 * sysdeps/i386/bits/linkmap.h: Likewise.
7864 * sysdeps/x86_64/bits/link.h: Renamed to ...
7865 * sysdeps/x86/bits/link.h: This.
7866 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7867 * sysdeps/x86/bits/linkmap.h: This.
7868
f726f0bb
L
7869 * sysdeps/i386/bits/endian.h: Removed.
7870 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7871 * sysdeps/x86/bits/endian.h: This.
7872
13764867
L
7873 * sysdeps/i386/bits/byteswap.h: Removed.
7874 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7875 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7876 * sysdeps/x86/bits/byteswap.h: This.
7877 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7878 * sysdeps/x86/bits/byteswap-16.h: This.
7879 * sysdeps/i386/Implies: Add x86.
7880 * sysdeps/x86_64/Implies: Likewise.
7881
ae251b0b
DM
78822012-05-30 David S. Miller <davem@davemloft.net>
7883
7884 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7885 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7886 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7887 (FP_TRAPPING_EXCEPTIONS): Define.
7888 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7889 (FP_TRAPPING_EXCEPTIONS): Define.
7890 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7891 subnormals only when inexact has been signalled or underflow
7892 exceptions are enabled.
7893 (_FP_PACK_CANONICAL): Likewise.
7894
d5c90867
L
78952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7896
7897 [BZ #14183]
7898 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7899 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7900
63f1549e
RH
79012012-05-30 Richard Henderson <rth@twiddle.net>
7902
8d8f2279
RH
7903 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7904 with #ifndef NOT_IN_libc.
7905
63f1549e
RH
7906 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7907 marked to avoid plt entry.
7908
0ab0291b
L
79092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7910
7911 [BZ #14112]
7912 * Makeconfig (default-abi): New macro.
7913 (abi-includes): Likewise.
7914 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7915 $(abi-$(default-abi)-lib-soname) for soname if defined.
7916 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7917 abi-variants.
7918 * Makefile (installed-stubs): Likewise.
7919 * include/stubs-biarch.h: Removed.
7920 * scripts/lib-names.awk: Only handle one library at a time.
7921 * scripts/soversions.awk: Remove WORDSIZE support.
7922 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7923 entries.
7924 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7925 Removed.
7926 (syscall-list-default-condition): Likewise.
7927 (syscall-list-default-condition): Likewise.
7928 (syscall-list-includes): Likewise.
7929 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7930 syscall-list-* with abi-*. Handle undefined abi-variants.
7931 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7932 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7933 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7934 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7935 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7936 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7937 Removed.
7938 (syscall-list-32-options): Likewise.
7939 (syscall-list-32-condition): Likewise.
7940 (syscall-list-64-options): Likewise.
7941 (syscall-list-64-condition): Likewise.
7942 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7943 macro.
7944 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7945 Renamed to ...
7946 (abi-*): This.
7947 (abi-64-ld-soname): New macro.
7948 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7949 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7950 Renamed to ...
7951 (abi-*): This.
7952 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7953 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7954
4da0431d
JM
79552012-05-30 Joseph Myers <joseph@codesourcery.com>
7956
3a85279c
JM
7957 * sysdeps/unix/sysv/linux/kernel-features.h
7958 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7959 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7960 include <kernel-features.h>.
7961 [!__NR_ftruncate64]: Remove conditional code.
7962 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7963 [__NR_ftruncate64]: Make code unconditional.
7964 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7965 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7966 include <kernel-features.h>.
7967 [!__NR_ftruncate64]: Remove conditional code.
7968 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7969 [__NR_ftruncate64]: Make code unconditional.
7970 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7972 include <kernel-features.h>.
7973 [!__NR_ftruncate64]: Remove conditional code.
7974 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7975 [__NR_ftruncate64]: Make code unconditional.
7976 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7978 include <kernel-features.h>.
7979 [!__NR_ftruncate64]: Remove conditional code.
7980 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7981 [__NR_ftruncate64]: Make code unconditional.
7982 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7983
4da0431d
JM
7984 * configure.in (libc_cv_fpie): Weaken to a compile test using
7985 LIBC_TRY_CC_OPTION.
7986 * configure: Regenerated.
7987
11ef492c
AK
79882012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7989
7990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7994 Refreshed.
7995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8001 Refreshed.
8002
d66ef399
DM
80032012-05-27 David S. Miller <davem@davemloft.net>
8004
8005 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8006 (___Q_zero): New.
8007 (__Q_simulate_exceptions): Return void. Change to simulate
8008 exceptions by writing into the %fsr.
8009 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8010 (__Qp_handle_exceptions): Likewise.
8011 (numbers): Delete.
8012 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8013 __Qp_handle_exceptions.
8014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8015 __Qp_handle_exceptions.
8016 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8017 as unused and give dummy FP_RND_NEAREST initializer.
8018 (FP_INHIBIT_RESULTS): Define.
8019 (___Q_simulate_exceptions): Update declaration.
8020 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8021 formatting.
8022 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8023 as unused and give dummy FP_RND_NEAREST initializer.
8024 (__Qp_handle_exceptions): Update declaration.
8025 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8026 formatting.
8027
04fb54b5
TS
80282012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8029
8030 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8031 the temporary FPU control word.
8032 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8033 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8034 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8035 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8036 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8037 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8038 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8039 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8040 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8041 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8042 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8043
3f99608f
KK
80442012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8045
8046 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8047 fields.
8048
65a4de4e
CLT
80492012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8050
8051 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8052 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8053 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8054 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8055 Likewise.
8056 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8057 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8058 Likewise.
8059
15749d40
UD
80602012-05-27 Ulrich Drepper <drepper@gmail.com>
8061
8062 * po/h.po: Update from translation team.
8063
25dbcb27
AS
80642012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8065
3d3f8e55
AS
8066 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8067
25dbcb27
AS
8068 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8069 handling of denormals.
8070 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8071 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8072 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8073 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8074 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8075 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8076 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8077 Likewise.
8078
7ad47a80 80792012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
8080
8081 [BZ #14152]
8082 * math/libm-test.inc (fma_test): Don't always expect underflow
8083 exception.
8084
9c6ea9fa
SP
80852012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8086
8087 [BZ #12416]
8088 * elf/tst-execstack.c: Include stackinfo.h.
8089 (do_test): Adjust test case to ensure that pthread_getattr_np
8090 behaviour remains the same after marking stack executable.
8091
a8239222
JM
80922012-05-25 Joseph Myers <joseph@codesourcery.com>
8093
8094 * sysdeps/unix/sysv/linux/kernel-features.h
8095 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8096 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8097 kernel-features.h.
8098 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8099 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8100 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8101 kernel-features.h.
8102 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8103 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8104
918b5606
L
81052012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8106
8107 * configure.in: Define the default includes to being none.
8108 * configure: Regenerated.
8109
3a097cc7
RM
81102012-05-25 Roland McGrath <roland@hack.frob.com>
8111
8422c9a5
RM
8112 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8113 * sysdeps/x86_64/setjmp.S: Likewise.
8114 * sysdeps/i386/bsd-setjmp.S: Likewise.
8115 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8116 * sysdeps/i386/setjmp.S: Likewise.
8117 * sysdeps/i386/__longjmp.S: Likewise.
8118 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8119 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8120
3a097cc7
RM
8121 * include/stap-probe.h: New file.
8122 * configure.in: Handle --enable-systemtap.
8123 * configure: Regenerated.
8124 * config.h.in (USE_STAP_PROBE): New #undef.
8125 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8126 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8127 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8128
21708942
JM
81292012-05-25 Joseph Myers <joseph@codesourcery.com>
8130
8131 [BZ #13717]
8132 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8133 to 2.4.0 where earlier.
8134 * sysdeps/unix/sysv/linux/configure: Regenerated.
8135 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8136 <kernel-features.h>.
8137 [__ASSUME_32BITUIDS]: Make code unconditional.
8138 [!__ASSUME_32BITUIDS]: Remove conditional code.
8139 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8140 <kernel-features.h>.
8141 [__ASSUME_32BITUIDS]: Make code unconditional.
8142 [!__ASSUME_32BITUIDS]: Remove conditional code.
8143 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8144 [__ASSUME_32BITUIDS]: Make code unconditional.
8145 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8146 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8147 <kernel-features.h>.
8148 [__ASSUME_32BITUIDS]: Make code unconditional.
8149 [!__ASSUME_32BITUIDS]: Remove conditional code.
8150 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8151 <kernel-features.h>.
8152 [__ASSUME_32BITUIDS]: Make code unconditional.
8153 [!__ASSUME_32BITUIDS]: Remove conditional code.
8154 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8155 <kernel-features.h>.
8156 [__ASSUME_32BITUIDS]: Make code unconditional.
8157 [!__ASSUME_32BITUIDS]: Remove conditional code.
8158 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8159 <kernel-features.h>.
8160 [__ASSUME_32BITUIDS]: Make code unconditional.
8161 [!__ASSUME_32BITUIDS]: Remove conditional code.
8162 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8163 <kernel-features.h>.
8164 [__ASSUME_32BITUIDS]: Make code unconditional.
8165 [!__ASSUME_32BITUIDS]: Remove conditional code.
8166 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8167 <kernel-features.h>.
8168 [__ASSUME_32BITUIDS]: Make code unconditional.
8169 [!__ASSUME_32BITUIDS]: Remove conditional code.
8170 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8171 <kernel-features.h>.
8172 [__ASSUME_32BITUIDS]: Make code unconditional.
8173 [!__ASSUME_32BITUIDS]: Remove conditional code.
8174 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8175 <kernel-features.h>.
8176 [__ASSUME_32BITUIDS]: Make code unconditional.
8177 [!__ASSUME_32BITUIDS]: Remove conditional code.
8178 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8179 <kernel-features.h>.
8180 [__ASSUME_32BITUIDS]: Make code unconditional.
8181 [!__ASSUME_32BITUIDS]: Remove conditional code.
8182 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8183 <kernel-features.h>.
8184 [__ASSUME_32BITUIDS]: Make code unconditional.
8185 [!__ASSUME_32BITUIDS]: Remove conditional code.
8186 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8187 <kernel-features.h>.
8188 [__NR_setresgid] (__setresgid): Do not declare.
8189 [__ASSUME_32BITUIDS]: Make code unconditional.
8190 [!__ASSUME_32BITUIDS]: Remove conditional code.
8191 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8192 <kernel-features.h>.
8193 [__NR_setresuid] (__setresuid): Do not declare.
8194 [__ASSUME_32BITUIDS]: Make code unconditional.
8195 [!__ASSUME_32BITUIDS]: Remove conditional code.
8196 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8197 <kernel-features.h>.
8198 [__ASSUME_32BITUIDS]: Make code unconditional.
8199 [!__ASSUME_32BITUIDS]: Remove conditional code.
8200 * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.c: Do not include
8209 <kernel-features.h>.
8210 [__ASSUME_32BITUIDS]: Make code unconditional.
8211 [!__ASSUME_32BITUIDS]: Remove conditional code.
8212 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8213 <kernel-features.h>.
8214 [__ASSUME_32BITUIDS]: Make code unconditional.
8215 [!__ASSUME_32BITUIDS]: Remove conditional code.
8216 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8217 <kernel-features.h>.
8218 [__ASSUME_32BITUIDS]: Make code unconditional.
8219 [!__ASSUME_32BITUIDS]: Remove conditional code.
8220 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8221 <kernel-features.h>.
8222 [__ASSUME_32BITUIDS]: Make code unconditional.
8223 [!__ASSUME_32BITUIDS]: Remove conditional code.
8224 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8225 <kernel-features.h>.
8226 [__ASSUME_32BITUIDS]: Make code unconditional.
8227 [!__ASSUME_32BITUIDS]: Remove conditional code.
8228 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8229 <kernel-features.h>.
8230 [__ASSUME_32BITUIDS]: Make code unconditional.
8231 [!__ASSUME_32BITUIDS]: Remove conditional code.
8232 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8233 <kernel-features.h>.
8234 [__ASSUME_32BITUIDS]: Make code unconditional.
8235 [!__ASSUME_32BITUIDS]: Remove conditional code.
8236 * sysdeps/unix/sysv/linux/kernel-features.h
8237 (__ASSUME_SETRESUID_SYSCALL): Remove.
8238 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8239 (__ASSUME_32BITUIDS): Likewise.
8240 (__ASSUME_LDT_WORKS): Likewise.
8241 (__ASSUME_O_DIRECTORY): Likewise.
8242 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8243 architecture but not kernel version.
8244 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8245 (__ASSUME_MMAP2_SYSCALL): Likewise.
8246 (__ASSUME_STAT64_SYSCALL): Likewise.
8247 (__ASSUME_IPC64): Likewise.
8248 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8249 <kernel-features.h>.
8250 [__ASSUME_32BITUIDS]: Make code unconditional.
8251 [!__ASSUME_32BITUIDS]: Remove conditional code.
8252 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8253 <kernel-features.h>.
8254 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8255 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8256 132096]: Remove conditional code.
8257 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8258 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8259 <kernel-features.h>.
8260 [__ASSUME_32BITUIDS]: Make code unconditional.
8261 [!__ASSUME_32BITUIDS]: Remove conditional code.
8262 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8263 <kernel-features.h>.
8264 [__ASSUME_32BITUIDS]: Make code unconditional.
8265 [!__ASSUME_32BITUIDS]: Remove conditional code.
8266 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8267 <kernel-features.h>.
8268 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8269 unconditional.
8270 (__setresgid): Do not declare.
8271 [__ASSUME_32BITUIDS]: Make code unconditional.
8272 [!__ASSUME_32BITUIDS]: Remove conditional code.
8273 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8274 <kernel-features.h>.
8275 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8276 unconditional.
8277 (__setresuid): Do not declare.
8278 [__ASSUME_32BITUIDS]: Make code unconditional.
8279 [!__ASSUME_32BITUIDS]: Remove conditional code.
8280 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8281 <kernel-features.h>.
8282 [__ASSUME_32BITUIDS]: Make code unconditional.
8283 [!__ASSUME_32BITUIDS]: Remove conditional code.
8284 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8285 <kernel-features.h>.
8286 [__ASSUME_32BITUIDS]: Make code unconditional.
8287 [!__ASSUME_32BITUIDS]: Remove conditional code.
8288
a386f1cc
RH
82892012-05-25 Richard Henderson <rth@twiddle.net>
8290
8291 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8292 dl_hwcap to ifunc resolver.
8293 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8294 elf_ifunc_invoke.
8295 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8296 dl_hwcap to ifunc resolver.
8297 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8298
b6550497
JM
82992012-05-24 Joseph Myers <joseph@codesourcery.com>
8300
8301 [BZ #14153]
8302 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8303 for |x| <= 2**-26, not 2**-57.
8304 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8305 exception.
8306
b0bc23a1
JL
83072012-05-24 Jeff Law <law@redhat.com>
8308
8309 * stdio-common/Makefile (tests): Add bug25.
8310 * stdio-common/bug25.c: New test.
8311
347c92e9
L
83122012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8313
8314 [BZ #13576]
8315 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8316 multiple of MALLOC_ALIGNMENT in size.
8317 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8318
6bcc8b3f
JM
83192012-05-24 Joseph Myers <joseph@codesourcery.com>
8320
8321 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8322 Require >= 256.
8323 (FILENAME_MAX): Use macro-int-constant.
8324 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8325 (_IOFBF): Use macro-int-constant.
8326 (_IOLBF): Likewise.
8327 (_IONBF): Likewise.
8328 (SEEK_CUR): Likewise.
8329 (SEEK_END): Likewise.
8330 (SEEK_SET): Likewise.
8331 (TMP_MAX): Likewise.
8332 (EOF): Use macro-int-constant. Require < 0.
8333 (NULL): Use macro-constant. Require == 0.
8334 (stdin): Require type to be FILE *.
8335 (stdout): Likewise.
8336 (stderr): Likewise.
8337 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8338 macro-int-constant.
8339 (EXIT_SUCCESS): Likewise.
8340 (NULL): Use macro-constant. Require == 0.
8341 (RAND_MAX): Use macro-int-constant.
8342 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8343 [C99-based standards] (strtof): Require function.
8344 [C99-based standards] (strtold): Likewise.
8345 [C99-based standards] (strtoll): Likewise.
8346 [C99-based standards] (strtoull): Likewise.
8347 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8348 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8349 [ISO || ISO99 || ISO11] (math.h): Likewise.
8350 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8351 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8352 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8353
d18ea0c5
AS
83542012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8355
8356 [BZ #14132]
56d25bb8
AS
8357 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8358 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8359 * intl/dgettext.c (DCGETTEXT): Likewise.
8360 * intl/gettext.c (DCGETTEXT): Likewise.
8361 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8362 * posix/regex_internal.h (gettext): Likewise.
8363 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8364 Remove declaration.
8365 * include/argz.h (__argz_count_internal)
8366 (__argz_stringify_internal): Remove declaration.
8367 (__argz_count, __argz_stringify): Declare hidden proto.
8368 * intl/dcgettext.c: Remove use of INTDEF.
8369 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8370 * string/argz-stringify.c: Likewise.
8371 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8372 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8373 Declare hidden proto.
d18ea0c5
AS
8374 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8375 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8376 Declare hidden proto.
8377 * include/stdio.h (__asprintf_internal): Don't declare.
8378 (__asprintf): Don't define as macro. Declare hidden proto.
8379 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8380 (__fsetlocking): Declare hidden proto.
8381 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8382 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8383 hidden proto.
8384 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8385 (_IO_setlinebuf): Remove use of INTUSE.
8386 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8387 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8388 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8389 Remove declaration.
8390 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8391 (_IO_do_flush): Remove use of INTUSE.
8392 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8393 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8394 (_IO_adjust_column, _IO_least_wmarker)
8395 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8396 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8397 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8398 (_IO_default_doallocate, _IO_wdefault_doallocate)
8399 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8400 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8401 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8402 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8403 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8404 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8405 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8406 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8407 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8408 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8409 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8410 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8411 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8412 proto.
8413 (_IO_flush_all_internal, _IO_adjust_column_internal)
8414 (_IO_default_uflow_internal, _IO_default_finish_internal)
8415 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8416 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8417 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8418 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8419 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8420 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8421 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8422 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8423 (_IO_file_close_internal, _IO_file_close_it_internal)
8424 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8425 (_IO_file_init_internal, _IO_file_attach_internal)
8426 (_IO_file_fopen_internal, _IO_file_read_internal)
8427 (_IO_file_sync_internal, _IO_file_seek_internal)
8428 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8429 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8430 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8431 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8432 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8433 (_IO_list_all_internal, _IO_link_in_internal)
8434 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8435 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8436 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8437 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8438 (_IO_do_write_internal, _IO_padn_internal)
8439 (_IO_getline_info_internal, _IO_getline_internal)
8440 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8441 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8442 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8443 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8444 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8445 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8446 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8447 with libc_hidden_ver, remove use of INTUSE.
8448 * libio/genops.c: Likewise.
8449 * libio/freopen.c: Likewise.
8450 * libio/freopen64.c: Likewise.
8451 * libio/iofclose.c: Likewise.
8452 * libio/iofdopen.c: Likewise.
8453 * libio/iofflush.c: Likewise.
8454 * libio/iofflush_u.c: Likewise.
8455 * libio/iofgets.c: Likewise.
8456 * libio/iofgets_u.c: Likewise.
8457 * libio/iofopen.c: Likewise.
8458 * libio/iofopncook.c: Likewise.
8459 * libio/iofread.c: Likewise.
8460 * libio/iofread_u.c: Likewise.
8461 * libio/ioftell.c: Likewise.
8462 * libio/iofwrite.c: Likewise.
8463 * libio/iogetline.c: Likewise.
8464 * libio/iogets.c: Likewise.
8465 * libio/iogetwline.c: Likewise.
8466 * libio/iopadn.c: Likewise.
8467 * libio/iopopen.c: Likewise.
8468 * libio/ioseekoff.c: Likewise.
8469 * libio/ioseekpos.c: Likewise.
8470 * libio/iosetbuffer.c: Likewise.
8471 * libio/iosetvbuf.c: Likewise.
8472 * libio/ioungetc.c: Likewise.
8473 * libio/ioungetwc.c: Likewise.
8474 * libio/iovdprintf.c: Likewise.
8475 * libio/iovsprintf.c: Likewise.
8476 * libio/iovsscanf.c: Likewise.
8477 * libio/memstream.c: Likewise.
8478 * libio/obprintf.c: Likewise.
8479 * libio/oldfileops.c: Likewise.
8480 * libio/oldiofclose.c: Likewise.
8481 * libio/oldiofdopen.c: Likewise.
8482 * libio/oldiofopen.c: Likewise.
8483 * libio/oldiopopen.c: Likewise.
8484 * libio/oldstdfiles.c: Likewise.
8485 * libio/putc.c: Likewise.
8486 * libio/setbuf.c: Likewise.
8487 * libio/setlinebuf.c: Likewise.
8488 * libio/stdfiles.c: Likewise.
8489 * libio/strops.c: Likewise.
8490 * libio/vasprintf.c: Likewise.
8491 * libio/vscanf.c: Likewise.
8492 * libio/vsnprintf.c: Likewise.
8493 * libio/vswprintf.c: Likewise.
8494 * libio/wfiledoalloc.c: Likewise.
8495 * libio/wfileops.c: Likewise.
8496 * libio/wgenops.c: Likewise.
8497 * libio/wmemstream.c: Likewise.
8498 * libio/wstrops.c: Likewise.
8499 * libio/__fpurge.c: Likewise.
8500 * libio/__fsetlocking.c: Likewise.
8501 * assert/assert.c: Likewise.
8502 * debug/fgets_chk.c: Likewise.
8503 * debug/fgets_u_chk.c: Likewise.
8504 * debug/fread_chk.c: Likewise.
8505 * debug/fread_u_chk.c: Likewise.
8506 * debug/gets_chk.c: Likewise.
8507 * debug/obprintf_chk.c: Likewise.
8508 * debug/vasprintf_chk.c: Likewise.
8509 * debug/vdprintf_chk.c: Likewise.
8510 * debug/vsnprintf_chk.c: Likewise.
8511 * debug/vsprintf_chk.c: Likewise.
8512 * malloc/mtrace.c: Likewise.
8513 * misc/error.c: Likewise.
8514 * misc/syslog.c: Likewise.
8515 * stdio-common/asprintf.c: Likewise.
8516 * stdio-common/fxprintf.c: Likewise.
8517 * stdio-common/getw.c: Likewise.
8518 * stdio-common/isoc99_fscanf.c: Likewise.
8519 * stdio-common/isoc99_scanf.c: Likewise.
8520 * stdio-common/isoc99_vfscanf.c: Likewise.
8521 * stdio-common/isoc99_vscanf.c: Likewise.
8522 * stdio-common/isoc99_vsscanf.c: Likewise.
8523 * stdio-common/printf-prs.c: Likewise.
8524 * stdio-common/printf_fp.c: Likewise.
8525 * stdio-common/printf_fphex.c: Likewise.
8526 * stdio-common/printf_size.c: Likewise.
8527 * stdio-common/putw.c: Likewise.
8528 * stdio-common/scanf.c: Likewise.
8529 * stdio-common/sprintf.c: Likewise.
8530 * stdio-common/tmpfile.c: Likewise.
8531 * stdio-common/vfprintf.c: Likewise.
8532 * stdio-common/vfscanf.c: Likewise.
8533 * stdlib/strfmon_l.c: Likewise.
8534 * sunrpc/openchild.c: Likewise.
8535 * sunrpc/xdr_stdio.c: Likewise.
8536 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8537 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8538
d6c33fda
RM
85392012-05-24 Roland McGrath <roland@hack.frob.com>
8540
c1487492
RM
8541 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8542
8543 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8544 in the third column, to generate for the shared library an IFUNC
8545 that uses _dl_vdso_vsym.
8546 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8547 * Makeconfig (object-suffixes-noshared): New variable.
8548
8549 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8550 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8551 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8552 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8553
d6c33fda
RM
8554 [BZ #14132]
8555 * include/sys/time.h (__gettimeofday): Remove macro.
8556 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8557 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8558 Remove INTDEF.
8559 (__gettimeofday): Add libc_hidden_def.
8560 (gettimeofday): Add libc_hidden_weak.
8561 * sysdeps/mach/gettimeofday.c: Likewise.
8562 * sysdeps/posix/gettimeofday.c: Likewise.
8563 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8564 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8565 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8566 (__gettimeofday_internal): Remove strong_alias.
8567 (__gettimeofday): Add libc_hidden_def.
8568 (gettimeofday): Add libc_hidden_weak.
8569 * sysdeps/unix/syscalls.list (gettimeofday):
8570 Remove __gettimeofday_internal alias.
8571
b5a2bbe6
L
85722012-05-24 Daniel Jacobowitz <drow@false.org>
8573 H.J. Lu <hongjiu.lu@intel.com>
8574
8575 [BZ #12495]
8576 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8577 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8578 (largebin_index_32_big): New.
8579 (largebin_index): Use it for 16-byte alignment.
8580 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8581 correction with front_misalign.
8582
cfba4fda
L
85832012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8584
7f907421
L
8585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8587 Likewise.
8588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8589 Likewise.
8590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8591 Likewise.
8592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8593 Likewise.
8594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8595 Likewise.
8596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8597 Likewise.
8598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8599 Likewise.
8600 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8601 Likewise.
8602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8603 Likewise.
8604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8605 Likewise.
8606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8607 Likewise.
8608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8609 Likewise.
8610
cfba4fda
L
8611 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8612 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8613
80bad0cc
JM
86142012-05-24 Joseph Myers <joseph@codesourcery.com>
8615
7a25eb06
JM
8616 [BZ #10846]
8617 [BZ #14036]
8618 * math/libm-test.inc (exp_test): Add test from bug 14036.
8619 (pow_test): Add test from bug 10846.
8620
795405f9
JM
8621 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8622 and other flags.
8623 (special_function): Do not include flags in test name.
8624 (parse_args): Likewise.
8625 * sysdeps/i386/fpu/libm-test-ulps: Update.
8626 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8627 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8628 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8630
80bad0cc
JM
8631 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8632 exceptions.
8633 * math/libm-test.inc ("Philosophy"): Update comment about
8634 exception testing.
8635 (UNDERFLOW_EXCEPTION): New macro.
8636 (UNDERFLOW_EXCEPTION_OK): Likewise.
8637 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8638 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8639 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8640 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8641 (INVALID_EXCEPTION_OK): Update value.
8642 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8643 (OVERFLOW_EXCEPTION_OK): Likewise.
8644 (IGNORE_ZERO_INF_SIGN): Likewise.
8645 (test_exceptions): Handle underflow exceptions.
8646 (acos_test): Update for underflow exception expectations.
8647 (cexp_test): Likewise.
8648 (clog_test): Likewise.
8649 (clog10_test): Likewise.
8650 (csqrt_test): Likewise.
8651 (ctan_test): Likewise.
8652 (ctanh_test): Likewise.
8653 (exp_test): Likewise.
8654 (exp10_test): Likewise.
8655 (exp2_test): Likewise.
8656 (expm1_test): Likewise.
8657 (fma_test): Likewise.
8658 (j0_test): Likewise.
8659 (jn_test): Likewise.
8660 (nexttoward_test): Likewise.
8661 (pow_test): Likewise.
8662 (scalbn_test): Likewise.
8663 (scalbln_test): Likewise.
8664 (tan_test): Likewise.
8665 (y1_test): Likewise.
8666 * sysdeps/i386/fpu/libm-test-ulps: Update.
8667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8668
9e0e3d0b
DM
86692012-05-23 David S. Miller <davem@davemloft.net>
8670
8671 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8672 (__libc_sigaction): Remove unused local variables.
8673
ccd0a08f
L
86742012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8675
8676 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8677
62bdf9a6
PE
86782012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8679
f8591f80
PE
8680 mktime: avoid signed integer overflow
8681 * time/mktime.c (__mktime_internal): Do not mishandle the case
8682 where diff == INT_MIN.
8683
94c7d826
PE
8684 mktime: simplify computation of average
8685 * time/mktime.c (ranged_convert): Use new time_t_avg function
8686 instead of rolling our own (probably-slower) code.
8687
ce73d683
PE
8688 mktime: do not assume signed right shift propagates sign bit
8689 * time/mktime.c (isdst_differ): New static function.
8690 (__mktime_internal): No need to normalize tm_isdst now.
8691 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8692 tm_isdst values.
8693
72a22e59
PE
8694 mktime: merge another wrapv change from gnulib
8695 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8696 from some compilers.
8697
68605433
PE
8698 mktime: remove incorrect attempt at unusual arithmetics
8699 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8700 The code didn't really work on such machines anyway.
8701 (TYPE_MINIMUM): Assume two's complement.
8702 (twos_complement_arithmetic): Verify that long_int and time_t
8703 are two's complement (or unsigned, in the latter case).
8704
03cf7fe3
PE
8705 mktime: check signed shifts on long_int and time_t, too
8706 * time/mktime.c (SHR): Check that shifts work as desired
8707 on the types long_int and time_t too, as SHR is used on
8708 such types.
8709
f04dfbc2
PE
8710 mktime: do not assume 'long' is wide enough
8711 * time/mktime.c (verify): Move decl up.
8712 (long_int): New type.
8713 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8714 to remove assumption in the code that 'long' is wide enough to
8715 store year values. This assumption is not true on x32 and on
8716 some non-glibc platforms.
8717
62bdf9a6
PE
8718 mktime: merge wrapv change from gnulib
8719 * time/mktime.c (WRAPV): New macro.
8720 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8721 (guess_time_tm, __mktime_internal): Do not assume that signed
8722 integer overflow wraps around; modern compilers generate code
8723 where this assumption is no longer valid.
8724
5e292e4f
L
87252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8726
8727 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8728 Replace "jmp L(pseudo_end)" with "ret".
8729 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8730 Likewise.
8731
8caf8c87
AJ
87322012-05-23 Andreas Jaeger <aj@suse.de>
8733
8734 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8735 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8736
1a09dc56
AJ
87372012-05-23 Andreas Jaeger <aj@suse.de>
8738 Maximilian Attems <max@stro.at>
8739
8740 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8741 New macros.
8742
1c87aba0
L
87432012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8744
8745 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8746 code so that pseudo_end is just ret and the stack pointer is
8747 correct also for static library in error case.
8748
40e45bd5
JM
87492012-05-23 Joseph Myers <joseph@codesourcery.com>
8750
c2670533
JM
8751 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8752 move to syscalls.list.
8753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8757
40e45bd5
JM
8758 * manual/install.texi (Running make install): Do not mention Linux
8759 kernel version for which pt_chown is not needed.
8760 (Linux): Do not mention problems with nscd with 2.0 kernels.
8761 * INSTALL: Regenerated.
8762
be08eda5
AJ
87632012-05-23 Andreas Jaeger <aj@suse.de>
8764
8765 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8766 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8767 macro.
8768 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8769 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8770 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8771 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8772 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8773 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8774 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8775 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8776 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8777 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8778 * sysdeps/unix/sysv/linux/bits/in.h
8779 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8780
a6a056bb
RM
87812012-05-22 Roland McGrath <roland@hack.frob.com>
8782
8783 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8784 (PREPARE_VERSION): Just use assert instead, it will be elided
8785 under [NDEBUG] anyway.
8786
c9009328
L
87872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8788
8789 * sysdeps/unix/sysv/linux/Makefile: Include
8790 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8791 (sysdep_routines): Remove sysctl.
c9009328
L
8792 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8793 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8794 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8795 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8796 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8797
73338355
AJ
87982012-05-22 Andreas Jaeger <aj@suse.de>
8799
8800 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8801 that pseudo_end is just ret and the stack pointer is correct also
8802 for static library in error case.
8803
d44638b0
PP
88042012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8805
8806 [BZ #14122]
8807 * nss/nsswitch.c (defconfig_entries): New variable.
8808 (__nss_database_lookup): Don't leak defconfig entries.
8809 (nss_parse_service_list): Don't leak on error paths.
8810 (free_database_entries): New function.
8811 (free_defconfig): New function.
8812 (free_mem): Move common code to free_database_entries.
8813
31a39bd8
L
88142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8815
da0331a8
L
8816 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8817 Add arch_prctl.
8818 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8819
31a39bd8
L
8820 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8821 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8822 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8823 New macro.
8824 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8825 (INTERNAL_SYSCALL_TYPES): Likewise.
8826 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8827 (LOAD_REGS_TYPES_[1-6]): Likewise.
8828 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8829 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8830
45470df3
AZ
88312012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8832
8833 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8834 copysignl for GLIBC_2_0.
8835 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8836 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8837 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8838 logbl for GLIBC_2_0.
8839 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8840 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8841
98a61bcb
L
88422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8843
a4f6e481
L
8844 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8845 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8846
f63d5db6
L
8847 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8848 Use "neg %eax".
8849
98a61bcb
L
8850 * time/mktime.c: Update copyright years.
8851
95770f14
PE
88522012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8853
6226efbd
PE
8854 mktime: merge comment-quoting-style change from gnulib
8855 * time/mktime.c: Quote 'like this' in comments.
8856 The GNU coding standards suggest that we no longer quote `like this',
8857 as "`" and "'" are typically rendered asymmetrically nowadays.
8858 The typical gnulib style is to quote 'like this' when quoting
8859 code, and "like this" when quoting English.
8860
b99e4f78
PE
8861 * time/mktime.c (compile-command): Add "-I.".
8862
643e01e6
PE
8863 mktime: merge mktime-internal.h change from gnulib
8864 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8865
2554247d
PE
8866 mktime: merge time_r change from gnulib
8867 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8868
826dd0ab
PE
8869 mktime: merge DEBUG change from gnulib
8870 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8871 case system <time.h> has a #define.
8872
bd83aabe
PE
8873 mktime: merge <sys/types.h> change from gnulib
8874 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8875 since <time.t> is now guaranteed to define time_t.
8876
95770f14
PE
8877 mktime: merge HAVE_CONFIG_H change from gnulib
8878 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8879
5e1a27a9
L
88802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8881
0e44a77e
L
8882 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8883 Use "neg %eax".
8884
5e1a27a9
L
8885 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8886 __rlim_t cast.
8887 (struct rusage): Use anonymous union to pad each field to
8888 __syscall_slong_t.
8889
46259bec
DM
88902012-05-21 David S. Miller <davem@davemloft.net>
8891
8892 * Makefules (o-iterator): Remove .s cases.
8893 (compile-command.s): Delete.
8894 (COMPILE.s): Delete.
8895 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8896
59f0c22e
JM
88972012-05-21 Joseph Myers <joseph@codesourcery.com>
8898
8899 * configure.in (libc_cv_predef_stack_protector): Only consider
8900 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8901 * configure: Regenerated.
8902
20c07380
L
89032012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8904
bbb3154b
L
8905 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8906 New macro. Use R*LP on int and pointer.
8907 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8908 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8909 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8910 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8911
20c07380
L
8912 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8913 [__WORDSIZE_TIME64_COMPAT32] instead of
8914 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8915 (struct utmp): Likewise.
8916 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8917 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8918 Renamed to ...
8919 (__WORDSIZE_TIME64_COMPAT32): This.
8920 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8921 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8922 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8923 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8924 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8925 (__WORDSIZE_TIME64_COMPAT32): New macro.
8926
d8d1017e
AJ
89272012-05-21 Andreas Jaeger <aj@suse.de>
8928
8929 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8930 only if [SHARED]. Add prototype for __wcschr_ia32.
8931
6c7fb145
RM
89322012-05-21 Roland McGrath <roland@hack.frob.com>
8933
8934 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8935 of %rbp unmolested in the jmp_buf while mangling the low bits.
8936 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8937 unmolested high bits of %rbp while demangling the low bits.
8938 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8939
66274218
AJ
89402012-05-21 Andreas Jaeger <aj@suse.de>
8941
07c58f8f
AJ
8942 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8943 * sunrpc/svc_simple.c: Use it for registerrpc.
8944 * sunrpc/xcrypt.c: Use it for passwd2des.
8945
66274218
AJ
8946 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8947
61f65140
L
89482012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8949
8950 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8951 Don't define if [__SYSCALL_WORDSIZE != 32].
8952 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8953 New macro.
8954
5fefb436
AJ
89552012-05-21 Bruno Haible <bruno@clisp.org>
8956 Andreas Jaeger <aj@suse.de>
8957
8958 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8959 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8960 inptr and inend for must_buffer_ch.
8961 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8962 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8963 * stdio-common/Makefile (tests): Remove bug15.
8964 (bug15-ENV): Remove macro.
8965 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8966 anymore.
8967
d8e272ab
AJ
89682012-05-19 Andreas Jaeger <aj@suse.de>
8969 Roland McGrath <roland@hack.frob.com>
8970
8971 * manual/contrib.texi: Completely rewritten. It contains now an
8972 alphabetical list of contributors and their contributions.
8973
4a56a162
RH
89742012-05-21 Richard Henderson <rth@twiddle.net>
8975
8976 * misc/getauxval.c (__getauxval): Use unsigned long int.
8977 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8978 (getauxval): Use unsigned long int.
8979
d024d23c
L
89802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8981
8982 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8983
cbc00a03
RM
89842012-05-21 Roland McGrath <roland@hack.frob.com>
8985
8986 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8987 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8988 __alignof__ (long double).
8989
478143fa
AZ
89902012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8991
8992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8993
c7683a6d
RH
89942012-05-20 Richard Henderson <rth@twiddle.net>
8995
8996 * misc/getauxval.c: New file.
8997 * misc/sys/auxv.h: New file.
8998 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8999 (routines): Add getauxval.
9000 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9001 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9002 * elf/dl-sysdep.c (_dl_auxv): Remove.
9003 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9004 * elf/dl-support.c (_dl_auxv): New variable.
9005 (_dl_aux_init): Initialize it.
9006 * manual/startup.texi (Auxiliary Vector): New node.
9007 * sysdeps/generic/bits/hwcap.h: New file.
9008 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9009 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9010 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9011 * sysdeps/sparc/sysdep.h: ... here. Include it.
9012 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9013 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
9014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9015 Update.
c7683a6d
RH
9016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9019 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9024
a6f1845d
AZ
90252012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9026
9027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9028
cbcbe830
DM
90292012-05-19 David S. Miller <davem@davemloft.net>
9030
9031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9032
e0b16cc2
JM
90332012-05-19 Joseph Myers <joseph@codesourcery.com>
9034
9035 [BZ #14123]
9036 * math/s_ccosh.c: Include <float.h>
9037 (__ccosh): Avoid internal overflow calculating sinh and cosh
9038 values before multiplying by sin and cos values.
9039 * math/s_ccoshf.c: Likewise.
9040 * math/s_ccoshl.c: Likewise.
9041 * math/s_csin.c: Likewise.
9042 * math/s_csinf.c: Likewise.
9043 * math/s_csinl.c: Likewise.
9044 * math/s_csinh.c: Likewise.
9045 * math/s_csinhf.c: Likewise.
9046 * math/s_csinhl.c: Likewise.
9047 * math/libm-test.inc (ccos_test): Add more tests.
9048 (ccosh_test): Likewise.
9049 (csin_test): Likewise.
9050 (csinh_test): Likewise.
9051 * sysdeps/i386/fpu/libm-test-ulps: Update.
9052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9053
6ad13e08
L
90542012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9055
f66f0ce8
L
9056 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9057 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9058
6ad13e08
L
9059 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9060
b1d072a7
JM
90612012-05-19 Joseph Myers <joseph@codesourcery.com>
9062
9063 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9064 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9065 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9066 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9067 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9068 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9069 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9070 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9071 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9072 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9073 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9074 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9075 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9076 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9077 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9078 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9079 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9080 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9081 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9082 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9083 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9084 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9085 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9086 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9087 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9088 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9089 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9090 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9091 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9092 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9093 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9094
9eae47cb
AJ
90952012-05-18 Andreas Jaeger <aj@suse.de>
9096
9097 * csu/.gitignore: Delete.
9098
bb07f69f
L
90992012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9100
9101 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9102 (timex): Use __syscall_slong_t.
9103
e6bdb741
AJ
91042012-05-18 Andreas Jaeger <aj@suse.de>
9105 Carlos O'Donell <carlos_odonell@mentor.com>
9106
9107 * manual/install.texi (Configuring and compiling): Update
9108 description about files modified in the source directory.
d6c33fda 9109 * INSTALL: Regenerated.
e6bdb741 9110
1b74487e
L
91112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9112
9113 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9114 value. Use "or" to set return value to -1.
9115 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9116 negate return value.
9117
a88b64b9
TMQMF
91182012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9119
9120 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9121 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9122 failure if the compiler has Graphite support disabled.
9123 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9124 Likewise.
9125 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9126 CFLAGS-memmove.c): Likewise.
9127 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9128 Likewise.
9129
3707636e
L
91302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9131
610b8622
L
9132 * sysdeps/x86_64/x32/_itoa.h: New file.
9133
7cd195df
L
9134 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9135 getdents system call only if kernel and user dirents have the
9136 same d_ino and d_off.
9137
94b07d20
L
9138 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9139 LLONG_MAX != LONG_MAX.
9140 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9141 (_fitoa_word): Likewise.
9142
18298070
L
9143 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9144 years.
9145 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9146 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9147 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9148
553c7ea4
L
9149 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9150 include <bits/wordsize.h>. Check __x86_64__ instead of
9151 __WORDSIZE.
9152 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9153 if __x86_64__ is defined. Use anonymous union on fpstate.
9154
3707636e
L
9155 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9156 anonymous union.
9157
b53ef01a
AS
91582012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9159
37fb1dc0
AS
9160 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9161 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9162 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9163 Refer to _rtld_local_ro instead of _rtld_global_ro.
9164 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9165 Likewise.
9166 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9167 Likewise.
9168 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9169 Likewise.
9170 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9171 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9172 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9173
b53ef01a
AS
9174 * sysdeps/powerpc/powerpc32/dl-machine.c
9175 (__elf_machine_runtime_setup) [PROF]: Don't reference
9176 _dl_prof_resolve.
9177
7a185db2
AJ
91782012-05-18 Andreas Jaeger <aj@suse.de>
9179
9180 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9181 function only available for GCCs before 3.4 since GCC 3.4
9182 introduced a builtin.
9183 (lrint): Likewise.
9184 (llrintf): Likewise.
9185 (llrint): Likewise.
9186 (fmaxf): Likewise.
9187 (fmax): Likewise.
9188 (fminf): Likewise.
9189 (fmin): Likewise.
9190 (rint): Likewise.
9191 (rintf): Likewise.
9192 (nearbyint): Likewise.
9193 (nearbyintf): Likewise.
9194 (ceil): Likewise.
9195 (ceilf): Likewise.
9196 (floor): Likewise.
9197 (floorf): Likewise.
9198
3e5aef87
L
91992012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9200
428bd707
L
9201 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9202 on both fields and cast pointer to __syscall_ulong_t.
9203
3e5aef87
L
9204 * bits/types.h (__fsword_t): New type.
9205 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9206 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9207 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9208 (__FSWORD_T_TYPE): Likewise.
9209 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9210 (__FSWORD_T_TYPE): Likewise.
9211 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9212 (__FSWORD_T_TYPE): Likewise.
9213 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9214 (__FSWORD_T_TYPE): Likewise.
9215 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9216 __SWORD_TYPE with __fsword_t.
9217 (statfs64): Likewise.
9218
1ba7c3dc
DM
92192012-05-17 David S. Miller <davem@davemloft.net>
9220
9221 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9222
59910343
AJ
92232012-05-17 Andreas Jaeger <aj@suse.de>
9224
9225 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9226 warning.
9227
2e4c1e9e
L
92282012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9229
9230 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9231
de7f5ce7
AJ
92322012-05-17 Andreas Jaeger <aj@suse.de>
9233
9234 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9235 when it is used.
9236
286abc3d
CM
92372012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9238
9239 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9240
477cc68e
L
92412012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9242
9243 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9244 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9245
1a0994f5
CD
92462012-05-17 Andreas Jaeger <aj@suse.de>
9247 Carlos O'Donell <carlos_odonell@mentor.com>
9248
9249 [BZ #14059]
9250 * sysdeps/x86_64/multiarch/init-arch.h
9251 (bit_YMM_Usable): Rename to...
9252 (bit_AVX_Usable): ... this.
9253 (bit_FMA4_Usable): New macro.
9254 (bit_XMM_state): New macro.
9255 (bit_YMM_state): New macro.
9256 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9257 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9258 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9259 (CPUID_OSXSAVE): New macro.
9260 (CPUID_AVX): New macro.
9261 (CPUID_FMA4): New macro.
9262 (index_YMM_Usable): Rename to...
9263 (index_AVX_Usable): ... this.
9264 (HAS_AVX): Use HAS_ARCH_FEATURE.
9265 (HAS_FMA4): Likewise.
9266 (HAS_YMM_USABLE): Remove.
9267 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9268 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9269 are present.
9270 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9271 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9272 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9273 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9274 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9275
0af797de
CM
92762012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9277
9278 * math/libm-test.c: Support platforms without multiple rounding modes.
9279 * math/bug-nextafter.c: Support platforms without FP exceptions.
9280 * math/bug-nexttoward.c: Likewise.
9281 * math/test-fenv.c: Likewise.
9282 * math/test-misc.c: Likewise.
9283 * stdlib/bug-getcontext.c: Likewise.
9284
e39745ff
AJ
92852012-05-17 Andreas Jaeger <aj@suse.de>
9286
9287 * manual/examples/search.c (critter_cmp): Change signature to
9288 avoid warnings.
9289 * manual/string.texi (Collation Functions): Likewise.
9290
48970aba
L
92912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9292
9293 * bits/types.h: Fold copyright years.
9294 * bits/typesizes.h: Likewise.
9295 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9296 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9297 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9298 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9299 * time/time.h: Likewise.
9300
bedee953
PP
93012012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9302
9303 [BZ #208]
9304 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9305 in instead of returning them. Return void.
9306 (__libc_mallinfo): Accumulate over all arenas.
9307 (__malloc_stats): Adjust for change in int_mallinfo interface.
9308
61653dfb
RM
93092012-05-16 Roland McGrath <roland@hack.frob.com>
9310
30b99d79
RM
9311 [BZ #10375]
9312 * configure.in (NM): Add AC_CHECK_TOOL for it.
9313 (libc_extra_cflags): New substituted variable.
9314 Check for -fstack-protector being used implicitly.
9315 * configure: Regenerated.
9316 * config.make.in (config-extra-cflags): New variable,
9317 gets @libc_extra_cflags@.
9318 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9319
61653dfb
RM
9320 [BZ #10375]
9321 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9322 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9323 * configure: Regenerated.
9324 * config.make.in (CPPUNDEFS): New substituted variable.
9325 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9326 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9327 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9328
661768bb
L
93292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9330
9331 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9332 (mq_attr): Use __syscall_slong_t.
9333
d4261567
L
93342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9335
9336 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9337 Check __x86_64__ instead of __WORDSIZE.
9338 (_STAT_VER_LINUX): Likewise.
9339 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9340 __syscall_ulong_t and __syscall_slong_t.
9341 (stat64): Likewise.
9342
cf3ff365
L
93432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9344
9345 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9346
76cf3e4d
L
93472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9348
9349 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9350
a637753a
L
93512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9352
9353 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9354 __syscall_ulong_t.
9355
d5e05119
L
9356 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9357 include <bits/wordsize.h>. Check __x86_64__ instead of
9358 __WORDSIZE.
9359 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9360 defined.
9361 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9362
f62ee380
L
9363 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9364 include <bits/wordsize.h>. Check __x86_64__ instead of
9365 __WORDSIZE.
9366 (user_regs_struct): Use "__extension__ unsigned long long"
9367 instead of "unsigned long" if __x86_64__ is defined.
9368 (user): Likewise. Pad after pointer field if __ILP32__ is
9369 defined.
9370
4e124ced
JM
93712012-05-16 Joseph Myers <joseph@codesourcery.com>
9372
6a3951a0
JM
9373 * configure.in (makeinfo): Require version 4.5 or later. Allow
9374 versions 5 to 9.
9375 * configure: Regenerated.
9376 * manual/install.texi (texinfo): Increase version requirement to
9377 4.5 or later.
9378 * INSTALL: Regenerated.
9379
4e124ced
JM
9380 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9381
953ca31a
L
93822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9383
9384 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9385
617aca05
L
9386 * sysdeps/x86_64/x32/ffs.c: New file.
9387
5762f7ae
L
9388 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9389 __syscall_ulong_t.
9390 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9391 defined. Use __syscall_ulong_t.
9392 (shminfo): Use __syscall_ulong_t.
9393 (shm_info): Likewise.
9394
a26b6856
L
9395 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9396 __syscall_ulong_t.
9397
cb2b9ef7
L
9398 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9399 <bits/wordsize.h>.
9400 (msgqnum_t): Use __syscall_ulong_t.
9401 (msglen_t): Likewise.
9402 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9403 __syscall_ulong_t.
9404
34683bb0
L
9405 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9406 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9407
84a68786
L
9408 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9409
48baa5f1
L
9410 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9411 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9412
180be88b
L
9413 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9414 __syscall_slong_t.
9415
5e90c8ad
L
9416 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9417 include <bits/wordsize.h>. Check __x86_64__ instead of
9418 __WORDSIZE.
9419
23dfb58b
L
9420 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9421 "unsigned long long int" if __x86_64__ is defined.
9422 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9423
ce5d54b0
L
9424 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9425 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9426 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9427
13dc9eac
L
9428 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9429 <stdint.h>.
9430 (GET_PC): Cast to uintptr_t first.
9431 (GET_FRAME): Likewise.
9432 (GET_STACK): Likewise.
9433
a7895d15
L
9434 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9435 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9436 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9437 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9438 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9439 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9440 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9441 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9442 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9443 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9444 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9445 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9446 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9447 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9448 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9449 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9450 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9451 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9452 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9453 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9454 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9455 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9456 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9457 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9458 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9459 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9460 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9461 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9462 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9463
656416c9
AS
94642012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9465
5bd66283
AS
9466 * Makerules (+depfiles): Also collect depfiles from .oS in
9467 $(extra-objs).
9468 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9469 .oS, $(libnldbl-routines)).
9470
656416c9
AS
9471 * Makerules (native-compile-mkdep-flags): Define.
9472 * sunrpc/Makefile (extra-objs): Add $(addprefix
9473 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9474 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9475 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9476 calling $(make-target-directory).
9477
a46f2169
L
94782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9479
9480 * bits/types.h (__snseconds_t): Removed.
9481 * time/time.h (struct timespec): Replace __snseconds_t with
9482 __syscall_slong_t.
9483 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9484 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9485 Likewise.
9486 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9487 (__SNSECONDS_T_TYPE): Likewise.
9488 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9489 (__SNSECONDS_T_TYPE): Likewise.
9490 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9491 (__SNSECONDS_T_TYPE): Likewise.
9492
6af6528b
L
94932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9494
9495 * sysdeps/mach/hurd/bits/typesizes.h
9496 (__SYSCALL_SLONG_TYPE): New macro.
9497 (__SYSCALL_ULONG_TYPE): Likewise.
9498
de986b56
L
94992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9500
9501 * bits/types.h (__syscall_slong_t): New type.
9502 (__syscall_ulong_t): Likewise.
9503
9504 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9505 (__SYSCALL_ULONG_TYPE): Likewise.
9506 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9507 (__SYSCALL_SLONG_TYPE): Likewise.
9508 (__SYSCALL_ULONG_TYPE): Likewise.
9509 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9510 (__SYSCALL_SLONG_TYPE): Likewise.
9511 (__SYSCALL_ULONG_TYPE): Likewise.
9512 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9513 (__SYSCALL_SLONG_TYPE): Likewise.
9514 (__SYSCALL_ULONG_TYPE): Likewise.
9515
85736dc7
L
95162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9517
9518 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9519 Add sigaltstack-offsets.sym.
9520 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9521 <sigaltstack-offsets.h>.
9522 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9523 longjmp_msg pointer.
9524 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9525 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9526 signal stack.
9527 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9528
cc03b296
JM
95292012-05-15 Joseph Myers <joseph@codesourcery.com>
9530
a9538892
JM
9531 * elf/stackguard-macros.h: Remove file.
9532 * sysdeps/generic/stackguard-macros.h: New file.
9533 * sysdeps/i386/stackguard-macros.h: Likewise.
9534 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9535 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9536 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9537 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9538 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9539 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9540 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9541 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9542 <elf/stackguard-macros.h>.
9543
cc03b296
JM
9544 [BZ #14109]
9545 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9546 __aligned__ in attribute.
9547 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9548 (gregset_t): Likewise.
9549
93171016
L
95502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9551
9552 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9553 * sysdeps/x86_64/64/Implies-after: Here. New file.
9554 * sysdeps/x86_64/x32/Implies-after: New file.
9555
d86813a0
L
95562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9557
9558 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9559 and access return value for _dl_profile_fixup. Use R10_LP to
9560 load frame size.
9561
2953ec75
L
95622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9563
9564 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9565
3b550e9e
L
95662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9567
9568 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9569 * sysdeps/x86_64/x32/sysdep.h: New file.
9570
eda41706
L
95712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9572
9573 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9574 * sysdeps/x86_64/setjmp.S: Likewise.
9575
9ea01d93
AZ
95762012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9577
9578 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9579 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9580 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9581 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9582 remove unused global constant.
9583
02a91938
CM
95842012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9585
9586 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9587 include of <not-cancel.h>.
9588
6540185f
RM
95892012-05-15 Roland McGrath <roland@hack.frob.com>
9590
9591 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9592
509072a0
AJ
95932012-05-15 Jeff Law <law@redhat.com>
9594 Andreas Jaeger <aj@suse.de>
9595
9596 [BZ #13594]
9597 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9598 out from...
9599 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9600 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9601 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9602 code changing __hst_map_handle.map.
9603
ba75122d
RM
96042012-05-15 Roland McGrath <roland@hack.frob.com>
9605
9606 * configure.in (sysnames): Look for Implies-before and Implies-after
9607 files.
9608 * configure: Regenerated.
9609
890d8bd8
L
96102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9611
9612 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9613 8-byte data alignment with LP_SIZE alignment.
9614
f6ee6623
L
96152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9616
9617 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9618 into R10_LP.
9619
ea2626f6
L
96202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9621
9622 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9623
085f715e
L
96242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9625
9626 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9627 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9628 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9629 Likewise.
9630 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9631
be8498fc
L
96322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9633
9634 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9635 (stackinfo_sub_sp): Likewise.
9636
70bc83b9
L
96372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9638
9639 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9640 RAX_LP.
9641
9bc0b730
L
96422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9643
9644 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9645 into R*_LP.
9646
6d2850e7
L
96472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9648
9649 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9650 sizes into R*_LP.
9651
3cb84561
L
96522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9653
9654 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9655
54e2ed81
L
96562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9657
9658 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9659 into R11_LP and load __x86_64_shared_cache_size_half into
9660 R8_LP.
9661
8a17f349
L
96622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9663
9664 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9665 R8_LP.
9666
777b1eea
AZ
96672012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9668
9669 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9670 logb for POWER7.
9671 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9672 logbf for POWER7.
9673 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9674 logbl for POWER7.
9675 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9676 powerpc32/power7/fpu/s_logb.c via #include.
9677 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9678 powerpc32/power7/fpu/s_logbf.c via #include.
9679 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9680 powerpc32/power7/fpu/s_logbl.c via #include.
9681
d20d4ac2
JM
96822012-05-15 Joseph Myers <joseph@codesourcery.com>
9683
9684 * README.libm: Remove file.
9685
6cdef1ab
L
96862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9687
9688 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9689 count for x32. Use R*_LP and omit operand-size suffix.
9690
0b254d8f
L
96912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9692
9693 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9694 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9695 * sysdeps/x86_64/x32/shlib-versions: New file.
9696
ceb809dc
RM
96972012-05-14 Roland McGrath <roland@hack.frob.com>
9698
9699 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9700 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9701 Use _dl_fatal_printf instead.
9702
37f1abd4
JM
97032012-05-14 Joseph Myers <joseph@codesourcery.com>
9704
9705 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9706 set if not set by the user. Do not allow for being unset.
9707 * sysdeps/unix/sysv/linux/configure: Regenerated.
9708
11de3a33
L
97092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9710
9711 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9712 the `q' suffix from lea and replace .quad with ASM_ADDR.
9713
e02f153a
L
97142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9715
9716 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9717 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9718 instead of $17.
9719 (PTR_DEMANGLE): Likewise.
9720
520ae0fd
L
97212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9722
9723 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9724 (LP_OP): Likewise.
9725 (ASM_ADDR): Likewise.
9726 (RAX_LP): Likewise.
9727 (RBP_LP): Likewise.
9728 (RBX_LP): Likewise.
9729 (RCX_LP): Likewise.
9730 (RDI_LP): Likewise.
9731 (RSI_LP): Likewise.
9732 (RSP_LP): Likewise.
9733 (R8_LP): Likewise.
9734 (R9_LP): Likewise.
9735 (R10_LP): Likewise.
9736 (R10_LP): Likewise.
9737 (R11_LP): Likewise.
9738 (R12_LP): Likewise.
9739 (R13_LP): Likewise.
9740 (R14_LP): Likewise.
9741 (R15_LP): Likewise.
9742
b985be81
L
97432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9744
9745 * sysdeps/x86_64/x32/dl-machine.h: New file.
9746
6a4888ff
AJ
97472012-05-14 Andreas Jaeger <aj@suse.de>
9748
9749 * manual/Makefile (subdir): Remove export of subdir.
9750 (all): Remove target.
9751 (.PHONY): Remove all from list.
9752 (mkinstalldirs): Remove.
9753 (.PHONY): Remove installdirs from list.
9754 ($(inst_infodir)/libc.info): Use make-target-directory.
9755 (installdirs): Remove.
9756 (subdir_%): Remove.
9757 (glibc-targets): Remove.
9758 (lib): Remove.
9759 (stubs): Remove.
9760 ($(objpfx)stubs ../po/manual.pot): Remove.
9761 ($(objpfx)stamp%): Remove.
9762 (make-target-directory): Remove.
9763 (subdir_install): Remove.
9764 (routines): Remove.
9765 (aux): Remove.
9766 (sources): Remove.
9767 (objects): Remove.
9768 (headers): Remove.
9769
9770 [BZ #13750]
9771 * manual/.gitignore: Remove, it's not needed anymore.
9772 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9773 all files in it.
9774 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9775 directory.
9776 (texis): Renamed to $(objpfx)texis.
9777 (texis-path): New, contains path to generated files.
9778 (chapters.%): Use texis-path for complete path, add extra argument
9779 libc-texinfo.sh.
9780 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9781 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9782 (summary,texi, stamp-summary): Use complete path of
9783 files. Generate files in build dir.
9784 (dir-add.texi): Build in build dir.
9785 (libm-err.texi,stamp-libm-err): Likewise.
9786 (version.texi, stamp-version): Likewise.
9787 (.%c.texi): Likewise.
9788 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9789 (mostlyclean): Remove target.
9790 (realclean): Remove target.
9791 (generated): Add new variable with contents from mostlyclean and
9792 realclean, remove entries duplicated in common-mostlyclean, add
9793 stamp-libm-err and stamp-version.
9794 (generated-dirs): Add libc directory.
9795 ($(inst_infodir)/libc.info): Install files from build dir.
9796
9797 * manual/install.texi (Configuring and compiling): Adjust since
9798 the info files are not part of the tar ball anymore.
9799
7ac77294
AJ
98002012-05-14 Andreas Jaeger <aj@suse.de>
9801
9802 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9803 variable.
9804
ffb7875d
JM
98052012-05-14 Joseph Myers <joseph@codesourcery.com>
9806
9807 [BZ #13717]
9808 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9809 to 2.2.0 where earlier.
9810 * sysdeps/unix/sysv/linux/configure: Regenerated.
9811 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9812 Remove conditional code.
9813 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9814 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9815 Remove conditional code.
9816 [!__NR_lchown]: Likewise.
9817 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9818 [__NR_lchown]: Likewise.
9819 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9820 comment referencing __ASSUME_LCHOWN_SYSCALL.
9821 * sysdeps/unix/sysv/linux/i386/sigaction.c
9822 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9823 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9824 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9825 Remove conditional code.
9826 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9827 (__protocol_available): Remove #if 0 code.
9828 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9829 conditional code.
9830 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9831 * sysdeps/unix/sysv/linux/kernel-features.h
9832 (__ASSUME_GETCWD_SYSCALL): Don't define.
9833 (__ASSUME_REALTIME_SIGNALS): Likewise.
9834 (__ASSUME_PREAD_SYSCALL): Likewise.
9835 (__ASSUME_PWRITE_SYSCALL): Likewise.
9836 (__ASSUME_POLL_SYSCALL): Likewise.
9837 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9838 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9839 non-SPARC.
9840 (__ASSUME_SIOCGIFNAME): Don't define.
9841 (__ASSUME_MSG_NOSIGNAL): Likewise.
9842 (__ASSUME_SENDFILE): Define unconditionally.
9843 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9844 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9845 conditional code.
9846 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9847 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9848 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9849 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9850 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9851 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9852 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9854 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9855 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9857 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9858 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9860 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9861 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9863 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9864 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9866 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9867 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9869 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9870 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9872 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9873 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9875 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9876 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9877 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9878 Remove conditional code.
9879 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9880 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9881 Remove conditional code.
9882 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9883 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9884 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9885 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9886 Remove conditional code.
9887 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9888 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9889 Remove conditional code.
9890 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9891 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9892 Remove conditional code.
9893 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9894 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9895 Remove conditional code.
9896 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9897 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9898 Remove conditional code.
9899 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9900 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9901 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9902 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9903 * sysdeps/unix/sysv/linux/sigaction.c
9904 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9905 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9906 * sysdeps/unix/sysv/linux/sigpending.c
9907 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9908 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9909 * sysdeps/unix/sysv/linux/sigprocmask.c
9910 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9911 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9912 * sysdeps/unix/sysv/linux/sigsuspend.c
9913 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9914 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9915 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9916 (__libc_missing_rt_sigs): Remove.
9917 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9918 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9919 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9920 Remove conditional code.
9921 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9922 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9923 return 1.
9924 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9925 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9926 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9927 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9928
1bfb7291
AJ
99292012-05-14 Andreas Jaeger <aj@suse.de>
9930
caae5a81
AJ
9931 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9932 it's not used in glibc.
9933 (__coshm1): Likewise.
9934 (__acosh1p): Likewise.
9935 (__sgn): Likewise.
9936
1bfb7291
AJ
9937 * manual/string.texi (Copying and Concatenation): Add missing
9938 variable in concat example.
9939 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9940
c044d724
L
99412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9942
144c5467 9943 [BZ #14103]
c044d724
L
9944 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9945 __builtin_clzl with __builtin_clzll.
9946
2523c62b
L
99472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9948
9949 [BZ #14104]
9950 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9951 libc_freeres_ptr.
9952
d7bb4c42
LD
99532012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9954
9955 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9956 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9957 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9958 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9959
9dc4e1fb
MF
99602012-05-14 Mike Frysinger <vapier@gentoo.org>
9961
9962 * NEWS: Update ia64 info.
9963
c7df0112
AS
99642012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9965
9966 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9967 used as bcopy.
9968
dc70356c
TS
99692012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9970
9971 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9972 * sysdeps/unix/syscalls.list (dup3): Likewise.
9973 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9974 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9975
9fb1a21f
L
99762012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9977
9978 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9979 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9980
4822a2a5
L
99812012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9982
9983 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9984 thread pointer.
9985 (TLS_IE): Use mov/add instead of movq/addq to load thread
9986 pointer.
9987 (TLS_GD_PREFIX): New.
9988 (TLS_GD): Use it.
9989
842b81d6
DM
99902012-05-11 David S. Miller <davem@davemloft.net>
9991
9992 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9993 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9994 (_FPU_SETCW): Likewise.
9995
1cf463cd
L
99962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9997
9998 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9999 is 32-byte aligned.
10000
60cc4a18
AS
100012012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10002
10003 [BZ #11837]
10004 * iconvdata/gb18030.c: Update tables.
10005 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10006 characters specially.
10007 (BODY for TO_LOOP): Add encoding of missing ranges.
10008
febb44a4
TS
100092012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10010
10011 [BZ #13673]
10012 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10013 * sysdeps/mach/hurd/dup3.c: Likewise.
10014 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10015 * sysdeps/powerpc/memmove.c:: Likewise.
10016
0a10fb9e
L
100172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10018
10019 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10020 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10021
df8a552f
L
100222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10023
10024 * elf/elf.h (R_X86_64_RELATIVE64): New.
10025 (R_X86_64_NUM): Updated.
10026 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10027 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10028 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10029 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10030 tst-quad1pie tst-quad2pie
10031 (modules-names): Add tst-quadmod1 tst-quadmod2.
10032 ($(objpfx)tst-quad1): New dependency.
10033 ($(objpfx)tst-quad2): Likewise.
10034 ($(objpfx)tst-quad1pie): Likewise.
10035 ($(objpfx)tst-quad2pie): Likewise.
10036 * sysdeps/x86_64/tst-quad1.c: New file.
10037 * sysdeps/x86_64/tst-quad1pie.c: New file.
10038 * sysdeps/x86_64/tst-quad2.c: Likewise.
10039 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10040 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10041 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10042 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10043 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10044
f34d6f84
ST
100452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10046
f42d41d1
ST
10047 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10048 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10049 * streams/stropts.h (t_scalar_t): Define type.
10050
3c3571fc
ST
10051 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10052 (_PATH_PRESERVE): Set to "/var/lib".
10053 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10054
61f06bd3
ST
10055 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10056 instead of int.
10057
918d4d71
ST
10058 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10059 if __dir_mkfile succeeded.
10060
f34d6f84
ST
10061 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10062 checking for _hurd_dtablesize. Unlock it right after having
10063 finished _hurd_dtable allocation.
10064
10589b4a
TS
100652012-05-10 Thomas Schwinge <thomas@schwinge.name>
10066
674cdbc7
TS
10067 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10068 * sysdeps/mach/hurd/configure: Regenerated.
10069 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10070 special-casing to...
10071 * sysdeps/gnu/configure.in: ... this new file.
10072 * sysdeps/unix/sysv/linux/configure: Regenerated.
10073 * sysdeps/gnu/configure: New generated file.
10074
8e41b99f
TS
10075 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10076 for Linux: use nsec instead of usec, as well as:
10077 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10078 members of type struct timespec.
10079 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10080 New macros.
10081 (struct stat64): Likewise.
10082 (_STATBUF_ST_NSEC): New macro.
10083 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10084
10589b4a
TS
10085 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10086 __strtoul_internal rather than strtoul.
10087
63643c85
PT
100882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10089
10090 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10091 and reject them.
10092
3faebe6a
ST
100932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10094
10095 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10096 which preserves existing values.
10097 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10098
c6474b07
PT
100992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10100
10101 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10102 TIMEOUT values. Return EINVAL for NFDS values either negative or
10103 greater than FD_SETSIZE.
10104
1043890b
ST
101052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10106
10107 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10108 allocated, call __vm_protect to finish enabling the existing space, and
10109 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10110 allocate the remainder.
10111
37ed8b9b
PT
101122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10113
10114 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10115 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10116
db653660
ST
101172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10118
37ed8b9b
PT
10119 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10120 sysdeps/mach/hurd/readlink.c.
b29d4053 10121
db653660
ST
10122 * posix/tst-sysconf.c (posix_options): Only use
10123 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10124 _POSIX_SYNCHRONIZED_IO when they are defined
10125 * sysdeps/mach/hurd/bits/posix_opt.h:
10126 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10127 (_XOPEN_REALTIME): Undefine macro.
10128 (_XOPEN_REALTIME_THREADS): Undefine macro.
10129 (_XOPEN_SHM): Undefine macro.
10130 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10131 macro to -1.
10132 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10133 macro to -1.
10134 (_POSIX_ASYNC_IO): Undefine macro.
10135 (_POSIX_PRIORITIZED_IO): Undefine macro.
10136 (_POSIX_SPIN_LOCKS): Define macro to -1.
10137
ee16e894
ST
10138 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10139 SA_NODEFER, SA_RESETHAND.
10140 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10141 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10142 F_DUPFD_CLOEXEC.
10143
6103ae3b
TS
101442012-05-10 Thomas Schwinge <thomas@schwinge.name>
10145
10146 * elf/Makefile (pldd-modules): Define unconditionally.
10147
80b4e5f3
TS
101482012-05-10 Thomas Schwinge <thomas@schwinge.name>
10149
10150 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10151
edadcbd6
ST
101522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10153
10154 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10155 Return ENOENT when name is empty.
10156 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10157
80694780
TS
101582012-05-10 Thomas Schwinge <thomas@schwinge.name>
10159
1792c087
TS
10160 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10161
80694780
TS
10162 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10163
6b645f0d
ST
101642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10165
80694780
TS
10166 Fix mlock in all cases except non-readable pages.
10167 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10168 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 10169
6b645f0d
ST
10170 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10171 (__mkdir): When path is `/', just fail with EEXIST.
10172 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10173
e468f8a3
TS
101742012-05-10 Thomas Schwinge <thomas@schwinge.name>
10175
10176 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10177 <sys/uio.h> (for writev).
10178 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10179 and <sys/param.h> (for MIN).
10180
a4186cff
PT
101812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10182
10183 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10184 REQUESTED_TIME. Properly set the remaining time and return EINTR
10185 if interrupted.
10186
510bbf14
TS
101872012-05-10 Thomas Schwinge <thomas@schwinge.name>
10188
10189 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10190 Depend on against $(link-rpcuserlibs).
10191
5d5722e8
ST
101922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10193
a4186cff
PT
10194 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10195 (__libc_stack_end): Do not use attribute_relro.
10196 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10197 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 10198 to libthread-provided value.
a4186cff
PT
10199 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10200 attribute_relro.
5d5722e8 10201
37233df9
TS
102022012-05-10 Thomas Schwinge <thomas@schwinge.name>
10203
be971a2b
TS
10204 [BZ #3748]
10205 * bits/libc-lock.h (__libc_once_get): New macro.
10206 * sysdeps/mach/bits/libc-lock.h: Likewise.
10207 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10208 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10209 instead of using implementation details.
10210
37233df9
TS
10211 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10212 * libio/freopen.c: Likewise.
10213 * libio/freopen64.c: Likewise.
10214 * misc/syslog.c: Likewise.
10215 * nscd/connections.c: Likewise.
10216 * nscd/netgroupcache.c: Likewise.
10217 * sysdeps/posix/getcwd.c: Likewise.
10218
38de94a5
RM
102192012-05-10 Roland McGrath <roland@hack.frob.com>
10220
10221 * math/w_ilogbf.c: Add #include <limits.h>.
10222
67530489
ST
102232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10224
a4186cff 10225 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
10226 path instead of returning without unlocking.
10227
67530489
ST
10228 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10229 immediate-write ioctls.
10230 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10231
5aa3a74a
TS
102322012-05-10 Thomas Schwinge <thomas@schwinge.name>
10233
18bad2ae
TS
10234 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10235 __builtin_frame_address instead of making assumptions about the
10236 location of the return address relative to DATA. Force early load of
10237 the return address.
10238 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10239 __builtin_frame_address.
10240
5aa3a74a
TS
10241 dup3 for GNU Hurd.
10242 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10243 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10244 implement dup3 and do some further code clean-ups.
10245 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10246 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10247
ecd0de9a
ST
102482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10249
cd9fa985
ST
10250 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10251
a4186cff
PT
10252 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10253 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10254 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10255 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10256 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10257 d->port.lock.
802ca5a5 10258
a4186cff
PT
10259 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10260 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10261 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 10262
bcf55240
TS
102632012-05-10 Thomas Schwinge <thomas@schwinge.name>
10264
6960eb42
TS
10265 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10266 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10267 definitions.
10268
eb43375f
TS
10269 accept4 for GNU Hurd.
10270 * include/sys/socket.h (__libc_accept4): New prototype.
10271 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10272 to implement __libc_accept4.
10273 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10274 __libc_accept4.
10275 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10276
bcf55240
TS
10277 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10278 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10279 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10280 signal-defines.sym.
10281
6178c55b
ST
102822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10283
a4186cff 10284 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 10285
6f080c2f
TS
102862012-05-10 Thomas Schwinge <thomas@schwinge.name>
10287
10288 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10289 assertion on O_CLOEXEC flag.
10290 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10291 * hurd/intern-fd.c: Likewise.
10292 * hurd/port2fd.c: Likewise.
10293
bcfe3a54
ST
102942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10295
10296 [BZ #3906]
10297 * bits/in.h (IPV6_PKTINFO): Define new macro.
10298 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10299
89c9aa49
AZ
103002012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10301
10302 [BZ #13954]
10303 [BZ #13955]
10304 [BZ #13956]
10305 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10306 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10307 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10308 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10309 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10310 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10311 * math/libm-test.inc (logb_test) : Additional logb tests.
10312
021db4be
AJ
103132012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10314 Andreas Jaeger <aj@suse.de>
10315
10316 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10317 * configure: Regenerated.
10318 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10319 * config.make.in (link-obsolete-rpc): New substituted variable.
10320 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10321 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10322 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10323 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10324 so that libc.a contains the symbols.
10325 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10326 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10327 * sunrpc/auth_none.c: Likewise.
10328 * sunrpc/auth_unix.c: Likewise.
10329 * sunrpc/authdes_prot.c: Likewise.
10330 * sunrpc/authuxprot.c: Likewise.
10331 * sunrpc/clnt_gen.c: Likewise.
10332 * sunrpc/clnt_perr.c: Likewise.
10333 * sunrpc/clnt_raw.c: Likewise.
10334 * sunrpc/clnt_simp.c: Likewise.
10335 * sunrpc/clnt_tcp.c: Likewise.
10336 * sunrpc/clnt_udp.c: Likewise.
10337 * sunrpc/clnt_unix.c: Likewise.
10338 * sunrpc/des_crypt.c: Likewise.
10339 * sunrpc/des_soft.c: Likewise.
10340 * sunrpc/get_myaddr.c: Likewise.
10341 * sunrpc/key_call.c: Likewise.
10342 * sunrpc/key_prot.c: Likewise.
10343 * sunrpc/netname.c: Likewise.
10344 * sunrpc/pm_getmaps.c: Likewise.
10345 * sunrpc/pm_getport.c: Likewise.
10346 * sunrpc/pmap_clnt.c: Likewise.
10347 * sunrpc/pmap_prot.c: Likewise.
10348 * sunrpc/pmap_prot2.c: Likewise.
10349 * sunrpc/pmap_rmt.c: Likewise.
10350 * sunrpc/publickey.c: Likewise.
10351 * sunrpc/rpc_cmsg.c: Likewise.
10352 * sunrpc/rpc_common.c: Likewise.
10353 * sunrpc/rpc_dtable.c: Likewise.
10354 * sunrpc/rpc_prot.c: Likewise.
10355 * sunrpc/rpc_thread.c: Likewise.
10356 * sunrpc/rtime.c: Likewise.
10357 * sunrpc/svc.c: Likewise.
10358 * sunrpc/svc_auth.c: Likewise.
10359 * sunrpc/svc_raw.c: Likewise.
10360 * sunrpc/svc_run.c: Likewise.
10361 * sunrpc/svc_tcp.c: Likewise.
10362 * sunrpc/svc_udp.c: Likewise.
10363 * sunrpc/svc_unix.c: Likewise.
10364 * sunrpc/svcauth_des.c: Likewise.
10365 * sunrpc/xcrypt.c: Likewise.
10366 * sunrpc/xdr.c: Likewise.
10367 * sunrpc/xdr_array.c: Likewise.
10368 * sunrpc/xdr_float.c: Likewise.
10369 * sunrpc/xdr_intXX_t.c: Likewise.
10370 * sunrpc/xdr_mem.c: Likewise.
10371 * sunrpc/xdr_rec.c: Likewise.
10372 * sunrpc/xdr_ref.c: Likewise.
10373 * sunrpc/xdr_sizeof.c: Likewise.
10374 * sunrpc/xdr_stdio.c: Likewise.
10375
b5c086a2
RM
103762012-05-10 Roland McGrath <roland@hack.frob.com>
10377
10378 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10379 change. Update copyright years.
10380
6d74dd09
JM
103812012-05-10 Joseph Myers <joseph@codesourcery.com>
10382
10383 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10384
28e72501
MK
103852012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10386 Joseph Myers <joseph@codesourcery.com>
10387 Paul Pluzhnikov <ppluzhnikov@google.com>
10388
10389 [BZ #14012]
10390 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10391 requiring rpcgen.
10392 [cross-compiling] (extra-libs): Likewise.
10393 [cross-compiling] (extra-libs-others): Likewise.
10394 [cross-compiling] (librpcsvc-routines): Likewise.
10395 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10396 [cross-compiling] (omit-deps): Likewise.
10397 (sunrpc-CPPFLAGS): New variable.
10398 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10399 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10400 (cross-rpcgen-objs): New variable.
10401 (extra-objs): Append $(cross-rpcgen-objs).
10402 ($(cross-rpcgen-objs)): New rule.
10403 ($(objpfx)cross-rpcgen): Likewise.
10404 (rpcgen-cmd): Define to use $(built-program-file). Expand
10405 comment.
10406 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10407 ($(objpfx)x%.stmp): Likewise.
10408 * sunrpc/proto.h [IS_IN_build] (_): Define.
10409 [IS_IN_build] (_libc_intl_domainname): Likewise.
10410
c8c59454
L
104112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10412
10413 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10414 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10415 and R_X86_64_TPOFF64.
10416
6f27cd16
JM
104172012-05-10 Joseph Myers <joseph@codesourcery.com>
10418
10419 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10420 sysdeps/unix/sysv/syscalls.list.
10421 (stime): Likewise.
10422 (utime): Likewise.
10423 * sysdeps/unix/sysv/syscalls.list: Remove file.
10424
02467e1c
PE
104252012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10426
10427 [BZ #3440]
10428 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10429 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10430 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10431 (__LC_IDENTIFICATION): Make these macros useful in #if
10432 expressions, as required by C99.
10433
da392631
AS
104342012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10435
10436 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10437 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10438 after this.
10439
8115f29b
L
104402012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10441
10442 * stdlib/longlong.h: Updated from GCC.
10443
bdd74070
AJ
104442012-05-09 Andreas Jaeger <aj@suse.de>
10445
edfe0dbe
AJ
10446 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10447 default is first entry.
10448 (run_mode): Set type.
10449 (main): Remove informal message about syslog.
10450 (options): Fix typo.
10451
bcfe3a54
ST
10452 [BZ #14053]
10453 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 10454 to asm.
bcfe3a54
ST
10455 (lrint): Likewise.
10456 (llrintf): Likewise.
10457 (llrint): Likewise.
10458 (rint): Likewise.
10459 (rintf): Likewise.
10460 (nearbyint): Likewise.
10461 (nearbyintf): Likewise.
bdd74070 10462
91d8d69e
AJ
104632012-05-09 Andreas Jaeger <aj@suse.de>
10464 Pedro Alves <palves@redhat.com>
10465
10466 * nscd/nscd.c (run_mode): Use enum.
10467 (main): Cleanup coding style issue.
10468
bb90b80b
AJ
104692012-05-09 Alexandre Oliva <aoliva@redhat.com>
10470 Andreas Jaeger <aj@suse.de>
10471
bcfe3a54
ST
10472 * nscd/nscd.c (go_background): Replaced with...
10473 (run_mode): ... this.
bb90b80b 10474 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
10475 (options): Add -F --foreground.
10476 (main): Implement it.
10477 (parse_opt): Parse it.
bb90b80b 10478
1a4b75a1
AJ
104792012-05-09 Andreas Jaeger <aj@suse.de>
10480
10481 [BZ #14083]
10482 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10483 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10484 -Wconversion warning.
10485 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10486 Likewise.
10487
b1cc2472
JM
104882012-05-09 Joseph Myers <joseph@codesourcery.com>
10489
10490 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10491 == 0.
10492 (LC_ALL): Use macro-int-constant.
10493 (LC_COLLATE): Likewise.
10494 (LC_CTYPE): Likewise.
10495 (LC_MESSAGES): Likewise.
10496 (LC_MONETARY): Likewise.
10497 (LC_NUMERIC): Likewise.
10498 (LC_TIME): Likewise.
10499 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10500 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10501 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10502 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10503 Specify type.
10504 [C99-based standards] (float_t): Expect type.
10505 [C99-based standards] (double_t): Expect type.
10506 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10507 type.
10508 [C99-based standards] (HUGE_VALL): Likewise.
10509 [C99-based standards] (INFINITY): Likewise.
10510 [C99-based standards] (NAN): Likewise.
10511 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10512 [C99-based standards] (FP_NAN): Likewise.
10513 [C99-based standards] (FP_NORMAL): Likewise.
10514 [C99-based standards] (FP_SUBNORMAL): Likewise.
10515 [C99-based standards] (FP_ZERO): Likewise.
10516 [C99-based standards] (FP_FAST_FMA): Use
10517 optional-macro-int-constant. Specify type. Require == 1.
10518 [C99-based standards] (FP_FAST_FMAF): Likewise.
10519 [C99-based standards] (FP_FAST_FMAL): Likewise.
10520 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10521 [C99-based standards] (FP_ILOGBNAN): Likewise.
10522 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10523 Specify type.
10524 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10525 [C99-based standards] (math_errhandling): Specify type.
10526 [ISO99 || ISO11] (signgam): Do not allow.
10527 [non-C99-based standards] (copysignf): Do not allow.
10528 [non-C99-based standards] (exp2f): Likewise.
10529 [non-C99-based standards] (log2f): Likewise.
10530 [non-C99-based standards] (modff): Allow.
10531 [non-C99-based standards] (erff): Do not allow.
10532 [non-C99-based standards] (erfcf): Likewise.
10533 [non-C99-based standards] (gammaf): Likewise.
10534 [non-C99-based standards] (hypotf): Likewise.
10535 [non-C99-based standards] (j0f): Likewise.
10536 [non-C99-based standards] (j1f): Likewise.
10537 [non-C99-based standards] (jnf): Likewise.
10538 [non-C99-based standards] (lgammaf): Likewise.
10539 [non-C99-based standards] (tgammaf): Likewise.
10540 [non-C99-based standards] (y0f): Likewise.
10541 [non-C99-based standards] (y1f): Likewise.
10542 [non-C99-based standards] (ynf): Likewise.
10543 [non-C99-based standards] (isnanf): Likewise.
10544 [non-C99-based standards] (acoshf): Likewise.
10545 [non-C99-based standards] (asinhf): Likewise.
10546 [non-C99-based standards] (atanhf): Likewise.
10547 [non-C99-based standards] (cbrtf): Likewise.
10548 [non-C99-based standards] (expm1f): Likewise.
10549 [non-C99-based standards] (ilogbf): Likewise.
10550 [non-C99-based standards] (log1pf): Likewise.
10551 [non-C99-based standards] (logbf): Likewise.
10552 [non-C99-based standards] (nextafterf): Likewise.
10553 [non-C99-based standards] (remainderf): Likewise.
10554 [non-C99-based standards] (rintf): Likewise.
10555 [non-C99-based standards] (scalbf): Likewise.
10556 [non-C99-based standards] (copysignl): Likewise.
10557 [non-C99-based standards] (exp2l): Likewise.
10558 [non-C99-based standards] (log2l): Likewise.
10559 [non-C99-based standards] (modfl): Allow.
10560 [non-C99-based standards] (erfl): Do not allow.
10561 [non-C99-based standards] (erfcl): Likewise.
10562 [non-C99-based standards] (gammal): Likewise.
10563 [non-C99-based standards] (hypotl): Likewise.
10564 [non-C99-based standards] (j0l): Likewise.
10565 [non-C99-based standards] (j1l): Likewise.
10566 [non-C99-based standards] (jnl): Likewise.
10567 [non-C99-based standards] (lgammal): Likewise.
10568 [non-C99-based standards] (tgammal): Likewise.
10569 [non-C99-based standards] (y0l): Likewise.
10570 [non-C99-based standards] (y1l): Likewise.
10571 [non-C99-based standards] (ynl): Likewise.
10572 [non-C99-based standards] (isnanl): Likewise.
10573 [non-C99-based standards] (acoshl): Likewise.
10574 [non-C99-based standards] (asinhl): Likewise.
10575 [non-C99-based standards] (atanhl): Likewise.
10576 [non-C99-based standards] (cbrtl): Likewise.
10577 [non-C99-based standards] (expm1l): Likewise.
10578 [non-C99-based standards] (ilogbl): Likewise.
10579 [non-C99-based standards] (log1pl): Likewise.
10580 [non-C99-based standards] (logbl): Likewise.
10581 [non-C99-based standards] (nextafterl): Likewise.
10582 [non-C99-based standards] (remainderl): Likewise.
10583 [non-C99-based standards] (rintl): Likewise.
10584 [non-C99-based standards] (scalbl): Likewise.
10585 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10586 [non-C99-based standards] (FP_*): Do not allow.
10587 [C99-based standards] (FP_*): Change to
10588 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10589 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10590 allow.
10591 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10592 (SIG_ERR): Likewise.
10593 [X/Open-based standards] (SIG_HOLD): Likewise.
10594 (SIG_IGN): Likewise.
10595 (SIGABRT): Use macro-int-constant. Specify type. Require
10596 positive value.
10597 (SIGFPE): Likewise.
10598 (SIGILL): Likewise.
10599 (SIGINT): Likewise.
10600 (SIGSEGV): Likewise.
10601 (SIGTER): Likewise.
10602 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10603 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10604 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10605 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10606 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10607 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10608 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10609 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10610 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10611 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10612 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10613 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10614 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10615 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10616 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10617 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10618 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10619 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10620 [X/Open-based standards] (SIGTRAP): Likewise.
10621 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10622 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10623 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10624 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10625 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10626 allow.
10627
b9f1922d
IW
106282012-05-08 Ian Wienand <ianw@vmware.com>
10629
10630 [BZ #14080]
10631 * time/tzset.c (__tzset_parse_tz): Update default rules for
10632 daylight time changes in the Energy Policy Act of 2005.
10633
1db86e88
AJ
106342012-05-09 Andreas Jaeger <aj@suse.de>
10635
10636 [BZ #13983]
10637 * elf/ldconfig.c (parse_conf): Change string to make clear that
10638 ldconfig only issued a warning if ld.so.conf does not exist.
10639
dee4a4e3
DM
106402012-05-08 David S. Miller <davem@davemloft.net>
10641
ee0db190
DM
10642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10643 movxtod instead of popping the value on the stack.
10644
dee4a4e3
DM
10645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10646
6a43ec98
CD
106472012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10648
10649 * config.h.in: Add HAVE_ARM_PCS_VFP.
10650
05c2c961
RMG
106512012-05-08 Roland Mc Grath <roland@hack.frob.com>
10652
bcfe3a54
ST
10653 [BZ #13979]
10654 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10655 checking but the checks are disabled for any reason.
05c2c961 10656
4b30f61a
L
106572012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10658
10659 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10660 and ELF64_R_TYPE with ELFW(R_TYPE).
10661
eee2bc67
JM
106622012-05-08 Joseph Myers <joseph@codesourcery.com>
10663
7ea5391a
JM
10664 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10665 (ulimit): Likewise.
10666
eee2bc67
JM
10667 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10668 (settimeofday): Likewise.
10669
abb66a67
MF
106702012-05-08 Mike Frysinger <vapier@gentoo.org>
10671
10672 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10673 a struct th_u2 inside the union, and move tu_block/tu_code into
10674 a new th_u3 union of tu_block/tu_code inside of that. Move
10675 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10676 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10677 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10678 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10679 (th_stuff): Change to th_u1.tu_stuff.
10680 (th_data): Define.
10681 (th_msg): Change to th_u1.th_u2.tu_data.
10682
7f18b530
DM
106832012-05-07 David S. Miller <davem@davemloft.net>
10684
05760585
DM
10685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10686
7f18b530
DM
10687 [BZ #14074]
10688 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10689 (SETUP_PIC_REG): Use it.
10690 (SETUP_PIC_REG_LEAF): Use it.
10691
495fd99f
JM
106922012-05-07 Joseph Myers <joseph@codesourcery.com>
10693
10694 [BZ #13885]
10695 [BZ #13923]
10696 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10697 USE_AS_EXPM1L.
10698 (EXPL_FINITE): Likewise.
10699 (FLDLOG): Likewise.
10700 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10701 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10702 e_expl.S.
10703 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10704 USE_AS_EXPM1L.
10705 (EXPL_FINITE): Likewise.
10706 (FLDLOG): Likewise.
10707 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10708 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10709 e_expl.S.
10710 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10711 test of -max_value argument for long double.
10712 * sysdeps/i386/fpu/libm-test-ulps: Update.
10713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10714
6693d694
DM
107152012-05-06 David S. Miller <davem@davemloft.net>
10716
10717 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10718 quad soft-float symbols whose references which are compiler
10719 generated.
10720 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10721
6c23e11c
JM
107222012-05-06 Joseph Myers <joseph@codesourcery.com>
10723
d8b82cad
JM
10724 [BZ #13884]
10725 [BZ #13914]
10726 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10727 USE_AS_EXP10L.
10728 (EXPL_FINITE): Likewise.
10729 (FLDLOG): Likewise.
10730 (c0): Likewise.
10731 (c1): Likewise.
10732 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10733 Adjust comments for base varying.
10734 (__expl_finite): Change alias to EXPL_FINITE.
10735 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10736 e_expl.S.
10737 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10738 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10739 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10740 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10741 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10742 USE_AS_EXP10L.
10743 (EXPL_FINITE): Likewise.
10744 (FLDLOG): Likewise.
10745 (c0): Likewise.
10746 (c1): Likewise.
10747 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10748 Adjust comments for base varying.
10749 (__expl_finite): Change alias to EXPL_FINITE.
10750 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10751 tests for bugs.
10752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10753
6c23e11c
JM
10754 [BZ #14064]
10755 * math/libm-test.inc (check_float_internal): Correct ulp
10756 calculation for subnormal expected results.
10757
29ba805c
AJ
107582012-05-06 Andreas Jaeger <aj@suse.de>
10759
10760 * Makeconfig (+math-flags): New, set to -frounding-math.
10761 (+cflags): Add +math-flags so that all of glibc gets compiled with
10762 it.
10763
10764 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10765
7b17aeda
JM
107662012-05-05 Joseph Myers <joseph@codesourcery.com>
10767
5779f134
JM
10768 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10769 Disable one test.
10770
41498f4d
JM
10771 [BZ #13787]
10772 [BZ #13922]
10773 [BZ #14036]
10774 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10775 (__ieee754_expl): Allow for and saturate large arguments.
10776 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10777 (u_threshold): Likewise.
10778 (__exp): Call __ieee754_exp before checking for overflow and
10779 underflow.
10780 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10781 (u_threshold): Likewise.
10782 (__expf): Call __ieee754_expf before checking for overflow and
10783 underflow.
10784 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10785 (u_threshold): Likewise.
10786 (__expl): Call __ieee754_expl before checking for overflow and
10787 underflow.
10788 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10789 (__ieee754_expl): Allow for and saturate large arguments.
10790 * math/libm-test.inc (exp_test): Add another test. Do not allow
10791 missing overflow exception on overflow.
10792 (expm1_test): Do not allow missing overflow exception on overflow.
10793
6698b8bf
JM
10794 * sysdeps/i386/fpu/e_expl.c: Move to ...
10795 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10796 rather than using inline asm.
10797 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10798 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10799 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10800
7b17aeda
JM
10801 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10802 (nice): Likewise.
10803 (poll): Likewise.
10804 (signal): Likewise.
10805 (time): Likewise.
10806 (times): Likewise.
10807
f7c85819
JM
108082012-05-04 Joseph Myers <joseph@codesourcery.com>
10809
10810 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10811 sysdeps/unix/common/syscalls.list.
10812 (fchmod): Likewise.
10813 (fchown): Likewise.
10814 (ftruncate): Likewise.
10815 (getrusage): Likewise.
10816 (gettimeofday): Likewise.
10817 (setpgid): Likewise.
10818 (setregid): Likewise.
10819 (setreuid): Likewise.
10820 (sigaction): Likewise.
10821 (truncate): Likewise.
10822 (vhangup): Likewise.
10823 * sysdeps/unix/common/syscalls.list: Remove file.
10824 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10825 * sysdeps/unix/sysv/linux/Implies: Likewise.
10826
336270d0
L
108272012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10828
10829 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10831 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10832 Moved to ...
10833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10834 Here.
10835 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10836 to ...
10837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10838 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10839 to ...
10840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10841 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10842 to ...
10843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10844 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10845 to ...
10846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10847 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10848 to ...
10849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10850 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10851 to ...
10852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10853 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10854 to ...
10855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10856 Here.
10857 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10858 to ...
10859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10860 Here.
10861 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10862 to ...
10863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10864 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10865 Moved to ...
10866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10867 Here.
10868 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10869 to ...
10870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10871
d128e450
JM
108722012-05-04 Joseph Myers <joseph@codesourcery.com>
10873
fa8ee516
JM
10874 * sysdeps/unix/common/bits/dirent.h: Remove file.
10875 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10876
d128e450
JM
10877 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10878 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10879 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10880 * sysdeps/unix/bsd/isatty.c: Likewise.
10881 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10882 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10883 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10884
ff8faaf0 108852012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10886
62881be4 10887 [BZ #13563]
31dc8730
AZ
10888 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10889 long double comparison inaccuracies.
10890 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10892
6fef930c
AS
108932012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10894
10895 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10896 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10897
8f203e6c
JM
108982012-05-04 Joseph Myers <joseph@codesourcery.com>
10899
10900 [BZ #14049]
10901 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10902 nonzero digits before rounding a hex value.
10903 * stdlib/tst-strtod.c (tests): Add another test.
10904
5197d9c2
AK
109052012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10906
10907 * sysdeps/s390/fpu/libm-test-ulps: Update.
10908
f0c1dedf
AJ
109092012-05-03 Andreas Jaeger <aj@suse.de>
10910
10911 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10912 does not get optimized out.
10913 (malloc_opt_barrier): New.
10914
a65ef2ae 109152012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10916 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10917
2b942cb7 10918 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10919 intermediate file deletion.
2b942cb7 10920 (generated): Add .symlist files.
a65ef2ae 10921
54b71e02
JM
109222012-05-03 Joseph Myers <joseph@codesourcery.com>
10923
10924 [BZ #13775]
10925 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10926 Redirect under this condition.
10927 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10928 [__USE_GNU] (__dprintf_chk): Not under this condition.
10929 [__USE_GNU] (__vdprintf_chk): Likewise.
10930 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10931 under this condition.
10932 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10933 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10934 [__USE_XOPEN2K8] (vdprintf): Likewise.
10935 [__USE_GNU] (__dprintf_chk): Not under this condition.
10936 [__USE_GNU] (__vdprintf_chk): Likewise.
10937 [__USE_GNU] (dprintf): Likewise.
10938 [__USE_GNU] (vdprintf): Likewise.
10939
d3dfcc41
RM
109402012-05-03 Roland McGrath <roland@hack.frob.com>
10941
10942 * elf/Makefile (common-generated): Set this instead of generated for
10943 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10944 $(all-built-dso)-derived lists.
10945
7ac30cc5
AJ
109462012-05-03 Andreas Jaeger <aj@suse.de>
10947
0c51e550
AJ
10948 * sysdeps/i386/fpu/libm-test-ulps: Update.
10949
7ac30cc5
AJ
10950 * FAQ: Removed.
10951 * FAQ.in: Likewise.
10952 * scripts/gen-FAQ.pl: Likewise.
10953 * manual/install.texi (Installation): Point to online location of
10954 FAQ.
10955 * Makefile (files-for-dist): Remove FAQ.
10956 (FAQ): Remove.
10957
d4c2917f
AM
109582012-05-02 Allan McRae <allan@archlinux.org>
10959
10960 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10961 (LDFLAGS-reldepmod5.so): Likewise.
10962 (LDFLAGS-reldep6mod1.so): Likewise.
10963 (LDFLAGS-reldep6mod4.so): Likewise.
10964 (LDFLAGS-reldep8mod3.so): Likewise.
10965 (LDFLAGS-unload4mod1.so): Likewise.
10966 (LDFLAGS-unload4mod2.so): Likewise.
10967 (LDFLAGS-tst-initorder): Likewise.
10968 (LDFLAGS-tst-initordera2.so): Likewise.
10969 (LDFLAGS-tst-initordera3.so): Likewise.
10970 (LDFLAGS-tst-initordera4.so): Likewise.
10971 (LDFLAGS-tst-initorderb2.so): Likewise.
10972 (LDFLAGS-noload): Likewise.
10973 (LDFLAGS-next): Likewise.
10974 (LDFLAGS-order2mod1.so): Likewise.
10975 (LDFLAGS-order2mod2.so): Likewise.
10976 (LDFLAGS-tst-initorder2): Likewise.
10977 (LDFLAGS-tst-initorder2a.so): Likewise.
10978 (LDFLAGS-tst-initorder2b.so): Likewise.
10979 (LDFLAGS-tst-initorder2c.so): Likewise.
10980 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10981
d77f993f
DM
109822012-05-02 David S. Miller <davem@davemloft.net>
10983
10984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10985
171a70b4
PP
109862012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10987
10988 [BZ #14055]
10989 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10990
0be196ad
AJ
109912012-05-02 Andreas Jaeger <aj@suse.de>
10992
10993 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10994 since we manipulate rounding mode.
10995 (CPPFLAGS-test-idouble.c): Likewise.
10996 (CPPFLAGS-test-ifloat.c): Likewise.
10997 (CFLAGS-test-ldouble.c): Likewise.
10998 (CFLAGS-test-double.c): Likewise.
10999 (CFLAGS-test-float.c): Likewise.
11000 (CFLAGS-test-misc.c): Likewise.
11001 (CFLAGS-test-test-fenv.c): Likewise.
11002
4f9d04aa
AZ
110032012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11004
2b942cb7
RM
11005 [BZ #2550]
11006 [BZ #2570]
11007 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11008 comparisons to determine direction to adjust input.
4f9d04aa 11009
82a79e7d
RM
110102012-05-01 Roland McGrath <roland@hack.frob.com>
11011
f5a01ca9
RM
11012 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11013 output to the target.
11014
90fe4186
RM
11015 * scripts/localplt.awk: New file.
11016 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11017 (check-localplt-CFLAGS): Variable removed.
11018 ($(all-built-dso:=.jmprel)): New static pattern rule.
11019 (generated): Add those targets.
11020 (localplt-built-dso): New variable.
11021 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11022
11023 * elf/check-localplt.c: File removed.
11024
82397ed6
RM
11025 * scripts/check-execstack.awk: New file.
11026 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11027 (check-execstack-CFLAGS): Variable removed.
11028 ($(objpfx)check-execstack.h): Target removed.
11029 ($(objpfx)execstack-default): New target.
11030 (generated): Add that instead of check-execstack.h.
11031 ($(all-built-dso:=.phdr)): New static pattern rule.
11032 (generated): Add those targets.
11033 * elf/check-execstack.c: File removed.
11034
82a79e7d
RM
11035 * scripts/check-textrel.awk: New file.
11036 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11037 (check-textrel-CFLAGS): Variable removed.
11038 (all-built-dso): Use := to define.o
11039 ($(all-built-dso:=.dyn)): New static pattern rule.
11040 (generated): Add those targets.
11041 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11042 * config.make.in (READELF): New substituted variable.
11043 * elf/check-textrel.c: File removed.
11044
62fde54f 110452012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 11046
615605c9
JM
11047 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11048 allow.
11049 * conform/data/ctype.h-data [C99-based standards] (isblank):
11050 Expect function.
11051 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11052 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11053 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11054 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11055 Specify type. Require positive value.
11056 (EILSEQ): Likewise.
11057 (ERANGE): Likewise.
11058 [ISO || POSIX] (EILSEQ): Do not expect.
11059 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11060 Specify type. Require positive value.
11061 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11062 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11063 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11064 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11065 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11066 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11067 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11068 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11069 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11070 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11071 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11072 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11073 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11074 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11075 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11076 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11077 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11078 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11079 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11080 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11081 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11082 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11083 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11084 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11085 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11086 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11087 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11088 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11089 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11090 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11091 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11092 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11093 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11094 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11095 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11096 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11097 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11098 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11099 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11100 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11101 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11102 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11103 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11104 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11105 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11106 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11107 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11108 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11109 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11110 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11111 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11112 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11113 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11114 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11115 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11116 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11117 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11118 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11119 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11120 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11121 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11122 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11123 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11124 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11125 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11126 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11127 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11128 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11129 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11130 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11131 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11132 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11133 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11134 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11135 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11136 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11137 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11138 Require >= 2.
11139 (FLT_ROUNDS): Expect as macro, not constant.
11140 (FLT_MANT_DIG): Use macro-int-constant.
11141 (DBL_MANT_DIG): Likewise.
11142 (LDBL_MANT_DIG): Likewise.
11143 (FLT_DIG): Likewise.
11144 (DBL_DIG): Likewise.
11145 (LDBL_DIG): Likewise.
11146 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11147 (DBL_MIN_EXP): Likewise.
11148 (LDBL_MIN_EXP): Likewise.
11149 (FLT_MAX_EXP): Use macro-int-constant.
11150 (DBL_MAX_EXP): Likewise.
11151 (LDBL_MAX_EXP): Likewise.
11152 (FLT_MAX_10_EXP): Likewise.
11153 (DBL_MAX_10_EXP): Likewise.
11154 (LDBL_MAX_10_EXP): Likewise.
11155 (FLT_MAX): Use macro-constant.
11156 (DBL_MAX): Likewise.
11157 (LDBL_MAX): Likewise.
11158 (FLT_EPSILON): Use macro-constant. Give upper bound.
11159 (DBL_EPSILON): Likewise.
11160 (LDBL_EPSILON): Likewise.
11161 (FLT_MIN): Likewise.
11162 (DBL_MIN): Likewise.
11163 (LDBL_MIN): Likewise.
11164 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11165 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11166 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11167 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11168 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11169 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11170 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11171 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11172 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11173 [ISO11] (FLT_TRUE_MIN): Likewise.
11174 [ISO11] (LDBL_TRUE_MIN): Likewise.
11175 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11176 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11177 (SCHAR_MIN): Use macro-int-constant. Specify type.
11178 (SCHAR_MAX): Likewise.
11179 (UCHAR_MAX): Likewise.
11180 (CHAR_MIN): Likewise.
11181 (CHAR_MAX): Likewise.
11182 (MB_LEN_MAX): Use macro-int-constant.
11183 (SHRT_MIN): Use macro-int-constant. Specify type.
11184 (SHRT_MAX): Likewise.
11185 (USHRT_MAX): Likewise.
11186 (INT_MAX): Likewise.
11187 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11188 bound negative.
11189 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11190 bound with "U".
11191 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11192 bound with "L".
11193 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11194 bound negative. Suffix upper bound with "L".
11195 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11196 bound with "UL".
11197 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11198 Specify type.
11199 [C99-based standards] (LLONG_MAX): Likewise.
11200 [C99-based standards] (ULLONG_MAX): Likewise.
11201 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11202 == 0.
11203 [ISO11] (max_align_t): Require type.
11204 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11205
c9140a62
JM
11206 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11207 from $CFLAGS, without defining away __attribute__ calls.
11208 (checknamespace): Use $CFLAGS_namespace.
11209
9af0bf29
JM
11210 * conform/conformtest.pl (@keywords): Only include C99 keywords
11211 for standards based on C99 or C11.
11212
343222a2
JM
11213 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11214 Disable tests.
11215 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11216 UNIX98]: Likewise.
11217
661f8cf0
JM
11218 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11219 usability of symbols in #if.
11220
ee74b9cb
JM
11221 * conform/conformtest.pl: If macro or constant types start
11222 "promoted:", expect the symbol to be of the following type
11223 promoted by the integer promotions.
62fde54f 11224
aafc49b3
JM
11225 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11226 in one place. Also handle "macro-constant".
11227
fefdf574
JM
11228 * conform/conformtest.pl: Only accept expected macro values with
11229 "==". Parse all "macro" lines in one place.
11230 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11231
f2d922fe
JM
11232 * conform/conformtest.pl: Handle braced types on "constant" lines
11233 instead of handling "typed-constant".
11234 * conform/data/signal.h-data: Use "constant" instead of
11235 "typed-constant".
11236
d22956c9
JM
11237 * conform/conformtest.pl: Handle "optional-" at start of lines in
11238 one place rather than duplicating several cases. Handle each
11239 format of "macro" line with initial "optional-".
11240
028e2e38
JM
11241 * conform/conformtest.pl: Only accept expected constant or
11242 optional-constant values with "==". Parse all "constant" lines in
11243 one place. Parse all "optional-constant" lines in one place.
11244 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11245 * conform/data/fmtmsg.h-data: Likewise.
11246 * conform/data/netinet/in.h-data: Likewise.
11247 * conform/data/tar.h-data: Likewise.
11248 * conform/data/limits.h-data: Use "==" form on "constant" and
11249 "optional-constant" lines.
11250
1b8f2850
JM
11251 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11252 Use -std=c99 for XOPEN2K.
11253 (@knownproblems): Remove.
11254 (newtoken): Don't check %isknown.
11255
a05a144b
JM
11256 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11257 Do not expect macro.
11258 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11259 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11260 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11261 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11262 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11263 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11264 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11265 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11266 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11267 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11268 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11269 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11270 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11271 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11272 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11273 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11274 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11275 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11276 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11277 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11278 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11279 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11280 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11281 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11282 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11283 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11284 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11285 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11286 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11287 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11288 [XPG3] (acosh): Likewise.
11289 [XPG3] (asinh): Likewise.
11290 [XPG3] (atanh): Likewise.
11291 [XPG3] (cbrt): Likewise.
11292 [XPG3] (expm1): Likewise.
11293 [XPG3] (ilogb): Likewise.
11294 [XPG3] (log1p): Likewise.
11295 [XPG3] (logb): Likewise.
11296 [XPG3] (nextafter): Likewise.
11297 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11298 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11299 [XPG3] (remainder): Likewise.
11300 [XPG3] (rint): Likewise.
11301 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11302 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11303 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11304 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11305 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11306 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11307 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11308 [UNIX98 || XOPEN2K] (scalb): Expect.
11309 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11310 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11311 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11312 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11313 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11314 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11315 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11316 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11317 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11318 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11319 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11320 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11321 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11322 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11323 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11324 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11325 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11326 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11327 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11328 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11329 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11330 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11331 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11332 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11333 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11334 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11335 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11336 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11337 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11338 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11339 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11340 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11341 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11342 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11343 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11344 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11345 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11346 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11347 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11348 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11349 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11350 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11351 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11352 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11353 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11354 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11355 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11356 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11357 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11358 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11359 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11360 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11361 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11362 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11363 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11364 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11365 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11366 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11367 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11368 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11369 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11370 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11371 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11372 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11373 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11374 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11375 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11376 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11377 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11378 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11379 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11380 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11381 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11382 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11383 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11384 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11385 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11386 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11387 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11388 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11389 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11390 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11391 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11392 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11393 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11394 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11395 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11396 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11397 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11398 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11399 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11400 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11401 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11402 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11403 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11404 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11405 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11406 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11407 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11408 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11409 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11410 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11411 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11412 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11413 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11414 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11415 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11416 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11417 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11418 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11419 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11420 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11421 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11422 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11423 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11424 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11425 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11426 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11427 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11428 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11429 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11430 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11431 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11432 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11433 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11434 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11435 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11436 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11437 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11438 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11439 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11440 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11441 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11442 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11443 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11444 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11445 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11446
73c5ebe3
JM
11447 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11448 _XOPEN_SOURCE_EXTENDED for XPG4.
11449
39c33b6c
JM
11450 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11451
62fde54f
JM
11452 * Makeconfig (localtime): Remove variable.
11453 (inst_localtime-file): Likewise.
11454
0741d64c
AS
114552012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11456
11457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11458 Update.
11459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11460 Update.
11461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11462 Update.
11463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11464 Update.
11465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11466 Update.
11467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11468 Update.
11469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11470 Update.
11471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11472 Update.
11473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11474 Update.
11475
7cb029ee
JM
114762012-05-01 Joseph Myers <joseph@codesourcery.com>
11477
11478 [BZ #2550]
11479 [BZ #2570]
11480 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11481 comparisons to determine direction to adjust input.
11482 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11483 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11484 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11485 Likewise.
11486 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11487 Likewise.
11488 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11489 Likewise.
11490 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11491 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11492 Likewise.
11493 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11494 Likewise.
11495 * math/libm-test.inc (nexttoward_test): Add more tests.
11496
412bd966
AS
114972012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11498
11499 [BZ #14040]
11500 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11501 in version GLIBC_2.1, not GLIBC_2.0.
11502 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11503 Likewise.
11504
9568c0c2
JM
115052012-04-30 Joseph Myers <joseph@codesourcery.com>
11506
adfbc8ac
JM
11507 [BZ #13942]
11508 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11509 (1 - x) * (1 + x).
11510 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11511 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11512 * math/libm-test.inc (acos_test): Add more tests.
11513 (asin_test): Likewise.
11514 * sysdeps/i386/fpu/libm-test-ulps: Update.
11515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11516
5ba3cc69
JM
11517 [BZ #14034]
11518 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11519 of square root.
11520 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11521 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11522 * math/libm-test.inc (acos_test_tonearest): New function.
11523 (acos_test_towardzero): Likewise.
11524 (acos_test_downward): Likewise.
11525 (acos_test_upward): Likewise.
11526 (asin_test_tonearest): Likewise.
11527 (asin_test_towardzero): Likewise.
11528 (asin_test_downward): Likewise.
11529 (asin_test_upward): Likewise.
11530 (main): Call the new functions.
11531 * sysdeps/i386/fpu/libm-test-ulps: Update.
11532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11533
9568c0c2
JM
11534 [BZ #13884]
11535 [BZ #13924]
11536 * math/e_exp10.c: Include <float.h>.
11537 (__ieee754_exp10): Handle underflow here rather than multiplying
11538 large negative argument by M_LN10.
11539 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11540 of __ieee754_expf.
11541 * math/e_exp10l.c: Include <float.h>.
11542 (__ieee754_exp10l): Handle underflow here rather than multiplying
11543 large negative argument by M_LN10l.
11544 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11545 spurious overflow exception on underflow.
11546
5ac3ea17
MP
115472012-04-29 Marek Polacek <polacek@redhat.com>
11548
11549 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11550 (__fortify_function): New macro.
11551 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11552 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11553 __extern_always_inline.
11554 * libio/bits/stdio2.h: Likewise.
11555 * libio/bits/stdio.h: Likewise.
11556 * string/string.h: Likewise.
11557 * string/bits/string3.h: Likewise.
11558 * include/stdio.h: Likewise.
11559 * stdlib/bits/stdlib.h: Likewise.
11560 * stdlib/stdlib.h: Likewise.
11561 * rt/bits/mqueue2.h: Likewise.
11562 * rt/mqueue.h: Likewise.
11563 * posix/bits/unistd.h: Likewise.
11564 * posix/unistd.h: Likewise.
11565 * io/bits/poll2.h: Likewise.
11566 * io/bits/fcntl2.h: Likewise.
11567 * io/fcntl.h: Likewise.
11568 * io/sys/poll.h: Likewise.
11569 * misc/bits/syslog.h: Likewise.
11570 * misc/bits/syslog-ldbl.h: Likewise.
11571 * misc/sys/syslog.h: Likewise.
11572 * socket/bits/socket2.h: Likewise.
11573 * socket/sys/socket.h: Likewise.
11574 * debug/tst-chk1.c: Likewise.
11575 * wcsmbs/bits/wchar2.h: Likewise.
11576 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11577 * wcsmbs/wchar.h: Likewise.
11578
ecf0ebfb
AJ
115792012-04-29 Andreas Jaeger <aj@suse.de>
11580
11581 * Makerules (tests): Remove enable-check-abi protection.
11582 (check-abi-warn): Remove.
11583 (check-abi-%): Remove check-abi-warn usage.
11584
11585 * configure.in: Remove check-abi configure option.
11586 * configure: Regenerated.
11587 * config.make.in (enable-check-abi): Remove.
11588
6d5c57fa
AS
115892012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11590
24c5d07e 11591 [BZ #14033]
ded5180a
AS
11592 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11593 double functions to double *_finite functions.
11594
7e0d315d
AS
11595 [BZ #13941]
11596 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11597 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11598 LDBL_MIN_EXP.
11599 * stdio-common/Makefile (tests): Add tst-sprintf3.
11600 * stdio-common/tst-sprintf3.c: New file.
11601
6d5c57fa
AS
11602 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11603 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11604
0749ff8b
JM
116052012-04-28 Joseph Myers <joseph@codesourcery.com>
11606
11607 * conform/conformtest.pl: Remove duplicate typed-constant
11608 handling.
11609
8dbd5d7b
DM
116102012-04-28 David S. Miller <davem@davemloft.net>
11611
11612 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11613 (check-abi-%): Remove AWK script prerequisite and explicit
11614 abilist directory.
11615 (check-abi): Rewrite to just diff the symlist with the abilist.
11616 (config-tls, config-abi-config): Delete, no longer used.
11617 (update-abi-%): Remove AWK script and explicit abilist directory.
11618 (update-abi): Rewrite to simply compare and conditionally copy the
11619 symlist and the sysdep abilist file. Remove update-abi-config
11620 checks.
11621 * abilist/ld.abilist: Remove.
11622 * abilist/libBrokenLocale.abilist: Remove.
11623 * abilist/libanl.abilist: Remove.
11624 * abilist/libcrypt.abilist: Remove.
11625 * abilist/libdl.abilist: Remove.
11626 * abilist/librt.abilist: Remove.
11627 * abilist/libthread_db.abilist: Remove.
11628 * abilist/libutil.abilist: Remove.
11629 * scripts/extract-abilist.awk: Remove.
11630 * scripts/merge-abilist.awk: Remove.
11631 * sysdeps/generic/libcidn.abilist: New file.
11632 * sysdeps/generic/libnss_compat.abilist: New file.
11633 * sysdeps/generic/libnss_db.abilist: New file.
11634 * sysdeps/generic/libnss_dns.abilist: New file.
11635 * sysdeps/generic/libnss_files.abilist: New file.
11636 * sysdeps/generic/libnss_hesiod.abilist: New file.
11637 * sysdeps/generic/libnss_nis.abilist: New file.
11638 * sysdeps/generic/libnss_nisplus.abilist: New file.
11639 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11640 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11641 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11642 file.
11643 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11644 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11645 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11646 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11647 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11648 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11649 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11650 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11651 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11652 file.
11653 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11654 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11655 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11656 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11657 file.
11658 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11659 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11660 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11661 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11662 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11663 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11664 file.
11665 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11666 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11667 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11668 file.
11669 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11671 New file.
11672 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11673 New file.
11674 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11675 New file.
11676 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11677 New file.
11678 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11679 New file.
11680 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11681 New file.
11682 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11683 New file.
11684 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11685 New file.
11686 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11687 New file.
11688 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11689 New file.
11690 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11691 New file.
11692 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11693 New file.
11694 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11695 New file.
11696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11697 file.
11698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11699 New file.
11700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11701 New file.
11702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11703 file.
11704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11705 New file.
11706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11707 New file.
11708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11709 file.
11710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11711 New file.
11712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11713 New file.
11714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11715 New file.
11716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11717 New file.
11718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11719 New file.
11720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11721 New file.
11722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11724 file.
11725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11726 New file.
11727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11728 file.
11729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11730 file.
11731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11732 file.
11733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11734 file.
11735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11736 file.
11737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11738 New file.
11739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11740 file.
11741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11742 file.
11743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11744 New file.
11745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11746 file.
11747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11749 file.
11750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11751 New file.
11752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11753 file.
11754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11755 file.
11756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11757 file.
11758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11759 file.
11760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11761 file.
11762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11763 New file.
11764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11765 file.
11766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11767 file.
11768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11769 New file.
11770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11771 file.
11772 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11773 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11774 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11775 file.
11776 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11777 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11778 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11779 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11780 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11781 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11782 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11783 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11784 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11785 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11788 file.
11789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11790 New file.
11791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11792 file.
11793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11794 file.
11795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11796 file.
11797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11798 file.
11799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11800 file.
11801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11802 New file.
11803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11804 New file.
11805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11806 file.
11807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11808 New file.
11809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11810 file.
11811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11813 file.
11814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11815 New file.
11816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11817 file.
11818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11819 file.
11820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11821 file.
11822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11823 file.
11824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11825 file.
11826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11827 New file.
11828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11829 New file.
11830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11831 file.
11832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11833 New file.
11834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11835 file.
11836
41d73a1b
JM
118372012-04-28 Joseph Myers <joseph@codesourcery.com>
11838
11839 * conform/conformtest.pl: Fix typo in handling typed-constant from
11840 allow-header.
11841
28aeeda4
JM
118422012-04-27 Joseph Myers <joseph@codesourcery.com>
11843
adae8f5e
JM
11844 * README: Cut down references to pre-2.6 Linux kernels and
11845 Linuxthreads. Update lists of configurations in libc and ports
11846 and sort alphabetically. Say "or newer" with Linux kernel version
11847 requirements.
11848
28aeeda4
JM
11849 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11850
a462cb63
RA
118512012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11852
11853 [BZ #887]
11854 * math/libm-test.inc (logb_test_downward): New test to expose
11855 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11856 rounding mode.
11857
6ad3493e
JM
118582012-04-27 Joseph Myers <joseph@codesourcery.com>
11859
11860 [BZ #14027]
11861 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11862 to be done.
11863 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11864 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11865
2ce4f015
JM
118662012-04-26 Joseph Myers <joseph@codesourcery.com>
11867
5aeb141a
JM
11868 * sysdeps/unix/i386/brk.S: Remove file.
11869 * sysdeps/unix/i386/dl-brk.S: Likewise.
11870 * sysdeps/unix/i386/pipe.S: Likewise.
11871 * sysdeps/unix/i386/sigreturn.S: Likewise.
11872 * sysdeps/unix/i386/syscall.S: Likewise.
11873 * sysdeps/unix/i386/vfork.S: Likewise.
11874 * sysdeps/unix/i386/wait.S: Likewise.
11875
7143acae
JM
11876 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11877 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11878
2ce4f015
JM
11879 * configure.in (arm*-none*): Do not allow without
11880 --enable-hacker-mode.
11881 (netbsd*): Remove case setting base_os.
11882 (386bsd*): Likewise.
11883 (freebsd*): Likewise.
11884 (bsdi*): Likewise.
11885 (osf*): Likewise.
11886 (sunos*): Likewise.
11887 (ultrix*): Likewise.
11888 (newsos*): Likewise.
11889 (dynix*): Likewise.
11890 (*bsd*): Likewise.
11891 (sysv*): Likewise.
11892 (isc*): Likewise.
11893 (esix*): Likewise.
11894 (sco*): Likewise.
11895 (minix*): Likewise.
11896 (irix4*): Likewise.
11897 (irix6*): Likewise.
11898 (solaris[2-9]*): Likewise.
11899 (none): Likewise.
11900 * configure: Regenerated.
11901
0ac229c8
AZ
119022012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11903
11904 [BZ #11521]
11905 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11906 overflow or cancellation in calculating denominator.
11907 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11908 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11909 down expression to avoid unexpected rounding in newer GCCs.
11910 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11911
33f244f4
DM
119122012-04-26 David S. Miller <davem@davemloft.net>
11913
11914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11915 long-double compat symbols.
11916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11929
cfa1f3e8
DM
119302012-04-25 David S. Miller <davem@davemloft.net>
11931
11932 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11933 HWCAP_* values only after the memory barriers have been defined.
11934 (atomic_full_barrier): Define.
11935 (atomic_read_barrier): Define.
11936 (atomic_write_barrier): Define.
11937
6e236b92
SP
119382012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11939
11940 * shlib-versions: Add libgcc_s version information.
11941 * sysdeps/generic/libgcc_s.h: Remove.
11942 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11943 libgcc_s.h.
11944 * sysdeps/gnu/unwind-resume.c: Likewise.
11945 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11946
aab39a09
DM
119472012-04-25 David S. Miller <davem@davemloft.net>
11948
11949 * sysdeps/unix/sparc/brk.S: Delete.
11950 * sysdeps/unix/sparc/dl-brk.S: Delete.
11951 * sysdeps/unix/sparc/pipe.S: Delete.
11952 * sysdeps/unix/sparc/sysdep.S: Delete.
11953 * sysdeps/unix/sparc/sysdep.h: Delete.
11954 * sysdeps/unix/sparc/vfork.S: Delete.
11955 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11956 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11957 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11958 ret_ERRVAL, r0, r1, MOVE): Define.
11959 (JUMPTARGET): Remove.
11960 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11961 sysdeps/unix/sparc/sysdep.h
11962 (ENTRY, END): Remove.
11963 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11964
a3cc4f48
JM
119652012-04-25 Joseph Myers <joseph@codesourcery.com>
11966
2ed8cda2
JM
11967 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11968 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11969 -DIS_IN_build.
11970
35d76d59
JM
11971 * timezone/README: Update upstream location and email address for
11972 tzcode and tzdata.
11973 * timezone/zdump.c: Update from tzcode 2012b.
11974 * timezone/zic.c: Likewise.
11975
a3cc4f48
JM
11976 * configure.in (libc_cv_as_needed): Remove test.
11977 * configure: Regenerated.
11978 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11979 conditional definition.
11980 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11981 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11982 * config.make.in (have-as-needed): Remove variable.
11983
ceab42c3
SP
119842012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11985 Paul Pluzhnikov <ppluzhnikov@google.com>
11986
11987 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11988 strings correctly.
11989
3ce2865f
CLT
119902012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11991
11992 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11993 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11994 * sysdeps/sh/strlen.S: Likewise.
11995
f37e0d68
JM
119962012-04-24 Joseph Myers <joseph@codesourcery.com>
11997
ae186e9a
JM
11998 * sysdeps/unix/fork.S: Remove file.
11999 * sysdeps/unix/i386/fork.S: Likewise.
12000 * sysdeps/unix/sparc/fork.S: Likewise.
12001
b96914af
JM
12002 * sysdeps/unix/system.c: Remove file.
12003 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12004
f37e0d68
JM
12005 * sysdeps/unix/getegid.S: Remove file.
12006 * sysdeps/unix/geteuid.S: Likewise.
12007
87ef29ca
RM
120082012-04-24 Roland McGrath <roland@hack.frob.com>
12009
83bcd236
RM
12010 * scripts/check-localplt.awk: New file.
12011 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12012 of diff.
12013 * scripts/data/localplt-generic.data: Add a comment.
12014
87ef29ca
RM
12015 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12016 NODE when __dir_mkfile failed.
12017 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12018 Reported by Ludovic Courtès <ludo@gnu.org>.
12019
e5a6e567
AJ
120202012-04-24 Andreas Jaeger <aj@suse.de>
12021
12022 * Makerules (common-clean): Also remove gen-as-const-headers
12023 files.
12024
c1820385
JM
120252012-04-24 Joseph Myers <joseph@codesourcery.com>
12026
12027 * Makerules (native-compile): Do not change working directory for
12028 build. Use $(OUTPUT_OPTION) in command.
12029 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12030
94e02fc4
AZ
120312012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12032
12033 [BZ #13886]
12034 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12035 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12036 * math/libm-test.inc (floor_test): Add more tests.
12037 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12038
3a533ca3
JM
120392012-04-24 Joseph Myers <joseph@codesourcery.com>
12040
940ab4b3
JM
12041 * sysdeps/unix/getdents.c: Remove file.
12042 * sysdeps/unix/sysv/getdents.c: Likewise.
12043 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12044
90e037bd
JM
12045 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12046 sysdeps/unix/mman/syscalls.list.
12047 (mmap): Likewise.
12048 (mprotect): Likewise.
12049 (msync): Likewise.
12050 (munmap): Likewise.
12051 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12052 * sysdeps/unix/mman/syscalls.list: Remove.
12053 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12054
3a533ca3
JM
12055 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12056 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12057 * configure: Regenerated.
12058 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12059 $(libgcc_s_suffix).
12060 * config.make.in (libgcc_s_suffix): Remove variable.
12061
1ad743de
JM
120622012-04-23 Joseph Myers <joseph@codesourcery.com>
12063
4ad451e2
JM
12064 * sysdeps/unix/sysv/gethostname.c: Move to ...
12065 * sysdeps/posix/gethostname.c: ... here.
12066
5e37ce39
JM
12067 * sysdeps/unix/execve.S: Remove file.
12068
1ad743de
JM
12069 * sysdeps/unix/_exit.S: Remove file.
12070
4e681b5b
AJ
120712012-04-23 Andreas Jaeger <aj@suse.de>
12072
12073 [BZ #13739]
12074 * manual/Makefile: Remove make dist support, there's no
12075 need for a stand-alone documentation tar ball.
12076 (TEXI2DVI): Define always, it's not in Makeconfig.
12077 (dist): Removed.
12078 (tar-it): Removed.
12079 (edition): Removed.
12080 (glibc-doc-$(edition).tar): Removed
12081 (%.Z): Removed.
12082 (%.gz): Removed.
12083 (%.uu): Removed.
12084 (ETAGS): Remove, it's in Makeconfig.
12085 (move-if-change): Remove, it's in Makeconfig.
12086
38686a03 120872012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
12088
12089 [BZ #13970]
12090 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12091 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12092 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12093 (strtod_l, strtof_l, strtold_l): Remove __wur.
12094 It is not necessarily an error to ignore strtol's return value.
12095 One can reliably look at the stored endptr to decide whether
12096 the number had valid syntax.
12097
7c0616fa
AJ
120982012-04-21 Andreas Jaeger <aj@suse.de>
12099
803cb6b7 12100 [BZ #13739]
7c0616fa
AJ
12101 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12102
b0fe253f
JM
121032012-04-21 Joseph Myers <joseph@codesourcery.com>
12104
12105 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12106 * sysdeps/unix/sysv/Versions: Remove file.
12107
8280f22d
MT
121082012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12109
12110 [BZ #13927]
12111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12112
75ce411f 121132012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
12114
12115 [BZ #7064]
12116 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12117 version from __vm86.
12118
097d59fa
JM
121192012-04-20 Joseph Myers <joseph@codesourcery.com>
12120
a90f3bcb
JM
12121 * sysdeps/unix/common/lxstat.c: Remove file.
12122 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12123
edc7ea78
JM
12124 * sysdeps/unix/sysv/Makefile: Remove file.
12125
cb78c221
JM
12126 * sysdeps/unix/sysv/direct.h: Remove file.
12127
efa6a45f
JM
12128 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12129 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12130 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12131 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12132 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12133 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12134 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12135
9c9f2d0c
JM
12136 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12137
4541c83b
JM
12138 * sysdeps/unix/xmknod.c: Remove file.
12139 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12140
f5d153a0
JM
12141 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12142
aa746595
JM
12143 * sysdeps/unix/sysv/i386/time.S: Remove file.
12144
cce5905e
JM
12145 * sysdeps/unix/fxstat.c: Remove file.
12146 * sysdeps/unix/xstat.c: Likewise.
12147 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12148
37fa3841
JM
12149 * sysdeps/unix/sysv/sigaction.c: Remove file.
12150
ff1962a3
JM
12151 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12152 (sysdep_headers): Remove variable.
12153 [termio.h not in sysdep_headers] (generated): Likewise.
12154 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12155 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12156 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12157 * sysdeps/unix/sysv/tcflow.c: Likewise.
12158 * sysdeps/unix/sysv/tcflush.c: Likewise.
12159 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12160 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12161 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12162 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12163 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12164
e7740d31
JM
12165 * sysdeps/unix/siglist.c: Remove file.
12166
ee06f18b
JM
12167 * sysdeps/unix/getppid.S: Remove file.
12168
097d59fa
JM
12169 * sysdeps/unix/mkdir.c: Remove file.
12170 * sysdeps/unix/rmdir.c: Likewise.
12171
ff3d51ec
AS
121722012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12173
12174 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12175 ERR_MAX value.
12176 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12177 errlist-compat value.
12178
50f81fd7
DM
121792012-04-18 David S. Miller <davem@davemloft.net>
12180
12181 * sysdeps/generic/memcopy.h (reg_char): Delete.
12182 * debug/strcat_chk.c: Use char, not reg_char.
12183 * debug/strcpy_chk.c: Likewise.
12184 * debug/strncat_chk.c: Likewise.
12185 * debug/strncpy_chk.c: Likewise.
12186 * string/memchr.c: Likewise.
12187 * string/memrchr.c: Likewise.
12188 * string/rawmemchr.c: Likewise.
12189 * string/strcat.c: Likewise.
12190 * string/strchr.c: Likewise.
12191 * string/strchrnul.c: Likewise.
12192 * string/strcmp.c: Likewise.
12193 * string/strcpy.c: Likewise.
12194 * string/strncat.c: Likewise.
12195 * string/strncmp.c: Likewise.
12196 * string/strncpy.c: Likewise.
12197
8ff41c46
WS
121982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12199
12200 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12201 __builtin_memcopy is called when src and dest ranges are known to not
12202 overlap.
12203
6b652f46
WS
122042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12205
12206 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12207 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12208 fwd_align_merge macro call.
12209 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12210 bwd_align_merge macro call.
12211 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12212
b282631e
WS
122132012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12214
12215 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12216 bwd_align_merge macros.
12217 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12218 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12219 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12220
95aa737c
DM
122212012-04-18 David S. Miller <davem@davemloft.net>
12222
12223 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12224
7a99a614
AJ
122252012-04-18 Andreas Jaeger <aj@suse.de>
12226
12227 [BZ# 6794]
12228 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12229 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12230 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12231
12232 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12233 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12234 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12235
12236 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12237 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12238 Adjust for changed ldbl-128 files.
12239
12240 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12241 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12242 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12243
e5270c23
DM
122442012-04-17 David S. Miller <davem@davemloft.net>
12245
12246 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12247
fb5e92c9
AS
122482012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12249
12250 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12251 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12252 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12253 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12254 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12255 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12256
76da7265
AZ
122572012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12258
12259 [BZ #6794]
12260 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12261 * math/libm-test.inc: Add ilogb errno and exception tests.
12262 * math/w_ilogb.c: New file: ilogb wrapper.
12263 * math/w_ilogbf.c: New file: ilogbf wrapper.
12264 * math/w_ilogbl.c: New file: ilogbl wrapper.
12265 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12266 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12267 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12268 exception being thrown with 0.0 as argument.
12269 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12270 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12271 exception being thrown with 0.0 as argument.
12272 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12273 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12274 exception being thrown with 0.0 as argument.
12275 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12276 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12277 exception being thrown with 0.0 as argument.
12278 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12279 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 12280 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
12281 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12282 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12283 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12284 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12285 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12286 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12287
0396e69d
PB
122882012-04-17 Petr Baudis <pasky@ucw.cz>
12289
12290 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12291 with altivec.
12292
750b5926
MP
122932012-04-16 Marek Polacek <polacek@redhat.com>
12294
12295 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12296
751728a1
MP
122972012-04-16 Marek Polacek <polacek@redhat.com>
12298
12299 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12300 operands of fdivp instruction.
12301
34a27407
L
123022012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12303
12304 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12305 * elf/tst-auditmod3b.c: Likewise.
12306 * elf/tst-auditmod4b.c: Likewise.
12307 * elf/tst-auditmod5b.c: Likewise.
12308 * elf/tst-auditmod6b.c: Likewise.
12309 * elf/tst-auditmod6c.c: Likewise.
12310 * elf/tst-auditmod7b.c: Likewise.
12311 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12312 * sysdeps/x86_64/preconfigure.in: Likewise.
12313 * sysdeps/x86_64/preconfigure: Regenerated.
12314
7e73e17d
L
123152012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12316
12317 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12318 __ILP32__.
12319
c7a6ab72
AB
123202012-04-13 Antoine Balestrat <merkil33@gmail.com>
12321
12322 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12323 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12324
a9e8e0e0
CL
123252012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12326
12327 [BZ #13973]
12328 * locale/iso-639.def: Fix gl language name. Spotted by
12329 Yaron Shahrabani.
12330
ec98af7d
RM
123312012-04-12 Roland McGrath <roland@hack.frob.com>
12332
12333 [BZ #2074]
12334 * libio/libio.h (__io_write_fn): Update comment.
12335
247c3ede
PB
123362012-04-12 Petr Baudis <pasky@ucw.cz>
12337
12338 [BZ #2074]
12339 * stdio.texi (Hook Functions): The user provided writer function
12340 is not allowed to return -1.
12341
55939d6d
DM
123422012-04-11 David S. Miller <davem@davemloft.net>
12343
12344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12345
90020f5a
MF
123462012-04-11 Mike Frysinger <vapier@gentoo.org>
12347
12348 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12349 Add a leading slash to rtkaio.
12350
288f9098
JM
123512012-04-11 Jim Meyering <meyering@redhat.com>
12352
90020f5a
MF
12353 [BZ #11959]
12354 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12355 It is not necessarily an error to ignore fwrite's return
12356 value. One can reliably use ferror to test for errors after
12357 the fact.
288f9098 12358
4be2b570
L
123592012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12360
12361 * bits/types.h (__snseconds_t): New type.
12362 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12363
12364 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12365 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12366 (__SNSECONDS_T_TYPE): Likewise.
12367 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12368 (__SNSECONDS_T_TYPE): Likewise.
12369 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12370 (__SNSECONDS_T_TYPE): Likewise.
12371
288f9098 123722012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
12373
12374 [BZ #2636]
12375 * manual/time.texi (Processor Time): Return type of times is
12376 elapsed real time since an arbitrary point in the past.
12377 (CPU Time): Move CLK_TCK from here...
12378 (Processor Time): ...to here. Correct description.
12379 * manual/conf.texi (Constants for Sysconf): Correct description of
12380 _SC_CLK_TCK.
12381
d7dd4413
DM
123822012-04-10 David S. Miller <davem@davemloft.net>
12383
12384 [BZ #13967]
12385 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12386 where the is a gap between DT_REL(A) and DT_JMPREL.
12387
b46068fc
L
123882012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12389
12390 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12391 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12392 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12393
73d65cc3
SP
123942012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12395
12396 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12397 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12398 (dl_main): Handle --inhibit-cache.
12399 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12400 _dl_inhibit_cache.
12401 * elf/dl-load.c (_dl_map_object): Use it.
12402 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12403
bcc8d661
JM
124042012-04-09 Joseph Myers <joseph@codesourcery.com>
12405
8f9a2fae
JM
12406 [BZ #13872]
12407 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12408 (__ieee754_powl): Saturate large exponents rather than testing for
12409 overflow of y*log2(x).
12410 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12411 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12412 exceptions.
12413
bcc8d661
JM
12414 [BZ #11521]
12415 * math/s_ctan.c: Include <float.h>.
12416 (__ctan): Avoid internal overflow or cancellation in calculating
12417 denominator.
12418 * math/s_ctanf.c: Likewise.
12419 * math/s_ctanl.c: Likewise.
12420 * math/s_ctanh.c: Likewise.
12421 * math/s_ctanhf.c: Likewise.
12422 * math/s_ctanhl.c: Likewise.
12423 * math/libm-test.inc (ctan_test): Add more tests.
12424 (ctanh_test): Likewise.
12425 * sysdeps/i386/fpu/libm-test-ulps: Update.
12426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12427
823fbbb4
AJ
124282012-04-09 Andreas Jaeger <aj@suse.de>
12429
03879793
AJ
12430 [BZ #6894]
12431 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12432 is an optional BSD extension.
12433
823fbbb4
AJ
12434 [BZ #10254]
12435 * manual/stdio.texi (Opening Streams): Document additional fopen
12436 parameters.
12437
8de131cb
RM
124382012-04-09 Roland McGrath <roland@hack.frob.com>
12439
12440 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12441 %eax without telling the compiler.
12442
c0ed9d7d
CD
124432012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12444
12445 [BZ # 13963]
12446 * manual/install.texi: Use sourceware.org.
12447
c483f6b4
JM
124482012-04-09 Joseph Myers <joseph@codesourcery.com>
12449
d7dd9453
JM
12450 [BZ #13873]
12451 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12452 (__ieee754_pow): Generate overflow and underflow using huge*huge
12453 and tiny*tiny rather than just returning constant infinity or zero
12454 for large exponents.
12455 * math/libm-test.inc (pow_test): Require overflow exceptions for
12456 applicable cases of large exponents.
12457
c483f6b4
JM
12458 [BZ #706]
12459 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12460 (__ieee754_pow): Use iterative multiplication algorithm only for
12461 integer exponents with absolute value below 1024. Check for odd
12462 integer exponents when using algorithm for real exponents.
12463 * math/libm-test.inc (pow_test): Add more tests.
12464 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12465
d2de7579
JM
124662012-04-08 Joseph Myers <joseph@codesourcery.com>
12467
12468 [BZ #13705]
12469 * math/libm-test.inc (exp_test): Do not allow overflow exception
12470 on underflow test.
12471
f77f1232
AJ
124722012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12473
12474 [BZ #13705]
12475 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12476 instead of __kernel_standard_f.
12477
3884932b
MF
124782012-04-08 Mike Frysinger <vapier@gentoo.org>
12479
12480 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12481 * sysdeps/x86_64/memset_chk.S: Likewise.
12482
54472e9c
AJ
124832012-04-08 Andreas Jaeger <aj@suse.de>
12484
6ab0fbfc
AJ
12485 [BZ #10153]
12486 * manual/startup.texi (Environment Access): Describe return value
12487 for putenv and setenv.
12488
61efba8c
AJ
12489 [BZ #6895]
12490 * manual/filesys.texi (Directory Entries): Add description for
12491 DT_LNK.
12492
95c3f29a
AJ
12493 [BZ #6890]
12494 * manual/filesys.texi (Directory Entries): Clarify that it's file
12495 system not operating system in the description of DT_UNKNOWN.
12496
54472e9c
AJ
12497 [BZ #6578]
12498 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12499
624254b1
SC
125002012-04-08 Stephen Compall <s11@member.fsf.org>
12501
12502 [BZ #6649]
12503 * manual/llio.texi (Opening and Closing Files): Add cross
12504 reference to explain mode argument.
12505
1e4920e0
MF
125062012-04-07 Mike Frysinger <vapier@gentoo.org>
12507
12508 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12509 * sysdeps/x86_64/memset_chk.S: Likewise.
12510
5ed848f3
DM
125112012-04-07 David S. Miller <davem@davemloft.net>
12512
12513 * elf/elf.h (R_SPARC_WDISP10): Define.
12514 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12515 R_SPARC_SIZE32.
12516 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12517 R_SPARC_SIZE64 and R_SPARC_H34.
12518
96154cd8
CD
125192012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12520
12521 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12522 conditions and remove no longer applicable assertion.
12523
9904dc47
L
125242012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12525
12526 * bits/byteswap.h: Include <features.h>.
12527 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12528 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12529
f8887d0a
L
125302012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12531
12532 * bits/byteswap.h (__bswap_16): Removed.
12533 Include <bits/byteswap-16.h> to get __bswap_16.
12534 * sysdeps/i386/bits/byteswap.h: Likewise.
12535 * sysdeps/s390/bits/byteswap.h: Likewise.
12536 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12537 * bits/byteswap-16.h: New file.
12538 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12539 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12540 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12541 * string/Makefile (headers): Add bits/byteswap-16.h.
12542
62470f60
PP
125432012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12544
12545 [BZ #13895]
12546 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12547 extra indirection.
12548 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12549 * nss/tst-nss-static.c: New.
12550
4dad7bab
RM
125512012-04-06 Robert Millan <rmh@gnu.org>
12552
12553 [BZ #6486]
12554 * manual/llio.texi (File Position Primitive): lseek
12555 refers to WHENCE when it really means OFFSET.
12556
e9142a17
AJ
125572012-04-06 Andreas Jaeger <aj@suse.de>
12558
2c040eff
AJ
12559 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12560 strncmp declarations.
12561
e9142a17
AJ
12562 * abilist/libc.abilist: Add __poll and __ppoll.
12563
ff9f1c5f
DM
125642012-04-05 David S. Miller <davem@davemloft.net>
12565
dcd2ae90
DM
12566 * scripts/check-local-headers.sh: Accept a host triplet in the
12567 path matched by the exclude regexp.
12568
993eb054
DM
12569 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12570 definition.
12571 * sysdeps/powerpc/powerpc32/dl-machine.h
12572 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12573 * sysdeps/s390/s390-32/dl-machine.h
12574 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12575 * sysdeps/sparc/sparc32/dl-machine.h
12576 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12577 * sysdeps/sparc/sparc64/dl-machine.h
12578 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12579
ff9f1c5f
DM
12580 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12581 lazy binding.
48e2e132 12582 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
12583 undefined symbol errors.
12584
48e2e132 12585 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
12586 DT_NEEDED entries.
12587
e80d6f94
MM
125882012-04-05 Michael Matz <matz@suse.de>
12589
12590 [BZ #13592]
12591 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12592
349fa79f
AJ
125932012-04-05 Andreas Jaeger <aj@suse.de>
12594
12595 [BZ #13908]
12596 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12597 comment.
12598
f402708f
KK
125992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12600
12601 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12602 which ROUND is no valid rounding mode.
12603
2ecccfc9
KK
126042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12605
12606 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12607 read again.
12608 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12609
8a53f50f
KK
126102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12611
12612 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12613 an exception using FPU order intentionally.
12614
126152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12616
12617 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12618 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12619 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12620 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12621
d653abb7
SJ
126222012-04-05 Simon Josefsson <simon@josefsson.org>
12623
12624 [BZ #12340]
12625 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12626 EINVAL when BUFLEN is too smal.
12627
c3b1bf7d
TS
126282012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12629
12630 [BZ #13553]
12631 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12632 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12633
b1aa60f3
AJ
126342012-04-03 Andreas Jaeger <aj@suse.de>
12635
c3b1bf7d 12636 [BZ #13938]
67f60a26
AJ
12637 * manual/setjmp.texi (System V contexts): Fix sentence.
12638
b1aa60f3
AJ
12639 [BZ #13926]
12640 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12641 New macro for this case.
12642 [!__GNUC__] (__bswap_64): New inline function for this case.
12643 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12644 * bits/byteswap.h: Likewise.
12645 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12646 ull, guard with __GLIBC_HAVE_LONG_LONG.
12647
12648 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12649 __GLIBC_HAVE_LONG_LONG.
12650
12651 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12652 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12653
39c59c35
TMQMF
126542012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12655
12656 [BZ #13691]
12657 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12658 inptr and inend, rather than using last_ch.
12659
135ffda8
DM
126602012-04-02 David S. Miller <davem@davemloft.net>
12661
12662 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12663 * stdio-common/printf-parse.h (read_int): Change return type to
12664 'int', return -1 on INT_MAX overflow.
12665 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12666 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12667 overflows INT_MAX. Check for overflow of in-format-string precision
12668 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12669 SIZE_MAX not INT_MAX for integer overflow test.
12670 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12671 skip the construct in the format string but do not record anything.
12672 * stdio-common/bug22.c: Adjust to test both width/prevision
12673 INT_MAX overflow as well as total length INT_MAX overflow. Check
12674 explicitly for proper errno values.
12675
228c019e
TS
126762012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12677
302cadd3
TS
12678 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12679 CHAR_MAX.
12680 * string/test-strcmp.c [! WIDE]: Likewise.
12681 * time/tst-mktime2.c: Likewise for INT_MAX.
12682 * string/test-string.h: #include <sys/param.h> for MIN.
12683
228c019e
TS
12684 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12685 * sysdeps/i386/init-first.c (init): Likewise.
12686 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12687 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12688 * sysdeps/sh/init-first.c (init): Likewise.
12689
cfa633f5
UD
126902012-04-01 Ulrich Drepper <drepper@gmail.com>
12691
12692 * po/ru.po: Update from translation team.
d1635ef8 12693 * po/vi.po: Likewise.
cfa633f5 12694
6cd0a5ea
SP
126952012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12696
12697 * resolv/nss_dns/dns-host.c: Merge copyright years.
12698
4b43400f
LD
126992012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12700
12701 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12702 Optimize memcpy with prefetch if
12703 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12704 src, dst pointers have unequal 16 byte alignments.
12705
48c41d04
SP
127062012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12707
12708 [BZ #13928]
12709 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12710 from a CNAME entry and return the minimum ttl for the query.
12711 (gaih_getanswer_slice): Likewise.
12712
b8dc394d
JL
127132012-03-30 Jeff Law <law@redhat.com>
12714
12715 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12716 due to long keys.
12717 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12718 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12719
2f5a5ed0
JL
12720 * resolv/nss_dns/dns-host.c: Update copyright year.
12721
1d39e359
UD
127222012-03-30 Ulrich Drepper <drepper@gmail.com>
12723
c030f70c 12724 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12725 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12726
1d39e359
UD
12727 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12728 comments for sendmmsg.
12729
127302012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12731
12732 [BZ #13691]
12733 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12734 with only 1 character between 0x0041 and 0x01b0.
12735 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12736 * wcsmbs/tst-mbsnrtowcs.c: New file.
12737
20fde227
DM
127382012-03-29 David S. Miller <davem@davemloft.net>
12739
12740 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12741 small copies by hand.
12742
984a4237
JL
127432012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12744
12745 [BZ #13761]
12746 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12747 _nss_compat_initgroups_dyn): Fall back to malloc/free
12748 for large group memberships.
12749
18c9d62b
DM
127502012-03-28 David S. Miller <davem@davemloft.net>
12751
88d85d4f
DM
12752 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12753 that branches into memcpy.
12754 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12755 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12756 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12757 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12758 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12759 bits.
12760 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12761 implementation too.
12762 * sysdeps/sparc/mempcpy.S: New file.
12763
e5aa83e1
DM
12764 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12765 the IFUNC routine in the libc case.
12766 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12767
88570753
DM
12768 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12769 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12770 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12771 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12772 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12773 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12774 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12775 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12776
249d7567
DM
12777 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12778 loop to 256 bytes instead of 64 bytes and fix test signedness.
12779
18c9d62b
DM
12780 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12781 * sysdeps/sparc/sparc32/Makefile: rather than here...
12782 * sysdeps/sparc/sparc64/Makefile: and here.
12783
05f3d1f6
UD
127842012-03-28 Ulrich Drepper <drepper@gmail.com>
12785
12786 * malloc/mallocbug.c: Avoid warnings about unused variables.
12787
86ae07a8
JL
127882012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12789
12790 [BZ #13760]
12791 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12792 in the right place. Discard and retry query if response is
12793 larger than input buffer size.
12794
41bf21a1
JM
127952012-03-28 Joseph Myers <joseph@codesourcery.com>
12796
d6270972
JM
12797 [BZ #369]
12798 [BZ #2678]
12799 [BZ #3866]
12800 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12801 x for large integer exponent.
12802 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12803 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12804 sign of result as needed afterwards.
12805 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12806 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12807 result for underflowing pow the same as for overflow.
12808 (__kernel_standard_l): Handle powl overflow and underflow here
12809 rather than calling __kernel_standard.
12810 * math/libm-test.inc (pow_test): Add more tests.
12811
414fca03 12812 [BZ #3868]
41bf21a1
JM
12813 [BZ #13879]
12814 [BZ #13910]
12815 [BZ #13911]
12816 [BZ #13912]
12817 [BZ #13913]
12818 [BZ #13915]
12819 [BZ #13916]
12820 [BZ #13917]
12821 [BZ #13918]
12822 [BZ #13919]
12823 [BZ #13920]
12824 [BZ #13921]
12825 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12826 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12827 (__kernel_standard_l): New function.
12828 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12829 __kernel_standard.
12830 * math/w_acosl.c (__acosl): Likewise.
12831 * math/w_asinl.c (__asinl): Likewise.
12832 * math/w_atan2l.c (__atan2l): Likewise.
12833 * math/w_atanhl.c (__atanhl): Likewise.
12834 * math/w_coshl.c (__coshl): Likewise.
12835 * math/w_exp10l.c (__exp10l): Likewise.
12836 * math/w_exp2l.c (__exp2l): Likewise.
12837 * math/w_fmodl.c (__fmodl): Likewise.
12838 * math/w_hypotl.c (__hypotl): Likewise.
12839 * math/w_j0l.c (__j0l, __y0l): Likewise.
12840 * math/w_j1l.c (__j1l, __y1l): Likewise.
12841 * math/w_jnl.c (__jnl, __ynl): Likewise.
12842 * math/w_lgammal.c (__lgammal): Likewise.
12843 * math/w_log10l.c (__log10l): Likewise.
12844 * math/w_log2l.c (__log2l): Likewise.
12845 * math/w_logl.c (__logl): Likewise.
12846 * math/w_powl.c (__powl): Likewise.
12847 * math/w_remainderl.c (__remainderl): Likewise.
12848 * math/w_scalbl.c (sysv_scalbl): Likewise.
12849 * math/w_sinhl.c (__sinhl): Likewise.
12850 * math/w_sqrtl.c (__sqrtl): Likewise.
12851 * math/w_tgammal.c (__tgammal): Likewise.
12852 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12853 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12854 * math/libm-test.inc (acos_test): Add more tests.
12855 (acosh_test): Likewise.
12856 (asin_test): Likewise.
12857 (atanh_test): Likewise.
12858 (exp_test): Likewise.
12859 (exp10_test): Likewise.
12860 (exp2_test): Likewise.
12861 (expm1_test): Likewise.
12862 (lgamma_test): Likewise.
12863 (log_test): Likewise.
12864 (log10_test): Likewise.
12865 (log1p_test): Likewise.
12866 (log2_test): Likewise.
12867 (pow_test): Do not allow some spurious overflow exceptions.
12868 (sqrt_test): Add more tests.
12869 (tgamma_test): Likewise.
12870 (y0_test): Likewise.
12871 (y1_test): Likewise.
12872 (yn_test): Likewise.
12873
dd62fda6
AB
128742012-03-27 Anton Blanchard <anton@samba.org>
12875
12876 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12877 MAP_HUGETLB.
12878 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12879 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12880 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12881
1e3cdfda
AJ
128822012-03-27 David S. Miller <davem@davemloft.net>
12883
b855ab85
DM
12884 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12885
1e3cdfda
AJ
12886 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12887 have-as-vis3 check.
12888
128892012-03-27 Andreas Jaeger <aj@suse.de>
12890
12891 * sysdeps/x86_64/elf/configure.in: Moved to ...
12892 * sysdeps/x86_64/configure.in: ... here.
12893 * sysdeps/x86_64/elf/start.S: Moved to ...
12894 * sysdeps/x86_64/start.S: ... here.
12895 * sysdeps/x86_64/elf/configure: Delete.
12896
12897 * sysdeps/x86_64/configure.in: Merge contents from
12898 sysdeps/i386/configure.in (without i686 check).
12899
12900 * sysdeps/i386/elf/Versions: Merge into ...
12901 * sysdeps/i386/Versions: ... this.
12902 * sysdeps/i386/elf/Versions: Delete file.
12903 * sysdeps/i386/elf/start.S: Moved to ...
12904 * sysdeps/i386/start.S: ...here.
12905 * sysdeps/i386/elf/configure.in: Merge into...
12906 * sysdeps/i386/configure.in: ...here.
12907 * sysdeps/i386/elf/configure.in: Delete file.
12908 * sysdeps/i386/elf/configure: Delete file.
12909
12910 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12911 * debug/backtracesyms.c: ... here.
12912 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12913 * debug/backtracesymsfd.c: ... here.
12914 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12915 * sysdeps/generic/ifunc-sel.h: ... here.
12916
12917 * sysdeps/unix/i386/start.c: Delete file.
12918 * sysdeps/unix/sparc/start.c: Delete file.
12919 * sysdeps/unix/start.c: Delete file.
12920
12921 * sysdeps/sh/elf/configure.in: Moved to ...
12922 * sysdeps/sh/configure.in: ... here.
12923 * sysdeps/sh/elf/start.S: Moved to ...
12924 * sysdeps/sh/start.S: ... here.
12925 * sysdeps/sh/elf/configure: Delete file.
12926
12927 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12928 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12929 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12930 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12931 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12932 * sysdeps/powerpc/powerpc64/start.S: here.
12933 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12934 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12935 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12936 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12937 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12938
12939 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12940 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12941 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12942 * sysdeps/powerpc/powerpc32/start.S: ... here.
12943 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12944 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12945 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12946
12947 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12948 * sysdeps/powerpc/ifunc-sel.h: ... here.
12949 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12950 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12951
12952 * sysdeps/sparc/elf/configure.in: Moved to ...
12953 * sysdeps/sparc/configure.in: ... here.
12954 * sysdeps/sparc/elf/configure: Delete file.
12955 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12956 * sysdeps/sparc/sparc32/start.S: ... here.
12957 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12958 * sysdeps/sparc/sparc64/start.S: ... here.
12959 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12960 * sysdeps/sparc/sparc32/Makefile: ... this.
12961 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12962 * sysdeps/sparc/sparc64/Makefile: ... this.
12963
12964 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12965 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12966 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12967 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12968 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12969 * sysdeps/s390/s390-32/setjmp.S: ... here.
12970 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12971 * sysdeps/s390/s390-32/configure.in: ... here.
12972 * sysdeps/s390/s390-32/elf/configure: Delete file.
12973 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12974 * sysdeps/s390/s390-32/start.S: ... here.
12975
12976 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12977 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12978 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12979 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12980 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12981 * sysdeps/s390/s390-64/setjmp.S: ... here.
12982 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12983 * sysdeps/s390/s390-64/configure.in: ... here
12984 * sysdeps/s390/s390-64/elf/configure: Delete file.
12985 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12986 * sysdeps/s390/s390-64/start.S: ... here.
12987 * sysdeps/s390/s390-64/elf/configure: Delete.
12988
12989 * configure.in: Remove support for elf directories in sysdeps.
12990
12991 * configure: Regenerated.
12992 * sysdeps/i386/configure: Regenerated.
12993 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12994 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12995 * sysdeps/s390/s390-32/configure: Regenerated.
12996 * sysdeps/s390/s390-64/configure: Regenerated.
12997 * sysdeps/sh/configure: Regenerated.
12998 * sysdeps/sparc/configure: Regenerated.
12999 * sysdeps/x86_64/configure: Regenerated.
13000
a3f61311
AS
130012012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13002
c876e002
AS
13003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13004
a3f61311
AS
13005 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13006 denormal result into account.
13007
ac4c54f0
RM
130082012-03-25 Roland McGrath <roland@hack.frob.com>
13009
13010 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13011 Reported by Allan McRae <allan@archlinux.org>.
13012
6a9b9c02
JL
130132012-03-23 Jeff Law <law@redhat.com>
13014
13015 * nss/getnssent.c (__nss_getent): Fix typo.
13016
4c42a0c1
DM
130172012-03-23 David S. Miller <davem@davemloft.net>
13018
13019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13020
1532c7ac
L
130212012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13022
13023 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13024 to pad to uint64_t for each field.
13025 (dl_tls_index): Replace unsigned long with uint64_t.
13026
3ff42526
PP
130272012-03-23 Daniel Jacobowitz <dmj@google.com>
13028 Paul Pluzhnikov <ppluzhnikov@google.com>
13029
13030 [BZ #6528]
13031 * grp/Makefile (otherlibs): Don't set it.
13032 * inet/Makefile (otherlibs): Likewise.
13033 * login/Makefile (otherlibs): Likewise.
13034 * nscd/Makefile (otherlibs): Likewise.
13035 * posix/Makefile (otherlibs): Likewise.
13036 * pwd/Makefile (otherlibs): Likewise.
13037 * rt/Makefile (otherlibs): Likewise.
13038 * sunrpc/Makefile (otherlibs): Likewise.
13039 * nss/Makefile (otherlibs): Likewise.
13040 Add libnss_files to routines and static-only-routines.
13041 ($(objpfx)getent): Remove rule.
13042 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13043 static-only-routines.
13044
7c69cd14
JM
130452012-03-22 Joseph Myers <joseph@codesourcery.com>
13046
13047 [BZ #13892]
13048 * math/s_cexp.c: Include <float.h>.
13049 (__cexp): Handle exp result overflowing not necessarily
13050 overflowing both real and imaginary parts of result.
13051 * math/s_cexpf.c: Likewise.
13052 * math/s_cexpl.c: Likewise.
13053 * math/libm-test.inc (cexp_test): Add more tests.
13054 * sysdeps/i386/fpu/libm-test-ulps: Update.
13055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13056
81b035fe
L
130572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13058
13059 * include/link.h (ELFW): New macro.
13060 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13061 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13062
1da7940c
L
130632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13064
13065 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13066 with uint64_t.
13067
b749dbb9
L
130682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13069
13070 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13071 declaration.
13072 (struct La_x32_retval): Likewise.
13073
2ff87f3f
L
130742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13075
13076 * sysdeps/x86_64/preconfigure.in: New file.
13077 * sysdeps/x86_64/preconfigure: New generated file.
13078
c0df8e69
JM
130792012-03-22 Joseph Myers <joseph@codesourcery.com>
13080
48e44791
JM
13081 [BZ #13824]
13082 * math/e_exp2l.c: Include <float.h>.
13083 (__ieee754_exp2l): Handle overflow and underflow cases
13084 separately. Only pass fractional part of argument to
13085 __ieee754_expl.
13086 * math/libm-test.inc (exp2_test): Add more tests.
13087
c0df8e69
JM
13088 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13089 negating x to take absolute value.
13090 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13091 Likewise.
13092 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13093 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13094 Likewise.
13095 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13096 computing low part if x was negated.
13097 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13098
c8e43ba7
L
130992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13100
13101 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13102 la_x32_gnu_pltexit.
13103 (pltexit): Cast int_retval to ptrdiff_t.
13104 * elf/tst-auditmod3b.c: Likewise.
13105 * elf/tst-auditmod4b.c: Likewise.
13106 * elf/tst-auditmod5b.c: Likewise.
13107 * elf/tst-auditmod6b.c: Likewise.
13108 * elf/tst-auditmod6c.c: Likewise.
13109 * elf/tst-auditmod7b.c: Likewise.
13110
13111 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13112 and x32_gnu_pltexit.
13113
13114 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13115 __ELF_NATIVE_CLASS.
13116 (La_x32_regs): New macro.
13117 (La_x32_retval): Likewise.
13118 (la_x32_gnu_pltenter): New function prototype.
13119 (la_x32_gnu_pltexit): Likewise.
13120
7998fa78
AS
131212012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13122
dcb33988
AS
13123 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13124 exponent.
13125
233fc563
AS
13126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13127
7998fa78
AS
13128 * configure.in (libc_cv_cc_nofma): Check for option to disable
13129 generation of FMA instructions.
13130 * configure: Regenerate.
13131 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13132 * sysdeps/ieee754/dbl-64/Makefile: New file.
13133 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13134 Remove brandred-fma4.
13135 (CFLAGS-brandred-fma4.c): Remove.
13136 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13137 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13138 define.
13139 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13140 define.
13141
8e95c99a
L
131422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13143
13144 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13145 LLONG_MAX != LONG_MAX.
13146 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13147 (_fitoa_word): Likewise.
13148 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13149 LLONG_MAX != LONG_MAX.
13150 * stdio-common/_itowa.h: Include <_itoa.h>.
13151 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13152 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13153 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13154 only if not defined.
13155 (_ITOA_WORD_TYPE): Likewise.
13156 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13157 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13158
6f4db457
DM
131592012-03-21 David S. Miller <davem@davemloft.net>
13160
13161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13162
7785fe5a
L
131632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13164
13165 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13166 of x86_64 when setting libc_cv_slibdir, libdir and
13167 libc_cv_localedir.
13168 * sysdeps/unix/sysv/linux/configure: Regenerated.
13169
4535cd55
JM
131702012-03-21 Joseph Myers <joseph@codesourcery.com>
13171
13172 * manual/lang.texi (Old Varargs): Remove section.
13173 (How Variadic): Update menu.
13174 (va_start): Do not mention varargs.h.
13175
17228132
TS
131762012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13177 Joseph Myers <joseph@codesourcery.com>
13178
13179 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13180 link test.
13181 * configure: Regenerated.
13182
8149f976
TS
131832012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13184
05f3d1f6
UD
13185 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13186 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13187 conformtest.pl
8149f976 13188
1a4ac776
JM
131892012-03-21 Joseph Myers <joseph@codesourcery.com>
13190
be22ce65
JM
13191 * NOTES: Remove.
13192 * Makefile (files-for-dist): Remove NOTES.
13193 (NOTES): Remove rule.
13194 * README: Don't refer to NOTES.
13195 * manual/creature.texi: Don't include macros.texi.
13196 * manual/intro.texi (creature.texi): Remove comment referring to
13197 NOTES.
13198
40b601fb
JM
13199 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13200 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13201 * configure: Regenerated.
13202 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13203 LIBC_TRY_CC_OPTION.
13204 (libc_cv_as_i686): Likewise.
13205 (libc_cv_cc_avx): Likewise.
13206 (libc_cv_cc_sse2avx): Likewise.
13207 (libc_cv_cc_fma4): Likewise.
13208 (libc_cv_cc_novzeroupper): Likewise.
13209 * sysdeps/i386/configure: Regenerated.
13210
1a4ac776
JM
13211 [BZ #13883]
13212 * sysdeps/i386/fpu/s_cexp.S: Remove.
13213 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13214 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13215 * math/libm-test.inc (cexp_test): Add more tests.
13216 * sysdeps/i386/fpu/libm-test-ulps: Update.
13217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13218
a458e7fe
AM
132192012-03-21 Allan McRae <allan@archlinux.org>
13220
13221 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13222
0cb7efc5
JM
132232012-03-21 Joseph Myers <joseph@codesourcery.com>
13224
13225 [BZ #13871]
13226 * math/w_exp2.c: Do not include <float.h>.
13227 (o_threshold, u_threshold): Remove.
13228 (__exp2): Calculate result before checking finiteness and calling
13229 __kernel_standard.
13230 * math/w_exp2f.c: Likewise.
13231 * math/w_exp2l.c: Likewise.
13232 * math/libm-test.inc (exp2_test): Require overflow exception for
13233 1e6 input.
2460d3aa
JM
13234
13235 [BZ #3866]
13236 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13237 range of signed 64-bit integers before using fistpll. Remove
13238 checks for whether integers fit in mantissa bits.
13239 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13240 the range of signed 32-bit integers before using fistpl. Remove
13241 checks for whether integers fit in mantissa bits.
13242 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13243 (__ieee754_powl): Test for y outside the range of signed 64-bit
13244 integers before using fistpll. Reduce 64-bit values to 63-bit
13245 ones as needed.
13246 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13247 divide-by-zero is raised for zero to large negative powers.
13248 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13249 (__ieee754_powl): Test for y outside the range of signed 64-bit
13250 integers before using fistpll. Reduce 64-bit values to 63-bit
13251 ones as needed.
13252 * math/libm-test.inc (pow_test): Add more tests.
13253
eb96ffb0
L
132542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13255
13256 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13257 <stdio-common/_itoa.h>.
13258 * debug/segfault.c: Likewise.
13259 * elf/dl-cache.c: Likewise.
13260 * elf/dl-minimal.c: Likewise.
13261 * elf/dl-misc.c: Likewise.
13262 * elf/dl-sysdep.c: Likewise.
13263 * elf/dl-version.c: Likewise.
13264 * elf/rtld.c: Likewise.
13265 * hurd/hurdsock.c: Likewise.
13266 * hurd/lookup-retry.c: Likewise.
13267 * malloc/malloc.c: Likewise.
13268 * malloc/mtrace.c: Likewise.
13269 * nscd/nscd_getgr_r.c: Likewise.
13270 * nscd/nscd_getpw_r.c: Likewise.
13271 * nscd/nscd_getserv_r.c: Likewise.
13272 * posix/getopt_init.c: Likewise.
13273 * posix/wordexp.c: Likewise.
13274 * stdio-common/_itoa.c: Likewise.
13275 * stdio-common/printf_fphex.c: Likewise.
13276 * stdio-common/vfprintf.c: Likewise.
13277 * string/_strerror.c: Likewise.
13278 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13279 * sysdeps/i386/i686/hp-timing.h: Likewise.
13280 * sysdeps/mach/_strerror.c: Likewise.
13281 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13282 * sysdeps/mach/hurd/sethostid.c: Likewise.
13283 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13284 * sysdeps/mach/xpg-strerror.c: Likewise.
13285 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13286 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13287 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13288 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13289 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13290 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13291 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13292 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13293 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13294 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13295 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13296 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13297 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13298 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13299 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13300 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13301 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13302 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13303 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13304 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13305 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13306
13307 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13308
13309 * stdio-common/_itoa.h: Moved to ...
13310 * sysdeps/generic/_itoa.h: Here.
13311
13312 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13313
13314 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13315 instead of "_itoa.h" and "_itowa.h".
13316 * stdio-common/vfprintf.: Likewise.
13317
d1af992d
L
133182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13319
13320 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13321 <bits/wordsize.h>.
13322 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13323 (__signbit): Likwise.
13324 (llrintf): Likwise.
13325 (llrint): Likwise.
13326
114883e0
L
133272012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13328
13329 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13330 __WORDSIZE != 64.
13331
c135cc1b
JM
133322012-03-20 Joseph Myers <joseph@codesourcery.com>
13333
13334 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13335 OVERFLOW_EXCEPTION_OK.
13336 * math/libm-test.inc ("Philosophy"): Update comment about
13337 exception testing.
13338 (OVERFLOW_EXCEPTION): Define.
13339 (OVERFLOW_EXCEPTION_OK): Likewise.
13340 (INVALID_EXCEPTION_OK): Renumber.
13341 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13342 (IGNORE_ZERO_INF_SIGN): Likewise.
13343 (test_exceptions): Handle FE_OVERFLOW.
13344 (exp10_test): Expect overflow exceptions.
13345 (exp2_test): Likewise.
13346 (expm1_test): Likewise.
13347 (nextafter_test): Likewise.
13348 (pow_test): Likewise.
13349 (scalbn_test): Likewise.
13350 (scalbln_test): Likewise.
13351
95443d88
L
133522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13353
13354 * sysdeps/x86_64/bits/atomic.h
13355 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13356 64bit integer.
13357 (atomic_exchange_acq): Likewise.
13358 (__arch_exchange_and_add_body): Likewise.
13359 (__arch_add_body): Likewise.
13360 (atomic_add_negative): Likewise.
13361 (atomic_add_zero): Likewise.
13362
490df6c4
L
133632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13364
c2722551 13365 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
13366 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13367
5e52b189
L
133682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13369
13370 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13371 Check __x86_64__ instead of __WORDSIZE.
13372
a9879d4c
L
133732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13374
13375 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13376
5df98260
DM
133772012-03-19 David S. Miller <davem@davemloft.net>
13378
e1497744
DM
13379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13380
5df98260
DM
13381 * sysdeps/sparc/fpu/fenv_private.h: New file.
13382 * sysdeps/sparc/fpu/math_private.h: Use it.
13383 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13384 Remove.
13385 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13386 (libc_feholdexcept_setroundl): Remove.
13387 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13388 Remove.
13389 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13390 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13391
b4c35121
L
133922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13393
13394 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13395 int64_t instead of long int.
13396 (INSERT_WORDS64): Likwise.
13397
56965fd7
L
133982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13399
13400 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13401 _Unwind_GetCFA return to _Unwind_Ptr first.
13402
83d1aec8
JM
134032012-03-19 Joseph Myers <joseph@codesourcery.com>
13404
1897ad44
JM
13405 [BZ #13629]
13406 * math/s_clog.c: Include <float.h>.
13407 (__clog): Scale large or subnormal inputs.
13408 * math/s_clogf.c: Likewise.
13409 * math/s_clogl.c: Likewise.
13410 * math/s_clog10.c: Include <float.h>.
13411 (M_LOG10_2): Define.
13412 (__clog10): Scale large or subnormal inputs.
13413 * math/s_clog10f.c: Likewise.
13414 * math/s_clog10l.c: Likewise.
13415 * math/libm-test.inc (clog_test): Add more tests.
13416 (clog10_test): Likewise.
13417 * sysdeps/i386/fpu/libm-test-ulps: Update.
13418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13419
7726d6a9
JM
13420 [BZ #11451]
13421 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13422 x and y.
13423 * math/libm-test.inc (atan2_test): Add another test.
13424
83d1aec8
JM
13425 * Makerules (common-objdir-compile): Remove.
13426 * sysdeps/unix/Makefile (config-generated): Do not add
13427 $(unix-generated) to variable.
13428 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13429 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13430 Remove rule.
13431 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13432 Likewise.
13433 [generic bits/local_lim.h] (before-compile): Do not append to
13434 variable.
13435 [generic bits/local_lim.h] (common-generated): Likewise.
13436 [generic sys/param.h] (before-compile): Do not append to variable.
13437 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13438 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13439 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13440 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13441 include.
13442 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13443 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13444 [generic sys/param.h] ($(addprefix
13445 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13446 [generic sys/param.h] (common-generated): Do not append to
13447 variable.
13448 [generic sys/param.h] (sysdep_headers): Likewise.
13449 [generic bits/errno.h] (before-compile): Do not append to
13450 variable.
13451 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13452 rule.
13453 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13454 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13455 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13456 [generic bits/errno.h] (common-generated): Do not append to
13457 variable.
13458 [generic bits/ioctls.h] (before-compile): Do not append to
13459 variable.
13460 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13461 rule.
13462 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13463 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13464 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13465 rule.
13466 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13467 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13468 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13469 [generic bits/ioctls.h] (common-generated): Do not append to
13470 variable.
13471 [generic sys/syscall.h] (syscall.h): Remove variable.
13472 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13473 rule.
13474 [generic sys/syscall.h] (before-compile): Do not append to
13475 variable.
13476 [generic sys/syscall.h] (common-generated): Likewise.
13477 * sysdeps/unix/errnos-tmpl.c: Remove file.
13478 * sysdeps/unix/errnos.awk: Likewise.
13479 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13480 * sysdeps/unix/ioctls.awk: Likewise.
13481 * sysdeps/unix/mk-local_lim.c: Likewise.
13482 * sysdeps/unix/snarf-ioctls: Likewise.
13483
4851a949
RH
134842012-03-19 Richard Henderson <rth@twiddle.net>
13485
bd37f2ee
RH
13486 * sysdeps/i386/fpu/fenv_private.h: New file.
13487 * sysdeps/i386/fpu/math_private.h: Use it.
13488 (math_opt_barrier, math_force_eval): Remove.
13489 (libc_feholdexcept_setround_53bit): Remove.
13490 (libc_feupdateenv_53bit): Remove.
13491 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13492 (math_opt_barrier, math_force_eval): Remove.
13493 (libc_feholdexcept): Remove.
13494 (libc_feholdexcept_setround): Remove.
13495 (libc_fetestexcept, libc_fesetenv): Remove.
13496 (libc_feupdateenv_test): Remove.
13497 (libc_feupdateenv, libc_feholdsetround): Remove.
13498 (libc_feresetround): Remove.
13499
d0adc922
RH
13500 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13501 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13502
0fe0f1f8
RH
13503 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13504 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13505 (libc_feupdateenv_testl): New.
13506 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13507 (libc_feupdateenv_testf): New.
13508 (libc_feupdateenv): Use libc_feupdateenv_test.
13509 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13510 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13511
eb92c487
RH
13512 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13513 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13514 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13515 (libc_feresetround_noex): New.
13516 (libc_feresetround_noexf): New.
13517 (libc_feresetround_noexl): New.
13518 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13519 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13520 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13521 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13522 SET_RESTORE_ROUND.
13523 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13524 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13525 (__cos): Likewise.
13526 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13527 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13528 SET_RESTORE_ROUND_NOEX.
13529 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13530 SET_RESTORE_ROUND_NOEXF.
13531 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13532 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13533 (libc_feholdsetroundf): New.
13534 (libc_feresetround, libc_feresetroundf): New.
13535
7d2e8012
RH
13536 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13537 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13538 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13539
b4dabbb4
RH
13540 * sysdeps/generic/math_private.h: Include <fenv.h>.
13541 (default_libc_feholdexcept): New.
13542 (default_libc_feholdexcept_setround): New.
13543 (default_libc_fesetenv, default_libc_feupdateenv): New.
13544 (libc_feholdexcept): Only define if undefined.
13545 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13546 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13547 (libc_feholdexcept_setroundl): Likewise.
13548 (libc_feholdexcept_setround_53bit): Likewise.
13549 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13550 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13551 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13552 (libc_feupdateenv_53bit): Likewise.
13553 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13554 (libc_feholdexcept): Convert from macro to inline function.
13555 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13556 (libc_fesetenv, libc_feupdateenv): Likewise.
13557
4851a949
RH
13558 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13559 not previously defined.
13560 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13561 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13562 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13563 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13564 * sysdeps/ieee754/flt-32/math_private.h: New file.
13565 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13566 math_private.h below SET_FLOAT_WORD.
13567 (__isnan, __isinf_ns, __finite): Remove.
13568 (__isnanf, __isinf_nsf, __finitef): Remove.
13569
e79d442e
AS
135702012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13571
13572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13573
90b80344
DM
135742012-03-17 David S. Miller <davem@davemloft.net>
13575
13576 [BZ #6471]
13577 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13578 for 2.16.
13579
edc21804
DM
135802012-03-16 David S. Miller <davem@davemloft.net>
13581
77e927af
DM
13582 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13583 warnings.
13584
374976dd
DM
13585 [BZ #6471]
13586 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13587 properly.
13588 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13589 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13590 sysdep_routines when subdir is sysvipc.
13591 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13592 __getshmlba helper.
13593
edc21804
DM
13594 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13595
473c3ef3
L
135962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13597
13598 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13599 [__LP64__].
13600
eb0f39b6
L
136012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13602
13603 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13604 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13605 (__lround): Renamed to ...
13606 (__llround): This. Replace long int with long long int.
13607 Define lround functions as aliases of llround functions.
13608 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13609
6b6cd74b
L
136102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13611
13612 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13613 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13614 adresses to uintptr_t. Replace "long int" and "unsigned long
13615 int" with "greg_t" on va_arg.
13616
f1a77b01
L
136172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13618
13619 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13620 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13621
13622 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13623 Move e_machine check before EI_CLASS check. Handle x32
13624 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13625 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13626 SKIP_EM_IA_64 and include
13627 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13628
13629 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13630 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13631 (add_system_dir): New macro.
13632
13633 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13634 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13635
11b90b9f
JM
136362012-03-16 Joseph Myers <joseph@codesourcery.com>
13637
c36e1d23
JM
13638 [BZ #2551]
13639 [BZ #2552]
13640 [BZ #2553]
13641 [BZ #2554]
13642 [BZ #2562]
13643 [BZ #2563]
13644 [BZ #2565]
13645 [BZ #2566]
13646 [BZ #2576]
13647 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13648 (y0): Likewise.
13649 * math/w_j0f.c (j0f): Likewise.
13650 (y0f): Likewise.
13651 * math/w_j0l.c (__j0l): Likewise.
13652 (__y0l): Likewise.
13653 * math/w_j1.c (j1): Likewise.
13654 (y1): Likewise.
13655 * math/w_j1f.c (j1f): Likewise.
13656 (y1f): Likewise.
13657 * math/w_j1l.c (__j1l): Likewise.
13658 (__y1l): Likewise.
13659 * math/w_jn.c (jn): Likewise.
13660 (yn): Likewise.
13661 * math/w_jnf.c (jnf): Likewise.
13662 (ynf): Likewise.
13663 * math/w_jnl.c (__jnl): Likewise.
13664 (__ynl): Likewise.
13665 * math/libm-test.inc (j0_test): Add more tests.
13666 (j1_test): Likewise.
13667 (jn_test): Likewise. Add trailing semicolon to existing test.
13668 (y0_test): Likewise.
13669 (y1_test): Likewise.
13670 * sysdeps/i386/fpu/libm-test-ulps: Update.
13671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13672
11b90b9f
JM
13673 [BZ #13851]
13674 [BZ #13854]
13675 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13676 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13677 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13678 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13679 (__tanl): Set errno for infinite argument.
13680 * sysdeps/i386/fpu/mptan.c: Remove.
13681 * sysdeps/i386/fpu/s_tan.S: Likewise.
13682 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13683 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13684 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13685 * math/libm-test.inc (tan_test): Add more tests and enable more
13686 tests for double and long double.
13687 * sysdeps/i386/fpu/libm-test-ulps: Update.
13688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13689
6a1bd2a1
JK
136902012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13691
13692 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13693 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13694
10a803e0
RM
136952012-03-16 Roland McGrath <roland@hack.frob.com>
13696
13697 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13698 * configure.in: Use it for both main tree and add-ons.
13699 * configure: Regenerated.
13700
f196c7f7
L
137012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13702
13703 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13704
8848d99d
JM
137052012-03-16 Joseph Myers <joseph@codesourcery.com>
13706
96cbe7f4
JM
13707 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13708 in comment.
13709
8848d99d
JM
13710 [BZ #13851]
13711 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13712 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13713 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13714 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13715 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13716 infinite argument.
13717 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13718 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13719 != 0 for prec == 2.
13720 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13721 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13722 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13723 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13724 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13725 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13726 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13727 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13728 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13729 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13730 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13731 * math/libm-test.inc (cos_test): Add more tests and enable more
13732 tests for long double.
13733 (sin_test): Likewise.
13734 (sincos_test): Likewise.
13735 * sysdeps/i386/fpu/libm-test-ulps: Update.
13736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13737
dd7f4703
DM
137382012-03-16 David S. Miller <davem@davemloft.net>
13739
13740 * sysdeps/sparc/fpu/math_private.h: New file.
13741
006f1daa
DM
137422012-03-15 David S. Miller <davem@davemloft.net>
13743
c0c83bc8
DM
13744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13745 file.
e6a62e18 13746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13748 file.
e6a62e18
DM
13749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13752 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13753 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13754 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13755 sysdep routines.
13756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13757
88cb87d9
DM
13758 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13759 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13760
006f1daa 13761 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13763 sparc-ifunc.h
006f1daa 13764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13766 Likewise.
13767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13768 Likewise.
006f1daa
DM
13769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13773 Likewise.
006f1daa
DM
13774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13779 Likewise.
13780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13781 Likewise.
006f1daa
DM
13782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13786 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13787 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13788 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13789 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13790 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13791 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13795 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13798 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13799 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13800 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13801 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13802 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13803 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13804 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13805 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13806
11e0098e
AS
138072012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13808
13809 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13810 scaling.
13811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13812
e85b09d0
AJ
138132012-03-15 Andreas Jaeger <aj@suse.de>
13814
13815 [BZ #13852]
13816 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13817 ieee754/flt-32 implementation for sin, cos and sincos.
13818 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13819 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13820 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13821 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13822 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13823 ieee754/flt-32 implementation for tan.
13824
13825 * math/libm-test.inc (cos_test): Enable some large input tests for
13826 float as well
13827 (sin_test): Likewise.
13828 (sincos_test): Likewise.
13829 (tan_test): Add tests for large input.
13830
13831 * sysdeps/i386/fpu/libm-test-ulps: Update.
13832
81c64153
AJ
138332012-03-15 Andreas Jaeger <aj@suse.de>
13834
13835 [BZ #13658]
13836 * math/libm-test.inc (cos_test): Add more test cases.
13837 (sin_test): Likewise.
13838 (sincos_test): Likewise.
13839
7bbfa5c6
AJ
138402012-03-15 Andreas Jaeger <aj@suse.de>
13841
13842 [BZ #13837]
13843 * math/libm-test.inc (cos_test): Add a test case for large input
13844 value.
13845 (sin_test): Likewise.
13846 (sincos_test): Likewise.
13847
138482012-03-15 Andreas Jaeger <aj@suse.de>,
13849 Joseph Myers <joseph@codesourcery.com>
13850
13851 [BZ #13658]
0671f479 13852 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13853 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13854 * sysdeps/i386/fpu/branred.c: Likewise.
13855 * sysdeps/i386/fpu/dosincos.c: Likewise.
13856 * sysdeps/i386/fpu/mpa.c: Likewise.
13857 * sysdeps/i386/fpu/s_cos.S: Likewise.
13858 * sysdeps/i386/fpu/s_sin.S: Likewise.
13859 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13860 * sysdeps/i386/fpu/sincos32.c: Likewise.
13861
13862 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13863 Define.
13864 (libc_feupdateenv_53bit): Define.
13865 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13866 Define.
13867 (libc_feupdateenv_53bit): Define.
13868
13869 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13870 53 bit (without extend i386 double precision).
13871
13872 * math/libm-test.inc (sincos_test): Add tests for large input.
13873 (sin): Likewise.
13874 (cos): Likewise.
13875
13876 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13877
9cad04ea
AS
138782012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13879
13880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13881
f7062b9a
DM
138822012-03-15 David S. Miller <davem@davemloft.net>
13883
13884 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13885 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13886 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13887 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13897 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13898 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13900 file.
f7062b9a 13901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13903 file.
f7062b9a 13904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13906 file.
f7062b9a 13907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13909 file.
f7062b9a
DM
13910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13911 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13912 fmin/fmax sysdep routines.
13913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13914
7bd951ff
DM
139152012-03-14 David S. Miller <davem@davemloft.net>
13916
559398ab
DM
13917 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13918 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13919 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13920 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13921 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13922 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13923 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13924 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13925 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13927 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13928 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13929 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13936 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13937 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13938 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13939 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13940 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13941 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13942 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13943 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13944 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13945 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13946 routines.
13947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13948 file.
559398ab 13949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13951 file.
559398ab 13952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13954 file.
559398ab 13955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13957 file.
559398ab 13958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13960 file.
559398ab 13961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13963 file.
13964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13965 file.
13966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13967 file.
13968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13969 file.
13970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13971 New file.
13972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13973 file.
13974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13975 file.
559398ab 13976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13978 file.
559398ab 13979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13981 file.
559398ab 13982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13984 file.
559398ab 13985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13987 VIS3 routines.
559398ab
DM
13988
13989 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13990 New file.
13991
5a1c1e32
DM
13992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13993
eae47a36
DM
13994 * sysdeps/sparc/configure.in: New file.
13995 * sysdeps/sparc/configure: Generate.
13996 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13997 * configure: Regenerate.
13998 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13999 * config.make.in (have-as-vis3): New.
14000 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14001 available use -Av9d instead of -Av9a.
14002 * sysdeps/sparc/sparc64/Makefile: Likewise.
14003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
14004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14005 New file.
14006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14007 file.
14008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14009 New file.
14010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14011 file.
eae47a36
DM
14012 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14013 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14014 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14015 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14016 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14017
c0c83bc8
DM
14018 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14019 fzeros/fnegs to load 0x80000000 into a float register instead of
14020 using the stack.
7bd951ff
DM
14021 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14022
bd951ccb
JM
140232012-03-14 Joseph Myers <joseph@codesourcery.com>
14024
14025 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14026 bits/syscall.h.
14027 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14028 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14029 ($(inst_includedir)/bits/syscall.h): Remove rule.
14030 ($(objpfx)bits/syscall.d): Include instead of
14031 $(objpfx)syscall-list.d.
14032 (generated): Change syscall-list.h and syscall-list.d to
14033 bits/syscall.h and bits/syscall.d.
14034
bb4e6db2
RM
140352012-03-14 Roland McGrath <roland@hack.frob.com>
14036
14037 [BZ #13846]
14038 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14039
aa4a2ae1
JM
140402012-03-14 Joseph Myers <joseph@codesourcery.com>
14041
e456826d
JM
14042 [BZ #13841]
14043 * math/s_csqrt.c: Include <float.h>.
14044 (__csqrt): Scale large or subnormal inputs.
14045 * math/s_csqrtf.c: Likewise.
14046 * math/s_csqrtl.c: Likewise.
14047 * math/libm-test.inc (csqrt_test): Add more tests.
14048 * sysdeps/i386/fpu/libm-test-ulps: Update.
14049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14050
aa4a2ae1
JM
14051 [BZ #13840]
14052 * math/libm-test.inc (hypot_test): Add more tests.
14053
7c10fd35
DM
140542012-03-13 David S. Miller <davem@davemloft.net>
14055
14056 [BZ #13840]
14057 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14058 double-precision for the calculation instead of scaling.
14059
f453b98b
JM
140602012-03-13 Joseph Myers <joseph@codesourcery.com>
14061
14062 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14063 manipulate bits before adding and subtracting TWO52[sx].
14064 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14065 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14066 Likewise.
14067 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14068
09a3453f
DM
140692012-03-13 David S. Miller <davem@davemloft.net>
14070
8e59da90
DM
14071 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14072 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14073 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14074 rtld-global-offsets.h
14075 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14076
2a8ab7f2
DM
14077 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14078 large parameters.
14079
10f62770
DM
14080 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14081
5f0bdb18
DM
14082 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14083 'err' in the ifdef scope in which it is actually used.
14084
09a3453f
DM
14085 * nss/nss_db/db-init.c: Include string.h
14086
b4b2eb5e
DM
140872012-03-12 David S. Miller <davem@davemloft.net>
14088
98bb2f1c
DM
14089 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14090 masking out of the most significant byte of random value used.
14091 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14092 Fix coding style in previous change.
14093
b4b2eb5e
DM
14094 * sysdeps/unix/sysv/linux/kernel-features.h
14095 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14096 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14097 expression.
14098 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14099 later.
14100
6e226b09
DM
141012012-03-11 David S. Miller <davem@davemloft.net>
14102
a1bcbd40
DM
14103 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14104 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14105 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14106 for 'resultvar' otherwise things get truncated on 64-bit.
14107
cb9d6174
DM
14108 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14109 Fix masking out of the most significant byte of random value used.
14110
6e226b09
DM
14111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14112
058c132d
AS
141132012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14114
14115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14116
2d2cd515
DM
141172012-03-09 David S. Miller <davem@davemloft.net>
14118
14119 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14120 variables with appropriate CPP guards.
14121 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14122 frame pointer, not the stack pointer. Correct layout comments. Fix test
14123 on resulting framesize and the management of the outregs buffer for pltexit.
14124 Preserve floating point return values across _dl_call_pltexit call.
14125 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14126 framesize and the management of the outregs buffer for pltexit.
14127 Preserve floating point return values across _dl_call_pltexit
14128 call.
14129 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14130 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14131 (print_exit): Fix format string for return register value.
14132
9a07f9d0
JM
141332012-03-10 Joseph Myers <joseph@codesourcery.com>
14134
14135 * sunrpc/Makefile (others): Add rpcgen.
14136 ($(objpfx)rpcgen): Remove special build rule and dependency on
14137 libc.
14138 * sunrpc/rpcgen.c: New file.
14139
547b5e30
PE
141402012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14141
c524201a
PE
14142 [BZ #13673]
14143 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14144 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14145 * sysdeps/i386/crti.S: Likewise.
14146 * sysdeps/i386/crtn.S: Likewise.
14147 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14148 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14149 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14150 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14151 * sysdeps/sh/crti.S: Likewise.
14152 * sysdeps/sh/crtn.S: Likewise.
14153 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14154
7b6235f2
PE
14155 [BZ #13673]
14156 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14157 with URL.
14158 * locale/programs/locfile-kw.gperf: Likewise.
14159 * locale/programs/charmap-kw.h: Regenerated.
14160 * locale/programs/locfile-kw.h: Likewise.
14161
547b5e30
PE
14162 [BZ #13673]
14163 * intl/plural.y: Replace FSF snail mail address with URL.
14164 * intl/plural.c: Regenerated.
14165
5f0a5dae
RH
141662012-03-09 Richard Henderson <rth@twiddle.net>
14167
14168 * include/math_private.h: Remove file.
14169 * math/math_private.h: Move file ...
14170 * sysdeps/generic/math_private.h: ... here.
14171
b8c03620
RH
14172 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14173 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14174 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14175
4e234f5d 14176 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
14177 and <math_private.h>.
14178 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14179 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14180 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14181 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14182 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14183 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14184 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14185 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14186 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14187 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14188 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14189 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14190 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14191 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14192 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14193 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14194 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14195 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14196 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14197 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14198 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14199 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14200 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14201 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14202 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14203 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14204 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14205 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14206 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14207 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14208 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14209 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14210 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14211 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14212 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14213 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14214 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14215 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14216 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14217 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14218 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14219 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14220 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14221 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14222 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14223 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14224 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14225 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14226 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14227 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14228 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14229 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14230 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14231 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14232 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14233 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14234 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14235 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14236 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14237 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14238 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14239 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14240 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14241 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14242 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14243 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14244 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14245 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14246 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14247 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14248 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14249 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14250 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14251 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14252 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14253 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14254 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14255 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14256 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14257 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14258 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14259 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14260 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14261 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14262 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14263 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14264 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14265 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14266 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14267 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14268 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14269 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14270 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14271 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14272 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14273 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14274 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14275 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14276 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14277 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14278 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14279 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14280 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14281 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14282 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14283 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14284 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14285 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14286 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14287 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14288 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14289 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14290 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14291 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14292 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14293 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14294 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14295 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14296 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14297 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14298 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14299 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14300 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14301 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14302 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14303 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14304 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14305 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14306 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14307 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14308 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14309 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14310 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14311 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14312 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14313 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14314 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14315 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14316 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14317 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14318 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14319 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14320 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14321 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14322 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14323 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14324 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14325 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14326 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14327 * sysdeps/ieee754/k_standard.c: Likewise.
14328 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14329 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14330 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14331 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14332 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14333 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14334 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14335 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14336 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14337 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14338 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14339 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14340 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14341 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14342 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14343 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14344 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14345 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14346 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14347 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14348 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14349 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14350 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14351 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14352 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14353 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14354 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14355 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14356 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14357 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14358 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14359 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14360 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14361 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14362 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14363 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14364 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14365 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14366 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14367 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14368 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14369 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14370 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14371 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14372 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14373 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14374 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14375 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14376 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14377 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14378 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14379 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14380 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14381 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14382 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14383 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14384 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14385 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14386 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14387 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14388 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14389 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14390 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14391 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14392 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14393 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14394 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14395 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14396 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14397 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14398 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14399 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14400 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14401 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14402 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14403 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14404 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14405 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14406 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14407 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14408 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14409 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14410 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14411 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14412 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14413 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14414 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14415 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14416 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14417 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14418 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14419 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14420 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14421 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14422 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14423 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14424 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14425 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14426 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14427 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14428 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14429 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14430 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14431 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14432 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14433 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14434 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14435 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14436 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14437 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14438 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14439 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14440 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14441 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14442 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14443 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14444 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14445 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14446 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14447 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14448 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14449 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14450 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14451 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14452 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14453 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14454 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14455 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14456 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14457 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14458 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14459 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14460 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14461 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14462 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14463 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14464 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14465 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14466 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14467 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14468 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14469 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14470 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14471 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14472 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14473 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14474 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14475 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14476 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14477 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14478 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14479 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14480 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14481 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14482 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14483 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14484 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14485 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14486 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14487 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14488 * sysdeps/ieee754/s_lib_version.c: Likewise.
14489 * sysdeps/ieee754/s_matherr.c: Likewise.
14490 * sysdeps/ieee754/s_signgam.c: Likewise.
14491 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14492 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14493 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14494 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14495 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14496 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14497 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14498 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14499 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14500 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14501 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14502 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14503 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14504 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14505 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14506 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14507 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14508 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14509 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14510 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14511 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 14512
1991fa03
JM
145132012-03-09 Joseph Myers <joseph@codesourcery.com>
14514
14515 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14516 * sunrpc/rpc_main.c: Likewise.
14517 * sunrpc/rpc_svcout.c: Likewise.
14518
60d6f5a6
DM
145192012-03-09 David S. Miller <davem@davemloft.net>
14520
14521 * include/math_private.h: New file.
14522
4962050e
JM
145232012-03-09 Joseph Myers <joseph@codesourcery.com>
14524
02a6f887
JM
14525 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14526 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14527 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14528 from <bits/socket_type.h>.
14529 (enum __socket_type): Don't define here.
14530 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14531 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14532 bits/socket_type.h.
14533
c6e013c1
JM
14534 [BZ #13566]
14535 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14536 checking __USE_GNU.
14537
4962050e
JM
14538 * Makerules ($(inst_includedir)/%.h): New rule.
14539 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14540 (install-others): Remove variable setting.
14541 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14542
38842f45
RH
145432012-03-08 Richard Henderson <rth@twiddle.net>
14544
67bb6da6
RH
14545 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14546 from macro to inline function; merge with the
14547 !__LIBC_INTERNAL_MATH_INLINES version.
14548 (__ieee754_sqrtf): Likewise.
14549
15194b4b
RH
14550 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14551 to inline function.
14552 (__rintf, __floor, __floorf): Likewise.
14553
64e21ede
RH
14554 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14555 macro to inline function.
14556 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14557
38842f45
RH
14558 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14559 not <math/math_private.h>.
14560
c64bf5fe
DM
145612012-03-08 David S. Miller <davem@davemloft.net>
14562
14563 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14564 copyright year.
14565 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14566
82d86f28
TS
145672012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14568
14569 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14570 normalization.
14571 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14572 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14573
aea5d727
UD
145742012-03-08 Ulrich Drepper <drepper@gmail.com>
14575
14576 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14577 be defined individually, they must be defined as a block. Define
14578 S for printing a string instead of hidint the different by using a
14579 macro for adding the 'l'.
14580 * stdio-common/tst-fphex-wide.c: Adjust.
14581
70bca0a3
MP
145822012-03-07 Marek Polacek <polacek@redhat.com>
14583
14584 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14585
65b81130
MP
145862012-03-08 Marek Polacek <polacek@redhat.com>
14587
14588 [BZ #13806]
14589 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14590 * stdio-common/tst-fphex.c: Define a few macros to make the
14591 test reusable. Use them.
14592 * stdio-common/tst-fphex-wide.c: New file.
14593
07037eeb
JM
145942012-03-08 Joseph Myers <joseph@codesourcery.com>
14595
a7a93d50
JM
14596 [BZ #6911]
14597 * manual/macros.texi (gnusystems): New macro.
14598 (nongnusystems): Likewise.
14599 (gnulinuxhurdsystems): Likewise.
14600 (gnuhurdsystems): Likewise..
14601 (gnulinuxsystems): Likewise.
14602 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14603 variants of the GNU system, not "GNU system".
14604 * manual/conf.texi: Likewise.
14605 * manual/errno.texi: Likewise. Update example of errno macro
14606 expansion.
14607 * manual/filesys.texi: Likewise.
14608 (getumask): Document as specific to GNU/Hurd.
14609 * manual/install.texi: Likewise. Reword some references to
14610 GNU/Linux.
14611 * manual/intro.texi: Likewise.
14612 * manual/io.texi: Likewise.
14613 (File Name Portability): Detail which constraints are inapplicable
14614 to all GNU systems and which are only inapplicable to GNU/Hurd.
14615 * manual/job.texi: Likewise.
14616 * manual/llio.texi: Likewise.
14617 (O_NOCTTY): Document as present on GNU/Linux.
14618 * manual/maint.texi: Likewise.
14619 * manual/memory.texi: Likewise.
14620 * manual/pattern.texi: Likewise.
14621 * manual/pipe.texi: Likewise.
14622 * manual/process.texi: Likewise.
14623 * manual/resource.texi: Likewise.
14624 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14625 child on GNU/Hurd.
14626 * manual/setjmp.texi: Likewise.
14627 * manual/signal.texi: Likewise.
14628 * manual/startup.texi: Likewise.
14629 * manual/stdio.texi: Likewise.
14630 * manual/terminal.texi: Likewise.
14631 (ONLCR): Document as POSIX.
14632 (OXTABS): Document availability on GNU/Linux as XTABS.
14633 (ONOEOT): Document availability separately from other bits.
14634 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14635 * manual/time.texi: Likewise.
14636 * manual/users.texi: Likewise.
14637 * INSTALL: Regenerated.
14638 * sysdeps/gnu/errlist.c: Regenerated.
14639
07037eeb
JM
14640 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14641 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14642 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14643 puts.
14644 * configure: Regenerated.
14645
d1d3431a
JM
146462012-03-07 Joseph Myers <joseph@codesourcery.com>
14647
af6a1e37
JM
14648 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14649 default includes instead of AC_HEADER_CHECK.
14650 * sysdeps/i386/configure: Regenerated.
14651
d1d3431a
JM
14652 [BZ #10716]
14653 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14654 * math/s_cacoshf.c (__cacoshf): Likewise.
14655 * math/s_cacoshl.c (__cacoshl): Likewise.
14656 * math/s_casinh.c (__casinh): Set signs of result from argument.
14657 * math/s_casinhf.c (__casinhf): Likewise.
14658 * math/s_casinhl.c (__casinhl): Likewise.
14659 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14660 (casinh_test): Add more tests.
14661 * sysdeps/i386/fpu/libm-test-ulps: Update.
14662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14663
482ff4da
UD
146642012-03-07 Ulrich Drepper <drepper@gmail.com>
14665
872fda05
UD
14666 * po/zh_TW.po: Update from translation team.
14667
a4300c7a
UD
14668 * login/Makefile (distribute): Remove variable.
14669 * catgets/Makefile: Likewise.
14670 * mach/Makefile: Likewise.
14671 * malloc/Makefile: Likewise.
14672 * misc/Makefile: Likewise.
14673 * iconv/Makefile: Likewise.
14674 * nscd/Makefile: Likewise.
14675 * hurd/Makefile: Likewise.
14676 * manual/Makefile: Likewise.
14677 * locale/Makefile: Likewise.
14678 * intl/Makefile: Likewise.
14679 * conform/Makefile: Likewise.
14680 * nss/Makefile: Likewise.
14681 * time/Makefile: Likewise.
14682 * soft-fp/Makefile: Likewise.
14683 * dirent/Makefile: Likewise.
14684 * gmon/Makefile: Likewise.
14685 * po/Makefile: Likewise.
14686 * rt/Makefile: Likewise.
14687 * socket/Makefile: Likewise.
14688 * math/Makefile: Likewise.
14689 * signal/Makefile: Likewise.
14690 * debug/Makefile: Likewise.
14691 * elf/Makefile: Likewise.
14692 * timezone/Makefile: Likewise.
14693 * stdlib/Makefile: Likewise.
14694 * iconvdata/Makefile: Likewise.
14695 * sunrpc/Makefile: Likewise.
14696 * io/Makefile: Likewise.
14697 * argp/Makefile: Likewise.
14698 * inet/Makefile: Likewise.
14699 * hesiod/Makefile: Likewise.
14700 * grp/Makefile: Likewise.
14701 * csu/Makefile: Likewise.
14702 * wctype/Makefile: Likewise.
14703 * crypt/Makefile: Likewise.
14704 * libio/Makefile: Likewise.
14705 * string/Makefile: Likewise.
14706 * nis/Makefile: Likewise.
14707 * resolv/Makefile: Likewise.
14708 * stdio-common/Makefile: Likewise.
14709 * wcsmbs/Makefile: Likewise.
14710 * dlfcn/Makefile: Likewise.
14711 * posix/Makefile: Likewise.
14712
3b7c4e74 14713 [BZ #6959]
482ff4da
UD
14714 * timezone/Makefile: Don't install timezone files, just the programs
14715 and scripts.
14716
f72ed77d
UD
147172012-03-06 Ulrich Drepper <drepper@gmail.com>
14718
a000466f
UD
14719 * nss/databases.def: Add missing gshadow entry.
14720
f72ed77d
UD
14721 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14722
a53b7a4e
MP
147232012-03-06 Marek Polacek <polacek@redhat.com>
14724
14725 [BZ #13726]
14726 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14727 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14728 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14729 * stdio-common/tst-long-dbl-fphex.c: New file.
14730
e9258400
DM
147312012-03-06 David S. Miller <davem@davemloft.net>
14732
14733 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14734 (set_obp_int): New function.
14735 (get_obp_int): New function.
14736 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14737 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14738 Avoid unused variable warnings on 'val' and use builtin_expect.
14739 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14740 __builtin_expect.
e9258400
DM
14741 (INLINE_CLONE_SYSCALL): Likewise.
14742
3bd2c723
DM
147432012-03-05 David S. Miller <davem@davemloft.net>
14744
14745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14746
bbb78d03
AS
147472012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14748
884c5db4
AS
14749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14750
bbb78d03
AS
14751 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14752 only for |x| >= 40.
14753 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14754
1c9f702a 147552012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14756
14757 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14758 Replace gettimeofday with __vdso_gettimeofday.
14759
7be16f82
RM
14760 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14761 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14762 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14763
14764 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14765 time with __vdso_time.
14766
ed58a00f
JM
147672012-03-05 Joseph Myers <joseph@codesourcery.com>
14768
14769 * manual/lang.texi (size_t): Note types to which size_t may be
14770 equivalent with the GNU C Library, but do not describe when
14771 differences between them are significant.
14772
30ee4ced
AJ
147732012-03-05 Andreas Jaeger <aj@suse.de>
14774
14775 * sysdeps/i386/fpu/libm-test-ulps: Update.
14776
b7cd39e8
JM
147772012-03-05 Joseph Myers <joseph@codesourcery.com>
14778
14779 [BZ #3976]
14780 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14781 (__ieee754_pow): Save and restore rounding mode and use
14782 round-to-nearest for main computations.
14783 * math/libm-test.inc (pow_test_tonearest): New function.
14784 (pow_test_towardzero): Likewise.
14785 (pow_test_downward): Likewise.
14786 (pow_test_upward): Likewise.
14787 (main): Call the new functions.
14788 * sysdeps/i386/fpu/libm-test-ulps: Update.
14789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14790
14791 [BZ #3976]
14792 * math/libm-test.inc (cosh_test_tonearest): New function.
14793 (cosh_test_towardzero): Likewise.
14794 (cosh_test_downward): Likewise.
14795 (cosh_test_upward): Likewise.
14796 (sinh_test_tonearest): Likewise.
14797 (sinh_test_towardzero): Likewise.
14798 (sinh_test_downward): Likewise.
14799 (sinh_test_upward): Likewise.
14800 (main): Call the new functions.
14801 * sysdeps/i386/fpu/libm-test-ulps: Update.
14802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14803
6c6a98c9
TV
148042012-03-05 Tom de Vries <tom@codesourcery.com>
14805
14806 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14807 default stack guard is set in last bytes.
14808 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14809
21bb2d2e 148102012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14811
21bb2d2e 14812 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14813
21bb2d2e
AJ
14814 [BZ #13656]
14815 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14816 possibly allocate from heap instead of stack.
14817 * stdio-common/bug-vfprintf-nargs.c: New file.
14818 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14819
c6922934
AS
148202012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14821
14822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14823
bc957d53
MP
148242012-03-03 Marek Polacek <polacek@redhat.com>
14825
14826 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14827 * math/math_private.h: Likewise.
14828 * stdlib/tst-strtod.c: Likewise.
14829 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14830 * sysdeps/x86_64/bits/atomic.h: Likewise.
14831
6358490d
DM
148322012-03-02 David S. Miller <davem@davemloft.net>
14833
14834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14838 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14839 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14840 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14841 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14842
01ae168d
RM
148432012-03-02 Roland McGrath <roland@hack.frob.com>
14844
d9a17c07
RM
14845 [BZ #13792]
14846 * manual/examples/README: New file, says the example source files
14847 can be used under GPL>=2.
14848 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14849 line containing just "*/".
14850 * manual/examples/add.c: Add copyright header (GPL>=2).
14851 * manual/examples/argp-ex1.c: Likewise.
14852 * manual/examples/argp-ex2.c: Likewise.
14853 * manual/examples/argp-ex3.c: Likewise.
14854 * manual/examples/argp-ex4.c: Likewise.
14855 * manual/examples/atexit.c: Likewise.
14856 * manual/examples/db.c: Likewise.
14857 * manual/examples/dir.c: Likewise.
14858 * manual/examples/dir2.c: Likewise.
14859 * manual/examples/execinfo.c: Likewise.
14860 * manual/examples/filecli.c: Likewise.
14861 * manual/examples/filesrv.c: Likewise.
14862 * manual/examples/fmtmsgexpl.c: Likewise.
14863 * manual/examples/genpass.c: Likewise.
14864 * manual/examples/inetcli.c: Likewise.
14865 * manual/examples/inetsrv.c: Likewise.
14866 * manual/examples/isockad.c: Likewise.
14867 * manual/examples/longopt.c: Likewise.
14868 * manual/examples/memopen.c: Likewise.
14869 * manual/examples/memstrm.c: Likewise.
14870 * manual/examples/mkfsock.c: Likewise.
14871 * manual/examples/mkisock.c: Likewise.
14872 * manual/examples/mygetpass.c: Likewise.
14873 * manual/examples/pipe.c: Likewise.
14874 * manual/examples/popen.c: Likewise.
14875 * manual/examples/rprintf.c: Likewise.
14876 * manual/examples/search.c: Likewise.
14877 * manual/examples/select.c: Likewise.
14878 * manual/examples/setjmp.c: Likewise.
14879 * manual/examples/sigh1.c: Likewise.
14880 * manual/examples/sigusr.c: Likewise.
14881 * manual/examples/stpcpy.c: Likewise.
14882 * manual/examples/strdupa.c: Likewise.
14883 * manual/examples/strftim.c: Likewise.
14884 * manual/examples/strncat.c: Likewise.
14885 * manual/examples/subopt.c: Likewise.
14886 * manual/examples/swapcontext.c: Likewise.
14887 * manual/examples/termios.c: Likewise.
14888 * manual/examples/testopt.c: Likewise.
14889 * manual/examples/testpass.c: Likewise.
14890 * manual/examples/timeval_subtract.c: Likewise.
14891
01ae168d
RM
14892 [BZ #13792]
14893 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14894 function to ...
14895 * manual/timeval_subtract.c.texi: ... here, new file.
14896
49efa33d
DM
148972012-03-02 David S. Miller <davem@davemloft.net>
14898
14899 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14900
28afd92d
JM
149012012-03-02 Joseph Myers <joseph@codesourcery.com>
14902
804360ed
JM
14903 [BZ #3976]
14904 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14905 (__sin): Save and restore rounding mode and use round-to-nearest
14906 for all computations.
14907 (__cos): Save and restore rounding mode and use round-to-nearest
14908 for all computations.
14909 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14910 <fenv.h>.
14911 (tan): Save and restore rounding mode and use round-to-nearest for
14912 all computations.
14913 * math/libm-test.inc (cos_test_tonearest): New function.
14914 (cos_test_towardzero): Likewise.
14915 (cos_test_downward): Likewise.
14916 (cos_test_upward): Likewise.
14917 (sin_test_tonearest): Likewise.
14918 (sin_test_towardzero): Likewise.
14919 (sin_test_downward): Likewise.
14920 (sin_test_upward): Likewise.
14921 (tan_test_tonearest): Likewise.
14922 (tan_test_towardzero): Likewise.
14923 (tan_test_downward): Likewise.
14924 (tan_test_upward): Likewise.
14925 (main): Call the new functions.
14926 * sysdeps/i386/fpu/libm-test-ulps: Update.
14927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14928
a6d06d7b
JM
14929 [BZ #10135]
14930 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14931 small n, then large n, before computing and testing k+n.
14932 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14933 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14934 Likewise.
14935 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14936 Likewise.
14937 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14938 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14939 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14940 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14941 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14942 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14943 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14944 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14945 * math/libm-test.inc (scalbn_test): Add more tests.
14946 (scalbln_test): Likewise.
14947
07e12bb3
JM
14948 * manual/filesys.texi (mode_t): Describe constraints on size and
14949 signedness, not exact equivalence to a particular type.
14950 (ino_t): Likewise.
14951 (ino64_t): Likewise.
14952 (dev_t): Likewise.
14953 (nlink_t): Likewise.
14954 (blkcnt_t): Likewise.
14955 (blkcnt64_t): Likewise.
14956 * manual/llio.texi (off_t): Likewise.
14957
28afd92d
JM
14958 [BZ #3976]
14959 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14960 (__ieee754_exp): Save and restore rounding mode and use
14961 round-to-nearest for all computations.
14962 * math/libm-test.inc (exp_test_tonearest): New function.
14963 (exp_test_towardzero): Likewise.
14964 (exp_test_downward): Likewise.
14965 (exp_test_upward): Likewise.
14966 (main): Call the new functions.
14967 * sysdeps/i386/fpu/libm-test-ulps: Update.
14968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14969
b1eeb65d
CD
149702012-03-01 Chris Demetriou <cgd@google.com>
14971
14972 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14973 have predictable order.
14974
53362a4b
DM
149752012-03-01 David S. Miller <davem@davemloft.net>
14976
3c969083
DM
14977 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14978
759707de
DM
14979 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14980 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14981 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14982 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14983
dfdb8ff2
DM
14984 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14985 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14986 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14988 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14989 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14990 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14991 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14992 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14993
ead89f96
DM
14994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14995
7f66bd07
DM
14996 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14997 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14998 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14999
53362a4b
DM
15000 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15001 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15002 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15003 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15004 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15005 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15006 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15007 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15008 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15009 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15010 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15011 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15012 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15013 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15014 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15015 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15016 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15017 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15018 * sysdeps/sparc/elf/configure: Regenerated.
15019
7b1902cb
JM
150202012-03-01 Joseph Myers <joseph@codesourcery.com>
15021
bec039bc
JM
15022 * configure.in (AS, LD): Require binutils 2.20 or later.
15023 * configure: Regenerated.
15024 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15025 as required minimum version.
15026 * INSTALL: Regenerated.
15027
7b1902cb
JM
15028 [BZ #2541]
15029 [BZ #4108]
15030 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15031 before squaring exponent.
15032 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15033 bottom long double and 27 bits of top long double before squaring
15034 exponent.
15035 * math/libm-test.inc (erfc_test): Add more tests.
15036 * sysdeps/i386/fpu/libm-test-ulps: Update.
15037 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15039
f775c276
KT
150402012-03-01 Kai Tietz <ktietz@redhat.com>
15041
15042 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15043 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15044 containing bit-fields.
15045 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15046 * soft-fp/single.h (_FP_UNION_S): Likewise.
15047 * soft-fp/double.h (_FP_UNION_D): Likewise.
15048
5b8a4d4a
JM
150492012-02-29 Joseph Myers <joseph@codesourcery.com>
15050
0bab47b6
JM
15051 [BZ #13786]
15052 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15053 not include ../strcmp.S.
15054 [USE_AS_STRNCASECMP_L]: Likewise.
15055 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15056 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15057 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15058 (__strncasecmp_l_ia32): Define as alias to
15059 __strncasecmp_l_nonascii.
15060
0fcad3e2
JM
15061 [BZ #5794]
15062 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15063 * sysdeps/i386/fpu/libm-test-ulps: Update.
15064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15065
5b8a4d4a
JM
15066 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15068
8fdceb2e
JL
150692012-02-29 Jeff Law <law@redhat.com>
15070
15071 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15072 out of bounds read.
15073
1f393a11
MP
150742012-02-29 Marek Polacek <polacek@redhat.com>
15075
15076 [BZ #13706]
15077 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15078 * elf/Makefile: Add rules to run tst-unused-dep.out.
15079
8847f037
DM
150802012-02-28 David S. Miller <davem@davemloft.net>
15081
15082 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15083 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15084 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15085 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15086 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15087 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15088
169d7f11
JM
150892012-02-29 Joseph Myers <joseph@codesourcery.com>
15090
15091 * math/libm-test.inc (llround_test): Move one test from
15092 lround_test. Use TEST_f_L in moved test.
15093 (lround_test): Move misplaced test to llround_test. Add testcase
15094 from bug 2561.
15095
39adf059
UD
150962012-02-28 Ulrich Drepper <drepper@gmail.com>
15097
15098 * sysdeps/x86_64/fpu/e_expf.S: New file.
15099 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15100
71b5d1c5
SB
151012012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15102
15103 [BZ #13637]
15104 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15105 of remain_len that may cause incomplete multi-byte character and
15106 false match.
15107 * posix/bug-regex33.c: New file.
15108 * posix/Makefile (tests): Add bug-regex33.
15109
1f77f049
JM
151102012-02-28 Joseph Myers <joseph@codesourcery.com>
15111
15112 * manual/macros.texi: New file.
15113 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15114 * manual/libc.texinfo: Include macros.texi.
15115 * manual/creatute.texi: Likewise.
15116 * manual/install.texi: Likewise.
15117 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15118 @glibcadj{} in references to the GNU C Library.
15119 * manual/charset.texi: Likewise.
15120 * manual/conf.texi: Likewise.
15121 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15122 when not using those macros.
15123 * manual/creature.texi: Likewise.
15124 * manual/crypt.texi: Likewise.
15125 * manual/errno.texi: Likewise.
15126 * manual/filesys.texi: Likewise.
15127 * manual/header.texi: Likewise.
15128 * manual/install.texi: Likewise.
15129 * manual/intro.texi: Likewise.
15130 * manual/io.texi: Likewise.
15131 * manual/job.texi: Likewise.
15132 * manual/lang.texi: Likewise.
15133 * manual/libc.texiinfo: Likewise.
15134 * manual/llio.texi: Likewise.
15135 * manual/locale.texi: Likewise.
15136 * manual/maint.texi: Likewise.
15137 * manual/math.texi: Likewise.
15138 * manual/memory.texi: Likewise.
15139 * manual/message.texi: Likewise.
15140 * manual/nss.texi: Likewise.
15141 * manual/pattern.texi: Likewise.
15142 * manual/process.texi: Likewise.
15143 * manual/resource.texi: Likewise.
15144 * manual/search.texi: Likewise.
15145 * manual/setjmp.texi: Likewise.
15146 * manual/signal.texi: Likewise.
15147 * manual/socket.texi: Likewise.
15148 * manual/startup.texi: Likewise.
15149 * manual/stdio.texi: Likewise.
15150 * manual/string.texi: Likewise.
15151 * manual/sysinfo.texi: Likewise.
15152 * manual/syslog.texi: Likewise.
15153 * manual/terminal.texi: Likewise.
15154 * manual/time.texi: Likewise.
15155 * manual/users.texi: Likewise.
15156 * INSTALL: Regenerated.
15157 * NOTES: Regenerated.
d40c5d54 15158 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 15159
450bf206
AS
151602012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15161
15162 * include/dirent.h: Include <dirstream.h> before
15163 <dirent/dirent.h>.
15164
741a235b
DM
151652012-02-28 David S. Miller <davem@davemloft.net>
15166
15167 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15168 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15169 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15170 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15171
d6b5aa58
DM
151722012-02-27 David S. Miller <davem@davemloft.net>
15173
1aff59a3
DM
15174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15176 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15177 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15178
d6b5aa58
DM
15179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15180 frame pointer instead of stack pointer relative arg slot.
15181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15182 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15183 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15184
433f48bf
CD
151852012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15186
15187 [BZ #3992]
15188 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15189
d674b76d
DM
151902012-02-27 David S. Miller <davem@davemloft.net>
15191
15192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15196 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15197 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15198 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15199 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15200
0e7727f7
JM
152012012-02-27 Joseph Myers <joseph@codesourcery.com>
15202
15203 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15204 later. Allow versions 5-9.
43be4ca2 15205 * configure: Regenerated.
0e7727f7
JM
15206 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15207 required minimum version and 4.6 as recommended version. Do not
15208 mention bugs in GCC 2.7 and 2.8.
43be4ca2 15209 * INSTALL: Regenerated.
0e7727f7 15210
a78bc654
DM
152112012-02-27 David S. Miller <davem@davemloft.net>
15212
428d5830
DM
15213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15217 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15218 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15219 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15220 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15221
a78bc654
DM
15222 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15223 manipulate bits before adding and subtracting TWO112[sx].
15224 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15225
4579f81c
RM
152262012-02-27 Roland McGrath <roland@hack.frob.com>
15227
36c8acb4
RM
15228 [BZ #13775]
15229 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15230 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15231 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15232 being in POSIX, because they are in 1003.1-2008.
15233
84ad622b
RM
15234 * rt/tst-aio.c: Include <fcntl.h>.
15235 * rt/tst-aio7.c: Likewise.
15236 * rt/tst-aio64.c: Likewise.
15237
4579f81c
RM
15238 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15239
abd923db
JM
152402012-02-27 Joseph Myers <joseph@codesourcery.com>
15241
15242 * manual/install.texi (--with-headers): Describe headers as
15243 interface headers, not private headers.
15244 (Specific advice for GNU/Linux systems): Describe use of headers
15245 from "make headers_install", not private headers from older
15246 kernels.
43be4ca2 15247 * INSTALL: Regenerated.
abd923db
JM
15248 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15249 Change to 2.6.19.
15250 * sysdeps/unix/sysv/linux/configure: Regenerated.
15251
6664049b
JM
15252 * manual/llio.texi (fclean): Remove documentation.
15253
bb8b6697
JM
15254 * manual/Makefile (libc-texi-generated): New variable. Include
15255 version.texi.
15256 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15257 $(libc-texi-generated), not duplicated list of files.
15258 (version.texi, stamp-version): New rules.
15259 (realclean): Remove $(libc-texi-generated), not individual files
15260 from that list. Do not remove dir-add.texinfo.
15261 * manual/libc.texinfo: Comment out uses of edition numbers and
15262 references to printed manual. Remove last-updated dates.
15263 (EDITION): Comment out.
15264 (ISBN): Likewise.
15265 (VERSION, UPDATED): Remove.
15266 (version.texi): Include.
15267
12e5c3b9
AS
152682012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15269
15270 * sysdeps/posix/spawni.c: Include <signal.h>.
15271 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15272 * sysdeps/pthread/aio_fsync.c: Likewise.
15273
4efeffc1 152742012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 15275
ba63ba08
UD
15276 * conform/Makefile (tests): Run only when not cross-compiling and
15277 when fast-check is not defined.
15278
d94a4670
UD
15279 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15280 * conform/data/limits.h-data: Fixes for POSIX2008.
15281 * conform/run-conformtest.sh: Run all tests.
15282 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15283 headers.
15284 * include/bits/dlfcn.h: Likewise.
15285 * include/langinfo.h: Likewise.
15286 * include/monetary.h: Likewise.
15287 * include/sys/poll.h: Likewise.
15288
15289 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15290 for __USE_GNU.
15291 * posix/spawn.h: Define __need_sigset_t.
15292 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15293 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15294 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15295 to get sigevent_t only.
15296 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15297 only for __USE_GNU.
15298 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15299 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15300 process_vm_writev only for __USE_GNU.
15301 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
15302
15303 * conform/Makefile: For now ignore errors from run-conformtest.
15304 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15305 POSIX to avoid namespace pollution. Don't prepend headers.
15306 * conform/data/aio.h-data: Fixes for POSIX testing.
15307 * conform/data/fcntl.h-data: Likewise.
15308 * conform/data/glob.h-data: Likewise.
15309 * conform/data/grp.h-data: Likewise.
15310 * conform/data/pthread.h-data: Likewise.
15311 * conform/data/pwd.h-data: Likewise.
15312 * conform/data/signal.h-data: Likewise.
15313 * conform/data/spawn.h-data: Likewise.
15314 * conform/data/stdio.h-data: Likewise.
15315 * conform/data/stdlib.h-data: Likewise.
15316 * conform/data/stropts.h-data: Likewise.
15317 * conform/data/sys/mman.h-data: Likewise.
15318 * conform/data/sys/stat.h-data: Likewise.
15319 * conform/data/sys/types.h-data: Likewise.
15320 * conform/data/sys/wait.h-data: Likewise.
15321 * conform/data/time.h-data: Likewise.
15322 * conform/data/unistd.h-data: Likewise.
15323 * conform/data/utime.h-data: Likewise.
15324
15325 * io/sys/stat.h: fchmod was always in POSIX.
15326 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15327 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15328 * rt/aio.h: Define __need_timespec before including <time.h>.
15329 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15330 struct. Add forward declaration of pthread_attr_t and use it in
15331 sigevent.
15332 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15333 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15334 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15335 always remove CLK_TCK definition.
15336
c20105c3
AS
153372012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15338
15339 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15340
7a270350
UD
153412012-02-25 Ulrich Drepper <drepper@gmail.com>
15342
31341567
UD
15343 * conform/run-conformtest.sh: New file.
15344 * conform/Makefile: Run run-conformtest for tests.
15345 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15346 support.
15347
15348 * conform/data/uchar.h-data: New file.
15349 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15350 * conform/data/arpa/inet.h-data: Likewise.
15351 * conform/data/assert.h-data: Likewise.
15352 * conform/data/complex.h-data: Likewise.
15353 * conform/data/cpio.h-data: Likewise.
15354 * conform/data/ctype.h-data: Likewise.
15355 * conform/data/dirent.h-data: Likewise.
15356 * conform/data/dlfcn.h-data: Likewise.
15357 * conform/data/errno.h-data: Likewise.
15358 * conform/data/fcntl.h-data: Likewise.
15359 * conform/data/float.h-data: Likewise.
15360 * conform/data/fmtmsg.h-data: Likewise.
15361 * conform/data/fnmatch.h-data: Likewise.
15362 * conform/data/ftw.h-data: Likewise.
15363 * conform/data/glob.h-data: Likewise.
15364 * conform/data/grp.h-data: Likewise.
15365 * conform/data/iconv.h-data: Likewise.
15366 * conform/data/inttypes.h-data: Likewise.
15367 * conform/data/langinfo.h-data: Likewise.
15368 * conform/data/libgen.h-data: Likewise.
15369 * conform/data/limits.h-data: Likewise.
15370 * conform/data/locale.h-data: Likewise.
15371 * conform/data/math.h-data: Likewise.
15372 * conform/data/monetary.h-data: Likewise.
15373 * conform/data/mqueue.h-data: Likewise.
15374 * conform/data/ndbm.h-data: Likewise.
15375 * conform/data/net/if.h-data: Likewise.
15376 * conform/data/netdb.h-data: Likewise.
15377 * conform/data/netinet/in.h-data: Likewise.
15378 * conform/data/nl_types.h-data: Likewise.
15379 * conform/data/poll.h-data: Likewise.
15380 * conform/data/pthread.h-data: Likewise.
15381 * conform/data/pwd.h-data: Likewise.
15382 * conform/data/regex.h-data: Likewise.
15383 * conform/data/sched.h-data: Likewise.
15384 * conform/data/search.h-data: Likewise.
15385 * conform/data/semaphore.h-data: Likewise.
15386 * conform/data/setjmp.h-data: Likewise.
15387 * conform/data/signal.h-data: Likewise.
15388 * conform/data/spawn.h-data: Likewise.
15389 * conform/data/stdarg.h-data: Likewise.
15390 * conform/data/stdio.h-data: Likewise.
15391 * conform/data/stdlib.h-data: Likewise.
15392 * conform/data/string.h-data: Likewise.
15393 * conform/data/strings.h-data: Likewise.
15394 * conform/data/stropts.h-data: Likewise.
15395 * conform/data/sys/ipc.h-data: Likewise.
15396 * conform/data/sys/mman.h-data: Likewise.
15397 * conform/data/sys/msg.h-data: Likewise.
15398 * conform/data/sys/resource.h-data: Likewise.
15399 * conform/data/sys/select.h-data: Likewise.
15400 * conform/data/sys/sem.h-data: Likewise.
15401 * conform/data/sys/shm.h-data: Likewise.
15402 * conform/data/sys/socket.h-data: Likewise.
15403 * conform/data/sys/stat.h-data: Likewise.
15404 * conform/data/sys/statvfs.h-data: Likewise.
15405 * conform/data/sys/time.h-data: Likewise.
15406 * conform/data/sys/timeb.h-data: Likewise.
15407 * conform/data/sys/times.h-data: Likewise.
15408 * conform/data/sys/types.h-data: Likewise.
15409 * conform/data/sys/uio.h-data: Likewise.
15410 * conform/data/sys/un.h-data: Likewise.
15411 * conform/data/sys/utsname.h-data: Likewise.
15412 * conform/data/sys/wait.h-data: Likewise.
15413 * conform/data/syslog.h-data: Likewise.
15414 * conform/data/tar.h-data: Likewise.
15415 * conform/data/termios.h-data: Likewise.
15416 * conform/data/utime.h-data: Likewise.
15417 * conform/data/utmpx.h-data: Likewise.
15418 * conform/data/varargs.h-data: Likewise.
15419 * conform/data/wchar.h-data: Likewise.
15420 * conform/data/wctype.h-data: Likewise.
15421 * conform/data/wordexp.h-data: Likewise.
15422
15423 * include/stropts.h: New file.
15424 * include/uchar.h: New file.
15425 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15426 * include/assert.h: Likewise.
15427 * include/ctype.h: Likewise.
15428 * include/dirent.h: Likewise.
15429 * include/dlfcn.h: Likewise.
15430 * include/fcntl.h: Likewise.
15431 * include/fnmatch.h: Likewise.
15432 * include/glob.h: Likewise.
15433 * include/grp.h: Likewise.
15434 * include/libio.h: Likewise.
15435 * include/locale.h: Likewise.
15436 * include/math.h: Likewise.
15437 * include/net/if.h: Likewise.
15438 * include/netdb.h: Likewise.
15439 * include/netinet/in.h: Likewise.
15440 * include/pthread.h: Likewise.
15441 * include/pwd.h: Likewise.
15442 * include/regex.h: Likewise.
15443 * include/sched.h: Likewise.
15444 * include/search.h: Likewise.
15445 * include/setjmp.h: Likewise.
15446 * include/signal.h: Likewise.
15447 * include/stdio.h: Likewise.
15448 * include/stdlib.h: Likewise.
15449 * include/string.h: Likewise.
15450 * include/sys/cdefs.h: Likewise.
15451 * include/sys/mman.h: Likewise.
15452 * include/sys/msg.h: Likewise.
15453 * include/sys/resource.h: Likewise.
15454 * include/sys/select.h: Likewise.
15455 * include/sys/socket.h: Likewise.
15456 * include/sys/stat.h: Likewise.
15457 * include/sys/statvfs.h: Likewise.
15458 * include/sys/time.h: Likewise.
15459 * include/sys/times.h: Likewise.
15460 * include/sys/uio.h: Likewise.
15461 * include/sys/utsname.h: Likewise.
15462 * include/sys/wait.h: Likewise.
15463 * include/termios.h: Likewise.
15464 * include/time.h: Likewise.
15465 * include/ulimit.h: Likewise.
15466 * include/unistd.h: Likewise.
15467 * include/utime.h: Likewise.
15468 * include/wchar.h: Likewise.
15469 * include/wctype.h: Likewise.
15470 * include/wordexp.h: Likewise.
15471
15472 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15473
7a270350
UD
15474 * time/time.h: TIME_UTC must be a macro.
15475 Make timespec_get available for ISO C11 only as well.
15476
7724defc
UD
154772012-02-24 Ulrich Drepper <drepper@gmail.com>
15478
15479 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15480 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15481
6b1d1d46
JM
154822012-02-24 Joseph Myers <joseph@codesourcery.com>
15483
15484 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 15485
0f8bbd69
JM
154862012-02-24 Joseph Myers <joseph@codesourcery.com>
15487
15488 * manual/texinfo.tex: Update to version 2012-01-19.16.
15489
66ab80bc
JM
154902012-02-24 Joseph Myers <joseph@codesourcery.com>
15491
15492 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15493
74981cc5
RM
154942012-02-24 Roland McGrath <roland@hack.frob.com>
15495
ee968201
RM
15496 [BZ #13738]
15497 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15498 * manual/fdl-1.3.texi: New file.
15499 * manual/fdl-1.1.texi: File removed.
15500
74981cc5
RM
15501 [BZ #13738]
15502 * manual/libc.texinfo (FDL_VERSION): New @set.
15503 Use it for mention of FDL in cover text.
15504 (Documentation License): Use it in @include file name.
15505
7bb764bc
JM
155062012-02-22 Joseph Myers <joseph@codesourcery.com>
15507 Roland McGrath <roland@hack.frob.com>
15508
15509 [BZ #5461]
15510 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15511 not LONG_LONG_MAX and LONG_LONG_MIN.
15512 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15513 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15514 name.
15515 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15516
6cbeae47
JM
155172012-02-22 Joseph Myers <joseph@codesourcery.com>
15518
15519 [BZ #2547]
15520 [BZ #11365]
15521 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15522 manipulate bits before adding and subtracting TWO23[sx].
15523 * math/libm-test.inc (nearbyint_test): Add more tests.
15524
fe45ce09
JM
155252012-02-22 Joseph Myers <joseph@codesourcery.com>
15526
15527 [BZ #2548]
15528 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15529 bits before adding and subtracting TWO23[sx].
15530 * math/libm-test.inc (rint_test): Add more tests.
15531 (rint_test_tonearest): Likewise.
15532 (rint_test_towardzero): Likewise.
15533 (rint_test_downward): Likewise.
15534 (rint_test_upward: Likewise.
15535
ff3b3d82
JM
155362012-02-22 Joseph Myers <joseph@codesourcery.com>
15537
15538 [BZ #10110]
15539 * include/stdc-predef.h: New file. Extracted from features.h.
15540 * include/features.h: Include stdc-predef.h.
15541 * Makefile (headers): Add stdc-predef.h.
15542 * CONFORMANCE (Compiler limitations): Update.
15543
ef0aab35
JM
155442012-02-22 Joseph Myers <joseph@codesourcery.com>
15545
15546 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15547
58639409
DM
155482012-02-21 David S. Miller <davem@davemloft.net>
15549
15550 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15551 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15552
c0e70b25
DM
155532012-02-20 David S. Miller <davem@davemloft.net>
15554
15555 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15556 using a normal save/restore sequence, rather than allocating a
15557 dummy stack frame just to store a frame pointer and restore.
15558 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15559
fb06851d
JM
155602012-02-21 Joseph Myers <joseph@codesourcery.com>
15561
15562 * manual/install.texi: Fix stray word in line-wrapped comment.
15563
7a8b71c3
DM
155642012-02-20 David S. Miller <davem@davemloft.net>
15565
d510c123
DM
15566 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15567 both binutils and gcc support GOTDATA.
15568
0722d7c2
DM
15569 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15570 "rd %pc" in the PIC register setup sequences.
15571
3d2b3019
DM
15572 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15573 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15574 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15575 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15576 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15577 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15578 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15579 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15580 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15581 (SYSCALL_ERROR_HANDLER): Likewise.
15582 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15583 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15584 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15585 (SYSCALL_ERROR_HANDLER): Likewise.
15586
c80098a9
DM
15587 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15588 (HAVE_GCC_GOTDATA): New.
15589 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15590 relocation support in both binutils and gcc.
15591 * sysdeps/sparc/elf/configure: Regenerate.
15592
3a2545a0
DM
15593 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15594 * sysdeps/sparc/sparc32/elf/configure: Delete.
15595 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15596 * sysdeps/sparc/sparc64/elf/configure: Delete.
15597 * sysdeps/sparc/elf/configure.in: New file.
15598 * sysdeps/sparc/elf/configure: Generate.
15599
7a8b71c3
DM
15600 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15601 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15602 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15603 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15604 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15605
f1e86fca
JM
156062012-02-21 Joseph Myers <joseph@codesourcery.com>
15607
15608 * manual/install.texi: Do not mention specific glibc version
15609 numbers.
15610 * manual/libc.texinfo (VERSION, UPDATED): Update.
15611 (@copying): Use @copyright{} and range of years.
15612
0e7dfaef
JM
156132012-02-21 Joseph Myers <joseph@codesourcery.com>
15614
15615 [BZ #13695]
15616 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15617 [crti.S not in sysdirs] (generated): Do not append.
15618 [crti.S not in sysdirs] (omit-deps): Likewise.
15619 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15620 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15621 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15622 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15623 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15624 Likewise.
15625 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15626 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15627 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15628 * csu/defs.awk: Remove file.
15629 * sysdeps/generic/initfini.c: Likewise.
15630 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15631 variable.
15632 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15633 Likewise.
15634
599af3ca
JM
156352012-02-20 Joseph Myers <joseph@codesourcery.com>
15636
15637 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15638 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15639 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15640 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15641 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15642 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15643 <bits/epoll.h>.
15644 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15645 (__EPOLL_PACKED): Define to empty if not defined by
15646 <bits/epoll.h>.
15647 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15648 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15649 bits/epoll.h.
15650
0e499750
JM
156512012-02-20 Joseph Myers <joseph@codesourcery.com>
15652
15653 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15654 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15655 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15656 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15657 <bits/timerfd.h>.
15658 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15659 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15660 bits/timerfd.h.
15661
5ad91f6e
JM
156622012-02-20 Joseph Myers <joseph@codesourcery.com>
15663
15664 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15665 in C locale.
15666 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15667 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15668 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15670
06b99b02
AJ
156712012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15672
15673 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15674 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15675
7638c0fd
AS
156762012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15677
15678 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15679 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15680 defined.
15681 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15682 Likewise.
15683 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15684 entry for 2.16.
15685
92221550
AJ
156862012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15687
15688 * math/w_acos.c: Use non-signaling floating-point comparisons.
15689 * math/w_acosf.c: Likewise.
15690 * math/w_acosh.c: Likewise.
15691 * math/w_acoshf.c: Likewise.
15692 * math/w_acoshl.c: Likewise.
15693 * math/w_acosl.c: Likewise.
15694 * math/w_asin.c: Likewise.
15695 * math/w_asinf.c: Likewise.
15696 * math/w_asinl.c: Likewise.
15697 * math/w_atanh.c: Likewise.
15698 * math/w_atanhf.c: Likewise.
15699 * math/w_atanhl.c: Likewise.
15700 * math/w_exp2.c: Likewise.
15701 * math/w_exp2f.c: Likewise.
15702 * math/w_exp2l.c: Likewise.
15703 * math/w_j0.c: Likewise.
15704 * math/w_j0f.c: Likewise.
15705 * math/w_j0l.c: Likewise.
15706 * math/w_j1.c: Likewise.
15707 * math/w_j1f.c: Likewise.
15708 * math/w_j1l.c: Likewise.
15709 * math/w_jn.c: Likewise.
15710 * math/w_jnf.c: Likewise.
15711 * math/w_log.c: Likewise.
15712 * math/w_log10.c: Likewise.
15713 * math/w_log10f.c: Likewise.
15714 * math/w_log10l.c: Likewise.
15715 * math/w_log2.c: Likewise.
15716 * math/w_log2f.c: Likewise.
15717 * math/w_log2l.c: Likewise.
15718 * math/w_logf.c: Likewise.
15719 * math/w_logl.c: Likewise.
15720 * math/w_sqrt.c: Likewise.
15721 * math/w_sqrtf.c: Likewise.
15722 * math/w_sqrtl.c: Likewise.
15723 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15724 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15725 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15726 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15727 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15728
ebaf36eb
JM
157292012-02-19 Joseph Myers <joseph@codesourcery.com>
15730
15731 [BZ #9739]
15732 * manual/string.texi (strnlen): Use correct parameter name in
15733 equivalent expression.
15734
71c254a6
JM
157352012-02-19 Joseph Myers <joseph@codesourcery.com>
15736
15737 [BZ #11174]
15738 * manual/users.texi (seteuid): Consistently use neweuid for
15739 argument name.
15740
16d2c631
JM
157412012-02-19 Joseph Myers <joseph@codesourcery.com>
15742
15743 [BZ #13704]
15744 * manual/nss.texi (Services in the NSS configuration): Correct
15745 list of services in example configuration file.
15746
cd837b09
NB
157472012-02-19 Nick Bowler <nbowler@draconx.ca>
15748
15749 [BZ #11322]
15750 * manual/arith.texi: Remove statements about negative zero
15751 behaving identically to zero.
15752
02c4bbad
JM
157532012-02-18 Joseph Myers <joseph@codesourcery.com>
15754
15755 [BZ #5993]
15756 * manual/install.texi: Do not document upgrading from libc5.
15757
366842e7
JM
157582012-02-18 Joseph Myers <joseph@codesourcery.com>
15759
15760 [BZ #4596]
15761 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15762
dd54084d
DM
157632012-02-18 David S. Miller <davem@davemloft.net>
15764
15765 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15766 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15767 %o7 across the call.
15768 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15769 instead.
15770 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15771 SETUP_PIC_REG_LEAF.
15772 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15773 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15774 * sysdeps/sparc/crtn.S: Likewise.
15775
2bcc53a3
UD
157762012-02-17 Ulrich Drepper <drepper@gmail.com>
15777
15778 * aout/Makefile: Remove.
15779
09c093b5
RK
157802012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15781
15782 [BZ #13058]
15783 * manual/examples/argp-ex1.c (main): Format definition in GNU
15784 style.
15785 * manual/examples/argp-ex2.c (main): Likewise.
15786 * manual/examples/argp-ex3.c (main): Likewise.
15787 * manual/examples/argp-ex4.c (main): Likewise.
15788 * manual/examples/longopt.c (main): Use new-style prototype
15789 definition.
15790 * manual/examples/strncat.c (main): Specify return type and use
15791 (void) for arguments.
15792 * manual/examples/subopt.c (main): Use char **argv argument.
15793
2ee633a2
JM
157942012-02-17 Joseph Myers <joseph@codesourcery.com>
15795
15796 [BZ #5077]
15797 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15798 rounding modes.
15799
0520adde
FB
158002012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15801
15802 [BZ #6907]
15803 * manual/string.texi (strchr): Change when strchrnul is
15804 recommended.
15805
3f4081cd
DGM
158062012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15807
15808 [BZ #174]
15809 * manual/locale.texi (setlocale): Document LOCPATH.
15810
d1b10e78
JM
158112012-02-17 Joseph Myers <joseph@codesourcery.com>
15812
15813 [BZ #10210]
15814 * manual/process.texi (execle): Move @dots{} before last argument.
15815
79c6869c
PB
158162012-02-17 Paul Bolle <pebolle@tiscali.nl>
15817
15818 [BZ #12047]
15819 * manual/charset.texi (Generic Charset Conversion): Fix typo
15820 (LC_TYPE -> LC_CTYPE).
15821
cc6e48bc
NB
158222012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15823
15824 [BZ #5805]
15825 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15826 (scalbnf): Likewise.
15827 (scalbnl): Likewise.
15828 (scalbln): Likewise.
15829 (scalblnf): Likewise.
15830 (scalblnl): Likewise.
15831 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15832 (vwarnx): Likewise.
15833 (verr): Likewise.
15834 (verrx): Likewise.
15835 * manual/filesys.texi (telldir): Use braces around return type.
15836 * manual/llio.texi (mmap): Add space after comma.
15837 (mmap64): Likewise.
15838 * manual/math.texi (jn): Use @var{} on parameter names.
15839 (jnf): Likewise.
15840 (jnl): Likewise.
15841 (yn): Likewise.
15842 (ynf): Likewise.
15843 (ynl): Likewise.
15844 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15845 line.
15846 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15847 "...".
15848 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15849 (sched_get_priority_max): Likewise.
15850 * manual/signal.texi (sigvec): Add space after comma.
15851 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15852 names.
15853 (if_indextoname): Likewise.
15854 (if_freenameindex): Likewise.
15855 (sendto): Use ',' instead of '.' in prototype.
15856 * manual/startup.texi (syscall): Use @dots{} instead of literal
15857 "...".
15858 * manual/stdio.texi (__fpending): Separate initial words of
15859 paragraph from @deftypefun line.
15860 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15861 "...".
15862 (vsyslog): Use @var{} on parameter names.
15863 * manual/terminal.texi (stty): Use @var{} on parameter names.
15864 * manual/users.texi (getutmp): Use @var{} on parameter names.
15865 (getutmpx): Likewise.
15866
5b23062f
JM
158672012-02-17 Joseph Myers <joseph@codesourcery.com>
15868
15869 [BZ #6884]
15870 * manual/stdio.texi (fopen): Fix typos in description of
15871 ",ccs=STRING".
15872
8dee4833
AJ
158732012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15874
15875 [BZ #4026]
15876 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15877 get clock_id definition.
15878
9078ce93
TS
158792012-02-17 Thomas Schwinge <thomas@schwinge.name>
15880
15881 [BZ #4822]
15882 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15883 (madvise): Cast every argument to void on its own.
15884
3835c55f
JM
158852012-02-17 Joseph Myers <joseph@codesourcery.com>
15886
15887 [BZ #9902]
15888 * manual/startup.texi (Exit Status): Fix typo.
15889
35c47e37
JM
158902012-02-17 Joseph Myers <joseph@codesourcery.com>
15891
15892 [BZ #10140]
15893 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15894 * manual/examples/argp-ex2.c: Likewise.
15895 * manual/examples/argp-ex3.c: Likewise.
15896
e3b69ca7
RH
158972012-02-16 Richard Henderson <rth@redhat.com>
15898
15899 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15900 * sysdeps/s390/s390-32/initfini.c: Remove.
15901 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15902 * sysdeps/s390/s390-64/initfini.c: Remove.
15903
df83af67
KK
159042012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15905
15906 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15907 compiler output for sysdeps/generic/initfini.c.
15908 * sysdeps/sh/elf/initfini.c: Remove file.
15909
f63f3380
DM
159102012-02-16 David S. Miller <davem@davemloft.net>
15911
fb59b3a4
DM
15912 [BZ #11494]
15913 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15914
f63f3380
DM
15915 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15916 * sysdeps/sparc/crti.S: New file.
15917 * sysdeps/sparc/crtn.S: New file.
15918 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15919 * sysdeps/sparc/sparc64/Makefile: Likewise.
15920
df6a4a4a
MF
159212012-02-15 Mike Frysinger <vapier@gentoo.org>
15922
6dd8f3dc 15923 [BZ #3335]
df6a4a4a
MF
15924 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15925
1cac7236
RM
159262012-02-15 Roland McGrath <roland@hack.frob.com>
15927
d2c736f8
RM
15928 [BZ #4822]
15929 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15930
1cac7236
RM
15931 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15932 (write, read, close): Likewise.
15933 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15934
8e475601
JM
159352012-02-15 Joseph Myers <joseph@codesourcery.com>
15936
15937 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15938 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15939 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15940 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15941 <bits/signalfd.h>.
15942 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15944 bits/signalfd.h.
15945
ed656b40
MP
159462012-02-14 Marek Polacek <polacek@redhat.com>
15947
15948 * sysdeps/x86_64/crti.S: New file.
15949 * sysdeps/x86_64/crtn.S: New file.
15950 * sysdeps/x86_64/elf/initfini.c: Remove file.
15951
2a979d3a
JM
159522012-02-13 Joseph Myers <joseph@codesourcery.com>
15953
15954 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15955 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15956 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15957 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15958 <bits/inotify.h>.
15959 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15960 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15961 bits/inotify.h.
15962
2a418ac3
JM
159632012-02-13 Joseph Myers <joseph@codesourcery.com>
15964
15965 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15966 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15967 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15968 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15969 <bits/eventfd.h>.
15970 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15971 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15972 bits/eventfd.h.
15973
fb779be7
TS
159742012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15975
e19e83c5
RM
15976 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15977 __feraiseexcept instead of feraiseexcept.
7c35ffed 15978
fb779be7
TS
15979 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15980 nanosleep invocations.
15981 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15982 strings, and add error checking for a nanosleep invocations.
15983
59ba27a6
PE
159842012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15985
15986 Replace FSF snail mail address with URLs, as per GNU coding standards.
15987 Most of the snail mail addresses were wrong anyway, and omitting
15988 them makes the source code easier to maintain. Almost all of the
15989 changes are to license notices and to locale LC_IDENTIFICATION
15990 addresses, except for this one:
15991 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15992 not its snail mail address.
15993
57b957eb
RH
159942012-02-09 Richard Henderson <rth@twiddle.net>
15995
af850b1c
RH
15996 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15997 of kernel-features.h.
15998
57b957eb
RH
15999 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16000
6b73181a
MP
160012012-02-08 Marek Polacek <polacek@redhat.com>
16002
16003 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16004 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16005 * sysdeps/gnu/_G_config.h: Likewise.
16006 * sysdeps/generic/_G_config.h: Likewise.
16007
26ecc33a
AS
160082012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16009
6c6dbc63
AS
16010 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16011 tests.
16012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16013
e216c012
AS
16014 * sysdeps/powerpc/powerpc32/crti.S: New file.
16015 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16016 * sysdeps/powerpc/powerpc64/crti.S: New file.
16017 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16018
26ecc33a
AS
16019 * Makeconfig (have-initfini): Don't set.
16020 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16021 * configure.in (nopic_initfini): Don't substitute.
16022 * config.h.in (HAVE_INITFINI): Don't #undef.
16023 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16024 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16025
3add8e13
JM
160262012-02-08 Joseph Myers <joseph@codesourcery.com>
16027
16028 Support crti.S and crtn.S provided directly by architectures.
16029 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16030 [crti.S in sysdirs] (omit-deps): Likewise.
16031 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16032 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16033 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16034 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16035 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16036 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16037 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16038 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16039 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16040 compiler output for sysdeps/generic/initfini.c.
16041 * sysdeps/i386/elf/Makefile: Remove file.
16042 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16043
a22f12b4
MP
160442012-02-07 Marek Polacek <polacek@redhat.com>
16045
16046 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16047 * sysdeps/gnu/_G_config.h: Likewise.
16048 * sysdeps/mach/hurd/_G_config.h: Likewise.
16049
148cf100
MP
160502012-02-07 Marek Polacek <polacek@redhat.com>
16051
16052 * math/Makefile (tests): Add tst-CMPLX2.
16053 * math/tst-CMPLX2.c: New file.
16054
cfdc0dd7
AS
160552012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16056
84ba42c4
AS
16057 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16058
cfdc0dd7
AS
16059 * math/libm-test.inc (jn_test): Add missing L suffix.
16060
622c86f4
MP
160612012-02-06 Marek Polacek <polacek@redhat.com>
16062
16063 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16064 * sysdeps/i386/fpu/e_powf.S: Likewise.
16065 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16066 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16067 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16068 * sysdeps/i386/fpu/e_pow.S: Likewise.
16069 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16070 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16071 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16072 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16073 * sysdeps/i386/fpu/e_log2.S: Likewise.
16074 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16075 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16076 * sysdeps/i386/fpu/e_powl.S: Likewise.
16077 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16078 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16079 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16080 * sysdeps/i386/fpu/e_logl.S: Likewise.
16081 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16082 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16083 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16084 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16085 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16086 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16087 * sysdeps/i386/fpu/e_log.S: Likewise.
16088 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16089 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16090 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16091 * sysdeps/i386/fpu/e_logf.S: Likewise.
16092 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16093 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16094 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16095 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16096 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16097 * sysdeps/i386/fpu/e_log10.S: Likewise.
16098 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16099 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16100 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16101 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16102 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16103 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16104 * sysdeps/i386/asm-syntax.h: Likewise.
16105 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16106 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16107 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16108 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16109 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16110 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16111 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16112 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16113 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16114 * sysdeps/powerpc/sysdep.h: Likewise.
16115 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16116 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16117
d4a54ac6
JM
161182012-02-06 Joseph Myers <joseph@codesourcery.com>
16119
16120 [BZ #411]
16121 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16122
314054ea
JM
161232012-02-06 Joseph Myers <joseph@codesourcery.com>
16124
16125 * sysdeps/i386/sysdep.h: Include <features.h>.
16126 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16127 version.
16128
d8e0ca50
JM
161292012-02-05 Joseph Myers <joseph@codesourcery.com>
16130
16131 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16132 Define.
16133 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16134 LOAD_PIC_REG_STR.
16135
b1da7dd9
JM
161362012-02-03 Joseph Myers <joseph@codesourcery.com>
16137
16138 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16139 (SETUP_PIC_REG): Use GET_PC_THUNK.
16140 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16141 macro.
16142
9a1d9254
JM
161432012-02-03 Joseph Myers <joseph@codesourcery.com>
16144
16145 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16146 for non-PIC compilation.
16147 (SETUP_PIC_REG): Add .p2align directive.
16148 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16149 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16150 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16151 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16152 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16153 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16154 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16155 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16156 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16157 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16158 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16159 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16160 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16161 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16162 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16163 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16164 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16165 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16166 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16167 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16168 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16169 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16170 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16171 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16172 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16173 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16174 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16175 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16176 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16177 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16178 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16179 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16180 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16181 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16182 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16183 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16184 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16185 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16186 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16187 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16188 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16189
65dc3b75
JM
161902012-02-03 Joseph Myers <joseph@codesourcery.com>
16191
16192 * math/tst-CMPLX.c: Include <stdio.h>.
16193
d55bf177
JM
161942012-01-31 Joseph Myers <joseph@codesourcery.com>
16195
16196 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16197 float.
16198 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16199 * sysdeps/sparc/bits/mathdef.h: Likewise.
16200
69db4f8f
MP
162012012-01-31 Marek Polacek <polacek@redhat.com>
16202
16203 * libio/libio.h: Don't define _PARAMS.
16204 * locale/programs/config.h: Don't define PARAMS.
16205 * stdlib/strtol_l.c: Likewise.
16206 (__strtol_l): Remove PARAMS from the prototype.
16207
41b81892
UD
162082012-01-31 Ulrich Drepper <drepper@gmail.com>
16209
3b49edc0
UD
16210 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16211 names. Just use the correct names. Remove unnecessary wrapper
16212 functions.
16213 * malloc/arena.c: Likewise.
16214 * malloc/hooks.c: Likewise.
16215
41b81892
UD
16216 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16217 ARENA_TEST says not to. Simplify test for creation of a new arena.
16218 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16219
27a25b6e
UD
162202012-01-30 Ulrich Drepper <drepper@gmail.com>
16221
16222 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16223 into tail calls.
16224 (update_get_addr): New function.
16225 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16226 GET_ADDR_MODULE parameter.
16227
c8a89e7d
JM
162282012-01-30 Joseph Myers <joseph@codesourcery.com>
16229
16230 * crypt/cert.c: Remove __STDC__ conditionals.
16231 * crypt/crypt-entry.c: Likewise.
16232 * crypt/crypt_util.c: Likewise.
16233 * libio/filedoalloc.c: Likewise.
16234 * libio/fileops.c: Likewise.
16235 * libio/genops.c: Likewise.
16236 * libio/iofclose.c: Likewise.
16237 * libio/iofdopen.c: Likewise.
16238 * libio/iofopen.c: Likewise.
16239 * libio/iofopen64.c: Likewise.
16240 * libio/iogetdelim.c: Likewise.
16241 * libio/iopopen.c: Likewise.
16242 * libio/obprintf.c: Likewise.
16243 * libio/oldfileops.c: Likewise.
16244 * libio/oldiofclose.c: Likewise.
16245 * libio/oldiofdopen.c: Likewise.
16246 * libio/oldiofopen.c: Likewise.
16247 * libio/oldiopopen.c: Likewise.
16248 * libio/wfiledoalloc.c: Likewise.
16249 * libio/wgenops.c: Likewise.
16250 * locale/programs/xmalloc.c: Likewise.
16251 * misc/syslog.c: Likewise.
16252 * stdio-common/xbug.c: Likewise.
16253 * string/memchr.c: Likewise.
16254 * string/memcmp.c: Likewise.
16255 * string/memrchr.c: Likewise.
16256 * string/rawmemchr.c: Likewise.
16257 * sysdeps/posix/getcwd.c: Likewise.
16258 * time/strftime_l.c: Likewise.
16259
3b100462
JM
162602012-01-30 Joseph Myers <joseph@codesourcery.com>
16261
16262 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
16263 * config.make.in (config-cflags-sse2avx): Define.
16264 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16265 Fix typo.
16266
607998af
CM
162672012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16268
16269 * scripts/config.guess: Update from upstream config git repository.
16270 * scripts/config.sub: Likewise.
16271
3601428f
CM
162722012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16273
3ac8b282
CM
16274 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16275 (EM_NUM): Update.
16276 (R_TILEPRO_*, R_TILEGX_*): New macros.
16277
e034841e
CM
16278 * scripts/firstversions.awk: Fix bug in version range handling.
16279
540d7568
CM
16280 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16281
3601428f
CM
16282 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16283
463de862
CM
16284 * include/sys/epoll.h: New file.
16285 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16286 libc_hidden_def.
16287
73139a76
UD
162882012-01-28 Ulrich Drepper <drepper@gmail.com>
16289
96bc5b45
UD
16290 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16291 Avoid unnecessary __WORDSIZE == 64 test.
16292 (fmaxf): Use VEX format if possible.
16293 (fmax): Likewise.
16294 (fminf): Likewise.
16295 (fmin): Likewise.
16296
56f6f6a2
UD
16297 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16298 * math/math_private.h: Remove libc_fegetround* and
16299 libc_fesetround*.
16300 * sysdeps/i386/configure.in: Check for -msse2avx.
16301 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16302 also if SSE2AVX is defined.
16303 Remove libc_fegetround* and libc_fesetround*.
16304 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16305 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16306 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16307 of HAS_YMM_USABLE.
16308 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16309 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16310 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16311 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16312 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16313
73139a76
UD
16314 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16315
d73f93a4
AZ
163162012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16317
16318 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16319 size is not set.
16320 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16321
6ee65ed6
UD
163222012-01-27 Ulrich Drepper <drepper@gmail.com>
16323
16324 [BZ #13618]
16325 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16326 relocation.
16327 * Makeconfig (libm): Define.
16328 * elf/Makefile: Add rules to build and run tst-relsort1.
16329 * elf/tst-relsort1.c: New file.
16330 * elf/tst-relsort1mod1.c: New file.
16331 * elf/tst-relsort1mod2.c: New file.
16332
8db21882
JM
163332012-01-27 Joseph Myers <joseph@codesourcery.com>
16334
16335 * math/s_ldexp.c: Remove __STDC__ conditionals.
16336 * math/s_ldexpf.c: Likewise.
16337 * math/s_ldexpl.c: Likewise.
16338 * math/s_nextafter.c: Likewise.
16339 * math/s_nexttowardf.c: Likewise.
16340 * math/s_significand.c: Likewise.
16341 * math/s_significandf.c: Likewise.
16342 * math/s_significandl.c: Likewise.
16343 * math/w_jnl.c: Likewise.
16344 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16345 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16346 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16347 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16348 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16349 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16350 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16351 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16352 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16353 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16354 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16355 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16356 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16357 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16358 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16359 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16360 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16361 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16362 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16363 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16364 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16365 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16366 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16367 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16368 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16369 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16370 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16371 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16372 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16373 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16374 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16375 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16376 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16377 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16378 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16379 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16380 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16381 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16382 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16383 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16384 * sysdeps/ieee754/k_standard.c: Likewise.
16385 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16386 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16387 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16388 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16389 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16390 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16391 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16392 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16393 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16394 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16395 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16396 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16397 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16398 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16399 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16400 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16401 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16402 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16403 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16404 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16405 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16406 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16407 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16408 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16409 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16410 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16411 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16412 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16413 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16414 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16415 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16416 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16417 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16418 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16419 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16420 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16421 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16422 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16423 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16424 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16425 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16426 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16427 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16428 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16429 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16430 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16431 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16432 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16433 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16434 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16435 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16436 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16437 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16438 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16439 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16440 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16441 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16442 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16443 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16444 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16445 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16446 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16447 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16448 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16449 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16450 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16451 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16452 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16453 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16454 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16455 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16456 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16457 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16458 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16459 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16460 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16461 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16462 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16463 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16464 * sysdeps/ieee754/s_matherr.c: Likewise.
16465 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16466 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16467 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16468 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16469
965a54a4
JM
164702012-01-26 Joseph Myers <joseph@codesourcery.com>
16471
16472 * crypt/md5.h: Remove __STDC__ conditionals.
16473 * libio/libioP.h: Likewise.
16474 * locale/programs/config.h: Likewise.
16475 * sysdeps/generic/sysdep.h: Likewise.
16476 * sysdeps/i386/asm-syntax.h: Likewise.
16477 * sysdeps/s390/asm-syntax.h: Likewise.
16478 * sysdeps/unix/sysdep.h: Likewise.
16479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16481
7071ad79
JM
164822012-01-26 Joseph Myers <joseph@codesourcery.com>
16483
16484 * libio/libio.h: Remove __STDC__ conditionals.
16485 * malloc/obstack.h: Likewise.
16486 * math/complex.h: Likewise.
16487 * math/math.h: Likewise.
16488 * sysdeps/generic/_G_config.h: Likewise.
16489 * sysdeps/gnu/_G_config.h: Likewise.
16490 * sysdeps/mach/hurd/_G_config.h: Likewise.
16491 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16492 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16493 * sysdeps/sparc/bits/mathdef.h: Likewise.
16494
afc5ed09
UD
164952012-01-26 Ulrich Drepper <drepper@gmail.com>
16496
16497 [BZ #13583]
16498 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 16499 Clean up HAS_* macros.
afc5ed09 16500 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
16501 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16502 possible.
16503 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16504 HAS_AVX.
16505 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16506 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16507 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16508 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16509 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 16510
bdb6de1d
JM
165112012-01-25 Joseph Myers <joseph@codesourcery.com>
16512
16513 * elf/tst-unique3.cc (gets): Remove declaration.
16514 * elf/tst-unique3lib.cc (gets): Likewise.
16515 * elf/tst-unique3lib2.cc (gets): Likewise.
16516 * elf/tst-unique4.cc (gets): Likewise.
16517
b15549e6
UD
165182012-01-24 Ulrich Drepper <drepper@gmail.com>
16519
16520 * include/stdio.h: Add C++ protection. Add gets declarations and
16521 definitions.
16522 * debug/tst-chk1.c: Don't declare gets here.
16523 * stdio-common/tst-gets.c: Likewise.
16524
a037381f
JM
165252012-01-24 Joseph Myers <joseph@codesourcery.com>
16526
16527 * posix/glob: Remove directory.
16528
f1d4aa75
JM
165292012-01-24 Joseph Myers <joseph@codesourcery.com>
16530
16531 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16532
81c0c964
PT
165332012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16534
16535 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16536 of the non-standard EPFNOSUPPORT.
16537
0ea698ae
ST
165382011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16539
16540 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16541 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16542 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16543
d220b117
UD
165442012-01-21 Ulrich Drepper <drepper@gmail.com>
16545
16546 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16547
3e1aa84e
UD
165482012-01-20 Ulrich Drepper <drepper@gmail.com>
16549
16550 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16551 transient errors.
16552 * nscd/grpcache.c (cache_addgr): Likewise.
16553 * nscd/hstcache.c (cache_addhst): Likewise.
16554 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16555 * nscd/pwdcache.c (cache_addpw): Likewise.
16556 * nscd/servicescache.c (cache_addserv): Likewise.
16557
400aa020
UD
165582012-01-16 Ulrich Drepper <drepper@gmail.com>
16559
d77e7869
UD
16560 * malloc/malloc.c: Various cleanups.
16561 * malloc/hooks.c: Likewise.
16562
400aa020
UD
16563 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16564 * stdlib/bug-fmtmsg1.c: New file.
16565
16566 * stdlib/fmtmsg.c (init): Add missing unlock.
16567 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16568
e0a309cf
MP
165692012-01-12 Marek Polacek <polacek@redhat.com>
16570
16571 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16572 and _GNU_SOURCE.
16573
929d11c7
WS
165742012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16575
16576 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16577 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16578 macro to ensure uniqueness of label name.
16579 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16580 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16581
41d0e869
UD
165822012-01-11 Ulrich Drepper <drepper@gmail.com>
16583
0cc5ed3b
UD
16584 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16585
41d0e869
UD
16586 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16587 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16588 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16589 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16590
a47a831a
UD
165912012-01-10 Ulrich Drepper <drepper@gmail.com>
16592
daa891c0
UD
16593 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16594
16595 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16596 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16597 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16598
e58ef0f2
UD
16599 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16600
a47a831a 16601 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
16602 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16603 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 16604 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
16605
16606 * math/bits/math-finite.h: Add ldexp support.
16607
a0bfc9c7
MP
166082012-01-10 Marek Polacek <polacek@redhat.com>
16609
16610 * locale/programs/localedef.h (show_archive_content): Add noreturn
16611 attribute.
16612
d6e97a1d
UD
166132012-01-09 Ulrich Drepper <drepper@gmail.com>
16614
16615 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16616
d5835c26
UD
166172012-01-08 Ulrich Drepper <drepper@gmail.com>
16618
e5f484c6
UD
16619 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16620
d5835c26
UD
16621 * io/Makefile (headers): Add bits/poll2.h.
16622
d1f741e9
WS
166232011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16624
16625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16626 typo #include statement.
16627
ec09c1c4
UD
166282012-01-08 Ulrich Drepper <drepper@gmail.com>
16629
16630 * include/sys/cdefs.h: Define __attribute_alloc_size.
16631 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16632 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16633 * elf/pldd.c: Likewise.
16634 * iconv/iconv_charmap.c: Likewise.
16635 * iconv/iconvconfig.c: Likewise.
16636 * iconv/strtab.c: Likewise.
16637 * locale/programs/locale.c: Likewise.
16638 * locale/programs/localedef.h: Likewise.
16639 * locale/programs/simple-hash.c: Likewise.
16640 * nscd/nscd.h: Likewise.
16641 * nss/makedb.c: Likewise.
16642 * sysdeps/generic/ldconfig.h: Likewise.
16643 * locale/programs/localedef.c: Remove xmalloc prototype.
16644 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16645
20b38e03
PP
166462012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16647
16648 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16649 appropriate.
16650
a0da5fe1
UD
166512012-01-08 Ulrich Drepper <drepper@gmail.com>
16652
1d5a644a 16653 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16654 * math/tst-CMPLX.c: New file.
1d5a644a 16655
8784a6db
UD
16656 * math/complex.h (CMPLXL): Fix typo.
16657
d9a216c0
UD
16658 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16659 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16660 GLIBC_2.16.
16661 * debug/tst-chk1.c: Add poll and ppoll tests.
16662 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16663 * include/sys/poll.h: Add hidden proto for ppoll.
16664 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16665 * sysdeps/mach/hurd/ppoll.c: Likewise.
16666 * io/ppoll.c: Likewise.
16667 * debug/poll_chk.c: New file.
16668 * debug/ppoll_chk.c: New file.
16669 * include/bits/poll2.h: New file.
16670 * io/bits/poll2.h: New file.
16671
ac097f5c
UD
16672 [BZ #1350]
16673 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16674
2119dcfa
UD
16675 * configure.in: static is always set to yes. Remove.
16676 * config.make.in: Don't set build-static.
16677 * Makeconfig: Remove use of build-static.
16678 * dlfcn/Makefile: Likewise.
16679 * elf/Makefile: Likewise.
16680 * math/Makefile: Likewise.
16681 * misc/Makefile: Likewise.
16682 * nptl/Makefile: Likewise.
16683 * sysdeps/mach/hurd/Makefile: Likewise.
16684
121766a9
UD
16685 * configure.in: PWD_P is not used anymore.
16686 * config.make.in: Remove PWD_P entry.
16687
51a1d39c 16688 * configure.in: Remove last remnants of RANLIB.
8720d066 16689 No need to check for signed size_t anymore.
215f4bdc
UD
16690 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16691 and IA-64.
3857022a 16692 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16693 * aclocal.m4: Likewise.
16694
d3ed7225
UD
16695 * wcsmbs/mbrtoc16.c: Implement using towc function.
16696 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16697 * wcsmbs/wcsmbsload.c: Likewise.
16698 * iconv/gconv_simple.c: Likewise.
16699 * iconv/gconv_int.h: Likewise.
16700 * iconv/gconv_builtin.h: Likewise.
16701 * iconv/iconv_prog.c: Remove CHAR16 handling.
16702
16703 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16704
16705 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16706
a0da5fe1
UD
16707 * configure.in: Remove --with-elf and --enable-bounded options.
16708 Dont set base_machine for ia64. More non-ELF conditions removed.
16709 Remove testing and setting of leading underscore information.
16710 * config.make.in (build-bounded): Set to no.
16711 * config.h.in: Remove NO_UNDERSCORES entry.
16712 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16713 them.
16714 * csu/start.c: Remove !NO_UNDERSCORE code.
16715 * locale/localeinfo.h: Likewise.
16716 * sysdeps/generic/machine-gmon.h: Likewise.
16717 * sysdeps/generic/sysdep.h: Likewise.
16718 * sysdeps/i386/sysdep.h: Likewise.
16719 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16720 * sysdeps/mach/sysdep.h: Likewise.
16721 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16722 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16723 * sysdeps/sh/sysdep.h: Likewise.
16724 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16725 * sysdeps/unix/i386/sysdep.S: Likewise.
16726 * sysdeps/unix/sparc/start.c: Likewise.
16727 * sysdeps/unix/sparc/sysdep.S: Likewise.
16728 * sysdeps/unix/sparc/sysdep.h: Likewise.
16729 * sysdeps/unix/start.c: Likewise.
16730 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16731 * sysdeps/x86_64/sysdep.h: Likewise.
16732
df78418a
UD
167332012-01-07 Ulrich Drepper <drepper@gmail.com>
16734
a784e502
UD
16735 [BZ #13553]
16736 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16737 for non-gcc.
16738 * argp/argp-fmtstream.h: Use const instead __const.
16739 * argp/argp.h: Likewise.
16740 * assert/assert.h: Likewise.
16741 * bits/fenv.h: Likewise.
16742 * bits/sched.h: Likewise.
16743 * bits/sigset.h: Likewise.
16744 * bits/sigthread.h: Likewise.
16745 * catgets/nl_types.h: Likewise.
16746 * conform/data/pthread.h-data: Likewise.
16747 * crypt/crypt-private.h: Likewise.
16748 * crypt/crypt.h: Likewise.
16749 * crypt/crypt_util.c: Likewise.
16750 * ctype/ctype.h: Likewise.
16751 * debug/execinfo.h: Likewise.
16752 * debug/mbsnrtowcs_chk.c: Likewise.
16753 * debug/mbsrtowcs_chk.c: Likewise.
16754 * debug/wcsnrtombs_chk.c: Likewise.
16755 * debug/wcsrtombs_chk.c: Likewise.
16756 * debug/wcstombs_chk.c: Likewise.
16757 * dirent/dirent.h: Likewise.
16758 * dlfcn/dlfcn.h: Likewise.
16759 * elf/neededtest4.c: Likewise.
16760 * grp/grp.h: Likewise.
16761 * gshadow/gshadow.h: Likewise.
16762 * iconv/gconv.h: Likewise.
16763 * iconv/gconv_int.h: Likewise.
16764 * iconv/gconv_simple.c: Likewise.
16765 * iconv/iconv.h: Likewise.
16766 * iconv/loop.c: Likewise.
16767 * iconv/skeleton.c: Likewise.
16768 * include/aio.h: Likewise.
16769 * include/aliases.h: Likewise.
16770 * include/argz.h: Likewise.
16771 * include/arpa/inet.h: Likewise.
16772 * include/assert.h: Likewise.
16773 * include/dirent.h: Likewise.
16774 * include/dlfcn.h: Likewise.
16775 * include/execinfo.h: Likewise.
16776 * include/fcntl.h: Likewise.
16777 * include/fenv.h: Likewise.
16778 * include/glob.h: Likewise.
16779 * include/grp.h: Likewise.
16780 * include/libintl.h: Likewise.
16781 * include/mntent.h: Likewise.
16782 * include/netdb.h: Likewise.
16783 * include/pwd.h: Likewise.
16784 * include/rpc/netdb.h: Likewise.
16785 * include/sched.h: Likewise.
16786 * include/search.h: Likewise.
16787 * include/shadow.h: Likewise.
16788 * include/signal.h: Likewise.
16789 * include/stdio.h: Likewise.
16790 * include/stdlib.h: Likewise.
16791 * include/string.h: Likewise.
16792 * include/sys/socket.h: Likewise.
16793 * include/sys/stat.h: Likewise.
16794 * include/sys/statfs.h: Likewise.
16795 * include/sys/statvfs.h: Likewise.
16796 * include/sys/syslog.h: Likewise.
16797 * include/sys/time.h: Likewise.
16798 * include/sys/uio.h: Likewise.
16799 * include/time.h: Likewise.
16800 * include/unistd.h: Likewise.
16801 * include/utmp.h: Likewise.
16802 * include/wchar.h: Likewise.
16803 * include/wctype.h: Likewise.
16804 * inet/aliases.h: Likewise.
16805 * inet/arpa/inet.h: Likewise.
16806 * inet/netinet/ether.h: Likewise.
16807 * inet/netinet/in.h: Likewise.
16808 * intl/libintl.h: Likewise.
16809 * io/bits/fcntl2.h: Likewise.
16810 * io/fcntl.h: Likewise.
16811 * io/ftw.h: Likewise.
16812 * io/sys/poll.h: Likewise.
16813 * io/sys/stat.h: Likewise.
16814 * io/sys/statfs.h: Likewise.
16815 * io/sys/statvfs.h: Likewise.
16816 * io/utime.h: Likewise.
16817 * libio/bits/stdio.h: Likewise.
16818 * libio/bits/stdio2.h: Likewise.
16819 * libio/libio.h: Likewise.
16820 * libio/libioP.h: Likewise.
16821 * libio/stdio.h: Likewise.
16822 * locale/lc-ctype.c: Likewise.
16823 * locale/locale.h: Likewise.
16824 * login/utmp.h: Likewise.
16825 * malloc/arena.c: Likewise.
16826 * malloc/malloc.c: Likewise.
16827 * malloc/malloc.h: Likewise.
16828 * malloc/mcheck.c: Likewise.
16829 * malloc/mtrace.c: Likewise.
16830 * math/bits/mathcalls.h: Likewise.
16831 * math/fenv.h: Likewise.
16832 * math/math_private.h: Likewise.
16833 * misc/bits/error.h: Likewise.
16834 * misc/bits/syslog.h: Likewise.
16835 * misc/err.h: Likewise.
16836 * misc/error.h: Likewise.
16837 * misc/fstab.h: Likewise.
16838 * misc/mntent.h: Likewise.
16839 * misc/regexp.h: Likewise.
16840 * misc/search.h: Likewise.
16841 * misc/sgtty.h: Likewise.
16842 * misc/sys/mman.h: Likewise.
16843 * misc/sys/syslog.h: Likewise.
16844 * misc/sys/uio.h: Likewise.
16845 * misc/sys/xattr.h: Likewise.
16846 * misc/ttyent.h: Likewise.
16847 * nis/rpcsvc/ypclnt.h: Likewise.
16848 * nss/nss.h: Likewise.
16849 * posix/bits/unistd.h: Likewise.
16850 * posix/fnmatch.h: Likewise.
16851 * posix/glob.h: Likewise.
16852 * posix/sched.h: Likewise.
16853 * posix/spawn.h: Likewise.
16854 * posix/sys/wait.h: Likewise.
16855 * posix/unistd.h: Likewise.
16856 * posix/wordexp.h: Likewise.
16857 * pwd/pwd.h: Likewise.
16858 * resolv/netdb.h: Likewise.
16859 * resource/sys/resource.h: Likewise.
16860 * rt/aio.h: Likewise.
16861 * rt/bits/mqueue2.h: Likewise.
16862 * rt/mqueue.h: Likewise.
16863 * shadow/shadow.h: Likewise.
16864 * signal/signal.h: Likewise.
16865 * socket/send.c: Likewise.
16866 * socket/sendto.c: Likewise.
16867 * socket/sys/socket.h: Likewise.
16868 * stdio-common/printf.h: Likewise.
16869 * stdlib/bits/stdlib.h: Likewise.
16870 * stdlib/fmtmsg.h: Likewise.
16871 * stdlib/monetary.h: Likewise.
16872 * stdlib/stdlib.h: Likewise.
16873 * stdlib/ucontext.h: Likewise.
16874 * streams/stropts.h: Likewise.
16875 * string/argz.h: Likewise.
16876 * string/bits/string2.h: Likewise.
16877 * string/string.h: Likewise.
16878 * string/strings.h: Likewise.
16879 * sunrpc/rpc/auth.h: Likewise.
16880 * sunrpc/rpc/auth_des.h: Likewise.
16881 * sunrpc/rpc/clnt.h: Likewise.
16882 * sunrpc/rpc/netdb.h: Likewise.
16883 * sunrpc/rpc/pmap_clnt.h: Likewise.
16884 * sunrpc/rpc/xdr.h: Likewise.
16885 * sysdeps/generic/inttypes.h: Likewise.
16886 * sysdeps/generic/net/if.h: Likewise.
16887 * sysdeps/generic/sys/swap.h: Likewise.
16888 * sysdeps/gnu/net/if.h: Likewise.
16889 * sysdeps/gnu/utmpx.h: Likewise.
16890 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16891 * sysdeps/i386/i486/bits/string.h: Likewise.
16892 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16893 * sysdeps/s390/bits/string.h: Likewise.
16894 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16895 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16896 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16897 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16898 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16899 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16900 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16901 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16902 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16903 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16904 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16905 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16906 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16907 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16908 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16909 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16910 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16911 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16912 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16913 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16914 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16915 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16916 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16917 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16918 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16919 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16920 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16921 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16922 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16923 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16924 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16925 * sysvipc/sys/ipc.h: Likewise.
16926 * sysvipc/sys/msg.h: Likewise.
16927 * sysvipc/sys/sem.h: Likewise.
16928 * sysvipc/sys/shm.h: Likewise.
16929 * termios/termios.h: Likewise.
16930 * time/sys/time.h: Likewise.
16931 * time/time.h: Likewise.
16932 * wcsmbs/bits/wchar2.h: Likewise.
16933 * wcsmbs/uchar.h: Likewise.
16934 * wcsmbs/wchar.h: Likewise.
16935 * wctype/wctype.h: Likewise.
16936
0269750c
UD
16937 [BZ #13551]
16938 * Makeconfig: Remove all but ELF support including AIX support.
16939 * Makerules: Likewise.
16940 * config.h.in: Likewise.
16941 * config.make.in: Likewise.
16942 * configure: Likewise.
16943 * configure.in: Likewise.
16944 * csu/Makefile: Likewise.
16945 * csu/version.c: Likewise.
16946 * debug/Makefile: Likewise.
16947 * dlfcn/Makefile: Likewise.
16948 * elf/Makefile: Likewise.
16949 * extra-lib.mk: Likewise.
16950 * iconv/Makefile: Likewise.
16951 * include/libc-symbols.h: Likewise.
16952 * include/shlib-compat.h: Likewise.
16953 * resolv/Makefile: Likewise.
16954 * resolv/res_libc.c: Likewise.
16955 * rt/Makefile: Likewise.
16956 * sysdeps/i386/asm-syntax.h: Likewise.
16957 * sysdeps/i386/sysdep.h: Likewise.
16958 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16959 * sysdeps/mach/sysdep.h: Likewise.
16960 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16961 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16962 * sysdeps/s390/asm-syntax.h: Likewise.
16963 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16964 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16965 * sysdeps/sh/sysdep.h: Likewise.
16966 * sysdeps/unix/sparc/sysdep.h: Likewise.
16967 * sysdeps/wordsize-32/divdi3.c: Likewise.
16968 * sysdeps/x86_64/sysdep.h: Likewise.
16969
00bbd29b
UD
16970 * argp/Versions: Remove _argp_unlock_xxx.
16971
16972 [BZ #13559]
16973 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16974 * abilist/libBrokenLocale.abilist: Likewise.
16975 * abilist/libanl.abilist: Likewise.
16976 * abilist/libc.abilist: Likewise.
16977 * abilist/libcrypt.abilist: Likewise.
16978 * abilist/libdl.abilist: Likewise.
16979 * abilist/libm.abilist: Likewise.
16980 * abilist/libnsl.abilist: Likewise.
16981 * abilist/libpthread.abilist: Likewise.
16982 * abilist/libresolv.abilist: Likewise.
16983 * abilist/librt.abilist: Likewise.
16984 * abilist/libthread_db.abilist: Likewise.
16985 * abilist/libutil.abilist: Likewise.
16986 * abilist/libnss_db.abilist: New file.
16987
16988 * scripts/abilist.awk: Add support for indirect functions.
16989
a2693a0e
UD
16990 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16991
3f05895f
UD
16992 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16993
ecb6fb48
UD
16994 * shlib-versions: Remove entries for ports architectures.
16995
664f8cb9
UD
16996 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16997 files in ports.
16998 * elf/stackguard-macros.h: Remove support for IA-64.
16999 * elf/tst-auditmod1.c: Likewise.
17000 * sysdeps/generic/ldsodefs.h: Likewise.
17001
7ae81d88
UD
17002 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17003 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17004 configure files.
17005
bdeba135
UD
17006 [BZ #13552]
17007 * configure.in: Remove --enable-omitfp support.
17008 * FAQ.in: Adjust.
17009 * config.make.in: Likewise.
17010 * Makeconfig: Likewise.
17011 * manual/install.texi: Likewise.
17012
d75a0a62
UD
17013 In case anyone cares, the IA-64 architecture could move to ports.
17014 * sysdeps/ia64/*: Removed.
17015 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 17016 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 17017
dcc9756b
UD
17018 [BZ #13555]
17019 * configure.in: Remove entries for unsupported architectures.
17020
d3761ebc 17021 [BZ #13533]
9954432e
UD
17022 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17023 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17024 routines.
17025 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17026 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17027 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17028 fall back to using wcrtomb.
17029 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17030 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17031 renaming.
17032 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17033 * wcsmbs/tst-c16c32-1.c: New file.
17034
17035 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17036 local variable.
17037
c3a87236
UD
17038 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17039
28926a1b
UD
17040 * elf/tst-unique3.cc: Add explicit declaration of gets.
17041 * elf/tst-unique3lib.cc: Likewise.
17042 * elf/tst-unique3lib2.cc: Likewise.
17043 * elf/tst-unique4.cc: Likewise.
17044
df78418a
UD
17045 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17046
8ecd6b2a
JM
170472012-01-06 Joseph Myers <joseph@codesourcery.com>
17048
17049 [BZ #13566]
17050 * assert/assert.h (static_assert): Don't define for C++.
17051 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17052 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17053
9f115170
UD
170542012-01-03 Ulrich Drepper <drepper@gmail.com>
17055
5e0d0300
UD
17056 * iconv/loop.c (single loop): Fix assertion in storing of
17057 remaining bytes.
17058
9f115170
UD
17059 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17060
81fb02b0
UD
170612012-01-01 Ulrich Drepper <drepper@gmail.com>
17062
17063 * posix/getconf.c: Update copyright year.
17064 * nss/getent.c: Likewise.
a316c1f6 17065 * nss/makedb.c: Likewise.
81fb02b0
UD
17066 * iconv/iconvconfig.c: Likewise.
17067 * iconv/iconv_prog.c: Likewise.
17068 * elf/ldconfig.c: Likewise.
a316c1f6
UD
17069 * elf/pldd.c: Likewise.
17070 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
17071 * catgets/gencat.c: Likewise.
17072 * csu/version.c: Likewise.
17073 * elf/ldd.bash.in: Likewise.
17074 * elf/sprof.c (print_version): Likewise.
17075 * locale/programs/locale.c: Likewise.
17076 * locale/programs/localedef.c: Likewise.
a316c1f6 17077 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
17078 * nscd/nscd.c (print_version): Likewise.
17079 * debug/xtrace.sh: Likewise.
17080 * malloc/memusage.sh: Likewise.
17081 * malloc/mtrace.pl: Likewise.
17082 * debug/catchsegv.sh: Likewise.
17083
2ba92745
JJ
170842011-12-30 Jakub Jelinek <jakub@redhat.com>
17085
17086 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17087 pure attribute.
17088
dadebdae
UD
170892011-12-24 Ulrich Drepper <drepper@gmail.com>
17090
d3761ebc 17091 [BZ #13533]
db6af3eb
UD
17092 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17093 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17094 transformations.
17095 * iconv/gconv_int.h: Likewise.
17096 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17097 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17098 from libc for GLIBC_2.16.
17099 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17100 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17101 * wcsmbs/uchar.h: Really define mbstate_t.
17102 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17103 * wcsmbs/c16rtomb.c: New file.
17104 * wcsmbs/mbrtoc16.c: New file.
17105 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17106 for C/POSIX locale.
17107 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17108 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17109
dadebdae
UD
17110 * wcsmbs/wchar.h: Add missing __restrict.
17111
67371b56
UD
171122011-12-23 Ulrich Drepper <drepper@gmail.com>
17113
74033a25
UD
17114 [BZ #13532]
17115 * time/Makefile (routines): Add timespec_get.
17116 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17117 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17118 timespec for ISO C11.
17119 * time/timespec_get.c: New file.
17120 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17121 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17122
380d7e87
UD
17123 [BZ #13531]
17124 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17125 * stdlib/stdlib.h: Declare aligned_alloc.
17126 * Versions.def: Add GLIBC_2.16 for libc.
17127 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17128
4e9e7a35
UD
17129 [BZ 13527]
17130 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17131 ISO C11.
17132
380d7e87 17133 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
17134 code.
17135
03a71829
UD
17136 [BZ #13528]
17137 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17138
839e283e
UD
17139 [BZ #13529]
17140 * assert/assert.h (static_assert): Define.
17141
ce5294e2 17142 * version.h: Update for 2.16 development version.
90fa7312 17143
8d44e150 17144 [BZ #13526]
d7809905
UD
17145 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17146 _ISOC11_SOURCE.
17147
c0da14cd
UD
17148 * version.h (RELEASE): Bump for 2.15 release.
17149 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17150
530a3249
MP
17151 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17152 Patch by Marek Polacek <mpolacek@redhat.com>.
17153
67371b56
UD
17154 * bits/byteswap.h: Protect long long constants with __extension__.
17155 * sysdeps/i386/bits/byteswap.h: Likewise.
17156 * sysdeps/ia64/bits/byteswap.h: Likewise.
17157 * sysdeps/s390/bits/byteswap.h: Likewise.
17158 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17159
15db4de1
LD
171602011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17161
17162 [BZ #13540]
bbe315ea
LD
17163 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17164 destination buffer.
15db4de1
LD
17165 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17166
2b2596b1
MP
171672011-12-23 Marek Polacek <polacek@redhat.com>
17168
17169 * elf/dl-addr.c (determine_info): Add inline keyword.
17170 * elf/tst-auditmod4b.c (check_avx): Likewise.
17171 * elf/tst-auditmod6b.c (check_avx): Likewise.
17172 * elf/tst-auditmod6c.c (check_avx): Likewise.
17173 * elf/tst-auditmod7b.c (check_avx): Likewise.
17174
70c6c246
UD
171752011-12-23 Ulrich Drepper <drepper@gmail.com>
17176
17177 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17178 !__SSE_MATH__.
17179
c044cf14
LD
171802011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17181
15db4de1 17182 [BZ #13540]
c044cf14
LD
17183 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17184 processing for last bytes.
17185
6b13d9d9
BH
171862011-08-06 Bruno Haible <bruno@clisp.org>
17187
d455f537
BH
17188 [BZ #13061]
17189 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17190 U+0385, not to U+1FEE.
17191
6b13d9d9
BH
17192 [BZ #13062]
17193 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17194 entry for U+00A5 U+0301.
17195
db910efd
UD
171962011-12-22 Ulrich Drepper <drepper@gmail.com>
17197
27deeafc
UD
17198 [BZ #13166]
17199 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17200 buffer for the output is too small.
17201
aed9d171
UD
17202 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17203 optimization.
17204
db910efd
UD
17205 [BZ #13185]
17206 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17207 SSE flags if possible.
17208
2bd779ae
LD
172092011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17210
e7f9dac3 17211 [BZ #13540]
2bd779ae
LD
17212 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17213 processing for last bytes.
17214
154bfc16
JM
172152011-12-22 Joseph Myers <joseph@codesourcery.com>
17216
17217 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17218 (syscall-list-default-options, syscall-list-default-condition)
17219 (syscall-list-includes): Define.
17220 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17221 list of ABIs and options and #if conditions for each ABI. Do not
17222 handle common syscalls between ABIs specially.
17223 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17224 Remove.
17225 (syscall-list-variants, syscall-list-32bit-options)
17226 (syscall-list-32bit-condition, syscall-list-64bit-options)
17227 (syscall-list-64bit-condition): Define.
17228 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17229 (syscall-list-variants, syscall-list-32bit-options)
17230 (syscall-list-32bit-condition, syscall-list-64bit-options)
17231 (syscall-list-64bit-condition): Define.
17232 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17233 Remove.
17234 (syscall-list-variants, syscall-list-32bit-options)
17235 (syscall-list-32bit-condition, syscall-list-64bit-options)
17236 (syscall-list-64bit-condition): Define.
17237 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17238 Remove.
17239 (syscall-list-variants, syscall-list-32bit-options)
17240 (syscall-list-32bit-condition, syscall-list-64bit-options)
17241 (syscall-list-64bit-condition): Define.
17242
21eaf3a5
UD
172432011-12-22 Ulrich Drepper <drepper@gmail.com>
17244
16c6f992
UD
17245 * locale/iso-639.def: Add brx entry.
17246
41043168
UD
17247 [BZ #13328]
17248 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17249 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17250
21eaf3a5
UD
17251 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17252 __feraiseexcept_renamed.
17253
e3a851a2
UD
172542011-12-21 Ulrich Drepper <drepper@gmail.com>
17255
4920765e
UD
17256 [BZ #13538]
17257 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17258 EPOLLET with unsigned values.
17259 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17260 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17261
e3a851a2
UD
17262 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17263 to large cancellation.
17264 * math/s_cacoshf.c: Likewise.
17265 * math/s_cacoshl.c: Likewise.
17266
b27e24b8
RK
172672011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17268
17269 [BZ #13305]
aebefeee 17270 [BZ #12786]
b27e24b8
RK
17271 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17272 * math/s_cacoshf.c: Likewise.
17273 * math/s_cacoshl.c: Likewise.
17274
ee190f67
UD
172752011-12-21 Ulrich Drepper <drepper@gmail.com>
17276
17277 [BZ #13439]
17278 * iconv/gconv.h: Define __GCONV_SWAP.
17279 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17280 * iconvdata/utf-16.c: Likewise.
17281 * iconvdata/utf-32.c: Likewise.
17282
707f25df
AS
172832011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17284
17285 [BZ #13524]
17286 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17287 numerator after shifting it by one limb.
17288
d2daaa1e
RÁE
172892011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17290
17291 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17292 under [__USE_EXTERN_INLINES].
17293
a4647e72
UD
172942011-12-17 Ulrich Drepper <drepper@gmail.com>
17295
17296 [BZ #13446]
17297 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17298
f0b264f1
AZ
172992011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17300
17301 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17302 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17303 optimized code.
17304 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17305 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17306 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17307 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17308 for strncasecmp/strncasecmp_l compilation.
17309 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17310 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17311
8ef4f244
MP
173122011-12-08 Marek Polacek <mpolacek@redhat.com>
17313
17314 [BZ #13484]
17315 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17316 of __asm__.
17317
97ac2654
UD
173182011-12-17 Ulrich Drepper <drepper@gmail.com>
17319
17320 [BZ #13506]
17321 * time/tzfile.c (__tzfile_read): Check values from file header.
17322
91d2a845
WS
173232011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17324
17325 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17326 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17327 * powerpc/powerpc32/dl-start.S: Likewise.
17328 * powerpc/powerpc32/elf/start.S: Likewise.
17329 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17330 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17331 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17332 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17333 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17334 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17335 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17336 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17337 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17338 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17339 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17340 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17341 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17342 * powerpc/powerpc32/memset.S: Likewise.
17343 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17344 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17345 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17346 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17347 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17348 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17349 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17350 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17351 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17352 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17353 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17354 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17355 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17356
a1267ba1
AZ
173572011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17358
17359 * math/libm-test.inc: Added more nearbyint tests.
17360 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17361 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17362 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17363 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17364
ad8ac1bd
RL
173652011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17366
17367 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17368 FD_CLOEXEC.
17369
1d3e4b61
UD
173702011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17371
17372 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17373 Add wcscpy-ssse3 wcscpy-c.
17374 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17375 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17376 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17377 * sysdeps/x86_64/wcschr.S: New file.
17378 * sysdeps/x86_64/wcsrchr.S: New file.
17379 * string/test-strcmp.c: Remove checking of wcscmp function for
17380 wrong alignments.
17381 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17382 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17383 wcsrchr-sse2 wcsrchr-c.
17384 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17385 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17386 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17387 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17388 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17389 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17390 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17391 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17392 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17393 * wcsmbc/wcschr.c (WCSCHR): New macro.
17394
5b330a2d
UD
173952011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17396
17397 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17398 * wcsmbs/test-wcsrchr.c: New file.
17399 * string/test-strrchr.c: Add wcsrchr support.
17400 (WIDE): New macro.
17401 * wcsmbs/test-wcscpy.c: New file.
17402 * string/test-strcpy.c: Add wcscpy support.
17403 (WIDE): New macro.
26428b7c 17404
f039c043
UD
174052011-12-10 Ulrich Drepper <drepper@gmail.com>
17406
17407 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17408 the inner loop.
17409
850fb039
AS
174102011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17411
17412 [BZ #13472]
17413 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17414
4efbd5cb
UD
174152011-12-04 Ulrich Drepper <drepper@gmail.com>
17416
52ff5dd0 17417 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 17418 Minor optimizations.
52ff5dd0 17419
4efbd5cb
UD
17420 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17421 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17422 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17423
8a426e12
UD
174242011-12-03 Ulrich Drepper <drepper@gmail.com>
17425
aff2453d
UD
17426 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17427 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17428 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17429 for gcc to avoid warnings.
17430 * inet/Makefile (tests): Add tst-checks.
17431 * inet/tst-checks.c: New file.
17432
17433 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17434 warning.
17435
17436 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17437 __wmemcmp_sse2.
17438
17439 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17440 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17441
8a426e12
UD
17442 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17443
9bea3473
UD
174442011-12-02 Ulrich Drepper <drepper@gmail.com>
17445
3a965496
UD
17446 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17447 problem.
17448
9bea3473
UD
17449 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17450
f101631b
UD
174512011-11-29 Joseph Myers <joseph@codesourcery.com>
17452
17453 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17454 conditional on GCC version.
17455 (__arch_compare_and_exchange_val_8_acq)
17456 (__arch_compare_and_exchange_val_16_acq)
17457 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17458 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17459 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17460
a98275aa
UD
174612011-12-02 Joseph Myers <joseph@codesourcery.com>
17462
17463 * sysdeps/sh/backtrace.c: New file.
17464
d4cc29a2
AS
174652011-12-02 Andreas Schwab <schwab@redhat.com>
17466
17467 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17468 parenthesis.
17469
6257af2d
AS
174702011-12-01 Andreas Schwab <schwab@redhat.com>
17471
17472 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17473 falling back to utime.
17474
b5f44c1a
AS
174752011-11-30 Andreas Schwab <schwab@redhat.com>
17476
17477 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17478 expectations for float.
17479
f3a6cc0a
AS
174802011-11-29 Andreas Schwab <schwab@redhat.com>
17481
17482 * locale/weight.h (findidx): Add parameter len.
17483 * locale/weightwc.h (findidx): Likewise.
17484 * posix/fnmatch_loop.c (FCT): Adjust caller.
17485 * posix/regcomp.c (build_equiv_class): Likewise.
17486 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17487 * posix/regexec.c (check_node_accept_bytes): Likewise.
17488 * string/strcoll_l.c (STRCOLL): Likewise.
17489 * string/strxfrm_l.c (STRXFRM): Likewise.
17490
9d65ea3a
UD
174912011-11-17 Ulrich Drepper <drepper@gmail.com>
17492
17493 * Makefile.in: Remove CVSOPT handling.
17494 * configure.in: Remove use of AC_REVISION.
17495 * iconvdata/Makefile (distribute): No need to filter out CVS.
17496 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17497 handling.
17498
5583a086
AS
174992011-11-16 Andreas Schwab <schwab@redhat.com>
17500
17501 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17502 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17503 [USE_AS_STRNCASECMP_L]: Likewise.
17504 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17505 NO_TLS_DIRECT_SEG_REFS.
17506 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17507 Fix argument offsets for non-PIC.
17508 [USE_AS_STRNCASECMP_L]: Likewise.
17509 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17510 NO_TLS_DIRECT_SEG_REFS.
17511
d62a8200
UD
175122011-11-15 Ulrich Drepper <drepper@gmail.com>
17513
9d65ea3a 17514 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
17515 O_CLOEXEC.
17516 * locale/loadlocale.c (_nl_load_locale): Likewise.
17517
09f93bd3
AS
175182011-11-15 Andreas Schwab <schwab@redhat.com>
17519
446514f9
AS
17520 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17521 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17522 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17523 (SYSCALL_GETTIME): Set errno on error.
17524
09f93bd3
AS
17525 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17526 count references to noai6ai_cached.
17527
312be3f9
UD
175282011-11-15 Ulrich Drepper <drepper@gmail.com>
17529
17530 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17531
17532 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17533 FD_CLOEXEC for /proc/self/maps.
17534
17535 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17536 FD_CLOEXEC for /proc/meminfo.
17537
17538 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17539 gai.conf.
17540
17541 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17542 FD_CLOEXEC for given file.
17543
17544 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17545
17546 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17547 FD_CLOEXEC for /etc/hosts.
17548 (_gethtent): Likewise.
17549
17550 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17551
17552 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17553 cancellation and set FD_CLOEXEC for /etc/netgroup.
17554
17555 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17556 reading /etc/publickey.
17557
17558 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17559 allow cancellation when reading /etc/group.
17560
17561 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17562 cancellation.
17563 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17564
17565 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17566 when using data file.
17567
17568 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17569
17570 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17571 (write_nis_obj): Use "c" and "e" in fopen.
17572
17573 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17574
17575 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17576
17577 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17578
17579 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17580
17581 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17582 locale.alias.
17583
17584 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17585
17586 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17587
17588 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17589
17590 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17591 file parsing and set FD_CLOEXEC.
17592
82af0fa8
UD
175932011-11-14 Ulrich Drepper <drepper@gmail.com>
17594
17595 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17596
a5fb313c
AS
175972011-11-14 Andreas Schwab <schwab@redhat.com>
17598
17599 * malloc/arena.c (arena_get2): Don't call reused_arena when
17600 _int_new_arena failed.
17601
6abf3465
UD
176022011-11-14 Ulrich Drepper <drepper@gmail.com>
17603
17604 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17605 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17606 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17607 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17608 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17609 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17610 to compile strcasecmp and strncasecmp.
17611 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17612 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17613
17614 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17615
76e3966e
UD
176162011-11-13 Ulrich Drepper <drepper@gmail.com>
17617
17618 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17619 locale-defines.sym to gen-as-const-headers.
17620 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17621 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17622 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17623 to compile strcasecmp and strncasecmp.
17624 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17625 strcasecmp_l and strncasecmp_l.
17626 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17627 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17628 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17629 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17630 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17631 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17632 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17633 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17634 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17635 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17636 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17637
ab26144e
UD
176382011-11-12 Ulrich Drepper <drepper@gmail.com>
17639
7edb22ef
UD
17640 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17641 result of SYSDEP_GETTIME_CPU to retval.
17642 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17643 parameter list to macro. Remove trailing semicolon. Adjust users.
17644
9694fc44
UD
17645 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17646 variable.
17647
8ad89ef8
UD
17648 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17649 mantissa words.
17650 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17651
0c822ef9
UD
17652 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17653 from unused variable.
17654
874e0564
UD
17655 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17656 DWARF definitions.
17657 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17658 for assembling.
17659
3a2edc79
UD
17660 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17661 over namespaces.
17662
f3c2577f
UD
17663 * sunrpc/rpc_prot.c (rejected): Fix case value.
17664
294ce126
UD
17665 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17666 unsigned long long int to avoid warnings in shift.
17667
5e2b63c6
UD
17668 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17669 of use of trans.
17670 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17671 variable tmp.
17672
e7f4b08e
UD
17673 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17674 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17675 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17676
ab26144e
UD
17677 * nis/nis_table.c (nis_list): Use variable of correct type for
17678 result of __follow_path call.
17679
8a6d5255
AZ
176802011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17681
17682 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17683 of math functions ceil, trunc, floor, round, and sqrt, when
17684 avaliable on the platform.
17685 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17686 name clash.
17687 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17688 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17689 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17690
aaddc98c
MP
176912011-10-30 Marek Polacek <mpolacek@redhat.com>
17692
17693 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17694 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17695
95b7042b
RM
176962011-11-11 Roland McGrath <roland@hack.frob.com>
17697
17698 * include/unistd.h: Fix __readlink return type.
17699 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17700
57769839
UD
177012011-11-11 Ulrich Drepper <drepper@gmail.com>
17702
17703 * stdlib/ucontext.h: Undo last change for makecontext.
17704
edc5984d
AS
177052011-11-11 Andreas Schwab <schwab@redhat.com>
17706
98591e58
AS
17707 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17708
edc5984d
AS
17709 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17710 * setjmp/setjmp.h: Mark functions as non-leaf.
17711 * setjmp/bits/setjmp2.h: Likewise.
17712 * stdlib/ucontext.h: Likewise.
17713
77cdc054
AS
177142011-11-10 Andreas Schwab <schwab@redhat.com>
17715
17716 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17717 (reused_arena): Don't check arena limit.
17718 (arena_get2): Atomically check arena limit.
17719
fe72eebd
UD
177202011-11-08 Ulrich Drepper <drepper@gmail.com>
17721
5f078c32
UD
17722 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17723 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17724
fe72eebd
UD
17725 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17726 instructions.
17727
ae1bc2fa
AS
177282011-11-07 Andreas Schwab <schwab@redhat.com>
17729
7583a88d
AS
17730 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17731 handler when locking.
17732
ae1bc2fa
AS
17733 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17734 Fix size of allocated buffer.
17735
10fb0bfa
AS
177362011-11-04 Andreas Schwab <schwab@redhat.com>
17737
998832a4
AS
17738 [BZ #10103]
17739 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17740 declarations for long double functions.
17741 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17742
10fb0bfa
AS
17743 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17744
3d7ba52b
AS
177452011-11-03 Andreas Schwab <schwab@redhat.com>
17746
a9ae54a1
AS
17747 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17748 installed.
17749
3d7ba52b
AS
17750 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17751 is disabled.
17752
bc8db248
ST
177532011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17754
17755 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17756
45b96dd6
AS
177572011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17758
647776f6
AS
17759 * include/alloca.h (stackinfo_alloca_round): Define.
17760 (extend_alloca): Use it.
17761 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17762 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17763 here.
17764
d91a8b93
AS
17765 * scripts/check-local-headers.sh: Ignore libaudit.h.
17766
45b96dd6
AS
17767 * nscd/Makefile (extra-objs): Make recursively expanded.
17768
432d41ce
UD
177692011-11-01 Ulrich Drepper <drepper@gmail.com>
17770
34372fc6
UD
17771 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17772 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17773
fadb59f8
UD
17774 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17775 * posix/tst-rfc3484-2.c: Likewise.
17776 * posix/tst-rfc3484-3.c: Likewise.
17777
78239589
UD
17778 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17779 process_vm_writev.
17780 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17781 process_vm_writev.
17782 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17783 process_vm_writev from libc using GLIBC_2.15 version.
17784
432d41ce
UD
17785 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17786
02f9c6cf
PP
177872011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17788
17789 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17790 stack usage.
17791
3a2c0242
UD
177922011-10-31 Ulrich Drepper <drepper@gmail.com>
17793
f4ec4833
UD
17794 [BZ #13367]
17795 * nss/getent.c (initgroups_keys): Show error message in case no group
17796 names are given.
17797
3a2c0242
UD
17798 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17799 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17800 __bump_nl_timestamp.
17801 * nscd/connections (nscd_init): When host database is served open
17802 netlink socket and request notification about configuration changes.
17803 (main_loop_poll): Track netlink file descriptor and bump timestamp
17804 in case data becomes available.
17805 (main_loop_epoll): Likewise.
17806 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17807 (database_pers_head): Add extra_data fileds.
17808 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17809 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17810 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17811 Adjust caller.
17812 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17813 in6ai data, call __free_in6ai.
17814 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17815 Add -DHAVE_NETLINK.
17816 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17817 interface information. Reuse previous data if netlink timestamp
17818 is not changed.
17819 (__bump_nl_timestamp): New function.
17820 (__free_in6ai): New function.
17821
636064eb
UD
178222011-10-30 Ulrich Drepper <drepper@gmail.com>
17823
17824 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17825 close_not_cancel_no_status here.
17826 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17827
9beb2334
UD
178282011-10-29 Ulrich Drepper <drepper@gmail.com>
17829
6ef76f3b
UD
17830 [BZ #13276]
17831 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17832 return value.
17833
0ffc4f3e 17834 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17835 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17836 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17837
cb95113e
UD
178382011-07-03 Andreas Jaeger <aj@suse.de>
17839
17840 [BZ #10709]
17841 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17842 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17843 * math/libm-test.inc (sin_test): Add test case.
17844
a1b560ff
UD
178452011-10-29 Ulrich Drepper <drepper@gmail.com>
17846
c9aaface
UD
17847 [BZ #13337]
17848 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17849 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17850
d272e7f1
UD
17851 * elf/chroot_canon.c (chroot_canon): Cleanups.
17852
1bc33071
UD
17853 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17854
1760874d
TJ
17855 [BZ #13335]
17856 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17857 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17858
51d91b18
UD
17859 * string/test-strchr.c: Make usable for strchrnul testing.
17860 * string/test-strchrnul.c: New file.
17861 * string/Makefile (strop-tests): Add strchrnul.
17862
a1b560ff 17863 * po/it.po: Update from translation team.
b611fb81 17864 * po/es.po: Likewise.
a1b560ff 17865
a5b81e1f
UD
178662011-10-28 Ulrich Drepper <drepper@gmail.com>
17867
fd52bc6d
UD
17868 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17869 the three constants needed as parameters. Drop the others.
17870 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17871 __m128i_strloadu_tolower.
52e4b9eb
UD
17872 Create and initialize variable zero and use it in all the places
17873 where _mm_setzero_si128 was used.
fd52bc6d 17874
a5b81e1f
UD
17875 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17876 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17877 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17878 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17879 anymore.
17880 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17881 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17882 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17883 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17884 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17885 __mpranred, __mptan.
17886 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17887 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17888 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17889 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17890 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17891 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17892 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17893 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17894 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17895
b4343346
AS
178962011-10-28 Andreas Schwab <schwab@redhat.com>
17897
0c92d8a8
AS
17898 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17899 redefine if SHARED.
17900 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17901
b4343346
AS
17902 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17903 wide char related routines to wcsmbs subdir.
17904
3871f58f
AS
179052011-10-27 Andreas Schwab <schwab@redhat.com>
17906
17907 [BZ #13344]
17908 * misc/sys/cdefs.h (__THROWNL): Define.
17909 * posix/unistd.h: Use __THREADNL instead of __THREAD
17910 for memory synchronization functions.
17911
94d44d9f
RM
179122011-10-26 Roland McGrath <roland@hack.frob.com>
17913
21b64b15 17914 [BZ #13349]
94d44d9f
RM
17915 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17916 doesn't exist.
17917 * manual/stdio.texi (Obstack Streams): Node removed.
17918
f6ce9294
AS
179192011-10-26 Andreas Schwab <schwab@redhat.com>
17920
80479147
AS
17921 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17922 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17923 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17924
f6ce9294
AS
17925 * math/math_private.h (math_force_eval): Allow non-addressable
17926 arguments.
17927 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17928
618280a1
UD
179292011-10-25 Ulrich Drepper <drepper@gmail.com>
17930
e0016b11
UD
17931 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17932 file is not needed.
17933
17934 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17935 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17936 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17937 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17938 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17939 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17940 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17941 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17942 Add AVX variants.
17943 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17944 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17945 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17946 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17947 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17948 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17949 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17950 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17951 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17952 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17953 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17954 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17955 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17956 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17957 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17958 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17959 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17960 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17961 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17962
17963 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17964 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17965
618280a1
UD
17966 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17967 place. Use VEX encoding when compiling for AVX.
17968
37822576
AS
179692011-10-25 Andreas Schwab <schwab@redhat.com>
17970
1f1e1947
AS
17971 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17972 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17973
37822576
AS
17974 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17975
31ea014d
UD
179762011-10-25 Ulrich Drepper <drepper@gmail.com>
17977
d7826aa1 17978 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17979 useless if() expression.
d7826aa1
UD
17980 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17981 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17982 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17983 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17984 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17985 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17986 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17987 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17988 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17989 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17990 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17991 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17992 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17993 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17994 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17995 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17996 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17997 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17998 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17999
31ea014d
UD
18000 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18001
16437fec
AS
180022011-10-25 Andreas Schwab <schwab@redhat.com>
18003
18004 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18005 condition.
18006 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18007
31d3cc00
UD
180082011-10-25 Ulrich Drepper <drepper@gmail.com>
18009
18010 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18011 .text section. Avoid duplicate constants.
18012 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18013 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18014 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18015 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18016 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18017 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18018 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18019 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18020 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18021 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18022 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18023 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18024 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18025 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18026 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18027 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18028 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18029 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18030 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18031 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18032 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18033 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18034 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18035 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18036 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18037 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18038 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18039 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18040 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18041 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18042 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18043 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18044 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18045 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18046 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18047 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18048 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18049 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18050 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18051 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18052 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18053 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18054 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18055 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18056 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18057
58985aa9
UD
180582011-10-24 Ulrich Drepper <drepper@gmail.com>
18059
202c9deb
UD
18060 * sysdeps/x86_64/dla.h: Move to ...
18061 * sysdeps/x86_64/fpu/dla.h: ...here.
18062 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18063 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 18064
af968f62
UD
18065 * config.make.in: Add have-mfma4 entry.
18066 * configure.in: Substitute libc_cv_cc_fma4.
18067 * math/Makefile (dbl-only-routines): Add sincostab.
18068 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18069 Use __sincostab not sincos.
18070 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18071 name is a macro.
18072 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18073 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18074 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18075 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18076 using __copysign.
18077 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18078 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18079 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18080 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18081 and __inv.
18082 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18083 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18084 __copysign.
18085 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18086 define aliases when function name is a macro.
18087 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18088 sysdeps/ieee754/dbl-64/sincos.tbl.
18089 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18090 fma4-enabled routines.
18091 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18092 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18093 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18094 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18095 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18096 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18097 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18098 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18099 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18100 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18101 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18102 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18103 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18104 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18105 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18106 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18107 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18108 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18109 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18110 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18111 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18112 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18113 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18114 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18115 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18116 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18117 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18118 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18119 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18120 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18121
58985aa9
UD
18122 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18123 rename.
18124 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18125 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18126 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18127 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18128 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18129 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18130 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18131 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18132
a201fbcf
AS
181332011-10-24 Andreas Schwab <schwab@redhat.com>
18134
18135 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18136
fc2ee42a
LD
181372011-10-23 Ulrich Drepper <drepper@gmail.com>
18138
bb3129bd
UD
18139 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18140
0275fff8
UD
18141 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18142 prediction.
18143 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18144
2fa2ae85
UD
18145 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18146 Remove unused variable magic_bits.
18147 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18148
fc2ee42a
LD
18149 * string/strnlen.c: Define and use STRNLEN macro.
18150 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18151 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18152 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18153 * wcsmbs/wcslen.c: Define and use WCSLEN.
18154 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18155 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18156 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18157 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18158 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18159 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18160 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18161
ce7dd29f
LD
181622011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18163
18164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18165 strnlen-sse2-no-bsf.
18166 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18167 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18168 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18169 Add strnlen support.
18170 (USE_AS_STRNLEN): New macro.
18171 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18172 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18173 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18174 * sysdeps/x86_64/wcslen.S: New file.
18175
979c70a3
MZ
181762011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18177
18178 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18179 XMM-moves are used for copying on small sizes.
18180
2d09f82f
LD
181812011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18182
18183 * wcsmbs/Makefile (strop-tests): Add wcschr.
18184 * wcsmbs/test-wcschr.c: New file.
18185 * string/test-strchr.c: Update.
18186 Add wcschr support.
18187 (WIDE): New macro.
18188
619fccca
LD
181892011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18190
2d09f82f 18191 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
18192 * wcsmbs/test-wcslen.c: New file.
18193 * string/test-strlen.c: Update.
18194 Add wcslen support.
18195 (WIDE): New macro.
18196
09f699ea
UD
181972011-10-23 Ulrich Drepper <drepper@gmail.com>
18198
18199 * po/it.po: Update from translation team.
18200
95584d3b
LD
182012011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18202
18203 * sysdeps/x86_64/wcscmp.S: Update.
18204 Fix wrong comparison semantics.
18205 wcscmp shall use signed comparison not unsigned.
18206 Don't use substraction to avoid overflow bug.
18207 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18208 * wcsmbc/wcscmp.c: Likewise.
18209 * string/test-strcmp.c: Likewise.
18210 Add new tests to check cases with negative values.
18211
c8b3296b
UD
182122011-10-23 Ulrich Drepper <drepper@gmail.com>
18213
18214 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18215 * sysdeps/x86_64/dla.h: ...here. New file.
18216 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18217 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18218 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18219 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18220 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18221 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18222 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18223 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18224 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18225
246ad57a
AS
182262011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18227
18228 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18229 __ynl_finite aliases.
18230
a1a87169
UD
182312011-10-22 Ulrich Drepper <drepper@gmail.com>
18232
0d355eb7
UD
18233 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18234
a1a87169
UD
18235 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18236 define DLA_FMA.
18237 [DLA_FMA] (EMULV): Use DLA_FMA.
18238 [DLA_FMA] (MUL12): Use EMULV.
18239 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18240 that are not needed.
18241 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18242 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18243 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18244 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18245 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18246 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18247 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18248
ee2aafe0
AS
182492011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18250
18251 * math/s_nan.c: Undef __nan.
18252 * math/s_nanf.c: Undef __nanf.
18253 * math/s_nanl.c: Undef __nanl.
18254 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18255 "math_private.h".
18256
bc62c2fb
UD
182572011-10-22 Ulrich Drepper <drepper@gmail.com>
18258
77425c63
UD
18259 * math/s_catan.c: Add branch predictions.
18260 * math/s_catanf.c: Likewise.
18261 * math/s_catanh.c: Likewise.
18262 * math/s_catanhf.c: Likewise.
18263 * math/s_catanhl.c: Likewise.
18264 * math/s_catanl.c: Likewise.
18265 * math/s_cexp.c: Likewise.
18266 * math/s_cexpf.c: Likewise.
18267 * math/s_cexpl.c: Likewise.
18268 * math/s_clog.c: Likewise.
18269 * math/s_clog10.c: Likewise.
18270 * math/s_clog10f.c: Likewise.
18271 * math/s_clog10l.c: Likewise.
18272 * math/s_clogf.c: Likewise.
18273 * math/s_clogl.c: Likewise.
18274 * math/s_csqrt.c: Likewise.
18275 * math/s_csqrtf.c: Likewise.
18276 * math/s_csqrtl.c: Likewise.
18277 * math/s_ctanf.c: Likewise.
18278 * math/s_ctanh.c: Likewise.
18279 * math/s_ctanhf.c: Likewise.
18280 * math/s_ctanhl.c: Likewise.
18281 * math/s_ctanl.c: Likewise.
18282
bc62c2fb
UD
18283 * math/math_private.h: Define __nan, __nanf, __nanl.
18284 * math/s_cacosh.c: Include <math_private.h>.
18285 * math/s_cacoshl.c: Likewise.
18286 * math/s_casinh.c: Likewise.
18287 * math/s_casinhf.c: Likewise.
18288 * math/s_casinhl.c: Likewise.
18289 * math/s_ccos.c: Rely entire on ccosh.
18290 * math/s_ccosf.c: Rely entire on ccoshf.
18291 * math/s_ccosl.c: Rely entirely on ccoshl.
18292 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18293 Remove tests for FE_INVALID.
18294 * math/s_ccoshf.c: Likewise.
18295 * math/s_ccoshl.c: Likewise.
18296 * math/s_csin.c: Likewise.
18297 * math/s_csinf.c: Likewise.
18298 * math/s_csinh.c Likewise.
18299 * math/s_csinhf.c: Likewise.
18300 * math/s_csinhl.c: Likewise.
18301 * math/s_csinl.c: Likewise.
18302 * math/s_ctan.c: Likewise.
18303 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18304 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18305 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18306
8ec250a4
UD
183072011-10-21 Ulrich Drepper <drepper@gmail.com>
18308
c196fed8
UD
18309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18310 compilation problems.
18311
8ec250a4
UD
18312 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18313 __builtin_expect.
18314
8d4f46c6
UD
183152011-10-20 Ulrich Drepper <drepper@gmail.com>
18316
ed72b654
UD
18317 * sysdeps/i386/configure.in: Test for -mfma4 option.
18318 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18319 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18320 COMMON_CPUID_INDEX_80000001.
18321 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18322 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18323 use it if FMA3 is not supported.
18324 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18325
8d4f46c6
UD
18326 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18327 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18328
d45c60c2
AS
183292011-10-20 Andreas Schwab <schwab@redhat.com>
18330
18331 [BZ #12892]
18332 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18333 it would create a cycle with a link time dependency.
18334
d9a4d2ab
UD
183352011-10-19 Ulrich Drepper <drepper@gmail.com>
18336
855d1560
UD
18337 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18338 instruction.
18339 * string/Makefile (strop-tests): Add rawmemchr.
18340 * string/test-rawmemchr.c: New file.
18341
d9a4d2ab
UD
18342 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18343 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18344 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18345 when compiling str{,n}casecmp and when AVX is available. Hook up
18346 new optimized code in initializers.
18347
8f3b1ffe
AS
183482011-10-19 Andreas Schwab <schwab@redhat.com>
18349
18350 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18351 __feraiseexcept instead of feraiseexcept.
18352
d38f1dba
UD
183532011-10-18 Ulrich Drepper <drepper@gmail.com>
18354
d9a8d0ab
UD
18355 * math/math_private.h: Define defaults for libc_fetestexcept and
18356 libc_feupdateenv.
18357 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18358 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18359 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18360 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18361 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18362 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18363 libc_fetestexcept and libc_feupdateenv.
18364
4855e3dd
UD
18365 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18366 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18367 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18368 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18369 libc_feholdexcept_setround.
18370
581d30e3
UD
18371 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18372 Add s_nearbyint-c and s_nearbyintf-c.
18373 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18374 nearbyintf inlines.
18375 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18376 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18377 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18378 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18379
d38f1dba
UD
18380 * math/math_private.h: Define defaults for libc_fegetround,
18381 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18382 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18383 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18384 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18385 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18386 standard functions.
18387 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18388 Remove comments and hacks for old compiler versions.
18389 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18390 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18391 libc_feholdexceptl.
18392
caa6c9d8
AS
183932011-10-18 Andreas Schwab <schwab@redhat.com>
18394
18395 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
18396 (__feraiseexcept_renamed): Add __NTH.
18397 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
18398 namespace violations.
18399
97c066e6
UD
184002011-10-17 Ulrich Drepper <drepper@gmail.com>
18401
99ce7b04
UD
18402 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18403
1004d182
UD
18404 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18405
228a984d
UD
18406 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18407 recently added interfaces.
18408 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18409
c8553a6a
UD
18410 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18411 about macro parameter expansion.
18412
ed22dcf6
UD
18413 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18414 __NO_MATH_INLINES is defined. Cleanups.
18415
18416 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18417 and __floorf is target has SSE4.1.
18418 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18419 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18420 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18421 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18422
b171c137
UD
18423 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18424 name.
18425 (floorf): Likewise.
18426
97c066e6
UD
18427 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18428
629f62ef
AS
184292011-10-17 Andreas Schwab <schwab@redhat.com>
18430
49a43d80
AS
18431 * misc/sys/cdefs.h: Fix last change.
18432
629f62ef
AS
18433 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18434 database lookup.
18435
e453f6cd
UD
184362011-10-16 Ulrich Drepper <drepper@gmail.com>
18437
aa78043a
UD
18438 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18439
ad0f5cad
UD
18440 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18441 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18442 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18443 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18444 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18445 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18446 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18447 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18448 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18449 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18450 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18451 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18452 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18453 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18454 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18455 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18456 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18457 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18458 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18459 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18460 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18461 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18462
18463 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18464 ceil, ceilf, floor, floorf.
18465
18466 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18467 Perform IRELATIVE relocations last.
18468
e453f6cd
UD
18469 * elf/do-rel.h: Add another parameter nrelative, replacing the
18470 local variable with the same name. Change name of the function
18471 to end in Rel or Rela (uppercase).
18472 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18473 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18474 elf_dynamic_do_##reloc function.
18475
fd5bdc09
UD
184762011-10-15 Ulrich Drepper <drepper@gmail.com>
18477
79b195b5
UD
18478 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18479 is sufficient, at least on modern CPUs.
18480
d4a28569
UD
18481 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18482
b61099b5
UD
18483 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18484 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18485
bcf01e6d
UD
18486 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18487 __expl_finite.
18488 * math/bits/math-finite.h: Add entries for exp.
18489 * math/e_expl.c: Add __*_finite alias.
18490 * sysdeps/i386/fpu/e_exp.S: Likewise.
18491 * sysdeps/i386/fpu/e_expf.S: Likewise.
18492 * sysdeps/i386/fpu/e_expl.c: Likewise.
18493 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18494 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18495 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18496 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18497 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18498 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18499 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18500
ba1a0d59
UD
18501 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18502 is sufficient, at least on modern CPUs.
18503
fd5bdc09
UD
18504 * ctype/ctype-info.c (__ctype_init): Define.
18505 * include/ctype.h (__ctype_init): Declare.
18506 (__ctype_b_loc): The variable is always initialized.
18507 (__ctype_toupper_loc): Likewise.
18508 (__ctype_tolower_loc): Likewise.
18509 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18510 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18511
7872cfb0
AS
185122011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18513
b468825a
AS
18514 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18515
7872cfb0
AS
18516 * configure.in: Also look in $cxxmachine/include for C++ system
18517 headers.
18518
be13f7bf
LD
185192011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18520
18521 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18522 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18523 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18524 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18525 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18526 (USE_AS_WMEMCMP): New macro.
18527 Fixing indents.
18528 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18529 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18530 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18531 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18532 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18533 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18534 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18535 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18536 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18537 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18538 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18539 (USE_AS_WMEMCMP): New macro.
18540 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18541 * sysdeps/string/test-memcmp.c: Update.
18542 Fix simple_wmemcmp.
18543 Add new tests.
18544 * wcsmbs/wmemcmp.c: Update.
18545 (WMEMCMP): New macro.
18546 Fix overflow bug.
18547
556a2007
AJ
185482011-10-12 Andreas Jaeger <aj@suse.de>
18549
18550 [BZ #13268]
18551 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18552
538faaa7
UD
185532011-10-15 Ulrich Drepper <drepper@gmail.com>
18554
ab6737ff
UD
18555 * libio/iofwide.c (do_length): Avoid warning.
18556
538faaa7
UD
18557 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18558
396a21b1
UD
185592011-10-14 Ulrich Drepper <drepper@gmail.com>
18560
cdf2901f
UD
18561 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18562
38ad40ce
UD
18563 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18564 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18565 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18566 * sysdeps/i386/i686/fpu/e_log.S: New file.
18567 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18568 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18569
396a21b1
UD
18570 * ctype/ctype.h: Add support for inlined isXXX functions when
18571 compiling C++ code.
18572
6b1f68c9
AS
185732011-10-14 Andreas Schwab <schwab@redhat.com>
18574
349290c0
AS
18575 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18576
6b1f68c9
AS
18577 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18578
f2282d42
RM
185792011-10-13 Roland McGrath <roland@hack.frob.com>
18580
18581 [BZ #13291]
18582 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18583
5298ffa8
AS
185842011-10-13 Andreas Schwab <schwab@redhat.com>
18585
714fad23
AS
18586 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18587 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18588 feraiseexcept.
18589
81dcc7fb
AS
18590 * sysdeps/x86_64/memrchr.S: Check for zero size.
18591
5298ffa8
AS
18592 * string/stratcliff.c: Add memrchr tests.
18593
951fbcec
LD
185942011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18595
18596 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18597 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18598 rawmemchr-sse2 rawmemchr-sse2-bsf.
18599 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18600 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18601 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18602 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18603 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18604 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18605 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18606 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18607 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18608 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18609 * string/memrchr.c (MEMRCHR): New macro.
18610
0ac5ae23
UD
186112011-10-12 Ulrich Drepper <drepper@gmail.com>
18612
18613 Add integration with gcc's -ffinite-math-only and optimize wrapper
18614 functions in libm.
18615 * Versions.def: Define GLIBC_2.15 version for libm.
18616 * math/Makefile (headers): Add bits/math-finite.h.
18617 * math/bits/math-finite.h: New file.
18618 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18619 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18620 * math/e_acoshl.c: Add __*_finite alias.
18621 * math/e_acosl.c: Likewise.
18622 * math/e_asinl.c: Likewise.
18623 * math/e_atan2l.c: Likewise.
18624 * math/e_atanhl.c: Likewise.
18625 * math/e_coshl.c: Likewise.
18626 * math/e_exp10.c: Likewise.
18627 * math/e_exp10f.c: Likewise.
18628 * math/e_exp10l.c: Likewise.
18629 * math/e_exp2l.c: Likewise.
18630 * math/e_fmodl.c: Likewise.
18631 * math/e_gammal_r.c: Likewise.
18632 * math/e_hypotl.c: Likewise.
18633 * math/e_j0l.c: Likewise.
18634 * math/e_j1l.c: Likewise.
18635 * math/e_jnl.c: Likewise.
18636 * math/e_lgammal_r.c: Likewise.
18637 * math/e_log10l.c: Likewise.
18638 * math/e_log2l.c: Likewise.
18639 * math/e_logl.c: Likewise.
18640 * math/e_powl.c: Likewise.
18641 * math/e_sinhl.c: Likewise.
18642 * math/e_sqrtl.c: Likewise.
18643 * math/e_scalb.c: Completely rewritten and optimized.
18644 * math/e_scalbf.c: Likewise.
18645 * math/e_scalbl.c: Likewise.
18646 * math/w_acos.c: Likewise.
18647 * math/w_acosf.c: Likewise.
18648 * math/w_acosl.c: Likewise.
18649 * math/w_acosh.c: Likewise.
18650 * math/w_acoshf.c: Likewise.
18651 * math/w_acoshl.c: Likewise.
18652 * math/w_asin.c: Likewise.
18653 * math/w_asinf.c: Likewise.
18654 * math/w_asinl.c: Likewise.
18655 * math/w_atan2.c: Likewise.
18656 * math/w_atan2f.c: Likewise.
18657 * math/w_atan2l.c: Likewise.
18658 * math/w_atanh.c: Likewise.
18659 * math/w_atanhf.c: Likewise.
18660 * math/w_atanhl.c: Likewise.
18661 * math/w_exp10.c: Likewise.
18662 * math/w_exp10f.c: Likewise.
18663 * math/w_exp10l.c: Likewise.
18664 * math/w_fmod.c: Likewise.
18665 * math/w_fmodf.c: Likewise.
18666 * math/w_fmodl.c: Likewise.
18667 * math/w_j0.c: Likewise.
18668 * math/w_j0f.c: Likewise.
18669 * math/w_j0l.c: Likewise.
18670 * math/w_j1.c: Likewise.
18671 * math/w_j1f.c: Likewise.
18672 * math/w_j1l.c: Likewise.
18673 * math/w_jn.c: Likewise.
18674 * math/w_jnf.c: Likewise.
18675 * math/w_log.c: Likewise.
18676 * math/w_logf.c: Likewise.
18677 * math/w_logl.c: Likewise.
18678 * math/w_log10.c: Likewise.
18679 * math/w_log10f.c: Likewise.
18680 * math/w_log10l.c: Likewise.
18681 * math/w_log2.c: Likewise.
18682 * math/w_log2f.c: Likewise.
18683 * math/w_log2l.c: Likewise.
18684 * math/w_pow.c: Likewise.
18685 * math/w_powf.c: Likewise.
18686 * math/w_powl.c: Likewise.
18687 * math/w_remainder.c: Likewise.
18688 * math/w_remainderf.c: Likewise.
18689 * math/w_remainderl.c: Likewise.
18690 * math/w_scalb.c: Likewise.
18691 * math/w_scalbf.c: Likewise.
18692 * math/w_scalbl.c: Likewise.
18693 * math/w_sqrt.c: Likewise.
18694 * math/w_sqrtf.c: Likewise.
18695 * math/w_sqrtl.c: Likewise.
18696 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18697 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18698 used.
18699 * math/math_private.h: Declare __kernel_standard_f.
18700 * math/w_cosh.c: Remove cruft and optimize a bit.
18701 * math/w_coshf.c: Likewise.
18702 * math/w_coshl.c: Likewise.
18703 * math/w_exp2.c: Likewise.
18704 * math/w_exp2f.c: Likewise.
18705 * math/w_exp2l.c: Likewise.
18706 * math/w_hypot.c: Likewise.
18707 * math/w_hypotf.c: Likewise.
18708 * math/w_hypotl.c: Likewise.
18709 * math/w_lgamma.c: Likewise.
18710 * math/w_lgamma_r.c: Likewise.
18711 * math/w_lgammaf.c: Likewise.
18712 * math/w_lgammaf_r.c: Likewise.
18713 * math/w_lgammal.c: Likewise.
18714 * math/w_lgammal_r.c: Likewise.
18715 * math/w_sinh.c: Likewise.
18716 * math/w_sinhf.c: Likewise.
18717 * math/w_sinhl.c: Likewise.
18718 * math/w_tgamma.c: Likewise.
18719 * math/w_tgammaf.c: Likewise.
18720 * math/w_tgammal.c: Likewise.
18721 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18722 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18723 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18724 Minor optimizations. Pretty printing. Remove cruft.
18725 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18726 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18727 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18728 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18729 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18730 * sysdeps/i386/fpu/e_asin.S: Likewise.
18731 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18732 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18733 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18734 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18735 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18736 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18737 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18738 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18739 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18740 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18741 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18742 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18743 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18744 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18745 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18746 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18747 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18748 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18749 * sysdeps/i386/fpu/e_log.S: Likewise.
18750 * sysdeps/i386/fpu/e_log10.S: Likewise.
18751 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18752 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18753 * sysdeps/i386/fpu/e_log2.S: Likewise.
18754 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18755 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18756 * sysdeps/i386/fpu/e_logf.S: Likewise.
18757 * sysdeps/i386/fpu/e_logl.S: Likewise.
18758 * sysdeps/i386/fpu/e_pow.S: Likewise.
18759 * sysdeps/i386/fpu/e_powf.S: Likewise.
18760 * sysdeps/i386/fpu/e_powl.S: Likewise.
18761 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18762 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18763 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18764 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18765 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18766 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18767 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18768 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18769 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18770 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18771 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18772 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18773 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18774 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18775 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18776 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18777 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18778 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18779 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18780 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18781 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18782 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18783 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18784 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18785 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18786 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18787 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18788 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18789 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18790 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18791 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18792 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18793 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18794 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18795 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18796 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18797 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18798 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18799 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18800 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18801 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18802 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18803 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18804 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18805 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18806 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18807 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18808 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18809 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18810 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18811 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18812 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18813 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18814 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18815 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18816 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18818 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18819 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18820 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18822 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18823 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18824 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18825 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18826 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18827 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18828 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18829 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18830 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18831 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18832 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18833 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18834 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18835 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18836 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18837 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18838 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18839 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18840 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18841 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18842 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18843 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18844 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18845 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18846 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18847 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18848 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18849 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18850 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18851 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18852 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18853 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18854 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18855 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18856 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18857 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18858 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18859 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18860 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18861 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18862 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18863 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18864 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18865 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18866 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18867 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18868 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18869 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18870 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18871 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18872 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18873 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18874 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18875 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18876 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18877 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18878 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18879 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18880 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18881 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18882 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18883 (__isnanf): Likewise.
18884 (__isinf_ns): Likewise.
18885 (__isinf_nsf): Likewise.
18886 (__finite): Likewise.
18887 (__finitef): Likewise.
18888 (__ieee754_sqrt): Define as macro.
18889 (__ieee754_sqrtf): Define as macro.
18890 (__ieee754_sqrtl): Define as macro.
18891 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18892 inlined copy.
18893 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18894 __FINITE_MATH_ONLY__ consistent.
18895 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18896
12cc2fcd
AS
188972011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18898
a843a204
AS
18899 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18900 of rawmemchr.
18901
12cc2fcd
AS
18902 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18903
c853acd5
UD
189042011-10-09 Ulrich Drepper <drepper@gmail.com>
18905
18906 * po/ja.po: Update from translation team.
18907
c658d255
RM
189082011-10-08 Roland McGrath <roland@hack.frob.com>
18909
110946e4
RM
18910 * locale/programs/locarchive.c (prepare_address_space): New function.
18911 (create_archive, enlarge_archive, open_archive): Use it.
18912
50604220
RM
18913 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18914 inside [SHARED], where it is used.
18915
c658d255
RM
18916 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18917
18918 * nss/getent.c (netgroup_keys): Remove unused variable.
18919 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18920
6a621eb7
UD
189212011-10-08 Ulrich Drepper <drepper@gmail.com>
18922
7edb55ce
UD
18923 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18924 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18925 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18926 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18927 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18928 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18929 * math/Makefile (libm-calls): Add s_isinf_ns.
18930 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18931 * math/multc3.c: Likewise.
18932 * math/s_casin.c: Likewise.
18933 * math/s_casinf.c: Likewise.
18934 * math/s_casinl.c: Likewise.
18935 * math/s_ccos.c: Likewise.
18936 * math/s_ccosf.c: Likewise.
18937 * math/s_ccosl.c: Likewise.
18938 * math/s_ctan.c: Likewise.
18939 * math/s_ctanf.c: Likewise.
18940 * math/s_ctanh.c: Likewise.
18941 * math/s_ctanhf.c: Likewise.
18942 * math/s_ctanhl.c: Likewise.
18943 * math/s_ctanl.c: Likewise.
18944 * math/w_fmod.c: Likewise.
18945 * math/w_fmodf.c: Likewise.
18946 * math/w_fmodl.c: Likewise.
18947 * math/w_remainder.c: Likewise.
18948 * math/w_remainderf.c: Likewise.
18949 * math/w_remainderl.c: Likewise.
18950 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18951 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18952 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18953 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18954 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18955 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18956 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18957 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18958
187da0ae
UD
18959 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18960 of the number.
18961 * stdio-common/printf_fphex.c: Likewise.
18962 * stdio-common/printf_size.c: Likewise.
18963
9277c064
UD
18964 * math/e_exp10.c: Include math_private.h using <...> not "...".
18965 * math/e_exp10f.c: Likewise.
18966 * math/e_exp10l.c: Likewise.
18967 * math/e_exp2l.c: Likewise.
18968 * math/e_j0l.c: Likewise.
18969 * math/e_j1l.c: Likewise.
18970 * math/e_jnl.c: Likewise.
18971 * math/e_lgammal_r.c: Likewise.
18972 * math/e_rem_pio2l.c: Likewise.
18973 * math/e_scalb.c: Likewise.
18974 * math/e_scalbf.c: Likewise.
18975 * math/e_scalbl.c: Likewise.
18976 * math/k_cosl.c: Likewise.
18977 * math/k_sinl.c: Likewise.
18978 * math/k_tanl.c: Likewise.
18979 * math/s_cacoshf.c: Likewise.
18980 * math/s_catan.c: Likewise.
18981 * math/s_catanf.c: Likewise.
18982 * math/s_catanh.c: Likewise.
18983 * math/s_catanhf.c: Likewise.
18984 * math/s_catanhl.c: Likewise.
18985 * math/s_catanl.c: Likewise.
18986 * math/s_ccosh.c: Likewise.
18987 * math/s_ccoshf.c: Likewise.
18988 * math/s_ccoshl.c: Likewise.
18989 * math/s_cexp.c: Likewise.
18990 * math/s_cexpf.c: Likewise.
18991 * math/s_cexpl.c: Likewise.
18992 * math/s_clog.c: Likewise.
18993 * math/s_clog10.c: Likewise.
18994 * math/s_clog10f.c: Likewise.
18995 * math/s_clog10l.c: Likewise.
18996 * math/s_clogf.c: Likewise.
18997 * math/s_clogl.c: Likewise.
18998 * math/s_csin.c: Likewise.
18999 * math/s_csinf.c: Likewise.
19000 * math/s_csinh.c: Likewise.
19001 * math/s_csinhf.c: Likewise.
19002 * math/s_csinhl.c: Likewise.
19003 * math/s_csinl.c: Likewise.
19004 * math/s_csqrt.c: Likewise.
19005 * math/s_csqrtf.c: Likewise.
19006 * math/s_csqrtl.c: Likewise.
19007 * math/s_ctan.c: Likewise.
19008 * math/s_ctanf.c: Likewise.
19009 * math/s_ctanh.c: Likewise.
19010 * math/s_ctanhf.c: Likewise.
19011 * math/s_ctanhl.c: Likewise.
19012 * math/s_ctanl.c: Likewise.
19013 * math/s_ldexp.c: Likewise.
19014 * math/s_ldexpf.c: Likewise.
19015 * math/s_ldexpl.c: Likewise.
19016 * math/s_significand.c: Likewise.
19017 * math/s_significandf.c: Likewise.
19018 * math/s_significandl.c: Likewise.
19019 * math/w_acos.c: Likewise.
19020 * math/w_acosf.c: Likewise.
19021 * math/w_acosh.c: Likewise.
19022 * math/w_acoshf.c: Likewise.
19023 * math/w_acoshl.c: Likewise.
19024 * math/w_acosl.c: Likewise.
19025 * math/w_asin.c: Likewise.
19026 * math/w_asinf.c: Likewise.
19027 * math/w_asinl.c: Likewise.
19028 * math/w_atan2.c: Likewise.
19029 * math/w_atan2f.c: Likewise.
19030 * math/w_atan2l.c: Likewise.
19031 * math/w_atanh.c: Likewise.
19032 * math/w_atanhf.c: Likewise.
19033 * math/w_atanhl.c: Likewise.
19034 * math/w_cosh.c: Likewise.
19035 * math/w_coshf.c: Likewise.
19036 * math/w_coshl.c: Likewise.
19037 * math/w_dremf.c: Likewise.
19038 * math/w_exp10.c: Likewise.
19039 * math/w_exp10f.c: Likewise.
19040 * math/w_exp10l.c: Likewise.
19041 * math/w_exp2.c: Likewise.
19042 * math/w_exp2f.c: Likewise.
19043 * math/w_fmod.c: Likewise.
19044 * math/w_fmodf.c: Likewise.
19045 * math/w_fmodl.c: Likewise.
19046 * math/w_hypot.c: Likewise.
19047 * math/w_hypotf.c: Likewise.
19048 * math/w_hypotl.c: Likewise.
19049 * math/w_j0.c: Likewise.
19050 * math/w_j0f.c: Likewise.
19051 * math/w_j0l.c: Likewise.
19052 * math/w_j1.c: Likewise.
19053 * math/w_j1f.c: Likewise.
19054 * math/w_j1l.c: Likewise.
19055 * math/w_jn.c: Likewise.
19056 * math/w_jnf.c: Likewise.
19057 * math/w_jnl.c: Likewise.
19058 * math/w_lgamma.c: Likewise.
19059 * math/w_lgamma_r.c: Likewise.
19060 * math/w_lgammaf.c: Likewise.
19061 * math/w_lgammaf_r.c: Likewise.
19062 * math/w_lgammal.c: Likewise.
19063 * math/w_lgammal_r.c: Likewise.
19064 * math/w_log.c: Likewise.
19065 * math/w_log10.c: Likewise.
19066 * math/w_log10f.c: Likewise.
19067 * math/w_log10l.c: Likewise.
19068 * math/w_log2.c: Likewise.
19069 * math/w_log2f.c: Likewise.
19070 * math/w_log2l.c: Likewise.
19071 * math/w_logf.c: Likewise.
19072 * math/w_logl.c: Likewise.
19073 * math/w_pow.c: Likewise.
19074 * math/w_powf.c: Likewise.
19075 * math/w_powl.c: Likewise.
19076 * math/w_remainder.c: Likewise.
19077 * math/w_remainderf.c: Likewise.
19078 * math/w_remainderl.c: Likewise.
19079 * math/w_scalb.c: Likewise.
19080 * math/w_scalbf.c: Likewise.
19081 * math/w_scalbl.c: Likewise.
19082 * math/w_sinh.c: Likewise.
19083 * math/w_sinhf.c: Likewise.
19084 * math/w_sinhl.c: Likewise.
19085 * math/w_sqrt.c: Likewise.
19086 * math/w_sqrtf.c: Likewise.
19087 * math/w_sqrtl.c: Likewise.
19088 * math/w_tgamma.c: Likewise.
19089 * math/w_tgammaf.c: Likewise.
19090 * math/w_tgammal.c: Likewise.
19091
6a621eb7
UD
19092 * po/ja.po: Update from translation team.
19093
bf582445
AJ
190942011-09-29 Andreas Jaeger <aj@suse.de>
19095
f9efbf3a
AJ
19096 [BZ #13179]
19097 * sunrpc/netname.c (netname2host): Fix logic.
19098
bf582445
AJ
19099 [BZ #6779]
19100 [BZ #6783]
19101 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19102 correctly.
19103 * math/w_remainder.c (__remainder): Likewise.
19104 * math/w_remainderf.c (__remainderf): Likewise.
19105 * math/libm-test.inc (remainder_test): Add test cases.
19106
48693bea
AK
191072011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19108
19109 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19110 sdiv_qrnnd.
19111
42622229
LD
191122011-10-07 Ulrich Drepper <drepper@gmail.com>
19113
19114 * string/test-memcmp.c: Avoid unncessary #defines.
19115 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19116
093ecf92
LD
191172011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19118
19119 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19120 Use new sse2 version for core i3 - i7 as it's faster
19121 than sse42 version.
19122 (bit_Prefer_PMINUB_for_stringop): New.
19123 * sysdeps/x86_64/rawmemchr.S: Update.
19124 Replace with faster SSE2 version.
19125 * sysdeps/x86_64/memrchr.S: New file.
19126 * sysdeps/x86_64/memchr.S: Update.
19127 Replace with faster SSE2 version.
19128
fde56e5c
MP
191292011-09-12 Marek Polacek <mpolacek@redhat.com>
19130
19131 * elf/dl-load.c (lose): Add cast to avoid warning.
19132
21fd49a9
UD
191332011-10-07 Ulrich Drepper <drepper@gmail.com>
19134
5a06e643
UD
19135 * po/ca.po: Update from translation team.
19136
684ae515
UD
19137 * inet/getnetgrent_r.c: Hook up nscd.
19138 * nscd/Makefile (routines): Add nscd_netgroup.
19139 (nscd-modules): Add netgroupcache.
19140 (CFLAGS-netgroupcache.c): Define.
19141 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19142 (cache_search): Add const to second parameter.
19143 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19144 INNETGR.
19145 (dbs): Add netgrdb entry.
19146 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19147 (verify_persistent_db): Handle netgrdb.
19148 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19149 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19150 GETFDNETGR.
19151 (netgroup_response_header): Define.
19152 (innetgroup_response_header): Define.
19153 (datahead): Add netgroup_response_header and innetgroup_response_header
19154 elements.
19155 * nscd/nscd.conf: Add entries for netgroup cache.
19156 * nscd/nscd.h (dbtype): Add netgrdb.
19157 (_PATH_NSCD_NETGROUP_DB): Define.
19158 (netgroup_iov_disabled): Declare.
19159 (xmalloc, xcalloc, xrealloc): Move declarations here.
19160 (cache_search): Adjust prototype.
19161 Add netgroup-related prototypes.
19162 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19163 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19164 (__nscd_innetgr): Declare.
19165 * nscd/selinux.c (perms): Use access_vector_t as element type and
19166 add netgroup-related initializers.
19167 * nscd/netgroupcache.c: New file.
19168 * nscd/nscd_netgroup.c: New file.
19169 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19170 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19171 For four parameters use innetgr.
19172 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19173 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19174 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19175 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19176
21fd49a9
UD
19177 * nscd/connections.c (register_traced_file): Don't register file
19178 for disabled databases.
19179
054c0457
UD
191802011-10-06 Ulrich Drepper <drepper@gmail.com>
19181
32b63198
UD
19182 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19183
054c0457
UD
19184 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19185 from tree and freeing node.
19186
64031225
JO
191872011-09-25 Jiri Olsa <jolsa@redhat.com>
19188
19189 * nss/nsswitch.c (__nss_database_lookup): Handle
19190 nss_parse_service_list out of memory case.
19191
0490345c
JO
191922011-09-15 Jiri Olsa <jolsa@redhat.com>
19193
19194 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19195 out of memory case.
19196
3a62d00d
AS
191972011-10-04 Andreas Schwab <schwab@redhat.com>
19198
19199 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19200 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19201 pass it down.
19202 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19203 elf_machine_rela, elf_machine_lazy_rel.
19204 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19205 (ELF_DYNAMIC_DO_REL): Likewise.
19206 (ELF_DYNAMIC_DO_RELA): Likewise.
19207 (ELF_DYNAMIC_RELOCATE): Likewise.
19208 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19209 to ELF_DYNAMIC_DO_REL.
19210 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19211 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19212 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19213 elf_machine_rela.
19214 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19215 skip_ifunc, don't call ifunc function if non-zero.
19216 (elf_machine_rela): Likewise.
19217 (elf_machine_lazy_rel): Likewise.
19218 (elf_machine_lazy_rela): Likewise.
19219 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19220 (elf_machine_lazy_rel): Likewise.
19221 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19222 Likewise.
19223 (elf_machine_lazy_rel): Likewise.
19224 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19225 Likewise.
19226 (elf_machine_lazy_rel): Likewise.
19227 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19228 (elf_machine_lazy_rel): Likewise.
19229 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19230 (elf_machine_lazy_rel): Likewise.
19231 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19232 (elf_machine_lazy_rel): Likewise.
19233 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19234 (elf_machine_lazy_rel): Likewise.
19235 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19236 (elf_machine_lazy_rel): Likewise.
19237 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19238 (elf_machine_lazy_rel): Likewise.
19239
68577918
UD
192402011-09-28 Ulrich Drepper <drepper@gmail.com>
19241
19242 * nss/nss_files/files-init.c (_nss_files_init): Use static
19243 initialization for all the *_traced_file variables.
19244
68822d74
AS
192452011-09-28 Andreas Schwab <schwab@redhat.com>
19246
19247 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19248
2056100b
RM
192492011-09-27 Roland McGrath <roland@hack.frob.com>
19250
19251 [BZ #13226]
19252 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19253
32c76b63
AS
192542011-09-27 Andreas Schwab <schwab@redhat.com>
19255
19256 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19257 Reread the line before reparsing it.
19258
bf972c9d
AS
192592011-09-26 Andreas Schwab <schwab@redhat.com>
19260
19261 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19262
e057a1b5
JM
192632011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19264 Maxim Kuvyrkov <maxim@codesourcery.com>
19265 Joseph Myers <joseph@codesourcery.com>
19266
19267 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19268 if needed for __stack_chk_guard.
19269
bc7e1c36
RM
192702011-09-19 Roland McGrath <roland@hack.frob.com>
19271
ecb1482f
RM
19272 * sysdeps/posix/spawni.c (script_execute): Always define it.
19273 It will be optimized away if unused.
19274 (maybe_script_execute): New function.
19275 (__spawni): Call it.
19276
bc7e1c36
RM
19277 * Makerules: Don't include tls.make.
19278 (config-tls): Always set to thread.
19279 * tls.make.c: File removed.
19280
1c3b002b
MF
192812011-09-19 Mike Frysinger <vapier@gentoo.org>
19282
19283 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19284 * config.make.in (CPPFLAGS-config): New substituted variable.
19285
2840865d
UD
192862011-09-15 Ulrich Drepper <drepper@gmail.com>
19287
88738eb6
UD
19288 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19289
cbf645a6 19290 [BZ #13192]
2840865d
UD
19291 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19292 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19293
b402e91a
RM
192942011-09-15 Roland McGrath <roland@hack.frob.com>
19295
19296 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19297 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19298 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19299 (CALL_FAIL): Likewise.
19300 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19301 (CALL_FAIL): Macro removed.
19302 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19303
4c1a1f71
UD
193042011-09-15 Ulrich Drepper <drepper@gmail.com>
19305
19306 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19307 for __FINITE_MATH_ONLY__ == 1.
19308
edc121be
AS
193092011-09-15 Andreas Schwab <schwab@redhat.com>
19310
19311 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19312 __ieee754_sqrt instead of sqrt.
19313 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19314 __ieee754_sqrtf instead of sqrtf.
19315 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19316 __floorf instead of floorf.
19317 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19318 __floorf, __truncf instead of floorf, truncf.
19319
cd205654
UD
193202011-09-14 Ulrich Drepper <drepper@gmail.com>
19321
ee4d0315
UD
19322 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19323
cd205654
UD
19324 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19325 __extern_always_inline.
19326 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19327 32-bit.
19328
48b67d71
AS
193292011-09-14 Andreas Schwab <schwab@redhat.com>
19330
19331 * elf/rtld.c (dl_main): Also relocate in dependency order when
19332 doing symbol dependency testing.
19333
1ae12c75
AS
193342011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19335
19336 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19337 Always define `refsym'.
19338
995a80df
AS
193392011-09-13 Andreas Schwab <schwab@redhat.com>
19340
e529793b
AS
19341 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19342 (__FD_ELT): Renamed from __FDELT.
19343 * misc/bits/select2.h (__FD_ELT): Likewise.
19344 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19345 __FD_MASK instead of __FDELT, __FDMASK.
19346 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19347 Likewise.
19348 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19349 Likewise.
19350
52d4fef8
AS
19351 * elf/Makefile (gen-ldd): Fix pattern.
19352
995a80df
AS
19353 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19354 (init_tls): Likewise.
19355
8682f8b0
UD
193562011-09-12 Ulrich Drepper <drepper@gmail.com>
19357
19358 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19359
de82006d
AS
193602011-09-12 Andreas Schwab <schwab@redhat.com>
19361
a7c8e6a1
AS
19362 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19363 `struct cmsghdr *' instead of `void *'.
19364 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19365 Likewise.
19366
0f31fe77
AS
193672011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19368
19369 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19370 if non-absolute.
19371 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19372 ldd_rewrite_script.
0f31fe77 19373
32b4c839
UD
193742011-09-11 Ulrich Drepper <drepper@gmail.com>
19375
83cd1420
UD
19376 * configure.in: Remove --with-tls option.
19377 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19378 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19379 out in case it is missing.
19380 * sysdeps/ia64/elf/configure.in: Likewise.
19381 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19382 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19383 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19384 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19385 * sysdeps/sh/elf/configure.in: Likewise.
19386 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19387 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19388 * sysdeps/x86_64/elf/configure.in: Likewise.
19389 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19390 * sysdeps/mach/hurd/tls.h: Likewise.
19391
633f745d
UD
19392 [BZ #13067]
19393 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19394
f318beb8
UD
19395 [BZ #13090]
19396 * configure.in: Fix use of AC_INIT.
19397
32b4c839
UD
19398 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19399
3ce1f295
UD
194002011-09-10 Ulrich Drepper <drepper@gmail.com>
19401
bb016596
UD
19402 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19403 __set_errno.
8e58439c
UD
19404 * malloc/hooks.c: Likewise.
19405
aebae053 19406 [BZ #11929]
02d46fc4
UD
19407 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19408 variables statically.
19409 (narenas): Initialize.
19410 (list_lock): Initialize.
bb016596
UD
19411 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19412 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
19413 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19414 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19415 Add initializers to main_arena and mp_.
19416 (malloc_state): Remove pagesize member. Change all users to use
19417 GLRO(dl_pagesize).
19418
19419 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19420 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19421 is always initialized.
19422
22a89187
UD
19423 * malloc/malloc.c: Removed unused configurations and dead code.
19424 * malloc/arena.c: Likewise.
19425 * malloc/hooks.c: Likewise.
02d46fc4 19426 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 19427
d063d164
UD
19428 * include/tls.h: Removed. USE___THREAD must always be defined.
19429 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19430 * elf/dl-libc.c: Likewise.
19431 * elf/dl-tsd.c: Likewise.
19432 * include/errno.h: Likewise.
19433 * include/netdb.h: Likewise.
19434 * include/resolv.h: Likewise.
19435 * inet/herrno-loc.c: Likewise.
19436 * inet/herrno.c: Likewise.
19437 * malloc/arena.c: Likewise.
19438 * malloc/hooks.c: Likewise.
19439 * malloc/malloc.c: Likewise.
19440 * resolv/res-state.c: Likewise.
19441 * resolv/res_libc.c: Likewise.
19442 * sysdeps/i386/dl-machine.h: Likewise.
19443 * sysdeps/ia64/dl-machine.h: Likewise.
19444 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19445 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19446 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19447 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19448 * sysdeps/sh/dl-machine.h: Likewise.
19449 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19450 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19451 * sysdeps/unix/i386/sysdep.S: Likewise.
19452 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19453 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19454 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19455 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19456 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19457 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19458 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19459 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19460 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19461 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19462 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19463 * sysdeps/x86_64/dl-machine.h: Likewise.
19464 * tls.make.c: Likewise.
19465
3ce1f295
UD
19466 * configure.in: Remove --with-__thread option. Make tests for
19467 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19468 tls_model attribute fail if no support is available. Remove
19469 USE_IN_LIBIO.
19470 * Makeconfig: Adjust for dropped configure option. All features are
19471 now mandatory.
19472 * Makerules: Likewise.
19473 * Versions.def: Likewise.
19474 * argp/argp-fmtstream.c: Likewise.
19475 * argp/argp-fmtstream.h: Likewise.
19476 * argp/argp-help.c: Likewise.
19477 * assert/assert.c: Likewise.
19478 * config.h.in: Likewise.
19479 * config.make.in: Likewise.
19480 * configure: Likewise.
19481 * configure.in: Likewise.
19482 * csu/Versions: Likewise.
19483 * csu/init.c: Likewise.
19484 * elf/tst-audit2.c: Likewise.
19485 * elf/tst-tls10.c: Likewise.
19486 * elf/tst-tls10.h: Likewise.
19487 * elf/tst-tls11.c: Likewise.
19488 * elf/tst-tls12.c: Likewise.
19489 * elf/tst-tls14.c: Likewise.
19490 * elf/tst-tlsmod11.c: Likewise.
19491 * elf/tst-tlsmod12.c: Likewise.
19492 * elf/tst-tlsmod13.c: Likewise.
19493 * elf/tst-tlsmod13a.c: Likewise.
19494 * elf/tst-tlsmod14a.c: Likewise.
19495 * elf/tst-tlsmod15b.c: Likewise.
19496 * elf/tst-tlsmod16a.c: Likewise.
19497 * elf/tst-tlsmod16b.c: Likewise.
19498 * elf/tst-tlsmod7.c: Likewise.
19499 * elf/tst-tlsmod8.c: Likewise.
19500 * elf/tst-tlsmod9.c: Likewise.
19501 * gmon/gmon.c: Likewise.
19502 * grp/fgetgrent_r.c: Likewise.
19503 * grp/putgrent.c: Likewise.
19504 * hurd/fopenport.c: Likewise.
19505 * include/libc-symbols.h: Likewise.
19506 * include/tls.h: Likewise.
19507 * intl/gettextP.h: Likewise.
19508 * intl/loadinfo.h: Likewise.
19509 * locale/global-locale.c: Likewise.
19510 * locale/localeinfo.h: Likewise.
19511 * mach/devstream.c: Likewise.
19512 * malloc/arena.c: Likewise.
19513 * malloc/set-freeres.c: Likewise.
19514 * misc/err.c: Likewise.
19515 * misc/getttyent.c: Likewise.
19516 * misc/mntent_r.c: Likewise.
19517 * posix/getopt.c: Likewise.
19518 * posix/wordexp.c: Likewise.
19519 * pwd/fgetpwent_r.c: Likewise.
19520 * resolv/Versions: Likewise.
19521 * resolv/res_hconf.c: Likewise.
19522 * shadow/fgetspent_r.c: Likewise.
19523 * shadow/putspent.c: Likewise.
19524 * stdio-common/printf_fphex.c: Likewise.
19525 * stdio-common/tmpfile.c: Likewise.
19526 * stdlib/abort.c: Likewise.
19527 * stdlib/fmtmsg.c: Likewise.
19528 * sunrpc/auth_unix.c: Likewise.
19529 * sunrpc/clnt_perr.c: Likewise.
19530 * sunrpc/clnt_tcp.c: Likewise.
19531 * sunrpc/clnt_udp.c: Likewise.
19532 * sunrpc/clnt_unix.c: Likewise.
19533 * sunrpc/openchild.c: Likewise.
19534 * sunrpc/svc_simple.c: Likewise.
19535 * sunrpc/svc_tcp.c: Likewise.
19536 * sunrpc/svc_udp.c: Likewise.
19537 * sunrpc/svc_unix.c: Likewise.
19538 * sunrpc/xdr.c: Likewise.
19539 * sunrpc/xdr_array.c: Likewise.
19540 * sunrpc/xdr_rec.c: Likewise.
19541 * sunrpc/xdr_ref.c: Likewise.
19542 * sunrpc/xdr_stdio.c: Likewise.
19543
1248c1c4
PB
195442011-09-09 Ulrich Drepper <drepper@gmail.com>
19545
19546 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19547
195482011-07-03 Andreas Jaeger <aj@suse.de>
19549
19550 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19551 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19552 regenerate with gen-libm-tests.pl.
19553
195542010-05-12 Petr Baudis <pasky@suse.cz>
19555
19556 [BZ #11589]
19557 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19558 around j0() zero points by switching to j1().
19559 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19560 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19561 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19562 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19563
f22e1074
UD
195642011-09-09 Ulrich Drepper <drepper@gmail.com>
19565
f19009c1
UD
19566 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19567 instead of 0.
19568 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 19569 instead of 0.
f19009c1
UD
19570 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19571 Patch in part by Pavel Roskin <proski@gnu.org>.
19572
3f8cc204
UD
19573 [BZ #13138]
19574 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19575 realloc.
19576 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19577 Free memory block if necessary.
19578
f22e1074
UD
19579 [BZ #12847]
19580 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19581 be NULL. Don't lock in this case.
19582
0a2349f9
RM
195832011-09-09 Roland McGrath <roland@hack.frob.com>
19584
19585 * elf/elf.h (ELFOSABI_GNU): New macro.
19586 (ELFOSABI_LINUX): Define to that.
19587
f3cdd467
DZ
195882011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19589
19590 * string/strncat.c (strncat): Undef the symbol in case it has been
19591 defined in bits/string.h.
19592
74718d13
UD
195932011-09-09 Ulrich Drepper <drepper@gmail.com>
19594
633e9e0f
UD
19595 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19596
0a2349f9 19597 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
19598 link map.
19599
f9924780
AJ
196002011-08-17 Andreas Jaeger <aj@suse.de>
19601
19602 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19603
7f5517aa
PP
196042011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19605 Ian Lance Taylor <iant@google.com>
19606
19607 * math/libm-test.inc (lround_test): New testcase.
19608 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19609
762011fe
UD
196102011-09-08 Ulrich Drepper <drepper@gmail.com>
19611
92963737
UD
19612 * Makefile: Remove support for automatic cvs check-ins.
19613 * Makerules: Likewise.
19614 * config.make.in: Likewise.
19615 * configure.in: Likewise.
19616 * intl/Makefile: Likewise.
19617 * locale/Makefile: Likewise.
19618 * po/Makefile: Likewise.
19619 * posix/Makefile: Likewise.
19620 * sysdeps/gnu/Makefile: Likewise.
19621 * sysdeps/mach/hurd/Makefile: Likewise.
19622 * sysdeps/sparc/sparc32/Makefile: Likewise.
19623
b0727fd8
JS
19624 [BZ #13118]
19625 * posix/Makefile (bug-regex32-ENV): Define.
19626 Patch by John Stanley <jpsinthemix@verizon.net>.
19627
a0f33f99
UD
19628 * misc/Makefile (headers): Add bits/select2.h.
19629 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19630 * misc/bits/select2.h: New file.
19631 * include/bits/select2.h: New file.
19632 * debug/Makefile (routines): Add fdelt_chk.
19633 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19634 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19635 FD_ISSET.
19636 * debug/fdelt_chk.c: New file.
19637
762011fe
UD
19638 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19639 * wcsmbs/test-wmemcmp.c: Likewise.
19640 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19641 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19642
196432011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19644
19645 * string/Makefile (strop-tests): Add memcmp.
19646 * string/test-wmemcmp.c: New file.
19647 * string/test-memcmp.c: Add wmemcmp support.
19648
7f513ec8
RM
196492011-09-08 Roland McGrath <roland@hack.frob.com>
19650
0442afb4
RM
19651 [BZ #13153]
19652 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19653 2011-07-19 change.
19654
7f513ec8
RM
19655 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19656 garbage value in a __mach_port_mod_refs call in the cases of the
19657 task-self and thread-self ports.
19658
a12b2239
ST
196592011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19660
19661 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19662
610f9ab4
AS
196632011-09-08 Andreas Schwab <schwab@redhat.com>
19664
7f513ec8 19665 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19666
48882a1a
LD
196672011-09-07 Ulrich Drepper <drepper@gmail.com>
19668
b49865be
UD
19669 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19670
fdc86bc9
UD
19671 * elf/dl-libc.c (dlerror_run): Pass back error code from
19672 dl_catch_error.
19673
c966526a
UD
19674 [BZ #13123]
19675 * elf/dl-load.c (lose): Free l_origin if it is valid.
19676
48882a1a
LD
19677 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19678 names.
19679 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19680 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19681 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19682 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19683 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19684 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19685
77a2a8b4
AZ
196862011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19687
19688 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19689 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19690 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19691 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19692 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19693 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19694 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19695 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19696 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19697 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19698
24f579d8
AM
196992011-08-15 Alan Modra <amodra@gmail.com>
19700
19701 [BZ #13092]
19702 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19703 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19704 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19705 ppc_mcount to static-only-routines.
19706 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19707 __mcount_internal.
19708 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19709 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19710
3d4837df
UD
197112011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19712
19713 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19714 for finite and infinity parameters.
19715
22700377
WS
197162011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19717
19718 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19719 and add nop instructions for throughput optimization.
19720 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19721
5025581e
WS
197222011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19723
19724 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19725 aligned copy for power7 with vector-scalar instructions.
19726 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19727
08a300c9
L
197282011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19729
19730 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19731 AVX check.
19732
59178ef9
AS
197332011-09-07 Andreas Schwab <schwab@redhat.com>
19734
19735 [BZ #13144]
19736 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19737 last change.
19738
e38ba7ab
UD
197392011-09-07 Ulrich Drepper <drepper@gmail.com>
19740
19741 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19742 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19743 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19744 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19745 clock_gettime.
19746
d53a73ac
UD
197472011-09-06 Ulrich Drepper <drepper@gmail.com>
19748
fc8bffcc
UD
19749 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19750 Forgot to demangle the pointer.
19751
ceaa0c5d
UD
19752 * sysdeps/i386/sysdep.h: Define atom_text_section.
19753 * sysdeps/x86_64/sysdep.h: Likewise.
19754 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19755 section with atom_text_section.
19756 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19757 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19758 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19759 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19760 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19761
a77d3c17
UD
19762 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19763 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19764 already be defined. Change to take two parameters and don't assign
19765 result to variable. Adjust all users.
19766 Define INTERNAL_GETTIME if not already defined.
19767 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19768 call.
19769 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19770 HAVE_CLOCK_GETTIME_VSYSCALL.
19771 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19772
d53a73ac
UD
19773 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19774 gettimeofday vsyscall, just use time.
19775
a8f84144
AS
197762011-09-06 Andreas Schwab <schwab@redhat.com>
19777
19778 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19779 <errno.h>.
19780
ef606249
UD
197812011-09-06 Ulrich Drepper <drepper@gmail.com>
19782
19783 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19784 syscall on x86-64.
19785 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19786 syscall.
19787 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19788 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19789 syscall if possible.
19790
6585cb60
UD
197912011-09-05 Ulrich Drepper <drepper@gmail.com>
19792
19793 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19794 e_ident. Don't pass to find_mapsXX.
19795 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19796
a5f524e4
LD
197972011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19798
19799 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19800 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19801 * sysdeps/x86_64/multiarch/strchr.S: Update.
19802 Check bit_slow_BSF bit.
19803 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19804 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19805 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19806
554881ef
UD
198072011-09-05 Ulrich Drepper <drepper@gmail.com>
19808
d96de963
UD
19809 [BZ #13134]
19810 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19811 before glibc 2.15.
19812 (tryshell): Define.
19813 (__spawni): Change last parameter to be flag. Test
19814 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19815 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19816 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19817 * posix/spawni.c: Likewise.
19818 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19819 * posix/spawnp.c: Likewise. Change normal version to use
19820 SPAWN_XFLAGS_USE_PATH.
19821 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19822 SPAWN_XFLAGS_TRY_SHELL.
19823
d48e5868
UD
19824 [BZ #13150]
19825 * posix/glob.h: Remove gcc 1.x support.
19826
554881ef
UD
19827 [BZ #13068]
19828 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19829
693fb948
LD
198302011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19831
19832 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19833 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19834 strrchr-sse2-bsf
19835 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19836 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19837 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19838 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19839 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19840 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19841
1b48c537
UD
198422011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19843
49d42c37
UD
19844 * sysdeps/x86_64/wcscmp.S: New file.
19845
1b48c537
UD
19846 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19847 wcscmp-c wcscmp-sse2
19848 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19849 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19850 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19851 * wcsmbs/wcscmp.c: Allow renaming.
19852
15c95c5d
DM
198532011-09-05 David S. Miller <davem@davemloft.net>
19854
19855 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19856 stack slot, rather than the struct return pointer slot.
19857 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19858 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19860 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19861
2f0ad8f3
UD
198622011-09-05 Ulrich Drepper <drepper@gmail.com>
19863
d88ae418
UD
19864 * po/ja.po: Update from translation team.
19865
2f0ad8f3
UD
19866 [BZ #13144]
19867 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19868 kernel in 64-bit binaries.
19869
5f4318d1
DM
198702011-09-01 David S. Miller <davem@davemloft.net>
19871
19872 * elf/elf.h (HWCAP_SPARC_*): Move to..
19873 * sysdeps/sparc/sysdep.h: this new file and add new values.
19874 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19875 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19876 _DL_HWCAP_COUNT to 24.
19877 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19878 entries.
19879 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19880 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19881 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19882 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19883 instead of magic constants.
19884 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19885
3ba57516
DM
198862011-08-31 David S. Miller <davem@davemloft.net>
19887
19888 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19889 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19890 Reimplement to do errno handling inline.
19891 (SYSCALL_ERROR_HANDLER): New macro.
19892 (__SYSCALL_STRING): Do not do errno handling in asm.
19893 (__CLONE_SYSCALL_STRING): Delete.
19894 (__INTERNAL_SYSCALL_STRING): Delete.
19895 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19896 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19897 (PSEUDO): Reimplement to do errno handling inline.
19898 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19899 (SYSCALL_ERROR_HANDLER): New macro.
19900 (__SYSCALL_STRING): Do not do errno handling in asm.
19901 (__CLONE_SYSCALL_STRING): Delete.
19902 (__INTERNAL_SYSCALL_STRING): Delete.
19903 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19904 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19905 i386.
19906 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19907 (inline_syscall*): Add 'err' argument.
19908 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19909 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19910 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19911 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19912
19913 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19914 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19915
2bc17433
AS
199162011-08-30 Andreas Schwab <schwab@redhat.com>
19917
19918 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19919
fbeb5f4d
JO
199202011-08-29 Jiri Olsa <jolsa@redhat.com>
19921
19922 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19923 directive.
19924
ad69cc26
DM
199252011-08-24 David S. Miller <davem@davemloft.net>
19926
19927 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19928
39dd69df
AS
199292011-08-24 Andreas Schwab <schwab@redhat.com>
19930
19931 * elf/Makefile: Add rules to build and run unload8 test.
19932 * elf/unload8.c: New file.
19933 * elf/unload8mod1.c: New file.
19934 * elf/unload8mod1x.c: New file.
19935 * elf/unload8mod2.c: New file.
19936 * elf/unload8mod3.c: New file.
19937
19938 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19939 it wasn't used.
19940
2c0b250a
DM
199412011-08-23 David S. Miller <davem@davemloft.net>
19942
19943 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19944 subtract stack bias.
19945 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19946 %sp not %fp in calculations.
19947 (_JMPBUF_UNWINDS_ADJ): Likewise.
19948
22044b48
DM
19949 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19950 (aio_suspend): Call it to force an exception region around the
19951 AIO_MISC_WAIT() invocation.
19952
2cae4995
AS
199532011-08-23 Andreas Schwab <schwab@redhat.com>
19954
19955 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19956 backslash.
19957
873a772e
AJ
199582011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19959
19960 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19961 protection macro.
19962 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19963 and <dl-machine.h>.
19964 (Elf64_FuncDesc): Remove.
19965
25ad0df1
DM
199662011-08-22 David S. Miller <davem@davemloft.net>
19967
19968 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19969 sigaltstack check, add missing cfi directives.
19970 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19971 missing cfi directives, and sigaltstack handling.
19972
e888bcbe
AS
199732011-08-16 Andreas Schwab <schwab@redhat.com>
19974
19975 [BZ #11724]
19976 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19977 object is seen twice.
19978 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19979
19980 * elf/Makefile (distribute): Add tst-initorder2.c.
19981 (tests): Add tst-initorder2.
19982 (modules-names): Add tst-initorder2a tst-initorder2b
19983 tst-initorder2c tst-initorder2d. Add rules to build them.
19984 ($(objpfx)tst-initorder2.out): New rule.
19985 * elf/tst-initorder2.c: New file.
19986 * elf/tst-initorder2.exp: New file.
19987
87162f46
AS
199882011-08-22 Andreas Schwab <schwab@redhat.com>
19989
70538b7f
AS
19990 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19991
f55ffe58
AS
19992 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19993 dependencies back to end of function.
19994
87162f46
AS
19995 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19996 $(elfobjdir)/ld.so.
19997
91b392a4
UD
199982011-08-21 Ulrich Drepper <drepper@gmail.com>
19999
20000 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20001 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20002 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20003 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20004 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20005 of __vdso_gettimeofday.
20006 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20007 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20008 attribute_hidden.
20009 (_libc_vdso_platform_setup): Remove initialization of
20010 __vdso_gettimeofday and __vdso_time.
20011
5c43483f
UD
200122011-08-20 Ulrich Drepper <drepper@gmail.com>
20013
775a77e7
UD
20014 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20015 and fgetc_unlocked.
20016 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20017 getc_unlocked.
89f447ed 20018
49c74ba9
UD
20019 * elf/dl-open.c (add_to_global): Report additions to the global scope
20020 for LD_DEBUG=scopes.
20021 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 20022 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 20023
5c43483f
UD
20024 [BZ #13114]
20025 * stdio-common/Makefile (tests): Add bug24.
20026 * stdio-common/bug24.c: New file.
20027
a101b025
AJ
200282011-08-19 Andreas Jaeger <aj@suse.de>
20029
20030 [BZ #13114]
20031 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20032 non-existant file when using close-on-exec mode.
20033
c88f1766
UD
200342011-08-20 Ulrich Drepper <drepper@gmail.com>
20035
0276a718
UD
20036 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20037 the very first instruction.
20038
c88f1766
UD
20039 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20040 the CFI state in the end.
20041 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20042 inclusion of dl-trampoline.h.
20043 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20044
51ccffa0
AS
200452011-08-19 Andreas Schwab <schwab@redhat.com>
20046
94d7165f
AS
20047 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20048 expectations for long double.
20049
51ccffa0
AS
20050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20051 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20052
fd708658 200532011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
20054
20055 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20056 artificual limit depends upon the system page size.
20057
44f0a71e
UD
200582011-08-17 Ulrich Drepper <drepper@gmail.com>
20059
20060 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20061 * resolv/Makefile: Define CFLAGS-libresolv.
20062
8de79a24
AS
200632011-08-17 Andreas Schwab <schwab@redhat.com>
20064
20065 * nss/makedb.c (compute_tables): Make variables used in nested
20066 function static.
20067
27724598
UD
200682011-08-17 Ulrich Drepper <drepper@gmail.com>
20069
c5305d88
UD
20070 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20071 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20072 if buffer was too small.
20073
27724598
UD
20074 * elf/pldd.c (main): Attach to all threads in the process.
20075 Rewrite /proc handling to use *at functions.
20076
076fe015
UD
200772011-08-16 Ulrich Drepper <drepper@gmail.com>
20078
174baab3
UD
20079 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20080 specifies first scope to show.
20081 (dl_open_worker): Update callers. Move printing scope of new
20082 object to before the relocation.
44f0a71e 20083 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
20084 * sysdeps/generic/ldsodefs.h: Update declaration.
20085
076fe015
UD
20086 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20087 string for the scope number.
20088
a60df2c3
UD
200892011-08-14 Ulrich Drepper <drepper@gmail.com>
20090
20091 * nscd/servicescache.c (cache_addserv): Make sure written is always
20092 initialized.
20093
5e4287d1
RM
200942011-08-14 Roland McGrath <roland@hack.frob.com>
20095
85ae0589
RM
20096 * sysdeps/i386/i486/bits/atomic.h
20097 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20098 statement expression, so as to suppress "set but not used" warning.
20099 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20100
69f63097
RM
20101 * string/strncat.c (STRNCAT): Use prototype definition.
20102
675456ef
RM
20103 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20104 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20105 -Iprograms here.
20106 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20107 (localedef-modules): Add localedef.
20108 (locale-modules): Add locale.
20109
5e4287d1
RM
20110 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20111 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20112 to avoid a warning.
20113
9c96ff23
DM
201142011-08-14 David S. Miller <davem@davemloft.net>
20115
20116 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20117 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20118
f9ddf089
UD
201192011-08-13 Ulrich Drepper <drepper@gmail.com>
20120
44f0a71e 20121 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
20122 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20123 * elf/rtld.c (dl_main): Set l_name of vDSO.
20124 Call _dl_show_scope when DL_DEBUG_SCOPES.
20125 (process_dl_debug): Recognize scopes flag and also set it for all.
20126 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20127 Declare _dl_show_scope.
20128
1dc27704
UD
20129 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20130 (do_dlopen): Pass caller_dlopen to dl_open.
20131 (__libc_dlopen_mode): Initialize caller_dlopen.
20132
f9ddf089
UD
20133 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20134 of libc. Make tolower call locale-independent. Optimize a bit by
20135 using isdigit instead of isalnum.
20136 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20137
9ac533d3
UD
201382011-08-12 Ulrich Drepper <drepper@gmail.com>
20139
20140 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20141 was a dependency or dynamically loaded.
20142
89edf2e9
UD
201432011-08-11 Ulrich Drepper <drepper@gmail.com>
20144
8e999d29
UD
20145 * intl/l10nflist.c: Allow architecture-specific pop function.
20146 * sysdeps/x86_64/l10nflist.c: New file.
20147
89edf2e9
UD
20148 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20149 classification.
20150
14d96785
AS
201512011-08-10 Andreas Schwab <schwab@redhat.com>
20152
20153 * include/dirent.h: Add libc_hidden_proto for scandirat and
20154 scandirat64. Don't declare __scandirat64.
20155 * dirent/scandirat.c: Add libc_hidden_def.
20156 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20157 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20158
6761ac04
DM
201592011-08-10 David S. Miller <davem@davemloft.net>
20160
20161 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20162 enum.
20163 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20164 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20165 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20166
c55fbd1e
UD
201672011-08-09 Ulrich Drepper <drepper@gmail.com>
20168
20169 * Versions.def [libc]: Add GLIBC_2.15.
20170 * dirent/Makefile (routines): Add scandirat and scandirat64.
20171 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20172 GLIBC_2.15.
20173 * dirent/dirent.h: Declare scandirat and scandirat64.
20174 * dirent/scandirat.c: New file.
20175 * dirent/scandirat64.c: New file.
20176 * sysdeps/wordsize-64/scandirat.c: New file.
20177 * sysdeps/wordsize-64/scandirat64.c: New file.
20178 * dirent/opendir.c: Define opendirat.
20179 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20180 using scandirat.
20181 * dirent/scandir64.c: Adjust for scandir.c change.
20182 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20183 __scandirat64, and __scandir_cancel_handler.
20184 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20185 additional parameter and use openat instead of open (outside of ld.so).
20186 Add new __opendir as wrapper around __opendirat.
20187 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20188 here without requiring old scandirat implementation.
20189
879165f2
UD
201902011-08-08 Ulrich Drepper <drepper@gmail.com>
20191
20192 * dirent/scandir.c (cancel_handler): Renamed to
20193 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20194 defined. Adjust users.
20195 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20196 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20197
cb7e923b
UD
201982011-08-04 Ulrich Drepper <drepper@gmail.com>
20199
16292edd
UD
20200 * string/test-string.h (IMPL): Use __STRING to expand name and then
20201 stringify it.
20202
cb7e923b
UD
20203 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20204 of cleanups.
20205
cff82933
LD
202062011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20207
20208 * string/Makefile: Update.
20209 (strop-tests): Append strncat.
20210 * string/test-wcscmp.c: New file.
20211 New comprehensive test for wcscmp.
20212 * string/test-strcmp.c: Update.
20213 (WIDE): New define.
20214
9be9bfcc
AS
202152011-07-22 Andreas Schwab <schwab@redhat.com>
20216
20217 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20218 line.
20219
2e96f1c7
AS
202202011-07-26 Andreas Schwab <schwab@redhat.com>
20221
20222 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20223 encoding to ACE if AI_IDN.
20224
85188888
JJ
202252011-08-01 Jakub Jelinek <jakub@redhat.com>
20226
20227 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20228 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20229
5fa16e9b
LD
202302011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20231
20232 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20233 Fix overflow bug in strncat.
20234 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20235
20236 * string/test-strncat.c: Update.
20237 Add new tests for checking overflow bugs.
20238
202392011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20240
20241 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20242 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20243 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20244 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20245 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20246 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20247 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20248 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20249 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20250
20251 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20252 (USE_AS_STRCAT): Define.
20253 Add strcat and strncat support.
20254 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20255
8c1a459f
AS
202562011-07-25 Andreas Schwab <schwab@redhat.com>
20257
20258 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20259 __n bigger than INT_MAX+1.
20260 (__strncmp_g): Likewise.
20261
bba33c28
UD
202622011-07-23 Ulrich Drepper <drepper@gmail.com>
20263
798be72d
UD
20264 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20265 * libio/stido.h: Likewise.
20266
8accd4dc
UD
20267 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20268 (AF_NFC): Define.
20269 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20270 (AF_NFC): Define.
20271
cbff0d96
UD
20272 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20273 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20274 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20275 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20276 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20277
9191c04a
UD
20278 [BZ #13021]
20279 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20280 installed.
20281
bba33c28
UD
20282 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20283 typo.
20284 (_dl_x86_64_save_sse): Likewise.
20285
90f139dd
UD
202862011-07-22 Ulrich Drepper <drepper@gmail.com>
20287
1aae088a
UD
20288 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20289 OSXSAVE.
20290 (_dl_x86_64_save_sse): Likewise.
20291
8e2045f5
UD
20292 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20293
90f139dd
UD
20294 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20295
1d002f25
AS
202962011-07-21 Andreas Schwab <schwab@redhat.com>
20297
20298 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20299 change.
20300 (_dl_x86_64_save_sse): Use correct AVX check.
20301
21137f89
UD
203022011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20303
20304 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20305 bug in strncpy/strncat.
20306 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20307
a65c0b7a
UD
203082011-07-21 Ulrich Drepper <drepper@gmail.com>
20309
20310 * string/tester.c (test_strcat): Add tests for different alignments
20311 of source and destination.
20312 (test_strncat): Likewise.
20313
6986b98a
UD
203142011-07-20 Ulrich Drepper <drepper@gmail.com>
20315
90bb2039
UD
20316 [BZ #12852]
20317 * posix/glob.c (glob): Check passed in values before using them in
20318 expressions to avoid some overflows.
20319 (glob_in_dir): Likewise.
20320
5644ef54
UD
20321 [BZ #13007]
20322 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20323 check for AVX enablement so that we don't crash with old kernels and
20324 new hardware.
20325 * elf/tst-audit4.c: Add same checks here.
20326 * elf/tst-audit6.c: Likewise.
20327
20328 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 20329
bfc9dc9b
AS
203302011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20331
20332 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20333
702e64bb
UD
203342011-07-20 Ulrich Drepper <drepper@gmail.com>
20335
20336 * po/cs.po: Update from translation team.
20337 * po/bg.po: Likewise.
20338
295e904f
MP
203392011-07-12 Marek Polacek <mpolacek@redhat.com>
20340
20341 * misc/sys/cdefs.h: Add support for const attribute.
20342 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20343 to gnu_dev_{major,minor,makedev} functions.
20344
3ff94596
MP
203452011-07-20 Marek Polacek <mpolacek@redhat.com>
20346
20347 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20348
28b59fca
AS
203492011-07-20 Andreas Schwab <schwab@redhat.com>
20350
20351 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20352 strlen results.
20353
19df733e
AK
203542011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20355
20356 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20357 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20358 register in order to avoid conflicts with the soft frame pointer
20359 being held in r11 when necessary.
20360 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20361 (INTERNAL_VSYSCALL_NCS): Likewise.
20362
c8835729
MP
203632011-07-14 Marek Polacek <mpolacek@redhat.com>
20364
20365 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20366 * elf/dl-fini.c (_dl_fini): Adjust caller.
20367 * elf/dl-close.c (_dl_close_worker): Likewise.
20368 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20369
b902330c
MP
203702011-07-15 Marek Polacek <mpolacek@redhat.com>
20371
8991e135
MP
20372 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20373 "aux_cache->nlibs < 0".
20374
b902330c
MP
20375 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20376 in the reload-count case.
20377
99710781
LD
203782011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20379
20380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20381 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20382 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20383 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20384 * sysdeps/x86_64/multiarch/strcat.S: New file.
20385 * sysdeps/x86_64/multiarch/strncat.S: New file.
20386 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20387 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20388 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20389 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20390 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20391 (USE_AS_STRCAT): Define.
20392 Add strcat and strncat support.
20393 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20394 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20395 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20396 * string/strncat.c: Update.
20397 (USE_AS_STRNCAT): Define.
20398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20399 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20400 and i7.
20401 * sysdeps/x86_64/multiarch/init-arch.h
20402 (bit_Prefer_PMINUB_for_stringop): New.
20403 (index_Prefer_PMINUB_for_stringop): Likewise.
20404 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20405 bit_Prefer_PMINUB_for_stringop.
20406
7dc6bd90
UD
204072011-07-19 Ulrich Drepper <drepper@gmail.com>
20408
20409 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20410 buffer64.
20411 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20412 of casting of buffer.
20413 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20414 buffer32 and buffer64.
20415 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20416 writes instead of casting of buffer.
20417 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20418 buffer32.
20419 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20420 casting of buffer.
20421
e0e72284
AS
204222011-07-19 Andreas Schwab <schwab@redhat.com>
20423
20424 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20425
feb1eb0b
UD
204262011-07-19 Ulrich Drepper <drepper@gmail.com>
20427
20428 * nscd/nscd.c (termination_handler): Don't do anything for a database
20429 if it has not yet been initialized.
20430
298711ff
UD
204312011-07-18 Ulrich Drepper <drepper@gmail.com>
20432
20433 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20434
204352011-07-15 Marek Polacek <mpolacek@redhat.com>
20436
20437 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20438
f9d68389
UD
204392011-07-18 Ulrich Drepper <drepper@gmail.com>
20440
20441 * po/nl.po: Update from translation team.
20442 * po/sv.po: Likewise.
20443
db290cf5
RM
204442011-07-16 Roland McGrath <roland@hack.frob.com>
20445
20446 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20447 now disallowed by GCC.
5c550700 20448
fd5e21c7
RM
20449 * configure.in (use-default-link): Default to yes if a test -shared
20450 link meets our qualifications.
20451 * configure: Regenerated.
20452
5c550700
RM
20453 * config.make.in (output-format): New variable.
20454 * configure.in: Check for ld --print-output-format support.
20455 * configure: Regenerated.
20456 * Makerules ($(common-objpfx)format.lds)
20457 [$(output-format) != unknown]: Just use $(output-format),
20458 instead of the linker-script munging.
20459
9fa2c032
RM
204602011-07-14 Roland McGrath <roland@hack.frob.com>
20461
a6928d51
RM
20462 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20463 of $(common-objpfx)shlib.lds.
20464 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20465
661607b3
RM
20466 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20467 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20468
9fa2c032
RM
20469 * configure.in (-z relro check): Adjust test code to add a large
20470 writable data section after it.
20471 * configure: Regenerated.
20472
defe9061
RM
204732011-07-11 Roland McGrath <roland@hack.frob.com>
20474
20475 * configure.in (-z relro check): Fix test code to make the variable
20476 truly const.
20477 * configure: Regenerated.
20478
319b9ad4
UD
204792011-07-11 Ulrich Drepper <drepper@gmail.com>
20480
20481 * nscd/nscd.h (struct traced_file): Define.
20482 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20483 elements. Add traced_files.
20484 (inotify_fd): Declare.
20485 (register_traced_file): Declare.
20486 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20487 (inotify_fd): Export.
20488 (resolv_conf_descr): Remove.
20489 (nscd_init): Move inotify descriptor creation to main.
20490 Don't register files for notification here.
20491 (register_traced_file): New function.
20492 (invalidate_cache): Don't use reset_res to determine whether to call
20493 res_init, go through the list of registered files.
20494 (main_loop_poll): The inotify descriptors are now stored in the
20495 structures for the traced files.
20496 (main_loop_epoll): Likewise
20497 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20498 to __nss_disable_nscd.
20499 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20500 for a database anymore. Check the records for all the registered
20501 files instead.
20502 * nss/Makefile (libnss_files-routines): Add files-init.
20503 (libnss_db-routines): Add db-init.
20504 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20505 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20506 * nss/nss_db/db-init.c: New file.
20507 * nss/nss_files/files-init.c: New file.
20508 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20509 __nss_lookup_function.
20510 (__nss_lookup_function): Call nss_load_library.
20511 (nss_load_all_libraries): New function.
20512 (__nss_disable_nscd): Take parameter with callback function for files
20513 to register. Set is_nscd. Load all the DSOs for the NSS modules
20514 used for the cached services.
20515 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20516 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20517 options for features to all the files in nscd.
20518
20519 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20520
23bee3e8
RM
205212011-07-10 Roland McGrath <roland@hack.frob.com>
20522
20523 * csu/elf-init.c (__libc_csu_init): Comment typo.
20524
46a5b7f0
UD
205252011-07-09 Ulrich Drepper <drepper@gmail.com>
20526
20527 * po/pl.po: Update from translation team.
20528 * po/ja.po: Likewise.
20529 * po/ru.po: Likewise.
20530 * po/ko.po: Likewise.
20531 * po/fr.po: Likewise.
20532
d30cf5bb
RM
205332011-07-09 Roland McGrath <roland@hack.frob.com>
20534
113ddea4
RM
20535 * configure.in (.ctors/.dtors header and trailer check):
20536 Use an empirical test on a built program.
20537 * configure: Regenerated.
20538
574920b4
RM
20539 * configure.in (-z relro check): Use an empirical test on a built DSO.
20540 Detect, but do not require, on ia64.
20541 * configure: Regenerated.
20542
d30cf5bb
RM
20543 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20544 Update tests that use readelf to use $READELF instead.
20545 * configure: Regenerated.
20546
8538fdb3
UD
205472011-07-08 Ulrich Drepper <drepper@gmail.com>
20548
20549 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20550 if the result is not used.
20551
04d08991
AJ
205522011-07-05 Andreas Jaeger <aj@suse.de>
20553
20554 [BZ#9696]
20555 * stdlib/tst-strtod.c: Add testcase.
20556
de283087
AD
205572011-07-07 Ulrich Drepper <drepper@gmail.com>
20558
4e5f31c8 20559 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 20560 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
20561 The latter has a higher limit. Take additional parameter to pass to
20562 the new function.
20563 (__pathconf): Pass file to __statfs_link_max.
20564 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20565 __statfs_link_max.
20566 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20567 __statfs_link_max.
20568
de283087
AD
20569 [BZ #12868]
20570 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20571 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20572 Handle Lustre.
20573 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20574 (__statfs_filesize_max): Likewise.
20575 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20576
c75fa153
AJ
205772011-07-05 Andreas Jaeger <aj@suse.de>
20578
20579 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20580
1a544854
UD
205812011-07-06 Marek Polacek <mpolacek@redhat.com>
20582
20583 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20584 `status' variable.
20585 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20586 Likewise.
20587
6f0eec67
UD
205882011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20589
20590 * Makefile (strop-tests): Add strncat.
20591 * string/test-strncat.c: New file.
20592
aae30307
UD
205932011-06-30 Marek Polacek <mpolacek@redhat.com>
20594
20595 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20596
c0cfb5eb
UD
205972011-06-21 Andreas Jaeger <aj@suse.de>
20598
20599 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20600 Copy rule from iconvdata/Makefile.
20601
01636b21
UD
206022011-07-06 Ulrich Drepper <drepper@gmail.com>
20603
20604 [BZ #12922]
20605 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20606 but no long options are defined, just return 'W'.
20607
9895c8bc
UD
206082011-06-22 Marek Polacek <mpolacek@redhat.com>
20609
20610 [BZ #9696]
20611 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20612
5d4cf042
UD
206132011-07-06 Ulrich Drepper <drepper@gmail.com>
20614
20615 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20616 netgroups to read.
960e5535 20617 (innetgr): Likewise.
5d4cf042 20618
751eb97e
RM
206192011-07-05 Roland McGrath <roland@hack.frob.com>
20620
20621 * config.make.in (install_root): Default to $(DESTDIR).
20622
f15f1e45
UD
206232011-07-05 Ulrich Drepper <drepper@gmail.com>
20624
20625 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20626
4e34ac6a
RM
206272011-07-02 Roland McGrath <roland@hack.frob.com>
20628
5e9b6af4
RM
20629 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20630
84f9ea0f
RM
20631 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20632 containing directory rather than embedding absolute directory names.
20633
ea5ee9f7
RM
20634 * scripts/check-local-headers.sh: Rewritten using awk.
20635 Match by word, not by line. Print error messages for matches.
20636 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20637
1b74661a
RM
20638 * Makerules [shlib-lds-flags empty]:
20639 ($(common-objpfx)libc_pic.opts): New target.
20640 ($(common-objpfx)libc_pic.os.clean): New target.
20641 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20642
20643 * config.make.in (OBJCOPY): New variable.
20644 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20645 * configure: Regenerated.
20646
f781ef40
RM
20647 * config.make.in (use-default-link): New variable.
20648 * configure.in (use_default_link): Grok --with-default-link to set it.
20649 * configure: Regenerated.
20650 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20651 (shlib-lds, shlib-lds-flags): Define to empty.
20652
2d4fa81e
RM
20653 * Makerules (shlib-lds): New variable.
20654 (shlib-lds-flags): New variable.
20655 (build-shlib, build-moduile, build-module-asneeded): Use it.
20656 ($(common-objpfx)libc.so): Use $(shlib-lds).
20657 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20658 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20659
31fffa6b
RM
20660 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20661 DT_FLAGS/DT_FLAGS_1 with zero flags.
20662
4e34ac6a
RM
20663 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20664 linker script munging.
20665
fcfc776b
UD
206662011-07-02 Ulrich Drepper <drepper@gmail.com>
20667
20668 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20669 as 128-bit value.
20670 * crypt/sha512.c (sha512_process_block): Perform total addition using
20671 128-bit if possible.
20672 (__sha512_finish_ctx): Likewise.
20673 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20674 as 64-bit value.
20675 * crypt/sha256.c (SWAP64): Define.
20676 (sha256_process_block): Perform total addition using 64-bit if
20677 possible.
20678 (__sha256_finish_ctx): Likewise.
20679
99231d9a
UD
206802011-07-01 Ulrich Drepper <drepper@gmail.com>
20681
20682 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20683 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20684 * nscd/hstcache.c (cache_addhst): Likewise.
20685 * nscd/grpcache.c (cache_addgr): Likewise.
20686 * nscd/aicache.c (addhstaiX): Likewise
20687 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20688
445b4a53
TK
206892011-07-01 Thorsten Kukuk <kukuk@suse.de>
20690
20691 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20692 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20693 * nscd/hstcache.c (cache_addhst): Likewise.
20694 * nscd/grpcache.c (cache_addgr): Likewise.
20695 * nscd/aicache.c (addhstaiX): Likewise
20696
6d4d8e8e
AS
206972011-07-01 Andreas Schwab <schwab@redhat.com>
20698
20699 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20700 domain only when needed.
20701
89f654c5
AS
207022011-06-30 Andreas Schwab <schwab@redhat.com>
20703
20704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20705 is always restored.
20706
cf3b23ff
UD
207072011-06-29 Ulrich Drepper <drepper@gmail.com>
20708
20709 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20710 are re-adding the entry.
20711 * nscd/servicescache.c (cache_addserv): Likewise.
20712
751626f9
AJ
207132011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20714
20715 * sysdeps/generic/dl-irel.h: fix protection against multiple
20716 inclusions.
20717 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20718
9113ea1f
UD
207192011-06-28 Ulrich Drepper <drepper@gmail.com>
20720
5c0b8d90
UD
20721 [BZ #12935]
20722 * malloc/memusage.sh: Fix quoting in message.
20723 * debug/xtrace.sh: Likewise.
20724
9113ea1f
UD
20725 * configure.in: Remove support for --experimental-malloc option, make
20726 it the default.
20727 * config.make.in: Likewise.
20728 * malloc/Makefile: Likewise.
20729
a4172181
AS
207302011-06-27 Andreas Schwab <schwab@redhat.com>
20731
20732 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20733 two-byte characters.
20734
78a7eee7
RM
207352011-06-27 Roland McGrath <roland@hack.frob.com>
20736
62bede13
RM
20737 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20738 AC_CACHE_CHECK invocation.
20739 * configure: Regenerated.
20740
78a7eee7
RM
20741 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20742
5ce33a62
UD
207432011-06-27 Ulrich Drepper <drepper@gmail.com>
20744
034807a9
UD
20745 [BZ #12350]
20746 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20747 bit from old_res_options.
20748
4902da17
UD
20749 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20750
5ce33a62
UD
20751 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20752 value type for setfct.
20753
c2344f56
L
207542011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20755
20756 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20757 __gettimeofday instead of gettimeofday.
20758
68468076
UD
207592011-06-26 Ulrich Drepper <drepper@gmail.com>
20760
20761 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20762
acb0d739
L
207632011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20764
20765 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20766
20767 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20768 info.
20769
8912479f
L
207702011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20771
20772 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20773 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20774 strcpy-sse2-unaligned strncpy-sse2-unaligned
20775 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20776 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20777 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20778 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20779 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20780 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20781 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20782 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20783 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20784 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20785 (STRCPY): Support SSE2 and SSSE3 versions.
20786
d5495a11
UD
207872011-06-24 Ulrich Drepper <drepper@gmail.com>
20788
20789 [BZ #12874]
20790 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20791 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20792 kernels which artificially limit size of requests.
20793
0b1cbaae
L
207942011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20795
20796 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20797 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20798 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20799 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20800 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20801 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20802 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20803 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20804 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20805 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20806 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20807 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20808 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20809 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20810 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20812 Enable unaligned load optimization for Intel Core i3, i5 and i7
20813 processors.
20814 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20815 Define.
20816 (index_Fast_Unaligned_Load): Define.
20817 (HAS_FAST_UNALIGNED_LOAD): Define.
20818
07f494a0
MP
208192011-06-23 Marek Polacek <mpolacek@redhat.com>
20820
20821 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20822
fa3fc0fe
UD
208232011-06-22 Ulrich Drepper <drepper@gmail.com>
20824
20825 [BZ #12907]
20826 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20827 until it is clear that the information is realy needed.
20828 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20829
e12df166
AS
208302011-06-22 Andreas Schwab <schwab@redhat.com>
20831
20832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20833
852eb34d
UD
208342011-06-22 Ulrich Drepper <drepper@gmail.com>
20835
84e2a551
UD
20836 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20837 /sys/devices/system/cpu/online if it is usable.
20838
852eb34d
UD
20839 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20840 reading the information from the /proc filesystem to once a second.
20841
6e502e19
UD
208422011-06-21 Andreas Jaeger <aj@suse.de>
20843
20844 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20845 NULL after inclusion of kernel headers.
20846
75d39ff2
UD
208472011-06-21 Ulrich Drepper <drepper@gmail.com>
20848
51f9aa6a
UD
20849 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20850 calls to internal_setent.
20851
c0244a9d
UD
20852 [BZ #12885]
20853 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20854 addresses using gethostbyname4_r ignore IPv4 addresses.
20855
c5e3c2ae
UD
20856 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20857 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20858
75d39ff2
UD
20859 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20860
42675c6f
DM
208612011-06-20 David S. Miller <davem@davemloft.net>
20862
20863 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20864 inclusions.
20865 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20866
20867 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20868 (elf_irel): Use it.
20869 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20870 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20871 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20872 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20873 * sysdeps/x86_64/dl-irel.h: Likewise.
20874
20875 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20876 * elf/dl-sym.c: Likewise.
20877
57912a71
UD
208782011-06-15 Ulrich Drepper <drepper@gmail.com>
20879
20880 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20881 need to dereference resplen2.
20882
ee22793d
AS
208832011-06-14 Andreas Schwab <schwab@redhat.com>
20884
20885 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20886
a9e836b0
UD
208872011-06-15 Ulrich Drepper <drepper@gmail.com>
20888
77fb9117
UD
20889 * Makeconfig: Define vardbdir and inst_vardbdir.
20890 * nss/Makefile: Add rules to install db-Makefile.
20891
40c1b22c
UD
20892 * nss/nss_db/db-XXX.c: Cleanup.
20893
9f2da732
UD
20894 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20895 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20896 GLIBC_PRIVATE.
20897 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20898 * nss/makedb.c: Implement -g option to specify that value strings
20899 are generated and should not be added to table iterated over for
20900 get*ent calls.
20901 * nss/nss_db/db-initgroups.c: New file.
20902
82e9a1f7
UD
20903 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20904 interface.
20905
c41af17e
UD
20906 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20907 (internal_getgrouplist): Adjust to name change.
20908 Update use_initgroups_entry if this is not the first call.
20909 * nss/databases.def: Add initgroups entry.
20910
a9e836b0
UD
20911 * nss/makedb.c (compute_tables): Check result of multiple hash table
20912 sizes to minimize maximum chain length.
20913
2666d441
UD
209142011-06-14 Ulrich Drepper <drepper@gmail.com>
20915
20916 * Versions.def: Add entry for libnss_db.
20917 * shlib-versions: Likewise.
20918 * nss/Makefile: Add rules to build libnss_db.
20919 * nss/Versions: Add libnss_db information. Organize libnss_files
20920 entries better.
20921 * nss/db-Makefile: Add gshadow support. Change rules for the new
20922 makedb progra. Some minor improvements to generate smaller files.
20923 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20924 here from...
20925 * nss/makedb.c: ...here.
20926 Improve database format to be smaller and require less memory at
20927 runtime.
20928 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20929 db anymore.
20930 * nss/nss_db/db-netgrp.c: Likewise.
20931 * nss/nss_db/db-open.c: Likewise.
20932 * nss/nss_files/flies-XXX.x: Adjust comments.
20933 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20934 * nss/nss_files/files-grp.c: Likewise.
20935 * nss/nss_files/files-hosts.c: Likewise.
20936 * nss/nss_files/files-network.c: Likewise.
20937 * nss/nss_files/files-proto.c: Likewise.
20938 * nss/nss_files/files-pwd.c: Likewise.
20939 * nss/nss_files/files-rpc.c: Likewise.
20940 * nss/nss_files/files-service.c: Likewise.
20941 * nss/nss_files/files-sgrp.c: Likewise.
20942 * nss/nss_files/files-spwd.c: Likewise.
20943 * nss/nss_db/db-alias.c: Removed.
20944 * nss/nss_db/dummy-db.h: Removed.
20945
9ee76b5a
UD
209462011-06-02 Ulrich Drepper <drepper@gmail.com>
20947
20948 * nss/makedb.c: Rewritten to not use database library.
20949 * nss/Makefile: Update to build new makedb program.
20950
c71ca1f8
AJ
209512011-06-14 Andreas Jaeger <aj@suse.de>
20952
20953 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20954 memset declaration.
20955
3154bfb8
UD
209562011-06-10 Andreas Schwab <schwab@redhat.com>
20957
20958 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20959 tmpbuf.
20960
b350afab
RM
209612011-06-10 Roland McGrath <roland@hack.frob.com>
20962
decd4e50
RM
20963 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20964 * elf/Makefile ($(objpfx)ld.so): Likewise.
20965
5615eaf2
RM
20966 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20967 Don't list ld.so twice in dependencies.
20968
20969 * posix/bug-regex31.c: Include <stdlib.h>.
20970
20971 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20972
20973 * nis/nss_compat/compat-spwd.c
20974 (getspent_next_nss_netgr): Remove unused variable.
20975 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20976
20977 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20978 nonmembers" output to use the right array.
20979
20980 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20981
20982 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20983
20984 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20985 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20986 * catgets/gencat.c (read_input_file): Likewise.
20987 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20988
20989 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20990 variable definition inside #if's controlling its use.
20991
20992 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20993
20994 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20995
20996 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20997
20998 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20999 unreachable code.
21000
21001 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21002
b68e08db
RM
21003 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21004 * configure: Regenerated.
21005
b350afab
RM
21006 * Makerules: Revert last change.
21007 * elf/Makefile: Likewise.
21008
28368601
RM
210092011-06-09 Roland McGrath <roland@hack.frob.com>
21010
21011 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21012 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21013 (reloc-link): Likewise.
21014
11988f8f
UD
210152011-06-09 Ulrich Drepper <drepper@gmail.com>
21016
21017 * elf/Makefile: Add rules to build pldd.
21018 * elf/pldd.c: New file.
21019 * elf/pldd-xx.c: New file.
21020
e80fab37
UD
210212011-06-07 Ulrich Drepper <drepper@gmail.com>
21022
21023 * version.h: Update for 2.15 development version.
21024
9b849836
DM
210252011-06-07 David S. Miller <davem@davemloft.net>
21026
21027 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21028 ifuncs.
21029 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21030 elf_machine_lazy_rel): Likewise.
21031 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21032 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21033 elf_machine_lazy_rel): Likewise.
21034 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21035 dl_hwcap via passed in argument.
21036 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21037 Likewise.
21038
5a31b283
AK
210392011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21040
21041 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21042
069e52f8
RM
210432011-06-06 Roland McGrath <roland@hack.frob.com>
21044
21045 [BZ #12849]
21046 * manual/fdl-1.1.texi: New file, verbatim from:
21047 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21048 * manual/lgpl-2.1.texi: New file, verbatim from:
21049 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21050 * manual/Makefile (licenses): New variable, list those new file names.
21051 (texis): Use it.
21052 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21053
21054 * manual/fdl.texi: File removed.
21055 * manual/lesser.texi: File removed.
21056 * manual/libc.texinfo (Copying, Documentation License):
21057 Use new @include file names, put @appendix directive before @include.
21058
f16846a5
JJ
210592011-06-04 Jakub Jelinek <jakub@redhat.com>
21060
21061 [BZ #12841]
21062 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21063 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21064 (mq_open): Add __NTH.
21065
3d29045b
L
210662011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21067
21068 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21069 Assume Intel Core i3/i5/i7 processor if AVX is available.
21070
8c297311
UD
210712011-05-31 Ulrich Drepper <drepper@gmail.com>
21072
21073 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21074 typo.
21075
c8fc0c91
UD
210762011-05-31 Andreas Schwab <schwab@redhat.com>
21077
21078 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21079 memory. Use alloca_account. Fix memory leak when retrying.
21080
5b27a807
UD
210812011-05-31 Ulrich Drepper <drepper@gmail.com>
21082
356f8bc6
UD
21083 * version.h (RELEASE): Bump for 2.14 release.
21084 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21085
5b27a807
UD
21086 * config.make.in (RANLIB): Remove entry.
21087
01f16ab0
UD
210882011-05-30 Ulrich Drepper <drepper@gmail.com>
21089
41fce8bd
UD
21090 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21091 (libc.pot): Work around missing support for .ksh extension in xgettext.
21092
4769ae77
UD
21093 [BZ #12684]
21094 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21095 if both request failed.
21096 (send_dg): In case of server errors clear resplen or *resplen2.
21097
6b1e7d19
UD
21098 [BZ #12454]
21099 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21100 when there are multiple maps.
21101 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21102 (_dl_fini): Remove test here.
21103
01f16ab0
UD
21104 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21105
b1ebd700
UD
211062011-05-29 Ulrich Drepper <drepper@gmail.com>
21107
7ae22829
UD
21108 [BZ #12350]
21109 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21110 bit from old_res_options.
21111 (gaih_inet): Likewise.
21112
553149f6 21113 [BZ #11099]
18a84741 21114 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
21115 as signed.
21116
652ffab1
UD
21117 * resolv/res_init.c (res_setoptions): Make the code more compact.
21118
16985fd0
UD
21119 [BZ #11558]
21120 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21121 set RES_USEVC.
21122
0464f746
UD
21123 [BZ #11634]
21124 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21125
7d17596c
UD
21126 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21127
cf6bbbd7
UD
21128 [BZ #11781]
21129 * malloc/malloc.h: Declare malloc hook variables as volatile.
21130
13f1ab36
UD
21131 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21132 in last patch.
21133
b1ebd700
UD
21134 [BZ #11799]
21135 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 21136 raise in the comment.
80e2212d
UD
21137 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21138 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21139 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 21140
ce67228d
UD
211412011-05-28 Ulrich Drepper <drepper@gmail.com>
21142
8887a920
UD
21143 [BZ #12811]
21144 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21145 grow the buffers more if it already has to be sufficient.
21146 (build_wcs_upper_buffer): Likewise.
21147 * posix/regexec.c (check_matching): Likewise.
21148 (clean_state_log_if_needed): Likewise.
21149 (extend_buffers): Don't enlarge buffers beyond size of the input
21150 buffer.
21151 Patches mostly by Emil Wojak <emil@wojak.eu>.
21152 * posix/bug-regex32.c: New file.
21153 * posix/Makefile (tests): Add bug-regex32.
21154
4f031072
UD
21155 * locale/findlocale.c (_nl_find_locale): Return right away if
21156 _nl_explode_name failed.
21157 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21158
d0478f0c
UD
21159 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21160
de81b246
UD
21161 * debug/xtrace.sh: Unify messages.
21162 * malloc/memusage.sh: Likewise.
21163
c738465a
UD
21164 [BZ #12813]
21165 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21166 time symbol from vDSO. Substitute with vsyscall if not available.
21167 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21168 __vdso_time.
21169
f1f929d7
UD
21170 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21171 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21172 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21173 Add sendmmsg and internal_sendmmsg.
21174 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21175 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21176 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21177
ce67228d
UD
21178 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21179 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21180 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21181
e57420c6
UD
211822011-05-27 Ulrich Drepper <drepper@gmail.com>
21183
a8509ca5
UD
21184 [BZ #12813]
21185 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21186 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21187 available.
21188 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21189 __vdso_getcpu.
21190
e57420c6
UD
21191 [BZ #12814]
21192 * iconvdata/Makefile (tests): Add bug-iconv9.
21193 * iconvdata/bug-iconv9.c: New file.
21194
4d07db15
AS
211952011-05-27 Andreas Schwab <schwab@redhat.com>
21196
21197 [BZ #12814]
21198 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21199
ea486f69
JJ
212002011-05-25 Jakub Jelinek <jakub@redhat.com>
21201
21202 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21203 (struct user_regs_struct): Change intcs field back to cs.
21204
6f038433
UD
212052011-05-25 Ulrich Drepper <drepper@gmail.com>
21206
21207 * po/ja.po: Update from translation team.
21208
67f86a25
UD
212092011-05-23 Ulrich Drepper <drepper@gmail.com>
21210
21211 [BZ #12795]
21212 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21213 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21214
def7fbd6
AS
212152011-05-20 Andreas Schwab <schwab@redhat.com>
21216
21217 * stdlib/longlong.h: Update from GCC.
21218
f50ef8f1
AS
212192011-05-23 Andreas Schwab <schwab@redhat.com>
21220
21221 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21222 parameter name.
21223 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21224 Add parameter name.
21225 (__sysconf): Pass it down.
21226
de7ce8f1
UD
212272011-05-22 Ulrich Drepper <drepper@gmail.com>
21228
f2962a71
UD
21229 [BZ #12671]
21230 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21231 some situations.
21232 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21233 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21234 add in in __libc_use_alloca calls. Adjust callers.
21235 (glob): Use malloc in some situations.
21236
de7ce8f1
UD
21237 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21238 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21239 pltexit.
21240
aec84f53
UD
212412011-05-21 Ulrich Drepper <drepper@gmail.com>
21242
05bb4a68
UD
21243 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21244 and CLOCK_BOOTTIME_ALARM.
21245
7ea72f99
UD
21246 [BZ #12782]
21247 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21248 is returned.
21249
7e4afad5
UD
21250 * string/_strerror.c (__strerror_r): Print negative errors as signed
21251 numbers.
21252
8e211fec
UD
21253 [BZ #12777]
21254 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21255 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21256 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21257
f7d82dc9
UD
21258 * configure.in: Fix typo in redirection and correct removal of test
21259 files in two cases.
21260
cc9e536d
UD
21261 [BZ #12788]
21262 * locale/setlocale.c (new_composite_name): Fix test to check for
21263 identical name of all categories.
21264
aec84f53
UD
21265 [BZ #12792]
21266 * libio/filedoalloc.c (local_isatty): New function.
21267 (_IO_file_doallocate): Use local_isatty.
21268 * stdio-common/perror.c (perror): In case a new stream is used
21269 forward the stream error.
21270 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21271 error flag.
21272
78e64fdc
RT
212732011-05-20 Ulrich Drepper <drepper@gmail.com>
21274
34a9094f
UD
21275 [BZ #11869]
21276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21277 alloca.
21278 * include/alloca.h (extend_alloca_account): Define.
21279
78e64fdc
RT
21280 [BZ #11857]
21281 * posix/regex.h: Fix comments with documentation of user-accessible
21282 fields after compilation and describe correct free'ing of pattern
21283 after re_compile_pattern.
21284 Patch by Reuben Thomas <rrt@sc3d.org>.
21285
457bddfc
RA
212862011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21287
21288 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21289 and -mno-altivec to prevent the compiler from using Altivec and/or
21290 VSX instructions when the corresponding registers are not available.
21291
a4527b51
AS
212922011-05-19 Andreas Schwab <schwab@redhat.com>
21293
21294 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21295
ed690b2f
UD
212962011-05-19 Ulrich Drepper <drepper@gmail.com>
21297
21298 * libio/freopen.c (freopen): Use __dup2, not dup2.
21299 * libio/freopen64.c (freopen64): Likewise.
21300
8db73634
L
213012011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21302
21303 [BZ #12775]
21304 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21305 * math/Makefile (tests): Add test-powl.
21306 (CFLAGS-test-powl.c): Define.
21307 * math/test-powl.c: New file.
21308
0a197a9d
L
213092011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21310
21311 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21312
ee30c380
UD
213132011-05-17 Ulrich Drepper <drepper@gmail.com>
21314
21315 [BZ #11837]
21316 * iconvdata/gb18030.c: Update to GB18020-2005.
21317
6ce75379
UD
213182011-05-16 Ulrich Drepper <drepper@gmail.com>
21319
a4b89fd8
AR
21320 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21321 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21322 Patch by Aharon Robbins <arnold@skeeve.com>.
21323
ea389b12
UD
21324 [BZ #11892]
21325 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21326 on the stack.
21327
68a3f91f
UD
21328 [BZ #11895]
21329 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21330 through underflows.
21331
15cc7dd1
UD
21332 [BZ #12766]
21333 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21334 point to strings before performing equality test for error_one_per_line
21335 mode.
21336
f3799213
UD
21337 [BZ #11697]
21338 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21339
d79a9c94
UD
21340 [BZ #11820]
21341 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21342 (struct user_fpregs_struct): Avoid __uint*_t types.
21343
56e5eb46
UD
21344 [BZ #6420]
21345 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21346 symbol info. Use it instead of calling _dl_addr locally.
21347 (lock_and_info): New function.
21348 (tr_freehook): Call lock_and_info and pass symbol info as additional
21349 parameter to tr_where.
21350 (tr_mallochook): Likewise.
21351 (tr_reallochook): Likewise.
21352 (tr_memalignhook): Likewise.
21353
6ce75379
UD
21354 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21355 used and couldn't be at all thread-safe.
21356
f8a3b5bf
UD
213572011-05-15 Ulrich Drepper <drepper@gmail.com>
21358
94b7cc37
UD
21359 * libio/freopen.c (freopen): Don't close old file descriptor
21360 before the new one is opened. Instead dup the new file descriptor
21361 to the old one after the new stream is created.
21362 * libio/freopen64.c (freopen64): Likewise.
21363 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21364 * libio/fileops.c (_IO_new_file_close_it): Handle new
21365 _IO_FLAGS2_NOCLOSE flag.
21366 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21367 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21368 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21369 _IO_FLAGS2_NOCLOSE flag.
21370 * include/unistd.h: Add hidden_proto for dup3.
21371 Define __have_dup3.
21372 * io/dup3.c: Define hidden symbol.
21373 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21374
bd25564e
UD
21375 [BZ #7101]
21376 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21377 when an incomplete long option is used.
21378 * posix/tst-getopt_long1.c: New file.
21379 * posix/Makefile (tests): Add tst-getopt_long1.
21380
c84cfef4
UD
21381 [BZ #10138]
21382 * scripts/config.guess: Update from autoconf-2.68.
21383 * scripts/config.sub: Likewise.
21384
3b85df27
UD
21385 [BZ #10157]
21386 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21387 tests into ...
21388 (has_cpuclock): ...this. New function.
21389 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21390 macro here based on has_cpuclock code.
21391
15a856b1
UD
21392 [BZ #10149]
21393 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21394 First byte (not low byte) is now always NUL.
21395 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21396
05f399e6
UD
21397 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21398 Use non-cancelable interfaces.
21399
10a52685 21400 [BZ #9809]
94ecc67d
UD
21401 * locale/iso-639.def: Add entry for Sorani.
21402
f8a3b5bf
UD
21403 [BZ #11901]
21404 * include/stdlib.h: Move include protection to the right place.
21405 Define abort_msg_s. Declare __abort_msg with it.
21406 * stdlib/abort.c (__abort_msg): Adjust type.
21407 * assert/assert.c (__assert_fail_base): New function. Majority
21408 of code from __assert_fail. Allocate memory for __abort_msg with
21409 mmap.
21410 (__assert_fail): Now call __assert_fail_base.
21411 * assert/assert-perr.c: Remove bulk of implementation. Use
21412 __assert_fail_base.
21413 * include/assert.hL Declare __assert_fail_base.
21414 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21415 mmap.
21416 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21417
1af4e298
UD
214182011-05-14 Ulrich Drepper <drepper@gmail.com>
21419
f8a3b5bf 21420 [BZ #11952]
d26dfc60
MG
21421 [BZ #12453]
21422 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21423 until all modules are registered in the DTV.
21424 * elf/Makefile: Add rules to build and run tst-tls19.
21425 * elf/tst-tls19.c: New file.
21426 * elf/tst-tls19mod1.c: New file.
21427 * elf/tst-tls19mod2.c: New file.
21428 * elf/tst-tls19mod3.c: New file.
21429 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21430
2fc54d6f
UD
21431 [BZ #12083]
21432 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21433 correctly.
21434
98d76b46
UD
21435 [BZ #12601]
21436 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21437 two-byte sequence errors.
21438 * iconvdata/Makefile (tests): Add bug-iconv8.
21439 * iconvdata/bug-iconv8.c: New file.
21440
da3c19ef
UD
21441 [BZ #12626]
21442 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21443 buf2 definition.
21444
ca408c15
UD
21445 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21446
d6f67f7d
UD
21447 [BZ #12432]
21448 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21449 (dummy_getcfa): New function.
21450 (init): Get _Unwind_GetCFA address, use dummy if not found.
21451 (backtrace_helper): In recursion check, also check whether CFA changes.
21452 (__backtrace): Completely initialize arg.
21453
1af4e298 21454 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
21455 storing incomplete byte sequence in state object. Avoid testing for
21456 guaranteed too small input if we know there is enough data available.
1af4e298 21457
da62f81b
AS
214582011-05-11 Andreas Schwab <schwab@redhat.com>
21459
21460 * Makeconfig (+link-pie): Indent.
21461 * Rules (binaries-pie): Define if $(have-fpie) and
21462 $(build-shared).
21463 (binaries-shared): Also filter out $(binaries-pie).
21464 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21465 * nscd/Makefile (others-pie): Add nscd.
21466 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21467 ($(objpfx)nscd): Remove command override.
21468 * login/Makefile (others-pie): Add pt_chown.
21469 ($(objpfx)pt_chown): Remove command override.
21470 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21471 remove command overrides.
21472
fcabc0f8
UD
214732011-05-13 Ulrich Drepper <drepper@gmail.com>
21474
20030ae6
UD
21475 * libio/tst_putwc.c: Fix error messages.
21476
fcabc0f8
UD
21477 [BZ #12724]
21478 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21479 currently writing and seek to current position when not.
21480 * libio/Makefile (tests): Add bug-fclose1.
21481 * libio/bug-fclose1.c: New file.
21482
320a5dc0
PB
214832011-05-12 Ulrich Drepper <drepper@gmail.com>
21484
21485 [BZ #12511]
21486 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21487 don't set DF_1_NODELETE here.
21488 (do_lookup_x): When entering new entry test for copy relocation
21489 and if necessary set DF_1_NODELETE flag.
21490 * elf/tst-unique4.cc: New file.
21491 * elf/tst-unique4.h: New file.
21492 * elf/tst-unique4lib.cc: New file.
21493 * elf/Makefile: Add rules to build and run tst-unique4.
21494 Patch by Piotr Bury <pbury@goahead.com>.
21495
22836f52
UD
214962011-05-11 Ulrich Drepper <drepper@gmail.com>
21497
f574184a
UD
21498 [BZ #12052]
21499 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21500
e1fb097f
UD
21501 [BZ #12625]
21502 * misc/mntent_r.c (addmntent): Flush the stream after the output
21503
22836f52
UD
21504 [BZ #12393]
21505 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21506 (is_trusted_path_normalize): Skip initial colon. Append slash
21507 to empty buffer. Duplicate is_trusted_path code but allow
21508 constructed patch to be prefix.
21509 (is_dst): Allow $ORIGIN followed by /.
21510 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21511 Correct testing of result of is_trusted_path_normalize
21512 (decompose_rpath): Fix warning.
21513
7b3b0b2a
UD
215142011-05-10 Ulrich Drepper <drepper@gmail.com>
21515
21516 [BZ #11257]
21517 * grp/initgroups.c (internal_getgrouplist): When we found the service
21518 list through the initgroups entry in nsswitch.conf do not always
21519 continue on a successful lookup. Don't always use the
eac80ce2 21520 __nss_group_database value if it is set.
7b3b0b2a
UD
21521 * nss/nsswitch.conf (initgroups): Change action for successful db
21522 lookup to continue for compatibility.
21523
2a81eaa5
UD
215242011-05-09 Ulrich Drepper <drepper@gmail.com>
21525
be97a69e
UD
21526 [BZ #11532]
21527 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21528 and CP774 modules.
21529 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21530 and CP774 modules.
21531 * iconvdata/tst-tables.sh: Likewise.
21532 * iconvdata/cp770.c: New file.
21533 * iconvdata/cp771.c: New file.
21534 * iconvdata/cp772.c: New file.
21535 * iconvdata/cp773.c: New file.
21536 * iconvdata/cp774.c: New file.
21537 * iconvdata/testdata/CP770: New file.
21538 * iconvdata/testdata/CP770..UTF8: New file.
21539 * iconvdata/testdata/CP771: New file.
21540 * iconvdata/testdata/CP771..UTF8: New file.
21541 * iconvdata/testdata/CP772: New file.
21542 * iconvdata/testdata/CP772..UTF8: New file.
21543 * iconvdata/testdata/CP773: New file.
21544 * iconvdata/testdata/CP773..UTF8: New file.
21545 * iconvdata/testdata/CP774: New file.
21546 * iconvdata/testdata/CP774..UTF8: New file.
21547
21548 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21549 END CHARMAP line.
21550 * iconvdata/gen-8bit-gap.sh: Likewise.
21551 * iconvdata/gen-8bit.sh: Likewise.
21552
c1e9e399
UD
21553 * locale/iso-639.def: Add ary entry.
21554
24c55fb3 21555 [BZ #11258]
96b4b1b0
UD
21556 * locale/C-translit.h.in: Add U20A1 transliteration.
21557
bdc2f971
KB
21558 [BZ #12178]
21559 * locale/iso-639.def: Add wae entry.
21560 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21561
2952b117
UD
21562 [BZ #12545]
21563 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21564 for n.
21565
2a81eaa5
UD
21566 [BZ #12711]
21567 * locale/C-translit.h.in: Add entry for U20B9.
21568 Patch by pravin.d.s@gmail.com.
21569
28377d1b
UD
215702011-05-08 Ulrich Drepper <drepper@gmail.com>
21571
7fb90fb8
UD
21572 [BZ #12713]
21573 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21574 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
21575 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21576 in rtld. Use *stat64.
7fb90fb8 21577 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 21578 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 21579 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
21580 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21581 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21582 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21583 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21584 __fstatat64 macros.
7fb90fb8
UD
21585 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21586 * dirent/rewinddir.c: Add libc_hidden_def.
21587 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 21588 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 21589
28377d1b
UD
21590 * include/dirent.h (__alloc_dir): Add flags parameter.
21591 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21592 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21593 __alloc_dir.
21594 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21595 from fdopendir if O_CLOEXEC is already set.
21596
66bdbaa4
AM
215972011-03-15 Alan Modra <amodra@gmail.com>
21598
21599 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21600 l_tls_firstbyte_offset non-zero. Save padding offset in
21601 l_tls_firstbyte_offset for later use.
21602 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21603 freeing static tls block.
21604
95721191
JN
216052011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21606
21607 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21608 where #ifdef was intended. The intent is to prevent ARG_MAX from
21609 being defined by the kernel headers.
21610
f87dfb1f
UD
216112011-05-07 Ulrich Drepper <drepper@gmail.com>
21612
21613 [BZ #12734]
21614 * resolv/resolv.h: Define RES_NOTLDQUERY.
21615 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21616 no-tld-query and set RES_NOTLDQUERY.
21617 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21618 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21619 modern BIND to search name as TLD unless forbidden.
21620
47c3cd7a
UD
216212011-05-07 Petr Baudis <pasky@suse.cz>
21622 Ulrich Drepper <drepper@gmail.com>
21623
21624 [BZ #12393]
21625 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21626 (is_trusted_path): ...to here.
c1e9ea35 21627 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 21628 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 21629 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 21630
8a35c912
PP
216312011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21632
21633 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21634 __BEGIN/__END_DECLS.
21635
acd41f47
UD
216362011-05-06 Ulrich Drepper <drepper@gmail.com>
21637
21638 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21639 NSS_STATUS_NOTFOUND if no record was found.
21640
597df647
AS
216412011-05-05 Andreas Schwab <schwab@redhat.com>
21642
21643 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21644 (headers-not-in-tirpc): Remove rpc/netdb.h
21645 * resolv/netdb.h: Revert last change.
21646
b9af1301
PP
216472011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21648
21649 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21650 circular dependency between libgcc.a and libc.a.
21651
4e34d5f5
AS
216522011-05-05 Andreas Schwab <schwab@redhat.com>
21653
21654 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21655 * nis/Makefile: Don't install rpcsvc/*.
21656 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21657 instead of <rpc/types.h>.
21658 (MAXHOSTNAMELEN): Define.
21659
00ee369c
AS
216602011-05-03 Andreas Schwab <schwab@redhat.com>
21661
21662 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21663
0b592a30
MB
216642011-04-28 Maciej Babinski <mbabinski@google.com>
21665
21666 [BZ #12714]
21667 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21668 gethostbyname4_r when IPv6 results are possible.
21669
6e04cbbe
UD
216702011-05-02 Ulrich Drepper <drepper@gmail.com>
21671
21672 [BZ #12723]
21673 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21674 _PC_PIPE_BUF handling.
21675
e4ecafe0
BH
216762011-04-30 Bruno Haible <bruno@clisp.org>
21677
21678 [BZ #12717]
21679 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21680 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21681 to 'int'.
21682 * inet/getnameinfo.c (getnameinfo): Likewise.
21683
125ee683
UD
216842011-04-29 Ulrich Drepper <drepper@gmail.com>
21685
21686 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21687 to groups setting in database lookup.
21688 * nss/nsswitch.conf: Add initgroups entry.
21689
b722481a
EB
216902011-04-22 Ulrich Drepper <drepper@gmail.com>
21691
21692 [BZ #12685]
21693 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21694 mode string.
21695 Patch by Eric Blake <eblake@redhat.com>.
21696
4df46dbd
L
216972011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21698
21699 * sunrpc/Makefile (need-export-routines): Add svc_run.
21700 (routines): Remove svc_run.
21701 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21702 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21703 * sunrpc/svc_run.c (svc_run): Likewise.
21704 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21705
e84142d2
UD
217062011-04-21 Ulrich Drepper <drepper@gmail.com>
21707
21708 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21709 problem in reallocation in last patch.
21710
877175d8
UD
217112011-04-20 Ulrich Drepper <drepper@gmail.com>
21712
21713 * sunrpc/Makefile: Move inclusion of Rules.
21714
ab8eed78
UD
217152011-04-19 Ulrich Drepper <drepper@gmail.com>
21716
21717 * nss/nss_files/files-initgroups.c: New file.
21718 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21719 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21720 _nss_files_initgroups_dyn.
21721
e3d8f584
RS
217222011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21723
21724 * elf/elf.h (R_ARM_IRELATIVE): Define.
21725
af190f45
UD
217262011-04-19 Ulrich Drepper <drepper@gmail.com>
21727
21728 * po/ru.po: Update from translation team.
21729
53cf59ef
UD
217302011-04-17 Ulrich Drepper <drepper@gmail.com>
21731
21732 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21733 dependencies.
21734
4c559bcd
MF
217352011-02-06 Mike Frysinger <vapier@gentoo.org>
21736
21737 [BZ #12653]
21738 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21739 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21740 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21741 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21742 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21743
4420675c
AS
217442011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21745
21746 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21747 differing bytes.
21748 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21749 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21750 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21751
75ea32ab
UD
217522011-04-17 Ulrich Drepper <drepper@gmail.com>
21753
21754 [BZ #12420]
21755 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21756 storing it.
21757 * stdlib/bug-getcontext.c: New file.
21758 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21759
27390476
AK
217602011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21761
21762 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21763 instructions into .machine "z9-109".
21764 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21765 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21766
10442705
AK
217672011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21768
21769 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21770 between environment variables and auxiliary vector.
21771
7b57bfe5
UD
217722011-04-16 Ulrich Drepper <drepper@gmail.com>
21773
21774 * Makefile: Add rules to build linkobj/libc.so.
21775 * include/libc-symbols.h: Define libc_hidden_nolink.
21776 * include/rpc/auth.h: Mark functions which are to be hidden.
21777 * include/rpc/auth_des.h: Likewise.
21778 * include/rpc/auth_unix.h: Likewise.
21779 * include/rpc/clnt.h: Likewise.
21780 * include/rpc/des_crypt.h: Likewise.
21781 * include/rpc/key_prot.h: Likewise.
21782 * include/rpc/pmap_clnt.h: Likewise.
21783 * include/rpc/pmap_prot.h: Likewise.
21784 * include/rpc/pmap_rmt.h: Likewise.
21785 * include/rpc/rpc_msg.h: Likewise.
21786 * include/rpc/svc.h: Likewise.
21787 * include/rpc/svc_auth.h: Likewise.
21788 * include/rpc/xdr.h: Likewise.
21789 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21790 * nss/Makefile: Likewise.
21791 * sunrpc/Makefile: Don't install headers. Build library with normal
21792 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21793 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21794 for the compat linking library. Remove use of INTDEF/INTUSE.
21795 * sunrpc/auth_none.c: Likewise.
21796 * sunrpc/auth_unix.c: Likewise.
21797 * sunrpc/authdes_prot.c: Likewise.
21798 * sunrpc/authuxprot.c: Likewise.
21799 * sunrpc/clnt_gen.c: Likewise.
21800 * sunrpc/clnt_perr.c: Likewise.
21801 * sunrpc/clnt_raw.c: Likewise.
21802 * sunrpc/clnt_simp.c: Likewise.
21803 * sunrpc/clnt_tcp.c: Likewise.
21804 * sunrpc/clnt_udp.c: Likewise.
21805 * sunrpc/clnt_unix.c: Likewise.
21806 * sunrpc/des_crypt.c: Likewise.
21807 * sunrpc/des_soft.c: Likewise.
21808 * sunrpc/get_myaddr.c: Likewise.
21809 * sunrpc/key_call.c: Likewise.
21810 * sunrpc/key_prot.c: Likewise.
21811 * sunrpc/netname.c: Likewise.
21812 * sunrpc/pm_getmaps.c: Likewise.
21813 * sunrpc/pm_getport.c: Likewise.
21814 * sunrpc/pmap_clnt.c: Likewise.
21815 * sunrpc/pmap_prot.c: Likewise.
21816 * sunrpc/pmap_prot2.c: Likewise.
21817 * sunrpc/pmap_rmt.c: Likewise.
21818 * sunrpc/publickey.c: Likewise.
21819 * sunrpc/rpc_cmsg.c: Likewise.
21820 * sunrpc/rpc_common.c: Likewise.
21821 * sunrpc/rpc_dtable.c: Likewise.
21822 * sunrpc/rpc_prot.c: Likewise.
21823 * sunrpc/rpc_thread.c: Likewise.
21824 * sunrpc/rtime.c: Likewise.
21825 * sunrpc/svc.c: Likewise.
21826 * sunrpc/svc_auth.c: Likewise.
21827 * sunrpc/svc_authux.c: Likewise.
21828 * sunrpc/svc_raw.c: Likewise.
21829 * sunrpc/svc_run.c: Likewise.
21830 * sunrpc/svc_simple.c: Likewise.
21831 * sunrpc/svc_tcp.c: Likewise.
21832 * sunrpc/svc_udp.c: Likewise.
21833 * sunrpc/svc_unix.c: Likewise.
21834 * sunrpc/svcauth_des.c: Likewise.
21835 * sunrpc/xcrypt.c: Likewise.
21836 * sunrpc/xdr.c: Likewise.
21837 * sunrpc/xdr_array.c: Likewise.
21838 * sunrpc/xdr_float.c: Likewise.
21839 * sunrpc/xdr_intXX_t.c: Likewise.
21840 * sunrpc/xdr_mem.c: Likewise.
21841 * sunrpc/xdr_rec.c: Likewise.
21842 * sunrpc/xdr_ref.c: Likewise.
21843 * sunrpc/xdr_sizeof.c: Likewise.
21844 * sunrpc/xdr_stdio.c: Likewise.
21845
e6c61494
UD
218462011-04-10 Ulrich Drepper <drepper@gmail.com>
21847
21848 [BZ #12650]
21849 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21850 * sysdeps/ia64/dl-tls.h: Likewise.
21851 * sysdeps/powerpc/dl-tls.h: Likewise.
21852 * sysdeps/s390/dl-tls.h: Likewise.
21853 * sysdeps/sh/dl-tls.h: Likewise.
21854 * sysdeps/sparc/dl-tls.h: Likewise.
21855 * sysdeps/x86_64/dl-tls.h: Likewise.
21856 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21857
34fe483e
AS
218582011-03-14 Andreas Schwab <schwab@redhat.com>
21859
21860 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21861 rpath element also skip the following colon.
21862 (expand_dynamic_string_token): Add is_path parameter and pass
21863 down to DL_DST_REQUIRED and _dl_dst_substitute.
21864 (decompose_rpath): Call expand_dynamic_string_token with
21865 non-zero is_path. Ignore empty rpaths.
21866 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21867 with zero is_path.
21868
f12a32e6
AS
218692011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21870
21871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21872 Make cancelable.
21873
38a7d692
UD
218742011-04-09 Ulrich Drepper <drepper@gmail.com>
21875
21876 [BZ #12655]
21877 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21878 Patch by Filipe David Manana <fdmanana@apache.org>.
21879
e451d22b
AS
218802011-04-07 Andreas Schwab <schwab@redhat.com>
21881
21882 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21883 Maintain aligned stack.
21884 (CHECK_RSP): Remove unused macro.
21885
dedc7c7b
UD
218862011-04-03 Ulrich Drepper <drepper@gmail.com>
21887
21888 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21889 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21890
94521213
UD
218912011-04-02 Ulrich Drepper <drepper@gmail.com>
21892
21893 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21894
8cb700c0 21895 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21896
0354e355
L
218972011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21898
21899 [BZ #12518]
21900 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21901 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21902 * sysdeps/x86_64/memmove.c: New file.
21903 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21904 (memcpy): Renamed to ...
21905 (__new_memcpy): This.
21906 (memcpy): Provide GLIBC_2_14 memcpy.
21907 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21908 (memcpy): Provide GLIBC_2_2_5 memcpy.
21909
8593482f
UD
219102011-04-01 Ulrich Drepper <drepper@gmail.com>
21911
21912 [BZ #12631]
21913 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21914
81a5726b
AS
219152011-03-30 Andreas Schwab <schwab@redhat.com>
21916
21917 * misc/syncfs.c: New file.
21918 * misc/Makefile (routines): Add syncfs.
21919 * posix/unistd.h: Declare syncfs.
21920 * sysdeps/unix/syscalls.list: Add syncfs.
21921
00e5419f
AS
219222011-04-01 Andreas Schwab <schwab@redhat.com>
21923
21924 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21925 open_by_handle_at.
21926 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21927 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21928 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21929 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21930 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21931 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21932 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21933
748876bf
UD
219342011-04-01 Ulrich Drepper <drepper@gmail.com>
21935
658e451d
UD
21936 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21937 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21938 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21939 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21940 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21941 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21942 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21943
748876bf
UD
21944 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21945 sync_file_range.c with -fexceptions.
21946 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21947 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21948 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21949 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21950 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21951 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21952 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21953 sync_file_range as cancellation point
21954 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21955 now a wrapper around __call_sync_file_range with cancellation handling.
21956 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21957 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21958 function name to __call_sync_file_range.
21959 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21960 Add call_sync_file_range.
748876bf 21961
6e63d5e1
AS
219622011-04-01 Andreas Schwab <schwab@redhat.com>
21963
21964 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21965 bits/timex.h.
6e63d5e1 21966
46998f74
UD
219672011-04-01 Ulrich Drepper <drepper@gmail.com>
21968
4c1423ed
UD
21969 * iconv/iconv.h: Fix typo in comment.
21970 * io/fcntl.h: Likewise.
21971 * libio/stdio.h: Likewise.
21972 * posix/spawn.h: Likewise.
21973 * posix/unistd.h: Likewise.
21974 * stdlib/stdlib.h: Likewise.
21975 * time/time.h: Likewise.
21976 * wcsmbs/wchar.h: Likewise.
21977
158648c0
UD
21978 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21979 open_by_handle): Add.
21980 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21981 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21982 Augment a few comments.
21983 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21984 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21985 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21986 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21987 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21988 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21989 open_by_handle.
21990
46998f74
UD
21991 * io/fcntl.h (AT_EMPTY_PATH): Define.
21992
83fe108b
UD
219932011-03-30 Ulrich Drepper <drepper@gmail.com>
21994
21995 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21996 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21997 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21998 to...
21999 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
22000 * Versions.def: Add GLIBC_2.14.
22001 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22002 Export.
83fe108b 22003
bb242059
UD
220042011-03-22 Ulrich Drepper <drepper@gmail.com>
22005
22006 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22007 round counter.
22008 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22009
c97a1282
L
220102011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22011
22012 [BZ #12597]
22013 * string/test-strncmp.c (do_page_test): New function.
22014 (check2): Likewise.
22015 (test_main): Call check2.
22016 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22017
2a115601
UD
220182011-03-20 Ulrich Drepper <drepper@gmail.com>
22019
22020 [BZ #12587]
22021 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22022 Handle cache information in CPU leaf 4.
22023 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22024
8126d904
UD
220252011-03-18 Ulrich Drepper <drepper@gmail.com>
22026
042c49c6 22027 [BZ #12583]
8126d904
UD
22028 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22029 character representation.
22030 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22031
ccfe366e
RA
220322011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22033
22034 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22035 END(__isnan) to END(__isnanf) to match function entry point/label
22036 EALIGN(__isnanf,...).
22037
c6e13027
JJ
220382011-03-10 Jakub Jelinek <jakub@redhat.com>
22039
22040 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22041
33f85a3f
UD
220422011-03-10 Ulrich Drepper <drepper@gmail.com>
22043
028478fa
UD
22044 [BZ #12510]
22045 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22046 copy from the symbol referenced in the relocation to initialize the
22047 used variable.
22048 Patch by Piotr Bury <pbury@goahead.com>.
22049 * elf/Makefile: Add rules to build and tst-unique3.
22050 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22051 * elf/tst-unique3.cc: New file.
22052 * elf/tst-unique3.h: New file.
22053 * elf/tst-unique3lib.cc: New file.
22054 * elf/tst-unique3lib2.cc: New file.
22055
33f85a3f
UD
22056 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22057
03592fc7
MF
220582011-03-10 Mike Frysinger <vapier@gentoo.org>
22059
22060 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22061 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22062 to _start.
03592fc7 22063
6a5ee102
UD
220642011-03-06 Ulrich Drepper <drepper@gmail.com>
22065
22066 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22067 to-be-loaded object along a path to loader is ld.so.
22068
7e4ba49c
HJ
220692011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22070 Ulrich Drepper <drepper@gmail.com>
22071
22072 * sysdeps/x86_64/memset.S: After aligning destination, code
22073 branches to different locations depending on the value of
22074 misalignment, when multiarch is enabled. Fix this.
22075
220762011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22077
22078 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22079 Set _x86_64_preferred_memory_instruction for AMD processsors.
22080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22081 Set bit_Prefer_SSE_for_memop for AMD processors.
22082
13a804de
UD
220832011-03-04 Ulrich Drepper <drepper@gmail.com>
22084
22085 * libio/fmemopen.c (fmemopen): Optimize a bit.
22086
9d25c392
AS
220872011-03-03 Andreas Schwab <schwab@redhat.com>
22088
22089 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22090
a5543c6a
RM
220912011-03-03 Roland McGrath <roland@redhat.com>
22092
22093 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22094
012d35f7
DM
220952011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22096
7e4ba49c 22097 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
22098 __bzero_ultra1 instead of __memset_ultra1.
22099
4bff6e01
AS
221002011-02-23 Andreas Schwab <schwab@redhat.com>
22101 Ulrich Drepper <drepper@gmail.com>
22102
22103 [BZ #12509]
22104 * include/link.h (struct link_map): Add l_orig_initfini.
22105 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22106 returning unsuccessfully.
22107 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22108 close of a file loaded at startup, restore the original l_initfini
22109 list.
22110 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22111 list, store the pointer.
22112 * elf/Makefile ($(objpfx)noload-mem): New rule.
22113 (noload-ENV): Define.
22114 (tests): Add $(objpfx)noload-mem.
22115 * elf/noload.c: Include <memcheck.h>.
22116 (main): Call mtrace. Close all opened handles.
22117
f2092faf
AS
221182011-02-17 Andreas Schwab <schwab@redhat.com>
22119
22120 [BZ #12454]
22121 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22122 dependencies are missing.
22123
6c8a2e88
ST
221242011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22125
f2092faf 22126 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
22127 Hurd needs munmap.
22128 * sysdeps/mach/hurd/ifreq.h: New file.
22129
84a42118
PB
221302011-01-27 Petr Baudis <pasky@suse.cz>
22131 Ulrich Drepper <drepper@gmail.com>
22132
071f805e 22133 [BZ 12445]#
84a42118
PB
22134 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22135 to extend_alloca().
22136 * stdio-common/bug23.c: New file.
22137 * stdio-common/Makefile (tests): Add bug23.
22138
e23fe25b
AS
221392010-09-28 Andreas Schwab <schwab@redhat.com>
22140 Ulrich Drepper <drepper@gmail.com>
22141
22142 [BZ #12489]
22143 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22144 before performing relro protection. At old place add assertion
22145 to make sure nothing changed.
22146
d3f02e10
NS
221472011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22148 Glauber de Oliveira Costa <glommer@gmail.com>
22149
22150 * elf/elf.h: Add new ARM TLS relocs.
22151
d55fd7a5
RA
221522011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22153
22154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22155 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22156 cast from r3.
22157 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22158 'tests' variable.
22159 * sysdeps/wordsize-64/tst-writev.c: New file.
22160
2206397e
RA
221612011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22162
22163 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22164 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22165 insns in _dl_start to prevent a TOC reference before relocs are
22166 resolved.
22167
e9433893
UD
221682011-02-15 Ulrich Drepper <drepper@gmail.com>
22169
22170 [BZ #12469]
22171 * Makeconfig: Remove RANLIB definition.
22172 * Makerules: Don't use RANLIB.
22173 * aclocal.m4: Remove ranlib test.
22174 * configure.in: No need to check for ranlib.
22175 * elf/rtld-Rules: Don't use RANLIB.
22176
f75286c6
ST
221772011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22178
8e31c82d
ST
22179 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22180 protection macro.
22181 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22182 inclusion protection macro.
22183
f75286c6
ST
22184 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22185 SIGRTMIN and SIGRTMAX and print information in that case only when
22186 SIGRTMIN is defined.
22187
c1d0e639
JJ
221882011-02-11 Jakub Jelinek <jakub@redhat.com>
22189
22190 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22191 arginfo fn returning -1.
22192
22193 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22194 and thousands string is zero terminated.
22195
edf9294e
AS
221962011-02-03 Andreas Schwab <schwab@redhat.com>
22197
22198 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22199 sysdeps/unix/sysv/linux/bits/socket.h.
22200
2b7e92df
ST
222012011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22202
edf9294e
AS
22203 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22204 (__CPU_COUNT): Remove old macros.
22205 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22206 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22207 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
22208 (__sched_cpualloc, __sched_cpufree): Add declarations.
22209
a4c7ea7b
UD
222102011-02-05 Ulrich Drepper <drepper@gmail.com>
22211
22212 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22213 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22214 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22215 (readdhstai): Return value of addhstaiX call.
22216 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22217 (addgrbyX): Return value returned by cache_addgr.
22218 (readdgrbyname): Return value returned by addgrbyX.
22219 (readdgrbygid): Likewise.
22220 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22221 (addpwbyX): Return value returned by cache_addpw.
22222 (readdpwbyname): Return value returned by addhstbyX.
22223 (readdpwbyuid): Likewise.
22224 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22225 (addservbyX): Return value returned by cache_addserv.
22226 (readdservbyname): Return value returned by addservbyX:
22227 (readdservbyport): Likewise.
22228 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22229 (addhstbyX): Return value returned by cache_addhst.
22230 (readdhstbyname): Return value returned by addhstbyX.
22231 (readdhstbyaddr): Likewise.
22232 (readdhstbynamev6): Likewise.
22233 (readdhstbyaddrv6): Likewise.
22234 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22235 (readdinitgroups): Return value returned by addinitgroupsX.
22236 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22237 (prune_cache): Keep track of timeout value of re-added entries.
22238 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22239 * nscd/nscd.h: Adjust prototypes of readd* functions.
22240
a0bf67cc
RM
222412011-02-04 Roland McGrath <roland@redhat.com>
22242
22243 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22244 (nis_stats): Likewise.
22245 * nis/nis_modify.c (nis_modify): Likewise.
22246 * nis/nis_remove.c (nis_remove): Likewise.
22247 * nis/nis_add.c (nis_add): Likewise.
22248
22249 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22250
22251 * posix/fnmatch_loop.c: Add some consts.
22252
22253 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22254
435b95eb
L
222552011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22256
22257 [BZ #12460]
22258 * config.make.in (config-cflags-novzeroupper): Define.
22259 * configure.in: Substitute libc_cv_cc_novzeroupper.
22260 * elf/Makefile (AVX-CFLAGS): Define.
22261 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22262 (CFLAGS-tst-auditmod4a.c): Likewise.
22263 (CFLAGS-tst-auditmod4b.c): Likewise.
22264 (CFLAGS-tst-auditmod6b.c): Likewise.
22265 (CFLAGS-tst-auditmod6c.c): Likewise.
22266 (CFLAGS-tst-auditmod7b.c): Likewise.
22267 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22268
8517b15e
UD
222692011-02-02 Ulrich Drepper <drepper@gmail.com>
22270
22271 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22272 function to the callback.
22273 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22274
10a656fe
AS
222752011-02-02 Andreas Schwab <schwab@redhat.com>
22276
22277 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22278 of errno.
22279
968dad0a
UD
222802011-01-19 Ulrich Drepper <drepper@gmail.com>
22281
9f94d2ea 22282 [BZ #11724]
968dad0a
UD
22283 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22284 of constructors.
22285 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22286 of destructors.
22287 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22288
22289 [BZ #11724]
22290 * elf/Makefile: Add rules to build and run new test.
22291 * elf/tst-initorder.c: New file.
22292 * elf/tst-initorder.exp: New file.
22293 * elf/tst-initordera1.c: New file.
22294 * elf/tst-initordera2.c: New file.
22295 * elf/tst-initordera3.c: New file.
22296 * elf/tst-initordera4.c: New file.
22297 * elf/tst-initorderb1.c: New file.
22298 * elf/tst-initorderb2.c: New file.
22299 * elf/tst-order-a1.c: New file.
22300 * elf/tst-order-a2.c: New file.
22301 * elf/tst-order-a3.c: New file.
22302 * elf/tst-order-a4.c: New file.
22303 * elf/tst-order-b1.c: New file.
22304 * elf/tst-order-b2.c: New file.
22305 * elf/tst-order-main.c: New file.
22306 New test case by George Gensure <werkt0@gmail.com>.
22307
86e92359
UD
223082010-10-01 Andreas Schwab <schwab@redhat.com>
22309
22310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22311 decoding ACE if AI_CANONIDN.
22312
5d5732b0
UD
223132011-01-18 Ulrich Drepper <drepper@gmail.com>
22314
22315 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22316
a77e8cbc
UD
223172011-01-17 Ulrich Drepper <drepper@gmail.com>
22318
6392473f
UD
22319 * version.h (RELEASE): Bump for 2.13 release.
22320 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22321
620a0529
UD
22322 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22323
18ba70a5
UD
22324 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22325 MADV_NOHUGEPAGE.
32465c3e
UD
22326 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22327 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22328 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22329 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22330 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22331 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22332
c0dafcf1
UD
22333 * posix/getconf.c: Update copyright year.
22334 * catgets/gencat.c: Likewise.
22335 * csu/version.c: Likewise.
22336 * debug/catchsegv.sh: Likewise.
22337 * debug/xtrace.sh: Likewise.
22338 * elf/ldconfig.c: Likewise.
22339 * elf/ldd.bash.in: Likewise.
22340 * elf/sprof.c (print_version): Likewise.
22341 * iconv/iconv_prog.c: Likewise.
22342 * iconv/iconvconfig.c: Likewise.
22343 * locale/programs/locale.c: Likewise.
22344 * locale/programs/localedef.c: Likewise.
22345 * malloc/memusage.sh: Likewise.
22346 * malloc/mtrace.pl: Likewise.
22347 * nscd/nscd.c (print_version): Likewise.
22348 * nss/getent.c: Likewise.
22349
a77e8cbc
UD
22350 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22351 PF_CAIF, and PF_ALG.
22352 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22353
77e8bddf
AS
223542011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22355
1f20b93a
AS
22356 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22357 (modules-names): Use them.
22358 (ifunc-test-modules, ifunc-pie-tests): Define.
22359 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22360 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22361 (test-extras): Likewise.
22362 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22363 $(compile-command.c).
22364 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22365 (all-built-dso): Define.
22366 (check-textrel.out, check-execstack.out): Depend on it.
22367
77e8bddf
AS
22368 * configure.in: Don't override --enable-multi-arch.
22369
bc425b33
UD
223702011-01-15 Ulrich Drepper <drepper@gmail.com>
22371
22372 [BZ #6812]
22373 * nscd/hstcache.c (tryagain): Define.
22374 (cache_addhst): Return tryagain not notfound for temporary errors.
22375 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22376 failed.
22377
794c3ad3
UD
223782011-01-14 Ulrich Drepper <drepper@gmail.com>
22379
70181fdd
UD
22380 [BZ #10563]
22381 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22382 to make the syscall.
22383 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22384
794c3ad3
UD
22385 [BZ #12378]
22386 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22387 and fall back to matching as normal character if the string ends before
22388 the matching ']' is found. This is what POSIX requires.
22389 * posix/testfnm.c: Adjust test result.
22390 * posix/globtest.sh: Adjust test result. Add new test.
22391 * posix/tst-fnmatch.input: Likewise.
22392 * posix/tst-fnmatch2.c: Add new test.
22393
68dc9497
AS
223942010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22395
22396 * elf/Makefile (check-execstack): Revert last change. Depend on
22397 check-execstack.h.
22398 (check-execstack.h): New target.
22399 (generated): Add check-execstack.h.
22400 * elf/check-execstack.c: Include "check-execstack.h".
22401 (main): Revert last change.
22402 (handle_file): Return zero if GNU_STACK is absent and
22403 DEFAULT_STACK_PERMS doesn't include PF_X.
22404
451f001b
UD
224052011-01-13 Ulrich Drepper <drepper@gmail.com>
22406
cfa28e56
UD
22407 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22408 in child fails because the descriptor is already closed.
8cf8ce17
UD
22409 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22410 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22411 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 22412
1086d70d
UD
22413 [BZ #12397]
22414 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22415 syscall.
22416
451f001b
UD
22417 [BZ #10484]
22418 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22419 temporary buffer used to handle multi lookups locally.
a85b5cb4 22420 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 22421
08769175
UD
224222011-01-12 Ulrich Drepper <drepper@gmail.com>
22423
22424 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22425 loader is ld.so.
22426
5e49c52e
UD
224272011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22428
22429 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22430 alignment for SSE2.
22431
60522a5f
UD
224322011-01-12 Ulrich Drepper <drepper@gmail.com>
22433
22434 [BZ #12394]
22435 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22436 characters. When rounding increased number of integer digits recompute
22437 number of groups.
22438 * stdio-common/tst-grouping.c: New file.
22439 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22440
f257bbd7
UD
224412011-01-09 Ulrich Drepper <drepper@gmail.com>
22442
22443 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22444 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22445
22446 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22447 void.
22448 * bits/select.h: Likewise.
22449
fa9c15cb
UD
224502011-01-08 Ulrich Drepper <drepper@gmail.com>
22451
22452 * po/ja.po: Update from translation team.
22453
16c2895f
DM
224542011-01-04 David S. Miller <davem@sunset.davemloft.net>
22455
22456 [BZ #11155]
22457 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22458 implementation just like for lxstat, fxstatat, et al.
22459
2543fef2
JM
224602010-12-27 Jim Meyering <meyering@redhat.com>
22461
22462 [BZ #12348]
22463 * posix/regexec.c (build_trtable): Return failure indication upon
22464 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22465
98727dbe
UD
224662010-12-25 Ulrich Drepper <drepper@gmail.com>
22467
5bd6dc5c
UD
22468 [BZ #12201]
22469 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22470 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22471 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22472 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22473
97983464
UD
22474 [BZ #12207]
22475 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22476
98727dbe
UD
22477 [BZ #12204]
22478 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22479 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22480
4a531bb0
L
224812010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22482
22483 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22484 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22485 script has SORT_BY_INIT_PRIORITY.
22486 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22487 NO_CTORS_DTORS_SECTIONS is defined.
22488 * elf/soinit.c: Likewise.
22489 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22490 NO_CTORS_DTORS_SECTIONS is defined.
22491 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22492 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22493 * sysdeps/sh/init-first.c: Likewise.
22494 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22495
07eb4b71
UD
224962010-12-24 Ulrich Drepper <drepper@gmail.com>
22497
22498 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22499 always use the slow path.
22500
30950a5f
RA
225012010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22502
22503 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22504 similar rule which adds the sysdep directories to the header search in
22505 order to pick up the correct platform stackinfo.h.
22506 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22507 perform test if it is, otherwise return successfully without testing.
22508 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22509 DEFAULT_STACK_PERMS define in stackinfo.h.
22510 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22511 defined in stackinfo.h.
22512 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22513 DEFAULT_STACK_PERMS defined in stackinfo.h.
22514 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22515 * sysdeps/ia64/stackinfo.h: Likewise.
22516 * sysdeps/s390/stackinfo.h: Likewise.
22517 * sysdeps/sh/stackinfo.h: Likewise.
22518 * sysdeps/sparc/stackinfo.h: Likewise.
22519 * sysdeps/x86_64/stackinfo.h: Likewise.
22520 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22521 PF_X for powerpc64. Retain PF_X for powerpc32.
22522
db753e2c
UD
225232010-12-19 Ulrich Drepper <drepper@gmail.com>
22524
14b697f7
UD
22525 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22526 accurately.
db753e2c
UD
22527 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22528 GETDENTS_64BIT_ALIGNED.
22529
28300719
UD
225302010-12-14 Ulrich Drepper <dreper@gmail.com>
22531
14b697f7 22532 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 22533
4f197237
AS
225342010-12-10 Andreas Schwab <schwab@redhat.com>
22535
dbb0472f
AS
22536 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22537 _GNU_SOURCE.
22538
4f197237
AS
22539 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22540 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22541 Remove __restrict.
22542 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22543 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22544
fb88ac72
UD
225452010-12-09 Ulrich Drepper <drepper@gmail.com>
22546
22547 [BZ #11655]
22548 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22549 are initialized.
22550
42acbb92
JJ
225512010-12-09 Jakub Jelinek <jakub@redhat.com>
22552
22553 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22554
c038d98d
UD
225552010-12-03 Ulrich Drepper <drepper@gmail.com>
22556
22557 * po/it.po: Update from translation team.
22558
3a4a2499
L
225592010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22560
22561 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22562 unused codes.
22563
1e24cf6e
UD
225642010-11-30 Ulrich Drepper <drepper@gmail.com>
22565
22566 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22567
a7690819
AS
225682010-11-24 Andreas Schwab <schwab@redhat.com>
22569
22570 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22571 specially.
22572 (gaih_getanswer_slice): Likewise.
22573
3bf8d1b1
JJ
225742010-10-20 Jakub Jelinek <jakub@redhat.com>
22575
22576 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22577
6db52fbb
PB
225782010-05-31 Petr Baudis <pasky@suse.cz>
22579
22580 [BZ #11149]
22581 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22582 silently even in the chroot mode.
22583
eaca7569
UD
225842010-11-22 Ulrich Drepper <drepper@gmail.com>
22585
22586 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22587 last patch a bit. Pretty printing
22588
3056dcdb
UD
225892010-05-31 Petr Baudis <pasky@suse.cz>
22590
22591 [BZ #10085]
22592 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22593 initialization of skip_initgroups_dyn.
22594
cf7c9078
UD
225952010-11-19 Ulrich Drepper <drepper@gmail.com>
22596
22597 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22598 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22599
a1fb5e3e
UD
226002010-11-16 Ulrich Drepper <drepper@gmail.com>
22601
22602 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22603
3540d66b
AS
226042010-11-11 Andreas Schwab <schwab@redhat.com>
22605
22606 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22607 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22608 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22609 ($(objpfx)tst-fnmatch-mem): New rule.
22610 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22611 * posix/tst-fnmatch.c (main): Call mtrace.
22612
13b69574
L
226132010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22614
22615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22616 Support Intel processor model 6 and model 0x2c.
22617
da93d214
LM
226182010-11-10 Luis Machado <luisgpm@br.ibm.com>
22619
22620 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22621 signed comparison.
22622
8ca52c6e
L
226232010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22624
22625 [BZ #12205]
22626 * string/test-strncasecmp.c (check_result): New function.
22627 (do_one_test): Use it.
22628 (check1): New function.
22629 (test_main): Use it.
22630 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22631 Support strcasecmp and strncasecmp.
22632
69da074d
UD
226332010-11-08 Ulrich Drepper <drepper@gmail.com>
22634
22635 [BZ #12194]
22636 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22637 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22638
ff02d528
L
226392010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22640
22641 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22642 IFUNC support.
22643 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22644 memset-x86-64.
22645 * sysdeps/x86_64/multiarch/bzero.S: New file.
22646 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22647 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22648 * sysdeps/x86_64/multiarch/memset.S: New file.
22649 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22650 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22651 Set bit_Prefer_SSE_for_memop for Intel processors.
22652 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22653 Define.
22654 (index_Prefer_SSE_for_memop): Define.
22655 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22656
344d0b54
LM
226572010-11-04 Luis Machado <luisgpm@br.ibm.com>
22658
22659 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22660 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22661
c0dde15b
UD
226622010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22663
22664 [BZ #12191]
22665 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22666 (__x86_64_raw_data_cache_size_half): Likewise.
22667 (__x86_64_raw_shared_cache_size): Likewise.
22668 (__x86_64_raw_shared_cache_size_half): Likewise.
22669
22670 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22671 (__x86_64_raw_data_cache_size_half): Likewise.
22672 (__x86_64_raw_shared_cache_size): Likewise.
22673 (__x86_64_raw_shared_cache_size_half): Likewise.
22674 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22675 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22676 and __x86_64_raw_shared_cache_size_half. Round
22677 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22678 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22679 to multiple of 256 bytes.
22680
0e516e0e
MS
226812010-11-03 Ulrich Drepper <drepper@gmail.com>
22682
22683 [BZ #12167]
22684 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22685 of inacessible symlinks. Verify result of symlink before returning it.
22686 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22687 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22688
0e012e87
ER
226892010-10-28 Erich Ritz <erichritz@gmail.com>
22690
22691 * math/math.h (isinf): Fix typo in comment.
22692
de0ff7bc
UD
226932010-11-01 Ulrich Drepper <drepper@gmail.com>
22694
22695 * po/da.po: Update from translation team.
22696
fa41c84d
UD
226972010-10-26 Ulrich Drepper <drepper@gmail.com>
22698
22699 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22700 is added to the list.
22701
f0967738
AK
227022010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22703 Ulrich Drepper <drepper@gmail.com>
22704
22705 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22706 the global list here. Move code to...
22707 (_dl_add_to_namespace_list): ...here. New function.
22708 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22709 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22710 * elf/dl-load.c (lose): Don't remove the element from the list.
22711 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22712 (_dl_map_object): Likewise.
22713
227142010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22715
22716 [BZ #12159]
22717 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22718 into all bytes of SSE register.
22719 Patch by Richard Li <richardpku@gmail.com>.
22720
f0967738 227212010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22722
22723 [BZ #12140]
22724 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22725 perturbing.
22726
d0b9e94f
MB
227272010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22728
22729 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22730 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22731 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22732 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22734 submachine.
22735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22736
8e9f92e9
AS
227372010-10-22 Andreas Schwab <schwab@redhat.com>
22738
22739 * include/dlfcn.h (__RTLD_SECURE): Define.
22740 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22741 mode & __RTLD_SECURE instead.
22742 (open_path): Rename preloaded parameter to secure.
22743 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22744 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22745 * elf/dl-deps.c (openaux): Likewise.
22746 * elf/rtld.c (struct map_args): Remove is_preloaded.
22747 (map_doit): Don't use it.
22748 (dl_main): Likewise.
22749 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22750 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22751
bc96fbda
AS
227522010-09-09 Andreas Schwab <schwab@redhat.com>
22753
22754 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22755 (sysd-rules-targets): Remove duplicates.
22756 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22757 rtld-%.$o dependency.
22758
22cd1c9b
AS
227592010-10-18 Andreas Schwab <schwab@redhat.com>
22760
22761 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22762 _dl_map_object do it.
22763
18edac48
UD
227642010-10-19 Ulrich Drepper <drepper@gmail.com>
22765
22766 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22767 fast fma builtins, define the macros in the C99 standard.
22768 (FP_FAST_FMAF): Likewise.
22769 (FP_FAST_FMAL): Likewise.
22770 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22771
22772 * bits/mathdef.h: Update copyright year.
22773 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22774
d2050124
MM
227752010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22776
22777 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22778 builtins, define the macros in the C99 standard.
22779 (FP_FAST_FMAF): Likewise.
22780 (FP_FAST_FMAL): Likewise.
22781 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22782 multiply/add.
22783 (FP_FAST_FMAF): Likewise.
22784
475facd1
JJ
227852010-10-15 Jakub Jelinek <jakub@redhat.com>
22786
22787 [BZ #3268]
22788 * math/libm-test.inc (fma_test): Some new testcases.
22789 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22790 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22791 y and infinite z. Do multiplication by C already in long double.
22792 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22793 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22794 y and infinite z. Do bitwise or of inexact bit into u.d.
22795 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22796 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22797 * sysdeps/i386/fpu/s_fma.S: Removed.
22798 * sysdeps/i386/fpu/s_fmal.S: Removed.
22799
7c08a05c
JJ
228002010-10-16 Jakub Jelinek <jakub@redhat.com>
22801
22802 [BZ #3268]
22803 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22804 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22805 computation is not scheduled after fetestexcept. Fix value
22806 of minimum denormal long double.
22807
f3f7372d
JJ
228082010-10-14 Jakub Jelinek <jakub@redhat.com>
22809
22810 [BZ #3268]
22811 * math/libm-test.inc (fma_test): Add some more tests.
22812 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22813 correctly.
22814
14d43591
AS
228152010-10-15 Andreas Schwab <schwab@redhat.com>
22816
22817 * scripts/data/localplt-s390-linux-gnu.data: New file.
22818 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22819
5e908464
JJ
228202010-10-13 Jakub Jelinek <jakub@redhat.com>
22821
22822 [BZ #3268]
22823 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22824 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22825 instead of dbl-64.
22826 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22827 inlines.
22828 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22829 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22830 if one of x and y is very large and the other is subnormal.
22831 * sysdeps/s390/fpu/s_fmaf.c: New file.
22832 * sysdeps/s390/fpu/s_fma.c: New file.
22833 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22834 * sysdeps/powerpc/fpu/s_fma.S: New file.
22835 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22836 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22837 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22838
228392010-10-12 Jakub Jelinek <jakub@redhat.com>
22840
22841 [BZ #3268]
22842 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22843 fma tests.
22844 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22845 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22846 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22847 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22848 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22849 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22850 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22851
b833d51f
UD
228522010-10-12 Ulrich Drepper <drepper@redhat.com>
22853
22854 [BZ #12078]
22855 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22856 * posix/bug-regex31.input: Add test case.
22857
1751705d
UD
228582010-10-11 Ulrich Drepper <drepper@gmail.com>
22859
e9b9cbf5
UD
22860 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22861 * posix/bug-regex31.input: New file.
22862
22863 [BZ #12078]
22864 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22865 (parse_sub_exp): Fix last change, use postorder.
22866
ef06edbe
UD
22867 * posix/bug-regex31.c: New file.
22868 * posix/Makefile: Add rules to build and run bug-regex31.
22869
a129c80d
UD
22870 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22871
22872 [BZ #12078]
22873 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22874
b76b818e
UD
22875 [BZ #12108]
22876 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22877 to have entries in sys_siglist.
22878
1751705d
UD
22879 [BZ #12093]
22880 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22881 be NULL.
22882
9ff8d36f
JJ
228832010-10-07 Jakub Jelinek <jakub@redhat.com>
22884
22885 [BZ #3268]
22886 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22887 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22888 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22889 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22890 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22891 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22892 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22893 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22894 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22895 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22896 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22897 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22898 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22899 * math/ftestexcept.c (fetestexcept): Likewise.
22900 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22901 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22902 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22903 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22904 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22905 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22906 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22907
af325969
UD
229082010-10-11 Ulrich Drepper <drepper@gmail.com>
22909
c579b202 22910 [BZ #12107]
af325969
UD
22911 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22912 newline.
22913
67a67b95
UD
229142010-10-06 Ulrich Drepper <drepper@gmail.com>
22915
22916 * string/bug-strstr1.c: New file.
22917 * string/Makefile: Add rules to build and run bug-strstr1.
22918
5fb308bc
EB
229192010-10-05 Eric Blake <eblake@redhat.com>
22920
22921 [BZ #12092]
22922 * string/str-two-way.h (two_way_long_needle): Always clear memory
22923 when skipping input due to the shift table.
22924
45db99c7
UD
229252010-10-03 Ulrich Drepper <drepper@gmail.com>
22926
3b111893
UD
22927 [BZ #12005]
22928 * malloc/mcheck.c: Handle large requests.
22929
45db99c7
UD
22930 [BZ #12077]
22931 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22932 for strncmp and strncasecmp.
22933 * string/stratcliff.c: Add tests for strcmp and strncmp.
22934 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22935
cf7a1eb8
NI
229362010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22937
22938 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22939 __set_fpscr.
22940
6484ba5e
AJ
229412010-09-30 Andreas Jaeger <aj@suse.de>
22942
22943 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22944 (CGROUP_SUPER_MAGIC): Define.
22945 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22946 Handle btrfs and cgroup file systems.
22947 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22948 Likewise.
22949
91c42559
LM
229502010-09-27 Luis Machado <luisgpm@br.ibm.com>
22951
22952 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22953 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22954
87a97932
AK
229552010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22956
22957 [BZ #12067]
22958 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22959 trying to locate the ELF header.
22960
c21cc9bc
AS
229612010-09-27 Andreas Schwab <schwab@redhat.com>
22962
22963 [BZ #11611]
22964 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22965 Mask out sign-bit copies when constructing f_fsid.
22966
315970f6
PB
229672010-09-24 Petr Baudis <pasky@suse.cz>
22968
22969 * debug/stack_chk_fail_local.c: Add missing licence exception.
22970 * debug/warning-nop.c: Likewise.
22971
1ac7a2c7
JM
229722010-09-15 Joseph Myers <joseph@codesourcery.com>
22973
22974 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22975 implementing getdents64 using getdents syscall, set d_type if
22976 __ASSUME_GETDENTS32_D_TYPE.
22977
56801c50
AS
229782010-09-16 Andreas Schwab <schwab@redhat.com>
22979
22980 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22981 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22982
dda51327
UD
229832010-09-21 Ulrich Drepper <drepper@redhat.com>
22984
22985 [BZ #12037]
22986 * posix/unistd.h: Undo change of feature selection for ftruncate from
22987 2010-01-11.
22988
8ffcee4a
UD
229892010-09-20 Ulrich Drepper <drepper@redhat.com>
22990
a545ecd9 22991 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22992 detection.
22993
e24f0a8b
AS
229942010-09-20 Andreas Schwab <schwab@redhat.com>
22995
22996 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22997 fanotify_mark.
22998 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22999
7291c56f
AS
230002010-09-14 Andreas Schwab <schwab@redhat.com>
23001
23002 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23003 variables after CHECK_SP call.
23004 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23005
bc5fb037
AS
230062010-09-13 Andreas Schwab <schwab@redhat.com>
23007 Ulrich Drepper <drepper@redhat.com>
23008
23009 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23010 re-relocationg ld.so.
23011 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23012 _dl_init_paths call.
23013 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23014 here anymore.
23015
e66e7419
UD
230162010-09-14 Ulrich Drepper <drepper@redhat.com>
23017
23018 * resolv/res_init.c (__res_vinit): Count the default server we added.
23019
c044aa75
CLT
230202010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23021 Ulrich Drepper <drepper@redhat.com>
23022
23023 [BZ #11968]
23024 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23025 (____longjmp_chk): Use %ebx for saving value across system call.
23026 Add unwind info.
23027
32cf4069
AS
230282010-09-06 Andreas Schwab <schwab@redhat.com>
23029
23030 * manual/Makefile: Don't mix pattern rules with normal rules.
23031
817328ee
AS
230322010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23033
23034 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23035 operation.
23036 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23037 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23038 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23039 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23040 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23041 Likewise.
23042
29fddf61
UD
230432010-09-04 Ulrich Drepper <drepper@redhat.com>
23044
23045 [BZ #11979]
23046 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23047 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23048
0959ffc9
UD
230492010-09-02 Ulrich Drepper <drepper@redhat.com>
23050
23051 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23052 * sysdeps/x86_64/addmul_1.S: Likewise.
23053 * sysdeps/x86_64/lshift.S: Likewise.
23054 * sysdeps/x86_64/mul_1.S: Likewise.
23055 * sysdeps/x86_64/rshift.S: Likewise.
23056 * sysdeps/x86_64/sub_n.S: Likewise.
23057 * sysdeps/x86_64/submul_1.S: Likewise.
23058
ece29840
ST
230592010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23060
0959ffc9
UD
23061 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23062 Define __sched_param instead of SCHED_* and sched_param when
ece29840 23063 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 23064 * bits/sched.h [__need_schedparam]
ece29840 23065 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
23066 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23067 (__defined_schedparam): Define to 1.
ece29840
ST
23068 (__sched_param): New structure, identical to sched_param.
23069 (__need_schedparam): Undefine.
23070
e53a31fe
MF
230712010-08-31 Mike Frysinger <vapier@gentoo.org>
23072
fdc0c10d
MF
23073 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23074 (epoll_create1): Declare.
23075
e53a31fe
MF
23076 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23077
a726d796
AS
230782010-08-31 Andreas Schwab <schwab@redhat.com>
23079
23080 [BZ #7066]
23081 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23082 shifting retval into place.
23083
2f3e3dc7
UD
230842010-09-01 Ulrich Drepper <drepper@redhat.com>
23085
f2933da9
UD
23086 * nis/rpcsvc/nis.h: Update copyright notice.
23087 * nis/rpcsvc/nis.x: Likewise.
23088 * nis/rpcsvc/nis_callback.h: Likewise.
23089 * nis/rpcsvc/nis_callback.x: Likewise.
23090 * nis/rpcsvc/nis_object.x: Likewise.
23091 * nis/rpcsvc/nis_tags.h: Likewise.
23092 * nis/rpcsvc/yp.h: Likewise.
23093 * nis/rpcsvc/yp.x: Likewise.
23094 * nis/rpcsvc/ypupd.h: Likewise.
23095 * nis/yp_xdr.c: Likewise.
23096 * nis/ypupdate_xdr.c: Likewise.
23097
2f3e3dc7
UD
23098 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23099 mainly the body of pmap_getport. Add parameters to specify timeouts.
23100 (pmap_getport): Use __libc_rpc_getport.
23101 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23102 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23103 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23104
f3dcc2f9
AS
231052010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23106
23107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23108 fanotify_mark.
23109
6d34eb5b
RM
231102010-08-27 Roland McGrath <roland@redhat.com>
23111
23112 * sysdeps/i386/i686/multiarch/Makefile
23113 (CFLAGS-varshift.c): New variable.
23114
9ea3de11
UD
231152010-08-27 Ulrich Drepper <drepper@redhat.com>
23116
c96d23fc
UD
23117 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23118 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23119
9ea3de11
UD
23120 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23121
23122 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23123
623aac7f
L
231242010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23125
23126 * sysdeps/x86_64/strlen.S: Unroll the loop.
23127 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23128 strlen-sse2 strlen-sse2-bsf.
23129 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23130 __strlen_no_bsf if bit_Slow_BSF is set.
23131 (__strlen_sse42): Removed.
23132 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23133 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23134
8b2b7715
RM
231352010-08-25 Roland McGrath <roland@redhat.com>
23136
23137 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23138 * sysdeps/x86_64/multiarch/varshift.c: New file.
23139 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23140 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23141 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23142 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23143
e73015f2
L
231442010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23145
23146 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23147 strlen-sse2 strlen-sse2-bsf.
23148 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23149 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23150 (__strlen_sse2): Removed.
23151 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23152 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23154 bit_Slow_BSF for Atom.
23155 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23156 (index_Slow_BSF): Define.
23157 (HAS_SLOW_BSF): Define.
23158
df24a73e
UD
231592010-08-25 Ulrich Drepper <drepper@redhat.com>
23160
23161 [BZ #10851]
23162 * resolv/res_init.c (__res_vinit): When no server address at all
23163 is given default to loopback.
23164
f2ac4868
RM
231652010-08-24 Roland McGrath <roland@redhat.com>
23166
09055553
RM
23167 * configure.in: Remove config-name.h generation.
23168 * configure: Regenerated.
23169 * config-name.in: File removed.
23170 * scripts/config-uname.sh: New file.
23171 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23172 ($(objdir)config-name.h): New target.
23173
f2ac4868
RM
23174 * sunrpc/rpc_parse.h: Avoid nested comment.
23175
73f27d5e
RH
231762010-08-24 Richard Henderson <rth@redhat.com>
23177 Ulrich Drepper <drepper@redhat.com>
23178 H.J. Lu <hongjiu.lu@intel.com>
23179
23180 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23182 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23183 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23184 _mm_alignr_epi8 with _mm_loadu_si128.
23185 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23186 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23187 (__m128i_shift_right): Removed.
23188 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23189 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23190 * sysdeps/x86_64/multiarch/varshift.h: New file.
23191 * sysdeps/x86_64/multiarch/varshift.S: New file.
23192
84b9230c
MF
231932010-08-21 Mike Frysinger <vapier@gentoo.org>
23194
23195 * configure.in: Move assembler checks to before sysdep dir checking.
23196
9bbd0ddc
PB
231972010-08-20 Petr Baudis <pasky@suse.cz>
23198
23199 * LICENSES: Sync the sunrpc license.
23200
9da4bb31
UD
232012010-08-19 Ulrich Drepper <drepper@redhat.com>
23202
a7ab6ec8
UD
23203 * sunrpc/auth_des.c: Update copyright notice once again.
23204 * sunrpc/auth_none.c: Likewise.
23205 * sunrpc/auth_unix.c: Likewise.
23206 * sunrpc/authdes_prot.c: Likewise.
23207 * sunrpc/authuxprot.c: Likewise.
23208 * sunrpc/bindrsvprt.c: Likewise.
23209 * sunrpc/clnt_gen.c: Likewise.
23210 * sunrpc/clnt_perr.c: Likewise.
23211 * sunrpc/clnt_raw.c: Likewise.
23212 * sunrpc/clnt_simp.c: Likewise.
23213 * sunrpc/clnt_tcp.c: Likewise.
23214 * sunrpc/clnt_udp.c: Likewise.
23215 * sunrpc/clnt_unix.c: Likewise.
23216 * sunrpc/des_crypt.c: Likewise.
23217 * sunrpc/des_soft.c: Likewise.
23218 * sunrpc/get_myaddr.c: Likewise.
23219 * sunrpc/getrpcport.c: Likewise.
23220 * sunrpc/key_call.c: Likewise.
23221 * sunrpc/key_prot.c: Likewise.
23222 * sunrpc/openchild.c: Likewise.
23223 * sunrpc/pm_getmaps.c: Likewise.
23224 * sunrpc/pm_getport.c: Likewise.
23225 * sunrpc/pmap_clnt.c: Likewise.
23226 * sunrpc/pmap_prot.c: Likewise.
23227 * sunrpc/pmap_prot2.c: Likewise.
23228 * sunrpc/pmap_rmt.c: Likewise.
23229 * sunrpc/rpc/auth.h: Likewise.
23230 * sunrpc/rpc/auth_unix.h: Likewise.
23231 * sunrpc/rpc/clnt.h: Likewise.
23232 * sunrpc/rpc/des_crypt.h: Likewise.
23233 * sunrpc/rpc/key_prot.h: Likewise.
23234 * sunrpc/rpc/netdb.h: Likewise.
23235 * sunrpc/rpc/pmap_clnt.h: Likewise.
23236 * sunrpc/rpc/pmap_prot.h: Likewise.
23237 * sunrpc/rpc/pmap_rmt.h: Likewise.
23238 * sunrpc/rpc/rpc.h: Likewise.
23239 * sunrpc/rpc/rpc_des.h: Likewise.
23240 * sunrpc/rpc/rpc_msg.h: Likewise.
23241 * sunrpc/rpc/svc.h: Likewise.
23242 * sunrpc/rpc/svc_auth.h: Likewise.
23243 * sunrpc/rpc/types.h: Likewise.
23244 * sunrpc/rpc/xdr.h: Likewise.
23245 * sunrpc/rpc_clntout.c: Likewise.
23246 * sunrpc/rpc_cmsg.c: Likewise.
23247 * sunrpc/rpc_common.c: Likewise.
23248 * sunrpc/rpc_cout.c: Likewise.
23249 * sunrpc/rpc_dtable.c: Likewise.
23250 * sunrpc/rpc_hout.c: Likewise.
23251 * sunrpc/rpc_main.c: Likewise.
23252 * sunrpc/rpc_parse.c: Likewise.
23253 * sunrpc/rpc_parse.h: Likewise.
23254 * sunrpc/rpc_prot.c: Likewise.
23255 * sunrpc/rpc_sample.c: Likewise.
23256 * sunrpc/rpc_scan.c: Likewise.
23257 * sunrpc/rpc_scan.h: Likewise.
23258 * sunrpc/rpc_svcout.c: Likewise.
23259 * sunrpc/rpc_tblout.c: Likewise.
23260 * sunrpc/rpc_util.c: Likewise.
23261 * sunrpc/rpc_util.h: Likewise.
23262 * sunrpc/rpcinfo.c: Likewise.
23263 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23264 * sunrpc/rpcsvc/key_prot.x: Likewise.
23265 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23266 * sunrpc/rpcsvc/mount.x: Likewise.
23267 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23268 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23269 * sunrpc/rpcsvc/rex.x: Likewise.
23270 * sunrpc/rpcsvc/rstat.x: Likewise.
23271 * sunrpc/rpcsvc/rusers.x: Likewise.
23272 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23273 * sunrpc/rpcsvc/spray.x: Likewise.
23274 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23275 * sunrpc/rtime.c: Likewise.
23276 * sunrpc/svc.c: Likewise.
23277 * sunrpc/svc_auth.c: Likewise.
23278 * sunrpc/svc_authux.c: Likewise.
23279 * sunrpc/svc_raw.c: Likewise.
23280 * sunrpc/svc_run.c: Likewise.
23281 * sunrpc/svc_simple.c: Likewise.
23282 * sunrpc/svc_tcp.c: Likewise.
23283 * sunrpc/svc_udp.c: Likewise.
23284 * sunrpc/svc_unix.c: Likewise.
23285 * sunrpc/svcauth_des.c: Likewise.
23286 * sunrpc/xcrypt.c: Likewise.
23287 * sunrpc/xdr.c: Likewise.
23288 * sunrpc/xdr_array.c: Likewise.
23289 * sunrpc/xdr_float.c: Likewise.
23290 * sunrpc/xdr_mem.c: Likewise.
23291 * sunrpc/xdr_rec.c: Likewise.
23292 * sunrpc/xdr_ref.c: Likewise.
23293 * sunrpc/xdr_sizeof.c: Likewise.
23294 * sunrpc/xdr_stdio.c: Likewise.
23295
9da4bb31
UD
23296 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23297 handling.
23298
bdaa77bc
AS
232992010-08-19 Andreas Schwab <schwab@redhat.com>
23300
23301 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23302
fe2f79db
LM
233032010-08-19 Luis Machado <luisgpm@br.ibm.com>
23304
23305 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23306 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23307 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23308 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23309 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23310 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23311 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23312 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23313 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23314 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23315 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23316 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23317 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23318 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23319
b9b42ee0
AB
233202010-07-26 Anton Blanchard <anton@samba.org>
23321
23322 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23323 * malloc/arena.c (heap_trim): Likewise.
23324
1c06ba31
UD
233252010-08-16 Ulrich Drepper <drepper@redhat.com>
23326
23327 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23328 here. Not...
23329 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23330 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23331
f8392f40
L
233322010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23333
23334 * sysdeps/i386/elf/Makefile: New file.
23335
3162f12e
AS
233362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23337
23338 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23339 from fanotify_init.
23340 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23341 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23342
28c90b2c
UD
233432010-08-15 Ulrich Drepper <drepper@redhat.com>
23344
23345 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23346 of strncasecmp_l.
1feccb6c 23347 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23348
ca6bb004
UD
233492010-08-14 Ulrich Drepper <drepper@redhat.com>
23350
e9f82e0d
UD
23351 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23352 strncase_l-nonascii.
23353 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23354 Add strncase_l-ssse3.
23355 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23356 * sysdeps/x86_64/strcmp.S: Likewise.
23357 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23358 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23359 * sysdeps/x86_64/strncase.S: New file.
23360 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23361 * sysdeps/x86_64/strncase_l.S: New file.
23362 * string/Makefile (strop-tests): Add strncasecmp.
23363 * string/test-strncasecmp.c: New file.
23364
23365 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23366 warning.
23367
ca6bb004
UD
23368 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23369 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23370
052fa7b3
AS
233712010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23372
23373 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23374
962dba78
UD
233752010-08-12 Ulrich Drepper <drepper@redhat.com>
23376
23377 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23378 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23379 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23380
bebff237
AM
233812010-05-01 Alan Modra <amodra@gmail.com>
23382
23383 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23384 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23385 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23386 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23387 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23388 tidying. Don't tail-call __sigjmp_save for static lib.
23389 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23390 save location.
23391 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23392 (CALL_MCOUNT): Add eh info, and nop after bl.
23393 (TAIL_CALL_SYSCALL_ERROR): New macro.
23394 (PSEUDO_RET): Use it.
23395 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23396 Correct save location of integer regs and cr.
23397 (_dl_profile_resolve): Correct cr save location. Delete nops
23398 after bl when SHARED. Reduce cfi size a little by better
23399 placement of cfi directives.
23400 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23401 make a stack frame. Instead use parm save area as a temp.
23402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23403 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23405 Don't make a stack frame for parent, use parm save area.
23406 Increase child stack frame to 112 bytes. Don't save unused reg,
23407 and adjust reg usage. Set up cfi on error recovery and
23408 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23410 (__makecontext): Add dummy nop after jump to exit.
23411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23412 Use correct parm save area and cr save, reduce stack frame.
23413 Correct cfi for possible PSEUDO_RET frame setup.
23414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23415 Branch to local label emitted by PSEUDO_RET rather than
23416 __syscall_error.
23417
02637374
AS
234182010-08-12 Andreas Schwab <schwab@redhat.com>
23419
23420 [BZ #11904]
23421 * locale/programs/locale.c (print_assignment): New function.
23422 (show_locale_vars): Use it.
23423
c3e2f19b
UD
234242010-08-11 Ulrich Drepper <drepper@redhat.com>
23425
3cdaa6ad
UD
23426 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23427 field.
23428 (struct statfs64): Likewise.
23429 (_STATFS_F_FLAGS): Define.
23430 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23431 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23432 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23433 (ST_VALID): Define locally.
23434 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23435 __statvfs_getflags, use the provided value.
23436 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23437 __ASSUME_STATFS_F_FLAGS.
23438
754f7da3
UD
23439 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23440
10b3bedc
UD
23441 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23442 Add sys/fanotify.h.
23443 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23444 fanotify_mask for GLIBC_2.13.
23445 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23446 fanotify_init and fanotify_mark.
23447 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23448 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23449
c08fb0d7
UD
23450 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23451 Add prlimit.
23452 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23453 prlimit64 for GLIBC_2.13.
23454 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23455 prlimit64.
23456 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23457 syscall.
23458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23459 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23460 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23461 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23462 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23463 add prlimit alias.
23464 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23465
15bac72b
UD
23466 [BZ #11903]
23467 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23468 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23469
c3e2f19b
UD
23470 * nss/Makefile: Add rules to build and run tst-nss-test1.
23471 * shlib-versions: Add entry for libnss_test1.
23472 * nss/nss_test1.c: New file.
23473 * nss/tst-nss-test1.c: New file.
23474
23475 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23476 (__nss_configure_lookup): Set appropriate entry in
23477 __nss_configure_lookup to true.
23478 * nss/nsswitch.h: Define enum with indeces of databases in
23479 databases and __nss_database_custom arrays. Declare
23480 __nss_database_custom.
23481 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23482 to avoid using nscd when custom rules are installed.
23483 * nss/getXXbyYY_r.c: Likewise.
23484 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23485
23486 * nss/nss_files/files-parse.c: Whitespace fixes.
23487
f15ce4d8
UD
234882010-08-09 Ulrich Drepper <drepper@redhat.com>
23489
23490 [BZ #11883]
23491 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23492 * posix/fnmatch_loop.c: Likewise.
23493
d22e4cc9
AK
234942010-07-17 Andi Kleen <ak@linux.intel.com>
23495
23496 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23497 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23498 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23499 * Versions.def [GLIBC_2.13]: Add.
23500
805bc17d
UD
235012010-08-06 Ulrich Drepper <drepper@redhat.com>
23502
23503 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23504 Also fail if tpwd after pwuid call is NULL.
23505
5a42321d
ST
235062010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23507
23508 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23509 when converting to ms.
23510
fd3ebeda
ST
235112010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23512
23513 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23514 EOPNOTSUPP errors with ENOTTY.
23515 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23516 EOPNOTSUPP errors with ENOTTY.
23517
73507d3a
UD
235182010-07-31 Ulrich Drepper <drepper@redhat.com>
23519
23520 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23521 Add strcasecmp_l-ssse3.
23522 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23523 strcasecmp.
23524 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23525 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23526 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23527
fe36dd02
UD
235282010-07-30 Ulrich Drepper <drepper@redhat.com>
23529
66f6765a
UD
23530 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23531
42e08a54
UD
23532 * string/Makefile (strop-tests): Add strcasecmp.
23533 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23534 strcasecmp_l-nonascii.
23535 (gen-as-const-headers): Add locale-defines.sym.
23536 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23537 * sysdeps/x86_64/strcasecmp.S: New file.
23538 * sysdeps/x86_64/strcasecmp_l.S: New file.
23539 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23540 * sysdeps/x86_64/locale-defines.sym: New file.
23541 * string/test-strcasecmp.c: New file.
23542
fe36dd02
UD
23543 * string/test-strcasestr.c: Test both ends of the range of characters.
23544 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23545
48cbc0d6
RM
235462010-07-29 Roland McGrath <roland@redhat.com>
23547
76e6d6bc 23548 [BZ #11856]
48cbc0d6
RM
23549 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23550
880113d9
UD
235512010-07-27 Ulrich Drepper <drepper@redhat.com>
23552
23553 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23554 for ld.so.
23555
deb9cabb
AS
235562010-07-27 Andreas Schwab <schwab@redhat.com>
23557
23558 * manual/memory.texi (Malloc Tunable Parameters): Document
23559 M_PERTURB.
23560
1c7570ff
RM
235612010-07-26 Roland McGrath <roland@redhat.com>
23562
23563 [BZ #11840]
23564 * configure.in (-fgnu89-inline check): Set and substitute
23565 gnu89_inline, not libc_cv_gnu89_inline.
23566 * configure: Regenerated.
23567 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23568
24fb0f88
UD
235692010-07-26 Ulrich Drepper <drepper@redhat.com>
23570
23571 * string/test-strnlen.c: New file.
23572 * string/Makefile (strop-tests): Add strnlen.
23573 * string/tester.c (test_strnlen): Add a few more test cases.
23574 * string/tst-strlen.c: Better error reporting.
23575
23576 * sysdeps/x86_64/strnlen.S: New file.
23577
8e96b93a
UD
235782010-07-24 Ulrich Drepper <drepper@redhat.com>
23579
23580 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23581 lower-latency instructions.
23582
dbc676d4
UD
235832010-07-23 Ulrich Drepper <drepper@redhat.com>
23584
23585 * string/test-strcasestr.c: New file.
23586 * string/test-strstr.c: New file.
23587 * string/Makefile (strop-tests): Add strstr and strcasestr.
23588 * string/str-two-way.h: Don't undefine MAX.
23589 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23590
f6a31e0e
AS
235912010-07-21 Andreas Schwab <schwab@redhat.com>
23592
23593 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23594 strcasestr-nonascii.
23595 (CFLAGS-strcasestr-nonascii.c): Define.
23596 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23597 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23598 Remove unused attribute.
23599
5dbc3b6c
RM
236002010-07-20 Roland McGrath <roland@redhat.com>
23601
23602 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23603 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23604 ld.so.cache was broken. With it, there is no way to disable dsocaps
23605 like LD_HWCAP_MASK can disable hwcaps.
23606
23d101d8
EPM
236072010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23608
23609 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23610
cc9f2e47
UD
236112010-07-16 Ulrich Drepper <drepper@redhat.com>
23612
23613 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23614 call in strcasestr.
23615 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23616 __strcasestr_sse42_nonascii.
23617 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23618 strcasestr-nonascii.c.
23619 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23620
77c1b069
LM
236212010-06-15 Luis Machado <luisgpm@br.ibm.com>
23622
23623 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23624 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23625 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23626 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23627
440566c3
UD
236282010-07-09 Ulrich Drepper <drepper@redhat.com>
23629
23630 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23631 fcntl.
23632
5be9d05d
AS
236332010-07-06 Andreas Schwab <schwab@redhat.com>
23634
c30b7ee2 23635 [BZ #11577]
5be9d05d
AS
23636 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23637 dl_signal_cerror.
23638
8a492a67
UD
236392010-07-06 Ulrich Drepper <drepper@redhat.com>
23640
23641 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23642 _PC_PIPE_BUF using F_GETPIPE_SZ.
23643
713df3d5
RM
236442010-07-05 Roland McGrath <roland@redhat.com>
23645
23646 * manual/arith.texi (Rounding Functions): Fix rint description
23647 implicit in round description.
23648
702e8f14
UD
236492010-07-02 Ulrich Drepper <drepper@redhat.com>
23650
23651 * elf/Makefile: Fix linking for a few tests to make recent linker
23652 happy.
23653
52ed8be9
AS
236542010-06-30 Andreas Schwab <schwab@redhat.com>
23655
23656 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23657 $(common-objpfx)libc_nonshared.a.
23658
f47c9a11
LM
236592010-06-21 Luis Machado <luisgpm@br.ibm.com>
23660
23661 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23662 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23663 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23664 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23665 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23666 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23667 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23668 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23683 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23684 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23685 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23686 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23687 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23688 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23689 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23690 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23691 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23692 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23693 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23694 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23709
6fb8cbcb
L
237102010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23711
23712 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23713 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23714 * string/memmove.c (memmove): Renamed to ...
23715 (MEMMOVE): ...this. Default to memmove.
23716 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23717 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23718 (END_CHK): Define.
23719 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23720 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23721 mempcpy-ssse3-back memmove-ssse3-back.
23722 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23723 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23724 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23725 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23726 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23727 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23728 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23729 * sysdeps/x86_64/multiarch/memmove.c: New file.
23730 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23731 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23732 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23733 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23734 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23735 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23736 Define.
23737 (index_Fast_Copy_Backward): Define.
23738 (HAS_ARCH_FEATURE): Define.
23739 (HAS_FAST_REP_STRING): Define.
23740 (HAS_FAST_COPY_BACKWARD): Define.
23741
4e733bac 237422010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23743
23744 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23745 Restore proper fallback handling.
23746
63c4ed22
UD
237472010-06-19 Ulrich Drepper <drepper@redhat.com>
23748
ac2b484c
UD
23749 [BZ #11701]
23750 * posix/group_member.c (__group_member): Correct checking loop.
23751
63c4ed22
UD
23752 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23753 OOM in getpwuid_r correctly. Return error number when the caller
23754 should return, otherwise -1.
23755 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23756 call returning > 0 value.
23757 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23758
765ade4b
AS
237592010-06-07 Andreas Schwab <schwab@redhat.com>
23760
23761 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23762 libc_nonshared.a from targets in modules-names.
23763
80da2e09
KS
237642010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23765
23766 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23767 requires it.
23768
158db122
LM
237692010-06-10 Luis Machado <luisgpm@br.ibm.com>
23770
23771 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23772 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23773 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23774 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23775
caa78cf8
AS
237762010-06-02 Andreas Schwab <schwab@redhat.com>
23777
23778 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23779
b2ef2c01
UD
237802010-06-14 Ulrich Drepper <drepper@redhat.com>
23781
23782 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23783 and F_GETPIPE_SZ.
23784 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23785 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23786 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23787 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23788 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23789 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23790
fbd643b6
RM
237912010-06-14 Roland McGrath <roland@redhat.com>
23792
23793 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23794
f32f2869
JJ
237952010-06-07 Jakub Jelinek <jakub@redhat.com>
23796
23797 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23798 __REDIRECT followed by __THROW.
23799 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23800 * posix/getopt.h (getopt): Likewise.
23801
2a50c078
EPM
238022010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23803
23804 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23805 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23806 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23807 in AT_FLAGS.
23808 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23809 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23810
eb5ad2eb
LM
238112010-05-28 Luis Machado <luisgpm@br.ibm.com>
23812
23813 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23814
3c88fe1e
L
238152010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23816
23817 [BZ #11640]
23818 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23819 Properly check family and model.
23820
d2f73151
TY
238212010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23822
23823 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23824
ebd2e13d
LM
238252010-05-24 Luis Machado <luisgpm@br.ibm.com>
23826
23827 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23828
b32b8b45
UD
238292010-05-21 Ulrich Drepper <drepper@redhat.com>
23830
23831 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23832 symbol reference.
23833
9acbe24d
AS
238342010-05-19 Andreas Schwab <schwab@redhat.com>
23835
23836 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23837 symbol reference.
23838
f0ccf6ea
AS
238392010-05-21 Andreas Schwab <schwab@redhat.com>
23840
3d04ff3a
AS
23841 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23842 and internal_recvmmsg.
23843 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23844 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23845 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23846 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23847
f0ccf6ea
AS
23848 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23849 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23850 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23851
5b08ac57
AS
238522010-05-20 Andreas Schwab <schwab@redhat.com>
23853
23854 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23855
4828935d
LM
238562010-05-17 Luis Machado <luisgpm@br.ibm.com>
23857
23858 POWER7 optimizations.
23859 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23860 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23861
373d545e
UD
238622010-05-19 Ulrich Drepper <drepper@redhat.com>
23863
23864 * version.h: Update for 2.13 development version.
23865
21a2b1ae
AS
238662010-05-12 Andrew Stubbs <ams@codesourcery.com>
23867
23868 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23869 exceptions. Return 0.
23870
3f7dcb2b
RM
238712010-05-07 Roland McGrath <roland@redhat.com>
23872
23873 * elf/ldconfig.c (main): Add a const.
23874
5f24d53a 238752010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23876
a160f8d8
UD
23877 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23878 (args_options): Add no-idn option.
23879 (ahosts_keys_int): Add idn_flags to ai_flags.
23880 (parse_option): Handle 'i' option to clear idn_flags.
23881
5f24d53a
UD
23882 * malloc/malloc.c (_int_free): Possible race in the most recently
23883 added check. Only act on the data if no current modification
23884 happened.
265bb1ce
UD
23885
23886See ChangeLog.17 for earlier changes.