]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix ChangeLog formatting
[glibc.git] / ChangeLog
CommitLineData
eede9df9
JM
12013-01-08 Joseph Myers <joseph@codesourcery.com>
2
3 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
6 2 && __USE_EXTERN_INLINES]: Likewise.
7
c40ea3d9
AJ
82013-01-08 Andreas Jaeger <aj@suse.de>
9
10 [BZ# 14985]
11 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12 Remove.
13 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15
2ccdea26
AB
162013-01-07 Anton Blanchard <anton@samba.org>
17
18 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
43 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
44 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
47 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
57 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
59 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61
a9708fed
JM
622013-01-07 Joseph Myers <joseph@codesourcery.com>
63
375607b9
JM
64 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
65 (__MALLOC_PMT): Likewise.
66 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
67 [__GNUC__], only on [_LIBC].
68 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
70 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
71 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72 forward declaration.
73 (realloc_hook_ini): Likewise.
74 (memalign_hook_ini): Likewise.
75 (__libc_memalign): Do not use __MALLOC_PMT in variable
76 declaration.
77 (__libc_valloc): Likewise.
78 (__libc_pvalloc): Likewise.
79 (__libc_calloc): Likewise.
80 (__posix_memalign): Likewise.
81
a9708fed
JM
82 [BZ #14996]
83 * math/s_casinh.c: Include <float.h>.
84 (__casinh): Do not do computation with squaring and square root
85 for large arguments.
86 * math/s_casinhf.c: Include <float.h>.
87 (__casinhf): Do not do computation with squaring and square root
88 for large arguments.
89 * math/s_casinhl.c: Include <float.h>.
90 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
91 (__casinhl): Do not do computation with squaring and square root
92 for large arguments.
93 * math/libm-test.inc (casin_test): Add more tests.
94 (casinh_test): Likewise.
95 * sysdeps/i386/fpu/libm-test-ulps: Update.
96 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
97
afec409a
L
982013-01-04 H.J. Lu <hongjiu.lu@intel.com>
99
100 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
101 (__x86_64_raw_data_cache_size): Likewise.
102 (__x86_64_data_cache_size_half): Likewise.
103 (__x86_64_raw_data_cache_size_half): Likewise.
104 (__x86_64_shared_cache_size): Likewise.
105 (__x86_64_raw_shared_cache_size): Likewise.
106 (__x86_64_shared_cache_size_half): Likewise.
107 (__x86_64_raw_shared_cache_size_half): Likewise.
108 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
109 to ...
110 (__x86_data_cache_size): This.
111 (__x86_64_raw_data_cache_size): Renamed to ...
112 (__x86_raw_data_cache_size): This.
113 (__x86_64_data_cache_size_half): Renamed to ...
114 (__x86_data_cache_size_half): This.
115 (__x86_64_raw_data_cache_size_half): Renamed to ...
116 (__x86_raw_data_cache_size_half): This.
117 (__x86_64_shared_cache_size): Renamed to ...
118 (__x86_shared_cache_size): This.
119 (__x86_64_raw_shared_cache_size): Renamed to ...
120 (__x86_raw_shared_cache_size): This.
121 (__x86_64_shared_cache_size_half): Renamed to ...
122 (__x86_shared_cache_size_half): This.
123 (__x86_64_raw_shared_cache_size_half): Renamed to ...
124 (__x86_raw_shared_cache_size_half): This.
125 * sysdeps/x86_64/memcpy.S: Updated.
126 * sysdeps/x86_64/memset.S: Likewise.
127 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
128 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
129 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
130
0b3986d0
DM
1312013-01-04 David S. Miller <davem@davemloft.net>
132
133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
134
e47686e9
AS
1352013-01-04 Andreas Schwab <schwab@linux-m68k.org>
136
d643bac1
AS
137 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
138 1 to avoid redefinition warning.
139 (__USE_GNU): Don't define.
140 (init_signaling_nan): Protoize.
141
e47686e9
AS
142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
143
b18decba
SP
1442013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
145
fffb407f
SP
146 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
147 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
148 (__cpymn): Likewise.
149 (norm): Remove commented code.
150 (denorm): Likewise.
151 (__mp_dbl): Likewise.
152 (__inv): Likewise.
153 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
154 (__cpymn): Likewise.
155 (norm): Remove commented code.
156 (denorm): Likewise.
157 (__mp_dbl): Likewise.
158 (__inv): Likewise.
159
b18decba
SP
160 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
161 mp_no value for 1.0 and 2.0.
162 (norm): Use RADIXI instead of radixi.d.
163 (denorm): Likewise.
164 (__mul): Use 0.0 instead of zero.d.
165 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
166 mp_no value for 1.0 and 2.0.
167 (norm): Use RADIXI instead of radixi.d.
168 (denorm): Likewise.
169 (__mul): Use 0.0 instead of zero.d.
170
cdc1c96f
JM
1712013-01-04 Joseph Myers <joseph@codesourcery.com>
172
173 [BZ #14994]
174 * math/s_casinh.c (__casinh): Reduce finite argument to first
175 quadrant then set signs of results at the end.
176 * math/s_casinhf.c (__casinhf): Likewise.
177 * math/s_casinhl.c (__casinhl): Likewise.
178 * math/libm-test.inc (casin_test): Add more tests.
179 (casinh_test): Likewise.
180 * sysdeps/i386/fpu/libm-test-ulps: Update.
181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
182
302913e1
SP
1832013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
184
6420d207
SP
185 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
186
a9e48ab4
SP
187 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
188
b7837264
SP
189 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
190 declarations.
191 (denorm): Likewise.
192 (__mp_dbl): Likewise.
193 (__inv): Likewise.
194
f8af25d2
SP
195 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
196 and adjust the header comment.
197
302913e1
SP
198 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
199 variable name from declaration.
200
5d7dd1ca
L
2012013-01-03 H.J. Lu <hongjiu.lu@intel.com>
202
203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
204 Initialize COMMON_CPUID_INDEX_7 element.
205 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
206 (CPUID_RTM): Likewise.
207 (HAS_RTM): Likewise.
208 (COMMON_CPUID_INDEX_7): New enum.
209
2f5f40f4
AS
2102013-01-03 Andreas Schwab <schwab@linux-m68k.org>
211
212 [BZ #14981]
213 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
214 size is zero, record memory as freed.
215
4056f4a0
AJ
2162013-01-03 Andreas Jaeger <aj@suse.de>
217
218 * po/ia.po: Add new Interlingua translation.
219
ab15736f 2202012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
221
222 * locale/programs/localedef.c: Fix description of '--posix' flag.
223
568035b7
JM
2242013-01-02 Joseph Myers <joseph@codesourcery.com>
225
e6898b8d
JM
226 * NEWS: Update dates in second copyright notice.
227 * README: Update copyright dates in example.
228 * manual/libc.texinfo: Update copyright dates.
229 * scripts/test-installation.pl: Update copyright date in --version
230 output.
231
0e2f9562
JM
232 * hurd/ctty-input.c: Fix copyright notice formatting.
233 * hurd/ctty-output.c: Likewise.
234 * hurd/dtable.c: Likewise.
235 * hurd/hurd-raise.c: Likewise.
236 * hurd/hurdprio.c: Likewise.
237 * hurd/msgportdemux.c: Likewise.
238 * misc/sys/file.h: Likewise.
239 * misc/sys/ioctl.h: Likewise.
240 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
241 * sysdeps/mach/hurd/chdir.c: Likewise.
242 * sysdeps/mach/hurd/fchdir.c: Likewise.
243 * sysdeps/mach/hurd/rename.c: Likewise.
244 * sysdeps/mach/hurd/rmdir.c: Likewise.
245 * sysdeps/mach/hurd/seekdir.c: Likewise.
246 * sysdeps/mach/hurd/setsid.c: Likewise.
247 * sysdeps/posix/wait3.c: Likewise.
248
568035b7
JM
249 * All files with FSF copyright notices: Update copyright dates
250 using scripts/update-copyrights.
251 * intl/plural.c: Regenerated.
252 * locale/programs/charmap-kw.h: Likewise.
253 * locale/programs/locfile-kw.h: Likewise.
254
da08f647
SP
2552013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
256
0f5477af
SP
257 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
258 four values.
259
44e0d4c2
SP
260 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
261 calculation loop and add branch prediction.
262
4d55b4e5
SP
263 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
264 check access beyond bounds of m1np.
265
da08f647
SP
266 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
267 MPTWO.
268 (__inv): Remove local variable MPTWO to use the global
269 constant.
270 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
271 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
272 variable MPTWO.
273 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
274 MP3HALFS static const.
275
8e051029
DM
2762013-01-01 David S. Miller <davem@davemloft.net>
277
278 * po/ca.po: Update from translation team.
279
f4cf5f2d
JM
2802013-01-01 Joseph Myers <joseph@codesourcery.com>
281
282 * scripts/update-copyrights: New file.
283 * Makeconfig: Reformat copyright notice.
284 * ctype/ctype.h: Likewise.
285 * debug/swprintf_chk.c: Likewise.
286 * elf/dl-cache.c: Likewise.
287 * elf/dl-debug.c: Likewise.
288 * elf/dl-object.c: Likewise.
289 * grp/initgroups.c: Likewise.
290 * hurd/Makefile: Likewise.
291 * hurd/hurd/signal.h: Likewise.
292 * hurd/hurdfault.c: Likewise.
293 * hurd/hurdioctl.c: Likewise.
294 * hurd/hurdlookup.c: Likewise.
295 * hurd/intr-msg.c: Likewise.
296 * iconv/gconv_open.c: Likewise.
297 * libio/swprintf.c: Likewise.
298 * locale/lc-ctype.c: Likewise.
299 * locale/nl_langinfo.c: Likewise.
300 * mach/Machrules: Likewise.
301 * mach/Makefile: Likewise.
302 * malloc/obstack.h: Likewise.
303 * manual/Makefile: Likewise.
304 * manual/tsort.awk: Likewise.
305 * misc/bits/stab.def: Likewise.
306 * nis/nis_print_group_entry.c: Likewise.
307 * nis/nis_table.c: Likewise.
308 * nis/nss_compat/compat-pwd.c: Likewise.
309 * nis/nss_compat/compat-spwd.c: Likewise.
310 * po/Makefile: Likewise.
311 * posix/fnmatch.c: Likewise.
312 * posix/regex.h: Likewise.
313 * resolv/Makefile: Likewise.
314 * resolv/nss_dns/dns-network.c: Likewise.
315 * resolv/res_hconf.c: Likewise.
316 * scripts/gen-sorted.awk: Likewise.
317 * soft-fp/soft-fp.h: Likewise.
318 * stdio-common/printf.h: Likewise.
319 * stdlib/monetary.h: Likewise.
320 * stdlib/random.c: Likewise.
321 * stdlib/random_r.c: Likewise.
322 * sysdeps/generic/Makefile: Likewise.
323 * sysdeps/gnu/Makefile: Likewise.
324 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
325 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
326 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
327 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
328 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
329 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
330 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
331 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
332 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
333 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
334 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
335 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
336 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
337 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
338 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
339 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
340 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
341 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
342 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
343 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
344 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
345 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
346 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
347 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
348 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
349 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
350 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
351 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
352 * sysdeps/mach/hurd/errnos.awk: Likewise.
353 * sysdeps/mach/hurd/fork.c: Likewise.
354 * sysdeps/mach/hurd/getcwd.c: Likewise.
355 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
356 * sysdeps/mach/hurd/mmap.c: Likewise.
357 * sysdeps/mach/hurd/utimes.c: Likewise.
358 * sysdeps/mach/hurd/xmknod.c: Likewise.
359 * sysdeps/posix/profil.c: Likewise.
360 * sysdeps/posix/readdir_r.c: Likewise.
361 * sysdeps/powerpc/bits/mathdef.h: Likewise.
362 * sysdeps/powerpc/bits/setjmp.h: Likewise.
363 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
364 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
366 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
367 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
368 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
369 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
370 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
371 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
372 * sysdeps/pthread/lio_listio.c: Likewise.
373 * sysdeps/sparc/dl-procinfo.h: Likewise.
374 * sysdeps/unix/i386/sysdep.S: Likewise.
375 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
376 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
377 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
378 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
380 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
381 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
382 * sysdeps/unix/sysv/linux/speed.c: Likewise.
383 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
384 * sysdeps/wordsize-32/divdi3.c: Likewise.
385 * time/sys/time.h: Likewise.
386 * wcsmbs/Makefile: Likewise.
387
0549fbba
DM
3882013-01-01 David S. Miller <davem@davemloft.net>
389
a141f1a7
DM
390 * po/fr.po: Update from translation team.
391
0549fbba
DM
392 * catgets/gencat.c: Update copyright year.
393 * csu/version.c: Likewise.
394 * debug/catchsegv.sh: Likewise.
395 * debug/pcprofiledump.c: Likewise.
396 * debug/xtrace.sh: Likewise.
397 * elf/ldconfig.c: Likewise.
398 * elf/ldd.bash.in: Likewise.
399 * elf/pldd.c: Likewise.
400 * elf/sotruss.ksh: Likewise.
401 * elf/sprof.c: Likewise.
402 * iconv/iconv_prog.c: Likewise.
403 * iconv/iconvconfig.c: Likewise.
404 * locale/programs/locale.c: Likewise.
405 * locale/programs/localedef.c: Likewise.
406 * login/programs/pt_chown.c: Likewise.
407 * malloc/memusage.sh: Likewise.
408 * malloc/memusagestat.c: Likewise.
409 * malloc/mtrace.pl: Likewise.
410 * nscd/nscd.c: Likewise.
411 * nss/getent.c: Likewise.
412 * nss/makedb.c: Likewise.
413 * posix/getconf.c: Likewise.
414
18ea052c
SP
4152012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
416
417 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
418 numbers.
419
9c89fca6
MF
4202012-12-30 Mike Frysinger <vapier@gentoo.org>
421
422 * math/bits/mathcalls.h (modf): Use __nonnull.
423
085ec079
SP
4242012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
425
426 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
427 (split): Use macro CN instead of the bare value.
428 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
429 could be used.
430 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
431 instead of the bare value.
432 (power1): Likewise.
433
6d9f97e1
SP
4342012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
435
d63f73be
SP
436 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
437 __ATAN_TWOM.
438 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
439
6d9f97e1
SP
440 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
441 their values.
442 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
443 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
444 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
445 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
446
4c4febf5
AJ
4472012-12-28 Andreas Jaeger <aj@suse.de>
448
af5843ef
AJ
449 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
450 values are from Linux 3.7.
451
4c4febf5
AJ
452 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
453 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
454
99136f82
SP
4552012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
456
2f216c3c 457 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
458 TRUE case.
459
99136f82
SP
460 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
461 (norm): Likewise.
462 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
463 variables with preprocessor constants.
464 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
465 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
466 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
467
7fffbdff
BH
4682012-12-27 Bruno Haible <bruno@clisp.org>
469
470 [BZ #14317]
471 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
472 only if needed.
473
b76eb5f0
SP
4742012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
475
31a7fe5c
SP
476 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
477 and use variable directly.
478 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
479
b76eb5f0
SP
480 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
481 MPONE.
482 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
483 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
484 variable MPONE.
485 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
486 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
487 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
488 include directive. Remove local variable MPONE.
489 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
490 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
491 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
492
2c8bfe7d
DM
4932012-12-25 David S. Miller <davem@davemloft.net>
494
495 * version.h (RELEASE): Set to "development".
496 (VERSION): Set to "2.17.90".
497 * NEWS: Add 2.18 section.
498
147d03b0
DM
4992012-12-21 David S. Miller <davem@davemloft.net>
500
501 * po/hr.po: Update from translation team.
502
a8ebb2b9
AK
5032012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
504
505 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
506
95b4f1b6
SE
5072012-12-19 Steve Ellcey <sellcey@mips.com>
508
b2d94007 509 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 510
cedb2a90
MS
5112012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
512
513 * manual/contrib.texi (Contributors): Spelling correction.
514
bbf527d6
DM
5152012-12-15 David S. Miller <davem@davemloft.net>
516
517 * po/ru.po: Update from translation team.
518
bc38c906
DM
5192012-12-13 David S. Miller <davem@davemloft.net>
520
85429b1a
DM
521 * NEWS: Mention IFUNC testsuite enhancements.
522
d283e353
DM
523 * po/pl.po: Update from translation team.
524 * po/bg.po: Likewise.
525
bc38c906
DM
526 * manual/contrib.texi (Contributors): Update entries for Hongjiu
527 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
528
a181b0d7
DM
5292012-12-11 David S. Miller <davem@davemloft.net>
530
4641d57e
DM
531 * po/sv.po: Update from translation team.
532
f7bc6495
DM
533 * po/vi.po: Update from translation team.
534
6fc9048f
DM
535 * po/cs.po: Update from translation team.
536
a181b0d7
DM
537 * po/de.po: Update from translation team.
538 * po/eo.po: Likewise.
539 * po/nl.po: Likewise.
540
f70bfe80
SP
5412012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
542
3c8b4190
SP
543 [BZ #14246]
544 * manual/argp.texi (Argp Helper Functions): Move node to follow
545 Argp Parsing State.
546
f70bfe80
SP
547 [BZ #14872]
548 * manual/conf.texi (Limits on File System Capacity): Mention if
549 terminating null is included in the max size.
550
188f0adf
AJ
5512012-12-10 Andreas Jaeger <aj@suse.de>
552
553 * po/cs.po: Update from translation team.
554
56e7d3ad
SP
5552012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
556
557 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
558 void pointer and cast to uintptr_t.
559 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
560 path.
561 * sysdeps/s390/s390-64/memcpy.S: Likewise.
562 * sysdeps/s390/s390-64/memset.S: Likewise.
563
76f2d2ea 5642012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
565
566 [BZ #14833]
567 * menual/message.texi (Message Translation): Fix typos.
568 (Helper programs for gettext): Likewise.
569
67cbf9a2
AS
5702012-12-07 Andreas Schwab <schwab@linux-m68k.org>
571
572 [BZ #14898]
573 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
574 Change to -1.
575
682d0e9a
DM
5762012-12-07 David S. Miller <davem@davemloft.net>
577
578 * po/libc.pot: Update.
579
573cd484
RH
5802012-12-07 Richard Henderson <rth@redhat.com>
581
7e9da188 582 [BZ #10114]
573cd484
RH
583 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
584 normal/normal case to before the switch.
585 (_FP_DIV): Likewise.
586
e933a943
MF
5872012-12-06 Carlos O'Donell <carlos@systemhalted.org>
588 Mike Frysinger <vapier@gentoo.org>
589
590 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
591 check for __NR_fadvise64_64.
592
82123268
CM
5932012-12-06 Chris Metcalf <cmetcalf@tilera.com>
594
595 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
596 0, not just to plain "0" as a statement.
597 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
598 with cw.
599
d9814526
JM
6002012-12-06 Joseph Myers <joseph@codesourcery.com>
601
602 * NEWS: Use sourceware.org in Bugzilla URL.
603
7728c574
SP
6042012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
605
f16946dd
SP
606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
607 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
608
5704bbcb
SP
609 * stdio-common/tst-put-error.c (do_test): Add newline to the
610 padded test to ensure flush.
611
17aa0516
JL
6122012-12-05 Jeff Law <law@redhat.com>
613
614 * sunrpc/etc.rpc (fedfs_admin): Add entry.
615
363313b5
JM
6162012-12-05 Joseph Myers <joseph@codesourcery.com>
617
effbd42a
JM
618 * README: Don't refer to ports add-on as distributed separately.
619 Mention AArch64 in list of systems supported in the ports add-on.
620
87600365
JM
621 * LICENSES: Add more non-FSF copyright and license notices.
622
a0d7066a
JM
623 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
624 ((unused)).
625
66ca5a5b
JM
626 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
627
363313b5
JM
628 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
629 10000 as width of padded output.
630
b37984ad
JM
6312012-12-04 Joseph Myers <joseph@codesourcery.com>
632
9003570a
JM
633 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
634
b37984ad
JM
635 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
636 variable LX with __attribute__ ((unused)).
637 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
638 Likewise.
639 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
640 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
641 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
642 with __attribute__ ((unused)).
643
c8df52ec
DM
6442012-12-04 David S. Miller <davem@abraco.davemloft.net>
645
646 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
647
b3b099af
JM
6482012-12-04 Joseph Myers <joseph@codesourcery.com>
649
c33aa6e3
JM
650 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
651 (CFLAGS-nldbl-acos.c): New variable.
652 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
653 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
654 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
655 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
656 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
657 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
658 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
659 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
660 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
661 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
662 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
663 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
664 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
665 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
666 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
667 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
668 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
669 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
670 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
671 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
672 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
673 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
674 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
675 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
676 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
677 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
678 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
679 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
680 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
681 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
682 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
683 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
684 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
685 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
686 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
687 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
688 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
689 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
690 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
691 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
692 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
693 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
694 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
695 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
696 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
697 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
698 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
699 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
700 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
701 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
702 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
703 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
704 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
705 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
706 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
707 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
708 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
709 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
710 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
711 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
712 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
713 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
714 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
715 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
716 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
717 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
718 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
719 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
720 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
721 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
722 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
723 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
724 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
725 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
726 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
727 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
728 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
729 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
730 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
731 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
732 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
733 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
734 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
735 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
736 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
737 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
738 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
739 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
740 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
741 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
742 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
743 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
744 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
745 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
746 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
747 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
748 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
749
20f0018d
JM
750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
751 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
752
b3b099af
JM
753 [BZ #14914]
754 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
755 whole low double instead of just low 47 bits when splitting values
756 into two parts.
757
029264d1
AM
7582012-12-03 Allan McRae <allan@archlinux.org>
759
760 * manual/stdio.texi (Predefined Printf Handlers): Remove
761 @hsep and @vsep usage.
762
c9d6789e
MF
7632012-12-03 Mike Frysinger <vapier@gentoo.org>
764
765 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
766 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
767
4b7634a5
JL
7682012-12-03 Jeff Law <law@redhat.com>
769
770 * time/sys/time.h (settimeofday): Do not mark TV argument
771 as __nonnull.
772
eb6cbd24
MF
7732012-12-01 Mike Frysinger <vapier@gentoo.org>
774
775 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
776 when currently writing and seek to current position when not.
777 * libio/Makefile (tests): Remove bug-fclose1.
778 * libio/bug-fclose1.c: Delete.
779
f638872a
JM
7802012-12-01 Joseph Myers <joseph@codesourcery.com>
781
782 * manual/arith.texi (feenableexcept): Fix typo.
783 (fedisableexcept): Likewise.
784
48085d14
RM
7852012-11-30 Roland McGrath <roland@hack.frob.com>
786
787 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
788 second, differently-typed declaration, rather than a cast.
789
1a538b9f
SP
7902012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
791
792 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
793 * include/rpc/svc.h: ... here.
794
d07f2ff1 7952012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
796
797 [BZ #13013]
798 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
799 depending n and resplen2 to catch cases where answer
800 equals answerp2.
801
c93ec1f0
CD
8022012-11-29 Carlos O'Donell <carlos@systemhalted.org>
803
804 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
805 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
806
37db69de
MF
8072012-11-29 Mike Frysinger <vapier@gentoo.org>
808
809 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
810
e10c4e4f
RM
8112012-11-29 Roland McGrath <roland@hack.frob.com>
812
813 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
814
2af1b328
JL
8152012-11-28 Jeff Law <law@redhat.com>
816
817 [BZ #13761]
818 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
819 dataset_temporary. Track alloca usage into alloca_used.
820 If dataset is large allocate and release it via malloc/free.
821
111db5b1
FW
8222012-06-04 Florian Weimer <fweimer@redhat.com>
823
f06cc227 824 [BZ #14197]
111db5b1
FW
825 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
826
dd694abd
DM
8272012-11-28 David S. Miller <davem@davemloft.net>
828
829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
830
9984dd01
JM
8312012-11-28 Joseph Myers <joseph@codesourcery.com>
832
833 [BZ #14803]
834 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
835 of pi/2 rounded to nearest to 64 bits.
836 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
837 nearest to 64 bits.
838 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
839 bits.
840
14bc93a9
JL
8412012-11-28 Jeff Law <law@redhat.com>
842 Martin Osvald <mosvald@redhat.com>
843
844 [BZ #14889]
845 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
846 * sunrpc/svc.c: Include time.h.
847 (__svc_accept_failed): New function.
848 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
849 any reason other than EINTR, call __svc_accept_failed.
850 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
851 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
852
e3c6aa3a
AS
8532012-11-28 Andreas Schwab <schwab@suse.de>
854
855 * scripts/abilist.awk: Also handle indirect functions in .opd
856 section.
857
1bead169
JM
8582012-11-28 Joseph Myers <joseph@codesourcery.com>
859
860 [BZ #13881]
861 * sysdeps/x86/fpu/powl_helper.c: New file.
862 * sysdeps/x86/fpu/Makefile: Likewise.
863 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
864 (p3): New object.
865 (__ieee754_powl): Use __powl_helper for finite arguments except
866 integer exponents below 8.
867 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
868 (p3): New object.
869 (__ieee754_powl): Use __powl_helper for finite arguments except
870 integer exponents below 8.
871 * math/libm-test.inc (pow_test): Add more tests and enable some
872 previously disabled tests.
873 * sysdeps/i386/fpu/libm-test-ulps: Update.
874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
875
0817d63d
SP
8762012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
877 Carlos O'Donell <carlos_odonell@mentor.com>
878
879 * nss/makedb.c (is_prime): Assert that input is odd and greater
880 than 4. Note that fact in a comment too.
881 (next_prime): Add 4 to input.
882
de2fd463
SP
8832012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
884
885 [BZ #11741]
886 * libio/Makefile (tests): Add test case tst-fwrite-error.
887 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
888 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
889 * libio/tst-fwrite-error.c: New test case.
890
c515fb51
L
8912012-11-26 H.J. Lu <hongjiu.lu@intel.com>
892
893 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
894 before casting to void *.
895 * include/libc-internal.h (__pointer_type): New macro.
896 (__integer_if_pointer_type_sub): Likewise.
897 (__integer_if_pointer_type): Likewise.
898 (cast_to_integer): Likewise.
899 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
900 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
901 before casting to atomic64_t.
902 (atomic_exchange_acq): Likewise.
903 (__arch_exchange_and_add_body): Likewise.
904 (__arch_add_body): Likewise.
905 (atomic_add_negative): Likewise.
906 (atomic_add_zero): Likewise.
907
4cf77aa9
JM
9082012-11-26 Joseph Myers <joseph@codesourcery.com>
909
910 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
911 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
912 (add_fdes): Likewise.
913 (linear_search_fdes): Likewise.
914 (binary_search_unencoded_fdes): Likewise.
915
d260b3b4
AS
9162012-11-26 Andreas Schwab <schwab@linux-m68k.org>
917
918 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
919
67060746
AC
9202012-11-24 Adam Conrad <adconrad@0c3.net>
921
922 * configure.in: Autodetect C++ header directories.
923 * configure: Regenerated.
924
800938a1
MF
9252012-11-23 Mike Frysinger <vapier@gentoo.org>
926
927 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
928
4e6e34e6
AS
9292012-11-23 Andreas Schwab <schwab@linux-m68k.org>
930
931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
932
7c7feb47
JM
9332012-11-22 Joseph Myers <joseph@codesourcery.com>
934
7184dcdf
JM
935 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
936 LDBL_MANT_DIG == 106]: Disable some tests.
937 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
938 Likewise.
939 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
940 Likewise.
941
0a42601f
JM
942 [BZ #14871]
943 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
944 input for small inputs. Return +/- pi/2 for large inputs.
945 * math/libm-test.inc (atan_test): Add more tests.
946
79c9b9fe
JM
947 * sysdeps/generic/unwind-dw2-fde-glibc.c
948 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
949 __attribute__ ((unused)).
950
c60d3bf2
JM
951 [BZ #14645]
952 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
953 x * y if x and y are nonzero and z is zero.
954
ef1e0867
JM
955 [BZ #14811]
956 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
957 nonzero exponents with absolute value below 0x1p-117 to +/-
958 0x1p-117.
959
1468ded3
JM
960 [BZ #14869]
961 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
962 up arguments below 2**-450, not just those below 2**-500.
963 * math/libm-test.inc (hypot_test): Add another test.
964
8e27e3cc
JM
965 [BZ #14868]
966 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
967 Return a+b for ratio over 2**120, not 2**60.
968 * math/libm-test.inc (hypot_test): Add another test.
969
c9c0279b
JM
970 * math/libm-test.inc (clog_test): Use
971 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
972 (clog10_test): Likewise.
973
7c7feb47
JM
974 [BZ #6778]
975 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
976
fff1530e
AS
9772012-11-22 Andreas Schwab <schwab@suse.de>
978
979 * sysdeps/i386/fpu/libm-test-ulps: Update.
980
94558d30
PT
9812012-11-22 Pino Toscano <toscano.pino@tiscali.it>
982
983 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
984 printf output with newline.
985
7e1be741
L
9862012-11-21 H.J. Lu <hongjiu.lu@intel.com>
987
6bfea974
L
988 [BZ #14865]
989 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
990 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
991 -z nodlopen, -z initfirst and -z execstack support.
992 * configure: Regenerated.
993
7e1be741
L
994 * elf/elf.h (DF_1_NODIRECT): New macro.
995 (DF_1_IGNMULDEF): Likewise.
996 (DF_1_NOKSYMS): Likewise.
997 (DF_1_NOHDR): Likewise.
998 (DF_1_EDITED): Likewise.
999 (DF_1_NORELOC): Likewise.
1000 (DF_1_SYMINTPOSE): Likewise.
1001 (DF_1_GLOBAUDIT): Likewise.
1002 (DF_1_SINGLETON): Likewise.
1003 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1004 DT_1_SUPPORTED_MASK bits.
1005 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1006
105ce2ce
CD
10072012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1008
1009 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1010
123be9de
TS
10112012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1012
d072f3f7
TS
1013 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1014 macro.
1015
123be9de
TS
1016 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1017 (sendmmsg): Move declarations...
1018 * socket/sys/socket.h: ... here.
1019 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1020 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1021 include it from...
1022 * socket/recvmmsg.c: ... this new file.
1023 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1024 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1025 definition of __sendmmsg hidden.
1026 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1027 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1028 Move ENOSYS stub into and include it from...
1029 * socket/sendmmsg.c: ... this new file.
1030 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1031 (sysdep_routines): Move recvmmsg and sendmmsg...
1032 * socket/Makefile (routines): ... here.
1033 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1034 (GLIBC_PRIVATE): Add __sendmmsg.
1035 * include/sys/socket.h (__sendmmsg): Add declarations.
1036 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1037 sendmmsg.
1038
cf9a5d18
JM
10392012-11-20 Joseph Myers <joseph@codesourcery.com>
1040
1041 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1042 variable I1 with __attribute__ ((unused)).
1043 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1044
ecd4caf9
JM
10452012-11-19 Joseph Myers <joseph@codesourcery.com>
1046
be14d48f
JM
1047 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1048 DUMMY variables with __attribute__ ((unused)).
1049
ecd4caf9
JM
1050 * bits/byteswap.h: Include <bits/types.h>.
1051 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1052
986cab95
PT
10532012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1054
1055 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1056 string_t. Do not manually set errno.
1057 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1058 length with __strnlen. Make sure to both set errno and return it on
1059 failure.
1060
6d33cc9d
DM
10612012-11-19 David S. Miller <davem@davemloft.net>
1062
1063 With help from Joseph Myers.
1064 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1065 very large arguments properly.
1066 * math/libm-test.inc (atan_test): New tests.
1067 (atan2_test): New tests.
1068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1069 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1070
ee663277
JM
10712012-11-19 Joseph Myers <joseph@codesourcery.com>
1072
877f2d8e
JM
1073 [BZ #14856]
1074 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1075 Define to 3.
1076
116fc08a
JM
1077 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1078 [POSIX] (EADDRNOTAVAIL): Likewise.
1079 [POSIX] (EAFNOSUPPORT): Likewise.
1080 [POSIX] (EALREADY): Likewise.
1081 [POSIX] (ECONNABORTED): Likewise.
1082 [POSIX] (ECONNREFUSED): Likewise.
1083 [POSIX] (ECONNRESET): Likewise.
1084 [POSIX] (EDESTADDRREQ): Likewise.
1085 [POSIX] (EDQUOT): Likewise.
1086 [POSIX] (EHOSTUNREACH): Likewise.
1087 [POSIX] (EIDRM): Likewise.
1088 [POSIX] (EISCONN): Likewise.
1089 [POSIX] (ELOOP): Likewise.
1090 [POSIX] (EMULTIHOP): Likewise.
1091 [POSIX] (ENETDOWN): Likewise.
1092 [POSIX] (ENETUNREACH): Likewise.
1093 [POSIX] (ENOBUFS): Likewise.
1094 [POSIX] (ENODATA): Likewise.
1095 [POSIX] (ENOLINK): Likewise.
1096 [POSIX] (ENOMSG): Likewise.
1097 [POSIX] (ENOPROTOOPT): Likewise.
1098 [POSIX] (ENOSR): Likewise.
1099 [POSIX] (ENOSTR): Likewise.
1100 [POSIX] (ENOTCONN): Likewise.
1101 [POSIX] (ENOTSOCK): Likewise.
1102 [POSIX] (EOPNOTSUPP): Likewise.
1103 [POSIX] (EOVERFLOW): Likewise.
1104 [POSIX] (EPROTO): Likewise.
1105 [POSIX] (EPROTONOSUPPORT): Likewise.
1106 [POSIX] (EPROTOTYPE): Likewise.
1107 [POSIX] (ESTALE): Likewise.
1108 [POSIX] (ETIME): Likewise.
1109 [POSIX] (ETXTBSY): Likewise.
1110 [POSIX] (EWOULDBLOCK): Likewise.
1111 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1112 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1113 [POSIX] (SEEK_CUR): Likewise.
1114 [POSIX] (SEEK_END): Likewise.
1115 [POSIX || UNIX98] (mode_t): Do not require.
1116 [POSIX] (off_t): Likewise.
1117 [POSIX] (pid_t): Likewise.
1118 [POSIX] (sys/stat.h): Do not allow header.
1119 [POSIX] (unistd.h): Likewise.
1120 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1121 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1122 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1123 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1124 require.
1125 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1126 sigevent): Specify elements.
1127 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1128 entry.
1129 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1130 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1131
a483863f
JM
1132 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1133 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1134 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1135 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1136 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1137 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1138 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1139 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1140 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1141 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1142 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1143 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1144 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1145 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1146 Likewise.
1147 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1148 Likewise.
1149 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1150 Likewise.
1151 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1152 Likewise.
1153 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1154 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1155 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1156 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1157 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1158 Specify lower bound on value.
1159 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1160 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1161 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1162 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1163 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1164 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1165 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1166 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1167 value.
1168 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1169 as optional.
1170 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1171 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1172 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1173 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1174 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1175 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1176 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1177 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1178 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1179 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1180 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1181 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1182 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1183 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1184 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1185 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1186 entry.
1187 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1188 optional.
1189 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1190 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1191 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1192 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1193 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1194 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1195 Likewise.
1196 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1197 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1198 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1199 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1200 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1201 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1202 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1203 as optional.
1204 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1205 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1206 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1207 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1208 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1209 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1210 specify as optional.
1211 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1212 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1213 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1214 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1215 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1216 [XPG3] (NL_LANGMAX): Likewise.
1217 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1218 [POSIX || XPG3] (NL_NMAX): Likewise.
1219 [POSIX || XPG3] (NL_SETMAX): Likewise.
1220 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1221 [XPG3] (NZERO): Likewise.
1222 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1223 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1224 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1225 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1226 (REG_ERANGE): Expect.
1227 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1228 optional-constant.
1229 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1230 Use (void) in prototype.
1231 [POSIX] (*_t): Allow.
1232 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1233 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1234 (WRDE_BADVAL): Expect.
1235
5ba924e3
JM
1236 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1237 expect.
1238 [XPG3 || XPG4] (O_RSYNC): Likewise.
1239 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1240 Likewise.
1241 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1242 [XPG3 || XPG4] (sigqueue): Likewise.
1243 [XPG3 || XPG4] (sigtimedwait): Likewise.
1244 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1245 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1246 [XPG3 || XPG4] (vsnprintf): Likewise.
1247 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1248 Likewise.
1249 [XPG3 || XPG4] (blksize_t): Likewise.
1250 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1251 Likewise.
1252 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1253 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1254 [XPG3 || XPG4] (struct itimerspec): Likewise.
1255 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1256 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1257 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1258 [XPG3 || XPG4] (clockid_t): Likewise.
1259 [XPG3 || XPG4] (timer_t): Likewise.
1260 [XPG3 || XPG4] (clock_getres): Likewise.
1261 [XPG3 || XPG4] (clock_gettime): Likewise.
1262 [XPG3 || XPG4] (clock_settime): Likewise.
1263 [XPG3 || XPG4] (nanosleep): Likewise.
1264 [XPG3 || XPG4] (timer_create): Likewise.
1265 [XPG3 || XPG4] (timer_delete): Likewise.
1266 [XPG3 || XPG4] (timer_gettime): Likewise.
1267 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1268 [XPG3 || XPG4] (timer_settime): Likewise.
1269 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1270 [XPG3 || XPG4] (getlogin_r): Likewise.
1271 [XPG3 || XPG4] (pread): Likewise.
1272 [XPG3 || XPG4] (pthread_atfork): Likewise.
1273 [XPG3 || XPG4] (pwrite): Likewise.
1274
ee663277
JM
1275 [BZ #14835]
1276 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1277 <bits/siginfo.h>.
1278
942caa16
PT
12792012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1280
e19af380
PT
1281 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1282 finalizing MALLSTREAM.
1283
942caa16
PT
1284 * sysdeps/mach/hurd/syncfs.c: New file.
1285
cfde9b46
SP
12862012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1287
1288 [BZ #14719]
1289 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1290 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1291 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1292 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1293 (_nss_dns_gethostbyname4_r): Likewise.
1294 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1295 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1296
f6da27e5
PH
12972012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1298
1299 [BZ #13763]
1300 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1301
6665d4a2
SM
13022012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1303
1f51ee92
SM
1304 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1305 * elf/cache.c (print_entry): Print ",AArch64" for
1306 FLAG_AARCH64_LIB64
1307
6665d4a2
SM
1308 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1309 * elf/cache.c (print_entry): Print ",hard-float" for
1310 FLAG_ARM_LIBHF.
1311
05b227bd
DM
13122012-11-18 David S. Miller <davem@davemloft.net>
1313
1314 With help from Joseph Myers.
1315 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1316 cutoff to 2**-13.
1317 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1318 cutoff to 2**-25.
1319 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1320 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1321 small.
1322 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1323 * math/libm-test.inc (y0_test): New tests.
1324 (y1_test): New tests.
1325 * sysdeps/i386/fpu/libm-test-ulps: Update.
1326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1328
786b0b67
AS
13292012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1330
1331 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1332 64-bit targets.
1333 * configure: Regenerated.
1334
8e18b86d
DM
13352012-11-17 David S. Miller <davem@davemloft.net>
1336
1337 [BZ #14811]
1338 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1339 nonzero exponents with absolute value below 0x1p-128 to +/-
1340 0x1p-128.
1341
531f1ae0
JM
13422012-11-17 Joseph Myers <joseph@codesourcery.com>
1343
12df29e2
JM
1344 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1345
150dc1a0
JM
1346 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1347
531f1ae0
JM
1348 * posix/getconf-speclist.c: New file.
1349 * posix/posix-envs.def: Likewise.
1350 * posix/confstr.c (START_ENV_GROUP): New macro.
1351 (END_ENV_GROUP): Likewise.
1352 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1353 (KNOWN_PRESENT_ENV_STRING): Likewise.
1354 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1355 (UNKNOWN_ENVIRONMENT): Likewise.
1356 (confstr): Include posix-envs.def instead of handling
1357 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1358 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1359 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1360 (END_ENV_GROUP): Likewise.
1361 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1362 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1363 (UNKNOWN_ENVIRONMENT): Likewise.
1364 (__sysconf): Include posix-envs.def instead of handling associated
1365 cases directly here.
1366 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1367 preprocessing getconf-speclist.c rather than running getconf or
1368 generating empty file.
1369
a93f9cbc
PT
13702012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1371
1372 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1373
d64d9f87
AL
13742012-11-16 Andrej Lajovic <natrij@gmail.com>
1375
1376 [BZ #14672]
1377 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1378
447885eb
DM
13792012-11-16 David S. Miller <davem@davemloft.net>
1380
1381 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1382 smaller than LDBL_EPSILON/2.0L, just return xm1.
1383
bcbf9830
L
13842012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1385
1386 * elf/tst-array1.c (init): Set constructor priority to 1000.
1387 (fini): Set destructor priority to 1000.
1388 * elf/tst-array2dep.c: Likewise.
1389
2b766585
SP
13902012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1391
1392 [BZ #11741]
1393 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1394 (_IO_new_file_xsputn): Also return EOF if none of the input
1395 data was written when overflow failed.
1396 * libio/iopadn.c (_IO_padn): Likewise.
1397 * libio/iowpadn.c (_IO_wpadn): Likewise.
1398 * stdio-common/tst-put-error.c: Add copyright notice.
1399 (do_test): Add case for printing padded string.
1400 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1401 _IO_padn returned error.
1402 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1403 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1404 return EOF.
1405
b1848fde
SP
14062012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1407
1408 * libio/libioP.h: Add comment note that the references to C++
1409 bits are now obsolete.
1410
2fd89785
MS
14112012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1412
1413 * math/libm-test.inc (check_complex): Use asprintf.
1414
e3ea5409
JM
14152012-11-14 Joseph Myers <joseph@codesourcery.com>
1416
1417 * debug/pcprofiledump.c (print_version): Update copyright year.
1418 * malloc/memusagestat.c (print_version): Likewise.
1419
2e64d265
L
14202012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1421
1422 [BZ #14831]
1423 * elf/Makefile (tests): Add tst-audit8.
1424 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1425 ($(objpfx)tst-audit8.out): New target.
1426 (tst-audit8-ENV): New variable.
1427 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1428 audit if l_reloc_result is NULL.
1429 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1430 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1431 * elf/tst-audit8.c: New file.
1432
c485e4d2
MS
14332012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1434
1435 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1436 * misc/Makefile (CFLAGS-select.c): Define.
1437 * posix/Makefile (CFLAGS-pause.c): Define.
1438
3a0d900a
DM
14392012-11-13 David S. Miller <davem@davemloft.net>
1440
1441 * crypt/Makefile: Move test targets after toplevel Rules
1442 inclusion. Grab any necessary sysdep routines when linking.
1443 * crypt/md5.c (md5_process_block): Remove define, we will always
1444 name it __md5_process_block.
1445 (md5_finish_ctx): Update md5_process_block call.
1446 (md5_stream): Likewise.
1447 (md5_process_bytes): Likewise.
1448 (md5_process_block): Rename to __md5_process_block and move to ...
1449 * crypt/md5-block.c: ... here.
1450 * crypt/sha256.c (sha256_process_block): Move to ...
1451 * crypt/sha256-block.c: ... here.
1452 * crypt/sha512.c (sha512_process_block): Move to ...
1453 * crypt/sha512-block.c: ... here.
1454 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1455 path.
1456 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1457 * sysdeps/sparc/sparc64/multiarch/Makefile
1458 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1459 crypt subdir.
1460 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1461 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1462 multiarch changes.
1463 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1464 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1465 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1466 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1467 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1468 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1469 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1470 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1471 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1472 file.
1473 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1474 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1475 file.
1476 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1477
8ca89318
JM
14782012-11-13 Joseph Myers <joseph@codesourcery.com>
1479
e27d476a
JM
1480 * timezone/tzselect.ksh: Update from tzcode git revision
1481 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1482 * timezone/zdump.c: Likewise.
1483 * timezone/zic.c: Likewise.
1484 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1485 in TZVERSION setting, not $(PKGVERSION).
1486 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1487 REPORT_BUGS_TO settings.
1488
8ca89318
JM
1489 [BZ #14838]
1490 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1491 macro.
1492
47594329
MS
14932012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1494
1495 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1496 detection to immediately after _FP_ROUND().
1497 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1498 bits are 0.
1499
640ac3f1
DM
15002012-11-11 David S. Miller <davem@davemloft.net>
1501
1502 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1503 inttypes.h
1504 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1505 __close rather than their public counterparts.
1506
3d2577bb
JM
15072012-11-10 Joseph Myers <joseph@codesourcery.com>
1508
1509 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1510 file.
1511 [UNIX98] (sem_timedwait): Do not expect.
1512 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1513 [XPG4 || UNIX98] (sockatmark): Do not expect.
1514 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1515 (clock_getcpuclockid): Do not expect.
1516 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1517 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1518 Do not expect.
1519 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1520 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1521 [UNIX98] (vwscanf): Likewise.
1522 [UNIX98] (vswscanf): Likewise.
1523
fb1ae1ee
JM
15242012-11-09 Joseph Myers <joseph@codesourcery.com>
1525
9ec6f8bd
JM
1526 * timezone/version.h: Remove file.
1527 * timezone/README: Do not refer to version.h.
1528 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1529 $(objpfx)version.h.
1530 ($(objpfx)zdump.o): Likewise.
c3f81911 1531 ($(objpfx)version.h): New target.
9ec6f8bd 1532
0aa8f8a1
JM
1533 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1534 2012i.
1535 * timezone/README: Don't mention modification to tzselect.ksh.
1536 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1537 work on unmodified tzselect.ksh. Substitute version numbers in
1538 tzselect.ksh.
1539
4e87147f
JM
1540 * Makefile (format-me): Remove.
1541 (INSTALL): Adjust indentation. Use commands directly instead of
1542 using $(format-me).
1543
8b748aed
JM
1544 * aclocal.m4 (ACX_PKGVERSION): New macro.
1545 (ACX_BUGURL): Likewise.
1546 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1547 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1548 (REPORT_BUGS_TO): Likewise.
1549 * configure: Regenerated.
1550 * config.h.in (PKGVERSION): New macro.
1551 (REPORT_BUGS_TO): Likewise.
1552 * config.make.in (PKGVERSION): New variable.
1553 (PKGVERSION_TEXI): Likewise.
1554 (REPORT_BUGS_TO): Likewise.
1555 (REPORT_BUGS_TEXI): Likewise.
1556 * Makefile (format-me): Use -I$(common-objpfx)manual.
1557 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1558 ($(common-objpfx)manual/%): New target.
1559 (manual/%): Remove target.
1560 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1561 (print_version): Use PKGVERSION.
1562 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1563 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1564 and REPORT_BUGS_TO.
1565 ($(objpfx)xtrace): Likewise.
1566 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1567 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1568 (print_version): Use PKGVERSION.
1569 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1570 (do_version): Use PKGVERSION.
1571 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1572 REPORT_BUGS_TO.
1573 (common-ldd-rewrite): Likewise.
1574 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1575 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1576 (print_version): Use PKGVERSION.
1577 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1578 * elf/pldd.c (argp_program_bug_address): Remove variable.
1579 (more_help): New function.
1580 (argp): Use more_help.
1581 (print_version): Use PKGVERSION.
1582 * elf/sln.c (main): Use PKGVERSION.
1583 (usage): Use REPORT_BUGS_TO.
1584 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1585 (top level): Use PKGVERSION.
1586 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1587 (print_version): Use PKGVERSION.
1588 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1589 (print_version): Use PKGVERSION.
1590 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1591 (print_version): Use PKGVERSION.
1592 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1593 (print_version): Use PKGVERSION.
1594 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1595 (print_version): Use PKGVERSION.
1596 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1597 (print_version): Use PKGVERSION.
1598 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1599 and BUGURL.
1600 ($(objpfx)memusage): Likewise.
1601 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1602 (do_version): Use PKGVERSION.
1603 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1604 (print_version): Use PKGVERSION.
1605 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1606 ($PKGVERSION): New variable.
1607 ($REPORT_BUGS_TO): Likewise.
1608 (usage): Use $REPORT_BUGS_TO.
1609 (top level): Use $PKGVERSION.
1610 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1611 ($(objpfx)pkgvers.texi): New rule.
1612 ($(objpfx)stamp-pkgvers): Likewise.
1613 * manual/install.texi: Include pkgvers.texi.
1614 (--with-pkgversion): Document new configure option.
1615 (--with-bugurl): Likewise.
1616 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1617 than necessarily for this particular distribution. Use
1618 REPORT_BUGS_TO for where to report bugs.
1619 * INSTALL: Regenerated.
1620 * manual/libc.texinfo: Include pkgvers.texi.
1621 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1622 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1623 (print_version): Use PKGVERSION.
1624 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1625 (print_version): Use PKGVERSION.
1626 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1627 (print_version): Use PKGVERSION.
1628 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1629 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1630 macro.
1631 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1632 (print_version): Use PKGVERSION.
1633 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1634 (print_version): Use PKGVERSION.
1635 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1636 and PKGVERSION.
1637
92e4b6a9
JM
1638 * timezone/checktab.awk: Update from tzcode 2012i.
1639 * timezone/ialloc.c: Likewise.
1640 * timezone/private.h: Likewise.
1641 * timezone/scheck.c: Likewise.
1642 * timezone/tzfile.h: Likewise.
1643 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1644 (TZVERSION): Hardcode tzcode version number.
1645 * timezone/zdump.c: Update from tzcode 2012i.
1646 * timezone/zic.c: Likewise.
1647 * timezone/version.h: New file.
1648 * timezone/README: Describe version.h. Update upstream location.
1649
9bde902c
JM
1650 [BZ #14824]
1651 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1652 (mktemp): Enable declaration.
1653 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1654 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1655 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1656 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1657 Likewise.
1658 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1659 Likewise.
1660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1661 Likewise.
1662 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1663 Likewise.
1664 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1665 Likewise.
1666 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1667 Likewise.
1668
fb1ae1ee
JM
1669 [BZ #14821]
1670 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1671 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1672 for copies of such integer values.
1673 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1674 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1675
2c1adbcb
AJ
16762012-11-09 Andreas Jaeger <aj@suse.de>
1677
1678 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1679 definitions and declarations that are provided by
1680 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1681
d0f8457e
AK
16822012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1683
3a235abb 1684 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
1685 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1686 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1687 definition.
1688
57241e26
MS
16892012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1690
1691 * elf/elf.h: Update comment before AArch64 relocations.
1692
60e8270d
DM
16932012-11-07 David S. Miller <davem@davemloft.net>
1694
1695 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1696 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1697 (__start_context): Declare.
1698 (__makecontext_ret): Delete.
1699 (__makecontext): Hook up __start_context instead of
1700 __makecontext_ret.
1701 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1702 (sysdep_routines): Add __start_context when in stdlib.
1703
0fbb0fbc
JM
17042012-11-07 Joseph Myers <joseph@codesourcery.com>
1705
1706 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1707 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1708 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1709 hardcoded "nm".
1710 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1711 (READELF): New variable. Use it instead of hardcoded "readelf".
1712
eb48db7e
L
17132012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1714
1715 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1716 * sysdeps/x86/Makefile: Here.
1717 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1718 * sysdeps/x86/tst-xmmymm.sh: This.
1719
05bcf62a
JM
17202012-11-07 Joseph Myers <joseph@codesourcery.com>
1721
c4b6cf53
JM
1722 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1723 expectations.
1724 [UNIX98] (pthread_barrier_t): Do not expect.
1725 [UNIX98] (pthread_barrierattr_t): Likewise.
1726 [UNIX98] (pthread_spinlock_t): Likewise.
1727 [UNIX98] (pthread_barrier_destroy): Likewise.
1728 [UNIX98] (pthread_barrier_init): Likewise.
1729 [UNIX98] (pthread_barrier_wait): Likewise.
1730 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1731 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1732 [UNIX98] (pthread_barrierattr_init): Likewise.
1733 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1734 [UNIX98] (pthread_getcpuclockid): Likewise.
1735 [UNIX98] (pthread_mutex_timedlock): Likewise.
1736 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1737 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1738 [UNIX98] (pthread_sigmask): Likewise.
1739 [UNIX98] (pthread_spin_destroy): Likewise.
1740 [UNIX98] (pthread_spin_init): Likewise.
1741 [UNIX98] (pthread_spin_lock): Likewise.
1742 [UNIX98] (pthread_spin_trylock): Likewise.
1743 [UNIX98] (pthread_spin_unlock): Likewise.
1744 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1745 Do not expect.
1746 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1747 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1748 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1749 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1750 [XPG3 || XPG4] (pthread_key_t): Likewise.
1751 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1752 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1753 [XPG3 || XPG4] (pthread_once_t): Likewise.
1754 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1755 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1756 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1757 [XPG3 || XPG4] (pthread_t): Likewise.
1758
cbe6e120
JM
1759 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1760 not expect.
1761 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1762
1b126443
JM
1763 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1764 Change function return type to int.
1765
b961a573
JM
1766 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1767 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1768 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1769 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1770 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1771 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1772 [!POSIX] (posix_madvise): Likewise.
1773 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1774 && !UNIX98].
1775 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1776 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1777 (mode_t): Likewise.
1778 (posix_mem_offset): Likewise.
1779 (posix_typed_mem_get_info): Likewise.
1780 (posix_typed_mem_open): Likewise.
1781
9e188909
JM
1782 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1783 Change condition to [XOPEN2K8].
1784
05bcf62a
JM
1785 * conform/conformtest.pl: Preprocess allow-header data with -x c
1786 instead of from stdin.
1787 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1788 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1789 [C99-based standards] (cerfc): Likewise.
1790 [C99-based standards] (cexp2): Likewise.
1791 [C99-based standards] (cexpm1): Likewise.
1792 [C99-based standards] (clog10): Likewise.
1793 [C99-based standards] (clog1p): Likewise.
1794 [C99-based standards] (clog2): Likewise.
1795 [C99-based standards] (clgamma): Likewise.
1796 [C99-based standards] (ctgamma): Likewise.
1797 [C99-based standards] (cerff): Likewise.
1798 [C99-based standards] (cerfcf): Likewise.
1799 [C99-based standards] (cexp2f): Likewise.
1800 [C99-based standards] (cexpm1f): Likewise.
1801 [C99-based standards] (clog10f): Likewise.
1802 [C99-based standards] (clog1pf): Likewise.
1803 [C99-based standards] (clog2f): Likewise.
1804 [C99-based standards] (clgammaf): Likewise.
1805 [C99-based standards] (ctgammaf): Likewise.
1806 [C99-based standards] (cerfl): Likewise.
1807 [C99-based standards] (cerfcl): Likewise.
1808 [C99-based standards] (cexp2l): Likewise.
1809 [C99-based standards] (cexpm1l): Likewise.
1810 [C99-based standards] (clog10l): Likewise.
1811 [C99-based standards] (clog1pl): Likewise.
1812 [C99-based standards] (clog2l): Likewise.
1813 [C99-based standards] (clgammal): Likewise.
1814 [C99-based standards] (ctgammal): Likewise.
1815 * conform/data/inttypes.h-data [C99-based standards]: Include
1816 stdint.h-data. Remove all expectations for stdint.h contents.
1817 [C99-based standards] (PRI*): Do not allow.
1818 [C99-based standards] (SCN*): Likewise.
1819 [C99-based standards] (*_t): Likewise.
1820 [C99-based-standards] (PRId8): Expect macro.
1821 [C99-based-standards] (PRIi8): Likewise.
1822 [C99-based-standards] (PRIo8): Likewise.
1823 [C99-based-standards] (PRIu8): Likewise.
1824 [C99-based-standards] (PRIx8): Likewise.
1825 [C99-based-standards] (PRIX8): Likewise.
1826 [C99-based-standards] (SCNd8): Likewise.
1827 [C99-based-standards] (SCNi8): Likewise.
1828 [C99-based-standards] (SCNo8): Likewise.
1829 [C99-based-standards] (SCNu8): Likewise.
1830 [C99-based-standards] (SCNx8): Likewise.
1831 [C99-based-standards] (PRIdLEAST8): Likewise.
1832 [C99-based-standards] (PRIiLEAST8): Likewise.
1833 [C99-based-standards] (PRIoLEAST8): Likewise.
1834 [C99-based-standards] (PRIuLEAST8): Likewise.
1835 [C99-based-standards] (PRIxLEAST8): Likewise.
1836 [C99-based-standards] (PRIXLEAST8): Likewise.
1837 [C99-based-standards] (SCNdLEAST8): Likewise.
1838 [C99-based-standards] (SCNiLEAST8): Likewise.
1839 [C99-based-standards] (SCNoLEAST8): Likewise.
1840 [C99-based-standards] (SCNuLEAST8): Likewise.
1841 [C99-based-standards] (SCNxLEAST8): Likewise.
1842 [C99-based-standards] (PRIdFAST8): Likewise.
1843 [C99-based-standards] (PRIiFAST8): Likewise.
1844 [C99-based-standards] (PRIoFAST8): Likewise.
1845 [C99-based-standards] (PRIuFAST8): Likewise.
1846 [C99-based-standards] (PRIxFAST8): Likewise.
1847 [C99-based-standards] (PRIXFAST8): Likewise.
1848 [C99-based-standards] (SCNdFAST8): Likewise.
1849 [C99-based-standards] (SCNiFAST8): Likewise.
1850 [C99-based-standards] (SCNoFAST8): Likewise.
1851 [C99-based-standards] (SCNuFAST8): Likewise.
1852 [C99-based-standards] (SCNxFAST8): Likewise.
1853 [C99-based-standards] (PRId16): Likewise.
1854 [C99-based-standards] (PRIi16): Likewise.
1855 [C99-based-standards] (PRIo16): Likewise.
1856 [C99-based-standards] (PRIu16): Likewise.
1857 [C99-based-standards] (PRIx16): Likewise.
1858 [C99-based-standards] (PRIX16): Likewise.
1859 [C99-based-standards] (SCNd16): Likewise.
1860 [C99-based-standards] (SCNi16): Likewise.
1861 [C99-based-standards] (SCNo16): Likewise.
1862 [C99-based-standards] (SCNu16): Likewise.
1863 [C99-based-standards] (SCNx16): Likewise.
1864 [C99-based-standards] (PRIdLEAST16): Likewise.
1865 [C99-based-standards] (PRIiLEAST16): Likewise.
1866 [C99-based-standards] (PRIoLEAST16): Likewise.
1867 [C99-based-standards] (PRIuLEAST16): Likewise.
1868 [C99-based-standards] (PRIxLEAST16): Likewise.
1869 [C99-based-standards] (PRIXLEAST16): Likewise.
1870 [C99-based-standards] (SCNdLEAST16): Likewise.
1871 [C99-based-standards] (SCNiLEAST16): Likewise.
1872 [C99-based-standards] (SCNoLEAST16): Likewise.
1873 [C99-based-standards] (SCNuLEAST16): Likewise.
1874 [C99-based-standards] (SCNxLEAST16): Likewise.
1875 [C99-based-standards] (PRIdFAST16): Likewise.
1876 [C99-based-standards] (PRIiFAST16): Likewise.
1877 [C99-based-standards] (PRIoFAST16): Likewise.
1878 [C99-based-standards] (PRIuFAST16): Likewise.
1879 [C99-based-standards] (PRIxFAST16): Likewise.
1880 [C99-based-standards] (PRIXFAST16): Likewise.
1881 [C99-based-standards] (SCNdFAST16): Likewise.
1882 [C99-based-standards] (SCNiFAST16): Likewise.
1883 [C99-based-standards] (SCNoFAST16): Likewise.
1884 [C99-based-standards] (SCNuFAST16): Likewise.
1885 [C99-based-standards] (SCNxFAST16): Likewise.
1886 [C99-based-standards] (PRId32): Likewise.
1887 [C99-based-standards] (PRIi32): Likewise.
1888 [C99-based-standards] (PRIo32): Likewise.
1889 [C99-based-standards] (PRIu32): Likewise.
1890 [C99-based-standards] (PRIx32): Likewise.
1891 [C99-based-standards] (PRIX32): Likewise.
1892 [C99-based-standards] (SCNd32): Likewise.
1893 [C99-based-standards] (SCNi32): Likewise.
1894 [C99-based-standards] (SCNo32): Likewise.
1895 [C99-based-standards] (SCNu32): Likewise.
1896 [C99-based-standards] (SCNx32): Likewise.
1897 [C99-based-standards] (PRIdLEAST32): Likewise.
1898 [C99-based-standards] (PRIiLEAST32): Likewise.
1899 [C99-based-standards] (PRIoLEAST32): Likewise.
1900 [C99-based-standards] (PRIuLEAST32): Likewise.
1901 [C99-based-standards] (PRIxLEAST32): Likewise.
1902 [C99-based-standards] (PRIXLEAST32): Likewise.
1903 [C99-based-standards] (SCNdLEAST32): Likewise.
1904 [C99-based-standards] (SCNiLEAST32): Likewise.
1905 [C99-based-standards] (SCNoLEAST32): Likewise.
1906 [C99-based-standards] (SCNuLEAST32): Likewise.
1907 [C99-based-standards] (SCNxLEAST32): Likewise.
1908 [C99-based-standards] (PRIdFAST32): Likewise.
1909 [C99-based-standards] (PRIiFAST32): Likewise.
1910 [C99-based-standards] (PRIoFAST32): Likewise.
1911 [C99-based-standards] (PRIuFAST32): Likewise.
1912 [C99-based-standards] (PRIxFAST32): Likewise.
1913 [C99-based-standards] (PRIXFAST32): Likewise.
1914 [C99-based-standards] (SCNdFAST32): Likewise.
1915 [C99-based-standards] (SCNiFAST32): Likewise.
1916 [C99-based-standards] (SCNoFAST32): Likewise.
1917 [C99-based-standards] (SCNuFAST32): Likewise.
1918 [C99-based-standards] (SCNxFAST32): Likewise.
1919 [C99-based-standards] (PRId64): Likewise.
1920 [C99-based-standards] (PRIi64): Likewise.
1921 [C99-based-standards] (PRIo64): Likewise.
1922 [C99-based-standards] (PRIu64): Likewise.
1923 [C99-based-standards] (PRIx64): Likewise.
1924 [C99-based-standards] (PRIX64): Likewise.
1925 [C99-based-standards] (SCNd64): Likewise.
1926 [C99-based-standards] (SCNi64): Likewise.
1927 [C99-based-standards] (SCNo64): Likewise.
1928 [C99-based-standards] (SCNu64): Likewise.
1929 [C99-based-standards] (SCNx64): Likewise.
1930 [C99-based-standards] (PRIdLEAST64): Likewise.
1931 [C99-based-standards] (PRIiLEAST64): Likewise.
1932 [C99-based-standards] (PRIoLEAST64): Likewise.
1933 [C99-based-standards] (PRIuLEAST64): Likewise.
1934 [C99-based-standards] (PRIxLEAST64): Likewise.
1935 [C99-based-standards] (PRIXLEAST64): Likewise.
1936 [C99-based-standards] (SCNdLEAST64): Likewise.
1937 [C99-based-standards] (SCNiLEAST64): Likewise.
1938 [C99-based-standards] (SCNoLEAST64): Likewise.
1939 [C99-based-standards] (SCNuLEAST64): Likewise.
1940 [C99-based-standards] (SCNxLEAST64): Likewise.
1941 [C99-based-standards] (PRIdFAST64): Likewise.
1942 [C99-based-standards] (PRIiFAST64): Likewise.
1943 [C99-based-standards] (PRIoFAST64): Likewise.
1944 [C99-based-standards] (PRIuFAST64): Likewise.
1945 [C99-based-standards] (PRIxFAST64): Likewise.
1946 [C99-based-standards] (PRIXFAST64): Likewise.
1947 [C99-based-standards] (SCNdFAST64): Likewise.
1948 [C99-based-standards] (SCNiFAST64): Likewise.
1949 [C99-based-standards] (SCNoFAST64): Likewise.
1950 [C99-based-standards] (SCNuFAST64): Likewise.
1951 [C99-based-standards] (SCNxFAST64): Likewise.
1952 [C99-based-standards] (PRIdMAX): Likewise.
1953 [C99-based-standards] (PRIiMAX): Likewise.
1954 [C99-based-standards] (PRIoMAX): Likewise.
1955 [C99-based-standards] (PRIuMAX): Likewise.
1956 [C99-based-standards] (PRIxMAX): Likewise.
1957 [C99-based-standards] (PRIXMAX): Likewise.
1958 [C99-based-standards] (SCNdMAX): Likewise.
1959 [C99-based-standards] (SCNiMAX): Likewise.
1960 [C99-based-standards] (SCNoMAX): Likewise.
1961 [C99-based-standards] (SCNuMAX): Likewise.
1962 [C99-based-standards] (SCNxMAX): Likewise.
1963 [C99-based-standards] (PRIdPTR): Likewise.
1964 [C99-based-standards] (PRIiPTR): Likewise.
1965 [C99-based-standards] (PRIoPTR): Likewise.
1966 [C99-based-standards] (PRIuPTR): Likewise.
1967 [C99-based-standards] (PRIxPTR): Likewise.
1968 [C99-based-standards] (PRIXPTR): Likewise.
1969 [C99-based-standards] (SCNdPTR): Likewise.
1970 [C99-based-standards] (SCNiPTR): Likewise.
1971 [C99-based-standards] (SCNoPTR): Likewise.
1972 [C99-based-standards] (SCNuPTR): Likewise.
1973 [C99-based-standards] (SCNxPTR): Likewise.
1974 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1975 allow.
1976 * conform/data/stdint.h-data: Update comments to clarify
1977 requirements.
1978 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1979 type.
1980 [C99-based standards] (INT8_MAX): Likewise.
1981 [C99-based standards] (INT16_MIN): Likewise.
1982 [C99-based standards] (INT16_MAX): Likewise.
1983 [C99-based standards] (INT32_MIN): Likewise.
1984 [C99-based standards] (INT32_MAX): Likewise.
1985 [C99-based standards] (INT64_MIN): Likewise.
1986 [C99-based standards] (INT64_MAX): Likewise.
1987 [C99-based standards] (UINT8_MAX): Likewise.
1988 [C99-based standards] (UINT16_MAX): Likewise.
1989 [C99-based standards] (UINT32_MAX): Likewise.
1990 [C99-based standards] (UINT64_MAX): Likewise.
1991 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1992 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1993 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1994 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1995 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1996 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1997 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1998 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1999 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2000 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2001 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2002 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2003 [C99-based standards] (INT_FAST8_MIN): Likewise.
2004 [C99-based standards] (INT_FAST8_MAX): Likewise.
2005 [C99-based standards] (INT_FAST16_MIN): Likewise.
2006 [C99-based standards] (INT_FAST16_MAX): Likewise.
2007 [C99-based standards] (INT_FAST32_MIN): Likewise.
2008 [C99-based standards] (INT_FAST32_MAX): Likewise.
2009 [C99-based standards] (INT_FAST64_MIN): Likewise.
2010 [C99-based standards] (INT_FAST64_MAX): Likewise.
2011 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2012 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2013 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2014 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2015 [C99-based standards] (INTPTR_MIN): Likewise.
2016 [C99-based standards] (INTPTR_MAX): Likewise.
2017 [C99-based standards] (UINTPTR_MAX): Likewise.
2018 [C99-based standards] (INTMAX_MIN): Likewise.
2019 [C99-based standards] (INTMAX_MAX): Likewise.
2020 [C99-based standards] (UINTMAX_MAX): Likewise.
2021 [C99-based standards] (PTRDIFF_MIN): Likewise.
2022 [C99-based standards] (PTRDIFF_MAX): Likewise.
2023 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2024 [C99-based standards] (SIZE_MAX): Likewise.
2025 [C99-based standards] (WCHAR_MAX): Likewise.
2026 [C99-based standards] (WINT_MAX): Likewise.
2027 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2028 constraint on value.
2029 [C99-based standards] (WCHAR_MIN): Likewise.
2030 [C99-based standards] (WINT_MIN): Likewise.
2031 [C99-based standards] (*_t): Allow.
2032 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2033 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2034 Include math.h-data and complex.h-data. Remove all expectations
2035 of math.h and complex.h contents.
2036 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2037 at end of line.
2038 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2039 (struct tm): Expect tag.
2040 [C99-based-standards] (wcstof): Expect function.
2041 [C99-based-standards] (wcstold): Likewise.
2042 [C99-based-standards] (wcstoll): Likewise.
2043 [C99-based-standards] (wcstoull): Likewise.
2044 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2045 macro-int-constant. Specify type.
2046 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2047 constraint on value.
2048 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2049 Specify type.
2050 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2051 Specify value.
2052 [ISO C standards]: Do not allow headers.
2053 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2054 wcs[abcdefghijklmnopqrstuvwxyz]*.
2055 [ISO C standards] (*_t): Do not allow.
2056 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2057 Expect function.
2058 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2059 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2060 Specify type.
2061 [ISO C standards]: Do not allow headers.
2062 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2063 is[abcdefghijklmnopqrstuvwxyz]*.
2064 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2065 to[abcdefghijklmnopqrstuvwxyz]*.
2066 [ISO C standards] (*_t): Do not allow.
2067 * conform/data/stdalign.h-data: New file.
2068 * conform/data/stdbool.h-data: Likewise.
2069 * conform/data/stdnoreturn.h-data: Likewise.
2070
7514feb8
RM
20712012-11-07 Roland McGrath <roland@hack.frob.com>
2072
2073 [BZ #14815]
2074 * manual/filesys.texi (Directory Entries): Typo fix.
2075 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2076
19b2ecfc
MS
20772012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2078
2079 * elf/elf.h (EM_AARCH64): New macro.
2080 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2081 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2082 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2083 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2084 (R_AARCH64_TLSDESC): Likewise.
2085 (NT_ARM_TLS): Likewise.
2086 (NT_ARM_HW_BREAK): Likewise.
2087 (NT_ARM_HW_WATCH): Likewise.
2088
60e235ee
JM
20892012-11-07 Joseph Myers <joseph@codesourcery.com>
2090
2091 [BZ #14811]
2092 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2093 (__ieee754_powl): Saturate nonzero exponents with absolute value
2094 below 0x1p-79 to +/- 0x1p-79.
2095 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2096 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2097 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2098 nonzero exponents with absolute value below 0x1p-32 to +/-
2099 0x1p-32.
2100 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2101 (__ieee754_powl): Saturate nonzero exponents with absolute value
2102 below 0x1p-79 to +/- 0x1p-79.
2103 * math/libm-test.inc (pow_test): Add more tests.
2104
0ab234b7
AK
21052012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2106
2107 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2108 _dl_s390_cap_flags with kernel. Increase string length.
2109 (_dl_s390_platforms): Add z196 and zEC12.
2110
45832f74
JM
21112012-11-07 Joseph Myers <joseph@codesourcery.com>
2112
2113 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2114 Change XOPEN21K to XOPEN2K.
2115
19218757
MK
21162012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2117
2118 * string/memmove.c: Use memcpy when possible.
2119
c5f45721
AJ
21202012-11-06 Andreas Jaeger <aj@suse.de>
2121
2122 * po/eo.po: Update from translation team.
2123
82477c28
JM
21242012-11-06 Joseph Myers <joseph@codesourcery.com>
2125
2126 [BZ #14793]
2127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2128 exponent and small x and y exponents, scale x or y up. Increase
2129 by 2 the exponent used in scaling up.
2130 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2131 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2132 * math/libm-test.inc (fma_test): Add more tests.
2133 (fma_test_towardzero): Likewise.
2134 (fma_test_downward): Likewise.
2135 (fma_test_upward): Likewise.
2136
99252c8c
JM
21372012-11-05 Joseph Myers <joseph@codesourcery.com>
2138
acfa885f
JM
2139 [BZ #14805]
2140 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2141 fenv_t *.
2142
99252c8c
JM
2143 [BZ #14801]
2144 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2145 namespace for names of struct fields.
2146 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2147 fenv_t fields.
2148 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2149 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2150
d6d98dea
ST
21512012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2152
2153 [BZ #3665]
2154 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2155
e10bb107
TS
21562012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2157
2158 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2159 PTR_DEMANGLE.
2160
2161 [BZ #5246]
2162 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2163 PTR_DEMANGLE.
2164
a0c2940d
JM
21652012-11-04 Joseph Myers <joseph@codesourcery.com>
2166
2167 [BZ #14797]
2168 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2169 definitely overflow as x * y not x * y + z.
2170 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2171 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2172 * math/libm-test.inc (fma_test): Add more tests.
2173 (fma_test_towardzero): Likewise.
2174 (fma_test_downward): Likewise.
2175 (fma_test_upward): Likewise.
2176
b830319d
TS
21772012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2178
2179 [BZ #157]
2180
2181 * include/stub-tag.h: Remove file.
2182 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2183 '#include' of it.
2184 * manual/maint.texi (Porting): Don't reference it.
2185 * Makerules ($(objpfx)stubs): Likewise.
2186 * dirent/closedir.c: Don't include <stub-tag.h>.
2187 * dirent/dirfd.c: Likewise.
2188 * dirent/fdopendir.c: Likewise.
2189 * dirent/getdents.c: Likewise.
2190 * dirent/getdents64.c: Likewise.
2191 * dirent/opendir.c: Likewise.
2192 * dirent/readdir.c: Likewise.
2193 * dirent/readdir64.c: Likewise.
2194 * dirent/readdir64_r.c: Likewise.
2195 * dirent/readdir_r.c: Likewise.
2196 * dirent/rewinddir.c: Likewise.
2197 * dirent/seekdir.c: Likewise.
2198 * dirent/telldir.c: Likewise.
2199 * gmon/profil.c: Likewise.
2200 * grp/setgroups.c: Likewise.
2201 * inet/if_index.c: Likewise.
2202 * io/access.c: Likewise.
2203 * io/chdir.c: Likewise.
2204 * io/chmod.c: Likewise.
2205 * io/chown.c: Likewise.
2206 * io/close.c: Likewise.
2207 * io/dup.c: Likewise.
2208 * io/dup2.c: Likewise.
2209 * io/dup3.c: Likewise.
2210 * io/euidaccess.c: Likewise.
2211 * io/faccessat.c: Likewise.
2212 * io/fchdir.c: Likewise.
2213 * io/fchmod.c: Likewise.
2214 * io/fchmodat.c: Likewise.
2215 * io/fchown.c: Likewise.
2216 * io/fchownat.c: Likewise.
2217 * io/fcntl.c: Likewise.
2218 * io/flock.c: Likewise.
2219 * io/fstatfs.c: Likewise.
2220 * io/fstatfs64.c: Likewise.
2221 * io/fstatvfs.c: Likewise.
2222 * io/fstatvfs64.c: Likewise.
2223 * io/futimens.c: Likewise.
2224 * io/fxstat.c: Likewise.
2225 * io/fxstat64.c: Likewise.
2226 * io/fxstatat.c: Likewise.
2227 * io/fxstatat64.c: Likewise.
2228 * io/getcwd.c: Likewise.
2229 * io/isatty.c: Likewise.
2230 * io/lchmod.c: Likewise.
2231 * io/lchown.c: Likewise.
2232 * io/link.c: Likewise.
2233 * io/linkat.c: Likewise.
2234 * io/lseek.c: Likewise.
2235 * io/lseek64.c: Likewise.
2236 * io/lxstat64.c: Likewise.
2237 * io/mkdir.c: Likewise.
2238 * io/mkdirat.c: Likewise.
2239 * io/mkfifo.c: Likewise.
2240 * io/mkfifoat.c: Likewise.
2241 * io/open.c: Likewise.
2242 * io/open64.c: Likewise.
2243 * io/openat.c: Likewise.
2244 * io/openat64.c: Likewise.
2245 * io/pipe.c: Likewise.
2246 * io/pipe2.c: Likewise.
2247 * io/poll.c: Likewise.
2248 * io/posix_fadvise.c: Likewise.
2249 * io/posix_fadvise64.c: Likewise.
2250 * io/posix_fallocate.c: Likewise.
2251 * io/posix_fallocate64.c: Likewise.
2252 * io/read.c: Likewise.
2253 * io/readlink.c: Likewise.
2254 * io/readlinkat.c: Likewise.
2255 * io/rmdir.c: Likewise.
2256 * io/sendfile.c: Likewise.
2257 * io/sendfile64.c: Likewise.
2258 * io/statfs.c: Likewise.
2259 * io/statfs64.c: Likewise.
2260 * io/statvfs.c: Likewise.
2261 * io/statvfs64.c: Likewise.
2262 * io/symlink.c: Likewise.
2263 * io/symlinkat.c: Likewise.
2264 * io/ttyname.c: Likewise.
2265 * io/ttyname_r.c: Likewise.
2266 * io/umask.c: Likewise.
2267 * io/unlink.c: Likewise.
2268 * io/unlinkat.c: Likewise.
2269 * io/utime.c: Likewise.
2270 * io/utimensat.c: Likewise.
2271 * io/write.c: Likewise.
2272 * io/xmknod.c: Likewise.
2273 * io/xmknodat.c: Likewise.
2274 * io/xstat.c: Likewise.
2275 * io/xstat64.c: Likewise.
2276 * login/getpt.c: Likewise.
2277 * login/grantpt.c: Likewise.
2278 * login/unlockpt.c: Likewise.
2279 * math/e_acoshl.c: Likewise.
2280 * math/e_acosl.c: Likewise.
2281 * math/e_asinl.c: Likewise.
2282 * math/e_atan2l.c: Likewise.
2283 * math/e_atanhl.c: Likewise.
2284 * math/e_coshl.c: Likewise.
2285 * math/e_expl.c: Likewise.
2286 * math/e_fmodl.c: Likewise.
2287 * math/e_gammal_r.c: Likewise.
2288 * math/e_hypotl.c: Likewise.
2289 * math/e_j0l.c: Likewise.
2290 * math/e_j1l.c: Likewise.
2291 * math/e_jnl.c: Likewise.
2292 * math/e_lgammal_r.c: Likewise.
2293 * math/e_log10l.c: Likewise.
2294 * math/e_log2l.c: Likewise.
2295 * math/e_logl.c: Likewise.
2296 * math/e_powl.c: Likewise.
2297 * math/e_rem_pio2l.c: Likewise.
2298 * math/e_sinhl.c: Likewise.
2299 * math/e_sqrtl.c: Likewise.
2300 * math/fclrexcpt.c: Likewise.
2301 * math/fedisblxcpt.c: Likewise.
2302 * math/feenablxcpt.c: Likewise.
2303 * math/fegetenv.c: Likewise.
2304 * math/fegetexcept.c: Likewise.
2305 * math/fegetround.c: Likewise.
2306 * math/feholdexcpt.c: Likewise.
2307 * math/fesetenv.c: Likewise.
2308 * math/fesetround.c: Likewise.
2309 * math/feupdateenv.c: Likewise.
2310 * math/fgetexcptflg.c: Likewise.
2311 * math/fraiseexcpt.c: Likewise.
2312 * math/fsetexcptflg.c: Likewise.
2313 * math/ftestexcept.c: Likewise.
2314 * math/k_cosl.c: Likewise.
2315 * math/k_rem_pio2l.c: Likewise.
2316 * math/k_sinl.c: Likewise.
2317 * math/k_tanl.c: Likewise.
2318 * math/s_asinhl.c: Likewise.
2319 * math/s_atanl.c: Likewise.
2320 * math/s_cbrtl.c: Likewise.
2321 * math/s_erfl.c: Likewise.
2322 * math/s_expm1l.c: Likewise.
2323 * math/s_log1pl.c: Likewise.
2324 * math/s_tanhl.c: Likewise.
2325 * misc/acct.c: Likewise.
2326 * misc/brk.c: Likewise.
2327 * misc/chflags.c: Likewise.
2328 * misc/chroot.c: Likewise.
2329 * misc/fchflags.c: Likewise.
2330 * misc/fgetxattr.c: Likewise.
2331 * misc/flistxattr.c: Likewise.
2332 * misc/fremovexattr.c: Likewise.
2333 * misc/fsetxattr.c: Likewise.
2334 * misc/fsync.c: Likewise.
2335 * misc/ftruncate.c: Likewise.
2336 * misc/futimes.c: Likewise.
2337 * misc/futimesat.c: Likewise.
2338 * misc/getdomain.c: Likewise.
2339 * misc/getdtsz.c: Likewise.
2340 * misc/gethostid.c: Likewise.
2341 * misc/gethostname.c: Likewise.
2342 * misc/getloadavg.c: Likewise.
2343 * misc/getpagesize.c: Likewise.
2344 * misc/getsysstats.c: Likewise.
2345 * misc/getxattr.c: Likewise.
2346 * misc/gtty.c: Likewise.
2347 * misc/ioctl.c: Likewise.
2348 * misc/lgetxattr.c: Likewise.
2349 * misc/listxattr.c: Likewise.
2350 * misc/llistxattr.c: Likewise.
2351 * misc/lremovexattr.c: Likewise.
2352 * misc/lsetxattr.c: Likewise.
2353 * misc/lutimes.c: Likewise.
2354 * misc/madvise.c: Likewise.
2355 * misc/mincore.c: Likewise.
2356 * misc/mlock.c: Likewise.
2357 * misc/mlockall.c: Likewise.
2358 * misc/mmap.c: Likewise.
2359 * misc/mprotect.c: Likewise.
2360 * misc/msync.c: Likewise.
2361 * misc/munlock.c: Likewise.
2362 * misc/munlockall.c: Likewise.
2363 * misc/munmap.c: Likewise.
2364 * misc/preadv.c: Likewise.
2365 * misc/preadv64.c: Likewise.
2366 * misc/ptrace.c: Likewise.
2367 * misc/pwritev.c: Likewise.
2368 * misc/pwritev64.c: Likewise.
2369 * misc/readv.c: Likewise.
2370 * misc/reboot.c: Likewise.
2371 * misc/remap_file_pages.c: Likewise.
2372 * misc/removexattr.c: Likewise.
2373 * misc/revoke.c: Likewise.
2374 * misc/select.c: Likewise.
2375 * misc/setdomain.c: Likewise.
2376 * misc/setegid.c: Likewise.
2377 * misc/seteuid.c: Likewise.
2378 * misc/sethostid.c: Likewise.
2379 * misc/sethostname.c: Likewise.
2380 * misc/setregid.c: Likewise.
2381 * misc/setreuid.c: Likewise.
2382 * misc/setxattr.c: Likewise.
2383 * misc/sstk.c: Likewise.
2384 * misc/stty.c: Likewise.
2385 * misc/swapoff.c: Likewise.
2386 * misc/swapon.c: Likewise.
2387 * misc/sync.c: Likewise.
2388 * misc/syncfs.c: Likewise.
2389 * misc/syscall.c: Likewise.
2390 * misc/truncate.c: Likewise.
2391 * misc/ualarm.c: Likewise.
2392 * misc/usleep.c: Likewise.
2393 * misc/ustat.c: Likewise.
2394 * misc/utimes.c: Likewise.
2395 * misc/vhangup.c: Likewise.
2396 * misc/writev.c: Likewise.
2397 * posix/_exit.c: Likewise.
2398 * posix/alarm.c: Likewise.
2399 * posix/execve.c: Likewise.
2400 * posix/fexecve.c: Likewise.
2401 * posix/fork.c: Likewise.
2402 * posix/fpathconf.c: Likewise.
2403 * posix/getaddrinfo.c: Likewise.
2404 * posix/getegid.c: Likewise.
2405 * posix/geteuid.c: Likewise.
2406 * posix/getgid.c: Likewise.
2407 * posix/getgroups.c: Likewise.
2408 * posix/getlogin.c: Likewise.
2409 * posix/getlogin_r.c: Likewise.
2410 * posix/getpgid.c: Likewise.
2411 * posix/getpid.c: Likewise.
2412 * posix/getppid.c: Likewise.
2413 * posix/getresgid.c: Likewise.
2414 * posix/getresuid.c: Likewise.
2415 * posix/getsid.c: Likewise.
2416 * posix/getuid.c: Likewise.
2417 * posix/glob64.c: Likewise.
2418 * posix/nanosleep.c: Likewise.
2419 * posix/pathconf.c: Likewise.
2420 * posix/pause.c: Likewise.
2421 * posix/posix_madvise.c: Likewise.
2422 * posix/pread.c: Likewise.
2423 * posix/pread64.c: Likewise.
2424 * posix/pwrite.c: Likewise.
2425 * posix/pwrite64.c: Likewise.
2426 * posix/sched_getaffinity.c: Likewise.
2427 * posix/sched_getp.c: Likewise.
2428 * posix/sched_gets.c: Likewise.
2429 * posix/sched_primax.c: Likewise.
2430 * posix/sched_primin.c: Likewise.
2431 * posix/sched_rr_gi.c: Likewise.
2432 * posix/sched_setaffinity.c: Likewise.
2433 * posix/sched_setp.c: Likewise.
2434 * posix/sched_sets.c: Likewise.
2435 * posix/sched_yield.c: Likewise.
2436 * posix/setgid.c: Likewise.
2437 * posix/setlogin.c: Likewise.
2438 * posix/setpgid.c: Likewise.
2439 * posix/setresgid.c: Likewise.
2440 * posix/setresuid.c: Likewise.
2441 * posix/setsid.c: Likewise.
2442 * posix/setuid.c: Likewise.
2443 * posix/sleep.c: Likewise.
2444 * posix/spawni.c: Likewise.
2445 * posix/sysconf.c: Likewise.
2446 * posix/times.c: Likewise.
2447 * posix/wait.c: Likewise.
2448 * posix/wait3.c: Likewise.
2449 * posix/wait4.c: Likewise.
2450 * posix/waitpid.c: Likewise.
2451 * resolv/gai_sigqueue.c: Likewise.
2452 * resource/getpriority.c: Likewise.
2453 * resource/getrlimit.c: Likewise.
2454 * resource/getrusage.c: Likewise.
2455 * resource/nice.c: Likewise.
2456 * resource/setpriority.c: Likewise.
2457 * resource/setrlimit.c: Likewise.
2458 * resource/ulimit.c: Likewise.
2459 * rt/aio_cancel.c: Likewise.
2460 * rt/aio_fsync.c: Likewise.
2461 * rt/aio_read.c: Likewise.
2462 * rt/aio_sigqueue.c: Likewise.
2463 * rt/aio_suspend.c: Likewise.
2464 * rt/aio_write.c: Likewise.
2465 * rt/clock_getres.c: Likewise.
2466 * rt/clock_gettime.c: Likewise.
2467 * rt/clock_nanosleep.c: Likewise.
2468 * rt/clock_settime.c: Likewise.
2469 * rt/lio_listio.c: Likewise.
2470 * rt/mq_close.c: Likewise.
2471 * rt/mq_getattr.c: Likewise.
2472 * rt/mq_notify.c: Likewise.
2473 * rt/mq_open.c: Likewise.
2474 * rt/mq_receive.c: Likewise.
2475 * rt/mq_send.c: Likewise.
2476 * rt/mq_setattr.c: Likewise.
2477 * rt/mq_timedreceive.c: Likewise.
2478 * rt/mq_timedsend.c: Likewise.
2479 * rt/mq_unlink.c: Likewise.
2480 * rt/shm_open.c: Likewise.
2481 * rt/shm_unlink.c: Likewise.
2482 * rt/timer_create.c: Likewise.
2483 * rt/timer_delete.c: Likewise.
2484 * rt/timer_getoverr.c: Likewise.
2485 * rt/timer_gettime.c: Likewise.
2486 * rt/timer_settime.c: Likewise.
2487 * setjmp/__longjmp.c: Likewise.
2488 * setjmp/setjmp.c: Likewise.
2489 * signal/kill.c: Likewise.
2490 * signal/killpg.c: Likewise.
2491 * signal/raise.c: Likewise.
2492 * signal/sigaction.c: Likewise.
2493 * signal/sigaltstack.c: Likewise.
2494 * signal/sigblock.c: Likewise.
2495 * signal/sigignore.c: Likewise.
2496 * signal/sigintr.c: Likewise.
2497 * signal/signal.c: Likewise.
2498 * signal/sigpause.c: Likewise.
2499 * signal/sigpending.c: Likewise.
2500 * signal/sigqueue.c: Likewise.
2501 * signal/sigreturn.c: Likewise.
2502 * signal/sigset.c: Likewise.
2503 * signal/sigsetmask.c: Likewise.
2504 * signal/sigstack.c: Likewise.
2505 * signal/sigsuspend.c: Likewise.
2506 * signal/sigtimedwait.c: Likewise.
2507 * signal/sigvec.c: Likewise.
2508 * signal/sigwait.c: Likewise.
2509 * signal/sigwaitinfo.c: Likewise.
2510 * signal/sysv_signal.c: Likewise.
2511 * socket/accept.c: Likewise.
2512 * socket/accept4.c: Likewise.
2513 * socket/bind.c: Likewise.
2514 * socket/connect.c: Likewise.
2515 * socket/getpeername.c: Likewise.
2516 * socket/getsockname.c: Likewise.
2517 * socket/getsockopt.c: Likewise.
2518 * socket/isfdtype.c: Likewise.
2519 * socket/listen.c: Likewise.
2520 * socket/recv.c: Likewise.
2521 * socket/recvfrom.c: Likewise.
2522 * socket/recvmsg.c: Likewise.
2523 * socket/send.c: Likewise.
2524 * socket/sendmsg.c: Likewise.
2525 * socket/sendto.c: Likewise.
2526 * socket/setsockopt.c: Likewise.
2527 * socket/shutdown.c: Likewise.
2528 * socket/sockatmark.c: Likewise.
2529 * socket/socket.c: Likewise.
2530 * socket/socketpair.c: Likewise.
2531 * stdio-common/ctermid.c: Likewise.
2532 * stdio-common/cuserid.c: Likewise.
2533 * stdio-common/remove.c: Likewise.
2534 * stdio-common/rename.c: Likewise.
2535 * stdio-common/renameat.c: Likewise.
2536 * stdio-common/tempname.c: Likewise.
2537 * stdlib/getcontext.c: Likewise.
2538 * stdlib/makecontext.c: Likewise.
2539 * stdlib/setcontext.c: Likewise.
2540 * stdlib/swapcontext.c: Likewise.
2541 * stdlib/system.c: Likewise.
2542 * streams/fattach.c: Likewise.
2543 * streams/fdetach.c: Likewise.
2544 * streams/getmsg.c: Likewise.
2545 * streams/getpmsg.c: Likewise.
2546 * streams/putmsg.c: Likewise.
2547 * streams/putpmsg.c: Likewise.
2548 * sysdeps/unix/bsd/getpt.c: Likewise.
2549 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2550 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2551 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2553 Likewise.
2554 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2555 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2556 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2557 * sysvipc/msgctl.c: Likewise.
2558 * sysvipc/msgget.c: Likewise.
2559 * sysvipc/msgrcv.c: Likewise.
2560 * sysvipc/msgsnd.c: Likewise.
2561 * sysvipc/semctl.c: Likewise.
2562 * sysvipc/semget.c: Likewise.
2563 * sysvipc/semop.c: Likewise.
2564 * sysvipc/semtimedop.c: Likewise.
2565 * sysvipc/shmat.c: Likewise.
2566 * sysvipc/shmctl.c: Likewise.
2567 * sysvipc/shmdt.c: Likewise.
2568 * sysvipc/shmget.c: Likewise.
2569 * termios/tcdrain.c: Likewise.
2570 * termios/tcflow.c: Likewise.
2571 * termios/tcflush.c: Likewise.
2572 * termios/tcgetattr.c: Likewise.
2573 * termios/tcgetpgrp.c: Likewise.
2574 * termios/tcsendbrk.c: Likewise.
2575 * termios/tcsetattr.c: Likewise.
2576 * termios/tcsetpgrp.c: Likewise.
2577 * time/adjtime.c: Likewise.
2578 * time/clock.c: Likewise.
2579 * time/getitimer.c: Likewise.
2580 * time/gettimeofday.c: Likewise.
2581 * time/setitimer.c: Likewise.
2582 * time/settimeofday.c: Likewise.
2583 * time/stime.c: Likewise.
2584 * time/time.c: Likewise.
2585
25862012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2587
a20492cf
PT
2588 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2589 /usr/old/bin.
2590
72e182e3
PT
2591 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2592 instead of spaces.
2593 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2594
fbeafede
JM
25952012-11-03 Joseph Myers <joseph@codesourcery.com>
2596
5b5b04d6
JM
2597 [BZ #14796]
2598 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2599 FE_TONEAREST before applying Dekker multiplication and Knuth
2600 addition. Clear inexact exceptions and check for exact zero
2601 results afterwards.
2602 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2603 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2604 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2605 * math/libm-test.inc (fma_test): Add more tests.
2606 (fma_test_towardzero): Likewise.
2607 (fma_test_downward): Likewise.
2608 (fma_test_upward): Likewise.
2609 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2610 function.
2611 (libc_fesetround): New macro.
2612 (libc_fesetroundf): Likewise.
2613 (libc_fesetroundl): Likewise.
2614 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2615 function.
2616 (libc_fesetround_387): Likewise.
2617 (libc_fesetroundf): New macro.
2618 (libc_fesetround): Likewise.
2619 (libc_fesetroundl): Likewise.
2620 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2621 function.
2622 (libc_fesetroundf): New macro.
2623 (libc_fesetround): Likewise.
2624 (libc_fesetroundl): Likewise.
2625 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2626 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2627 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2628 libm_hidden_ver.
2629 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2630 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2631 libm_hidden_def.
2632 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2633 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2634 libm_hidden_ver.
2635 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2636 libm_hidden_def.
2637
fbeafede
JM
2638 [BZ #3439]
2639 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2640 integer constant usable in #if and use that to give value to enum
2641 constant.
2642 (FE_DIVBYZERO): Likewise.
2643 (FE_UNDERFLOW): Likewise.
2644 (FE_OVERFLOW): Likewise.
2645 (FE_INVALID): Likewise.
2646 (FE_INVALID_SNAN): Likewise.
2647 (FE_INVALID_ISI): Likewise.
2648 (FE_INVALID_IDI): Likewise.
2649 (FE_INVALID_ZDZ): Likewise.
2650 (FE_INVALID_IMZ): Likewise.
2651 (FE_INVALID_COMPARE): Likewise.
2652 (FE_INVALID_SOFTWARE): Likewise.
2653 (FE_INVALID_SQRT): Likewise.
2654 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2655 (FE_TONEAREST): Likewise.
2656 (FE_TOWARDZERO): Likewise.
2657 (FE_UPWARD): Likewise.
2658 (FE_DOWNWARD): Likewise.
2659 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2660 (FE_DIVBYZERO): Likewise.
2661 (FE_OVERFLOW): Likewise.
2662 (FE_UNDERFLOW): Likewise.
2663 (FE_INEXACT): Likewise.
2664 (FE_TONEAREST): Likewise.
2665 (FE_DOWNWARD): Likewise.
2666 (FE_UPWARD): Likewise.
2667 (FE_TOWARDZERO): Likewise.
2668 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2669 (FE_UNDERFLOW): Likewise.
2670 (FE_OVERFLOW): Likewise.
2671 (FE_DIVBYZERO): Likewise.
2672 (FE_INVALID): Likewise.
2673 (FE_TONEAREST): Likewise.
2674 (FE_TOWARDZERO): Likewise.
2675 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2676 (FE_OVERFLOW): Likewise.
2677 (FE_UNDERFLOW): Likewise.
2678 (FE_DIVBYZERO): Likewise.
2679 (FE_INEXACT): Likewise.
2680 (FE_TONEAREST): Likewise.
2681 (FE_TOWARDZERO): Likewise.
2682 (FE_UPWARD): Likewise.
2683 (FE_DOWNWARD): Likewise.
2684 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2685 (FE_DIVBYZERO): Likewise.
2686 (FE_OVERFLOW): Likewise.
2687 (FE_UNDERFLOW): Likewise.
2688 (FE_INEXACT): Likewise.
2689 (FE_TONEAREST): Likewise.
2690 (FE_DOWNWARD): Likewise.
2691 (FE_UPWARD): Likewise.
2692 (FE_TOWARDZERO): Likewise.
2693
105ca950
CM
26942012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2695
2696 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2697
a542b389
AS
26982012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2699
2700 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2701 commands. Quote $PWD.
2702 (blacklist_exports): Don't use remove_newlines. Replace "declare
2703 -x" by "export".
2704 (remove_newlines): Remove.
2705
f62c8abc
L
27062012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2707
2708 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2709 * stdlib/stdlib.h (atof): Moved to ...
2710 * include/bits/stdlib-float.h: Here. New file.
2711 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2712 * stdlib/bits/stdlib-float.h: New file.
2713 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2714 -mno-sse -mno-mmx.
2715 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2716 <xmmintrin.h>.
2717
0155d5b2
JM
27182012-11-02 Joseph Myers <joseph@codesourcery.com>
2719
a68d0680
JM
2720 * conform/conformtest.pl (@headers): Add fenv.h.
2721 * conform/data/fenv.h-data: New file.
2722 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2723 include of <math/fenv.h>.
2724
caf7f573
JM
2725 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2726 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2727 && !UNIX98]. Enables tests for XOPEN2K8.
2728 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2729 POSIX2008]: Likewise.
2730
6c073ad6
JM
2731 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2732 (struct rusage): Do not expect type or its members.
2733
0155d5b2
JM
2734 [BZ #3439]
2735 * math/math.h (FP_NAN): Define macro to integer constant usable in
2736 #if and use that to give value to enum constant.
2737 (FP_INFINITE): Likewise.
2738 (FP_ZERO): Likewise.
2739 (FP_SUBNORMAL): Likewise.
2740 (FP_NORMAL): Likewise.
2741
b5dcacb4
AS
27422012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2743
2744 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2745 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2746 arguments.
2747
f7934be8
RM
27482012-11-02 Roland McGrath <roland@hack.frob.com>
2749
2750 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2751 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2752 autoconf-time if not.
2753 * configure.in: Remove AC_PREREQ.
2754
d7d08bde
TMQMF
27552012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2756
2757 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2758 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2759 of the internal implementation.
2760
dcdae19a
JM
27612012-11-02 Joseph Myers <joseph@codesourcery.com>
2762
2763 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2764 except include of <misc/sys/syslog.h>.
2765
d6cffd3e
AS
27662012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2767
2768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2769 function returns with a NULL context exit with zero.
2770
b3563932
TMQMF
27712012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2772
2773 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2774
b288a93d
L
27752012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2776
2777 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2778 (run_program_cmd): This.
2779 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2780 (tst_langinfo): New variable. Use it.
2781
a2421a68
SAS
27822012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2783
2784 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2785 floating point opcodes.
2786
6f796e1b
TS
27872012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2788
7402596b
TS
2789 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2790 variable.
2791
d0d4f868
TS
2792 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2793
6f796e1b
TS
2794 * sysdeps/mach/hurd/powerpc: Remove directory.
2795 * sysdeps/mach/powerpc: Likewise.
2796
4da224a2
AS
27972012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2798
2799 * scripts/check-local-headers.sh: Ignore c++ headers.
2800
341dd673
TS
28012012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2802
2803 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2804 __libc_cleanup_region_start argument.
2805
473611b2
JM
28062012-11-01 Joseph Myers <joseph@codesourcery.com>
2807
2808 [BZ #14784]
2809 [BZ #14785]
2810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2811 x * y using scaling, not as x * y + z.
2812 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2813 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2814 * math/libm-test.inc (fma_test): Add more tests.
2815 (fma_test_towardzero): Likewise.
2816 (fma_test_downward): Likewise.
2817 (fma_test_upward): Likewise.
2818
4078da3d
TS
28192012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2820
2821 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2822
903252aa
JM
28232012-10-31 Joseph Myers <joseph@codesourcery.com>
2824
2825 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2826 New variable.
2827
cbc818d0
TS
28282012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2829
2830 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2831
5a03cb1e
AS
28322012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2833
2834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2835 Fix sort order.
2836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2837 Likewise.
2838
90aff2ff
TMQMF
28392012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2840
2841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2842 Fix the order of the list for glibc 2.17.
2843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2844 Likewise.
2845
1818fcb7
AS
28462012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2847
2848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2849
ef82f4da
JM
28502012-10-31 Joseph Myers <joseph@codesourcery.com>
2851
16a0e2ec
JM
2852 [BZ #14610]
2853 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2854 for low part of x being zero before using __atanl (y).
2855 * math/libm-test.inc (atan2_test): Add another test.
2856
0eb69512
JM
2857 * manual/install.texi (Configuring and compiling): Document
2858 general use of test-wrapper and test-wrapper-env.
2859 * INSTALL: Regenerated.
2860
ef82f4da
JM
2861 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2862 (__fma): Do not extract and scale down low bits on after-rounding
2863 systems when result rounded to normal precision would have normal
2864 exponent.
2865 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2866 (__fmal): Do not extract and scale down low bits on after-rounding
2867 systems when result rounded to normal precision would have normal
2868 exponent.
2869 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2870 (__fmal): Do not extract and scale down low bits on after-rounding
2871 systems when result rounded to normal precision would have normal
2872 exponent.
2873 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2874 macro.
2875 (fma_test): Add more tests.
2876 (fma_test_towardzero): Likewise.
2877 (fma_test_downward): Likewise.
2878 (fma_test_upward): Likewise.
2879
954ef0d9
L
28802012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2881
2882 * sysdeps/i386/tininess.h: Renamed to ...
2883 * sysdeps/x86/tininess.h: This.
2884 * sysdeps/x86_64/tininess.h: Removed.
2885
df61ffb2
JM
28862012-10-30 Joseph Myers <joseph@codesourcery.com>
2887
2888 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2889 input. Use $(build-program-cmd).
2890 ($(objpfx)tst-array1-static.out): Likewise.
2891 ($(objpfx)tst-array2.out): Likewise.
2892 ($(objpfx)tst-array3.out): Likewise.
2893 ($(objpfx)tst-array4.out): Likewise.
2894 ($(objpfx)tst-array5.out): Likewise.
2895 ($(objpfx)tst-array5-static.out): Likewise.
2896
01767843
CM
28972012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2898
47cc1490
CM
2899 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2900 if defined.
2901
01767843
CM
2902 * nss/nsswitch.h (nss_interface_function): Provide new
2903 macro for use with NSS functions.
2904 * grp/initgroups.c: Use new macro.
2905 * nss/getXXbyYY.c: Likewise.
2906 * nss/getXXbyYY_r.c: Likewise.
2907 * nss/getXXent.c: Likewise.
2908 * nss/getXXent_r.c: Likewise.
2909 * sysdeps/posix/getaddrinfo.c: Likewise.
2910
8321aa97
AJ
29112012-10-30 Andreas Jaeger <aj@suse.de>
2912
2913 * po/ru.po: Update Russion translation from translation project.
2914
2a27fd6d
JM
29152012-10-30 Joseph Myers <joseph@codesourcery.com>
2916
8627a232
JM
2917 [BZ #14152]
2918 [BZ #14783]
2919 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2920 result and shift together with sticky bit instead of replicating
2921 round-to-nearest rounding.
2922 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2923 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2924 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2925 missing underflow exceptions.
2926 (fma_test_towardzero): Add more tests.
2927 (fma_test_downward): Likewise.
2928 (fma_test_upward): Likewise.
2929
2a27fd6d
JM
2930 [BZ #14047]
2931 * sysdeps/generic/tininess.h: New file.
2932 * sysdeps/i386/tininess.h: Likewise.
2933 * sysdeps/sh/tininess.h: Likewise.
2934 * sysdeps/x86_64/tininess.h: Likewise.
2935 * stdlib/tst-strtod-underflow.c: Likewise.
2936 * stdlib/tst-tininess.c: Likewise.
2937 * stdlib/strtod_l.c: Include <tininess.h>.
2938 (round_and_return): Do not set errno for exact underflow cases.
2939 Force an underflow exception when setting errno for underflow.
2940 Determine underflow based on rounding to normal precision if
2941 TININESS_AFTER_ROUNDING.
2942 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2943 ERANGE for exact underflow cases.
2944 * stdlib/Makefile (tests): Add tst-tininess and
2945 tst-strtod-underflow.
2946 ($(objpfx)tst-tininess): Use $(link-libm).
2947 ($(objpfx)tst-strtod-underflow): Likewise.
2948
e7170363
AJ
29492012-10-30 Andreas Jaeger <aj@suse.de>
2950
e5088dc6
AJ
2951 [BZ#14767]
2952 * elf/Makefile (tests): Remove conditional for have-initfini-array
2953 since this is now always required and the variable does not exist
2954 anymore.
2955 (tests-static): Likewise.
2956 (modules-names): Likewise.
2957
e7170363 2958 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2959
2960 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2961 merged with constructor/destructor.
2962 (init_array): Likewise.
2963 * elf/tst-array2dep.c (fini_array): Likewise.
2964 (init_array): Likewise.
2965
60457d8a
MF
29662012-10-29 Mike Frysinger <vapier@gentoo.org>
2967
2968 * manual/message.texi: Delete @cartouche tags.
2969
8bece752
PT
29702012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2971
94ce799f
PT
2972 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2973 EOPNOTSUPP.
2974 * sysdeps/mach/hurd/fsync.c: Likewise.
2975
8bece752
PT
2976 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2977 [_POSIX_REALTIME_SIGNALS]: Change condition to
2978 [_POSIX_REALTIME_SIGNALS > 0].
2979
86ebe6b1
AJ
29802012-10-27 Andreas Jaeger <aj@suse.de>
2981
2982 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2983 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2984 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2985 [__WORDSIZE != 64]: Likewise.
2986
54399c08
L
29872012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2988
2989 * iconvdata/tst-table.sh: Remove ${SHELL}.
2990 * iconvdata/tst-tables.sh: Likewise.
2991
e2211bed
DM
29922012-10-25 David S. Miller <davem@davemloft.net>
2993
2994 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2995 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2996 of strtoull.
2997
f303f97c
DM
2998 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2999 ifunc-impl-list.c
3000 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3001 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3002 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3003 file.
3004
1e9d84cd
RM
30052012-10-25 Roland McGrath <roland@hack.frob.com>
3006
3007 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3008 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3009 __getdirentries.
3010
df381762
JM
30112012-10-25 Joseph Myers <joseph@codesourcery.com>
3012 Jim Blandy <jimb@codesourcery.com>
3013
3014 * scripts/cross-test-ssh.sh: New file.
3015 * manual/install.texi (Configuring and compiling): Document use of
3016 cross-test-ssh.sh.
3017 * INSTALL: Regenerated.
3018
bff64913
PT
30192012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3020
3021 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3022 EOPNOTSUPP.
3023
25fe8932
JM
30242012-10-25 Joseph Myers <joseph@codesourcery.com>
3025
3026 * Makeconfig (run-program-prefix): Fix comment.
3027
cc1290d0
JM
30282012-10-24 Joseph Myers <joseph@codesourcery.com>
3029 Jim Blandy <jimb@codesourcery.com>
3030
3031 * Makeconfig (test-wrapper): New variable,
3032 (test-wrapper-env): Likewise.
3033 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3034 (run-built-tests): Define to yes.
3035 (run-program-prefix): Use $(test-wrapper).
3036 (built-program-cmd): Likewise.
3037 * Rules (make-test-out): Use $(test-wrapper-env) and
3038 $(host-built-program-cmd).
3039 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3040 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3041 tst-pathopt.sh.
3042 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3043 $(test-wrapper-env) to tst-rtld-load-self.sh.
3044 ($(objpfx)order2.out): Use $(test-wrapper).
3045 ($(objpfx)tst-initorder.out): Likewise.
3046 ($(objpfx)tst-initorder2.out): Likewise.
3047 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3048 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3049 (test_wrapper_env): New variable. Use it to run ld.so.
3050 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3051 Use it to run ld.so.
3052 (test_wrapper_env): Likewise.
3053 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3054 $(test-wrapper) to run-iconv-test.sh.
3055 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3056 (ICONV): Use $test_wrapper.
3057 * posix/Makefile ($(objpfx)globtest.out): Pass
3058 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3059 globtest.sh, not $(run-program-prefix).
3060 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3061 (test_wrapper): Likewise.
3062 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3063 set together with run_via_rtld_prefix.
3064 (run_program_prefix): Define in terms of test_wrapper and
3065 run_via_rtld_prefix.
3066
6e6249d0
RM
30672012-10-24 Roland McGrath <roland@hack.frob.com>
3068
3069 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3070 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3071 Targets removed.
3072
3073 [BZ #14743]
3074 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3075 Declare __clock_getres, __clock_gettime, __clock_settime,
3076 __clock_nanosleep, and __clock_getcpuclockid.
3077 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3078 Remove librt_hidden_def (clock_gettime).
3079 * sysdeps/unix/clock_gettime.c: Likewise.
3080 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3081 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3082 * rt/clock_getres.c: Define __clock_getres as an alias.
3083 * sysdeps/posix/clock_getres.c: Likewise.
3084 * rt/clock_settime.c: Define __clock_settime as an alias.
3085 * sysdeps/unix/clock_settime.c: Likewise.
3086 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3087 * sysdeps/unix/clock_nanosleep.c: Likewise.
3088 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3089 * rt/clock-compat.c: New file.
3090 * rt/Makefile (librt-routines): Add clock-compat and move
3091 $(clock-routines) to ...
3092 (routines): ... here, new variable.
3093 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3094 Don't add get_clockfreq here.
3095 * rt/Versions (libc: GLIBC_2.17): New version set.
3096 Add clock_* symbols here.
3097 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3098 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3099 (GLIBC_2.17): Add clock_* symbols.
3100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3102 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3104 Likewise.
3105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3106 Likewise.
3107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3111 * NEWS: Mention the move.
3112
3113 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3114 Use __open, __read, __close rather than their public counterparts.
3115 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3116 (__get_clockfreq_via_cpuinfo): Likewise.
3117 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3118 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3119
3120 * config.h.in (HAVE_IFUNC): New #undef.
3121 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3122 was successful.
3123 * configure: Regenerated.
3124
0cae3f4b
MF
31252012-10-24 Mike Frysinger <vapier@gentoo.org>
3126
3127 * configure.in: Move READELF check to start of file.
3128 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3129 libc_cv_asm_gnu_indirect_function in the process.
3130 * configure: Regenerated.
3131
8175a253
MF
31322012-10-24 Mike Frysinger <vapier@gentoo.org>
3133
3134 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3135 send the output to /dev/null.
3136 (libc_cv_cc_with_libunwind): Likewise.
3137 (libc_cv_as_noexecstack): Likewise.
3138 * configure: Regenerate.
3139
0708a7d1
JM
31402012-10-24 Joseph Myers <joseph@codesourcery.com>
3141
10b40d85
JM
3142 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3143
0708a7d1
JM
3144 * posix/globtest.sh (TMPDIR): Do not set.
3145 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3146 (testout): Likewise.
3147
9fddec1a
AJ
31482012-10-24 Andreas Jaeger <aj@suse.de>
3149
3a8db22f
AJ
3150 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3151 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3152 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3153 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3154 posix_fadvise64, posix_fallocate64.
3155
9fddec1a
AJ
3156 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3157 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3158 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3159 Likewise.
3160 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3161 Likewise.
3162 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3163
3164 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3165 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3166 <bits/fcntl-linux.h>.
3167 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3168
3169 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3170 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3171 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3172 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3173 [__WORDSIZE != 64]: Likewise.
3174
ebfd1bbd
JM
31752012-10-23 Joseph Myers <joseph@codesourcery.com>
3176
03ac099f
JM
3177 * Makeconfig (run-built-tests): New variable.
3178 * Rules [$(cross-compiling) = yes]: Change condition to
3179 [$(run-built-tests) = no].
3180 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3181 to [$(run-built-tests) = yes].
3182 * elf/Makefile [$(cross-compiling) = no]: Likewise
3183 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3184 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3185 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3186 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3187 * io/Makefile [$(cross-compiling) = no]: Likewise.
3188 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3189 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3190 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3191 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3192 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3193 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3194 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3195 * string/Makefile [$(cross-compiling) = no]: Likewise.
3196
ebfd1bbd
JM
3197 * posix/Makefile ($(objpfx)globtest.out): Pass
3198 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3199 $(rtld-installed-name).
3200 * posix/globtest.sh (elf_objpfx): Remove variable.
3201 (rtld_installed_name): Likewise.
3202 (library_path): Likewise.
3203 (run_program_prefix): New variable. Use for running globtest
3204 binary.
3205
166bca24
JB
32062012-10-23 Jim Blandy <jimb@codesourcery.com>
3207 Joseph Myers <joseph@codesourcery.com>
3208
3209 * Makeconfig (host-built-program-cmd): New variable.
3210 * elf/Makefile (tst-stackguard1-ARGS): Use
3211 $(host-built-program-cmd).
3212 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3213 (tst-spawn-ARGS): Likewise.
3214 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3215
88866099
JM
32162012-10-23 Joseph Myers <joseph@codesourcery.com>
3217 Jim Blandy <jimb@codesourcery.com>
3218
3219 * Makeconfig (run-via-rtld-prefix): New variable.
3220 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3221 (built-program-cmd): Likewise.
3222
b4b4c296
AJ
32232012-10-22 Andreas Jaeger <aj@suse.de>
3224
3225 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3226 __O_RSYNC if it exists, otherwise to O_SYNC.
3227
6fb54a22
JB
32282012-10-22 Jim Blandy <jimb@codesourcery.com>
3229 Joseph Myers <joseph@codesourcery.com>
3230
3231 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3232 /dev/null.
3233 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3234 from /dev/null
3235 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3236 /dev/null.
3237
481b90b9
AJ
32382012-10-22 Andreas Jaeger <aj@suse.de>
3239
2a0e2669
AJ
3240 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3241 Define always.
3242 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3243
76e38f9a
AJ
3244 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3245 bits/fcntl-linux.h.
3246
7cd37b43
AJ
3247 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3248 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3249
481b90b9
AJ
3250 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3251 to __O_LARGEFILE.
3252 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3253 to __O_LARGEFILE.
3254
aba75984
JB
32552012-10-21 Jim Blandy <jimb@codesourcery.com>
3256 Joseph Myers <joseph@codesourcery.com>
3257
3258 * config.make.in (NM): New variable.
3259
88d4247f
AJ
32602012-10-21 Andreas Jaeger <aj@suse.de>
3261
3262 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3263 definitions and declarations that are provided by
3264 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3265
f2eed205
L
32662012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3267
3268 [BZ #14683]
3269 * elf/Makefile (tests-static): Add tst-leaks1-static.
3270 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3271 ($(objpfx)tst-leaks1-static): New rule.
3272 ($(objpfx)tst-leaks1-static-mem): Likewise.
3273 (tst-leaks1-static-ENV): New macro.
3274 * elf/dl-open.c (dl_open_worker): Check the main application
3275 only if SHARED is defined.
3276 * elf/tst-leaks1-static.c: New file.
3277
335e6931
AJ
32782012-10-20 Andreas Jaeger <aj@suse.de>
3279
3280 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3281 generic values for Linux.
3282 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3283 and declarations that are provided by <bits/fcntl-linux.h> and
3284 include <bits/fcntl-linux.h>.
3285 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3286 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3287
ac5c94d3
RM
32882012-10-20 Roland McGrath <roland@hack.frob.com>
3289
3290 * io/fcntl.h: Move include of <bits/types.h> to the top and
3291 include it unconditionally.
3292
de54b33a
L
32932012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3294
228cfb01
L
3295 * wcsmbs/Makefile (tests-ifunc): New variable.
3296 (tests): Add $(tests-ifunc).
3297 * wcsmbs/test-wcschr-ifunc.c: New file.
3298 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3299 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3300 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3301 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3302 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3303
69f07e5f
L
3304 * string/Makefile (tests-ifunc): New variable.
3305 (tests): Add $(tests-ifunc).
3306 * string/test-memccpy.c (TEST_NAME): New macro.
3307 * string/test-memchr.c (TEST_NAME): Likewise.
3308 * string/test-memcmp.c (TEST_NAME): Likewise.
3309 * string/test-memcpy.c (TEST_NAME): Likewise.
3310 * string/test-memmem.c (TEST_NAME): Likewise.
3311 * string/test-memmove.c (TEST_NAME): Likewise.
3312 * string/test-memset.c (TEST_NAME): Likewise.
3313 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3314 * string/test-stpcpy.c (TEST_NAME): Likewise.
3315 * string/test-stpncpy.c (TEST_NAME): Likewise.
3316 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3317 * string/test-strcasestr.c (TEST_NAME): Likewise.
3318 * string/test-strcat.c (TEST_NAME): Likewise.
3319 * string/test-strchr.c (TEST_NAME): Likewise.
3320 * string/test-strcmp.c(TEST_NAME): Likewise.
3321 * string/test-strcpy.c (TEST_NAME): Likewise.
3322 * string/test-strcspn.c (TEST_NAME): Likewise.
3323 * string/test-strlen.c (TEST_NAME): Likewise.
3324 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3325 * string/test-strncmp.c (TEST_NAME): Likewise.
3326 * string/test-strncpy.c (TEST_NAME): Likewise.
3327 * string/test-strnlen.c (TEST_NAME): Likewise.
3328 * string/test-strpbrk.c (TEST_NAME): Likewise.
3329 * string/test-strrchr.c (TEST_NAME): Likewise.
3330 * string/test-strspn.c (TEST_NAME): Likewise.
3331 * string/test-strstr.c (TEST_NAME): Likewise.
3332 * string/test-bcopy-ifunc.c: New file.
3333 * string/test-bzero-ifunc.c: Likewise.
3334 * string/test-memccpy-ifunc.c: Likewise.
3335 * string/test-memchr-ifunc.c: Likewise.
3336 * string/test-memcmp-ifunc.c: Likewise.
3337 * string/test-memcpy-ifunc.c: Likewise.
3338 * string/test-memmem-ifunc.c: Likewise.
3339 * string/test-memmove-ifunc.c: Likewise.
3340 * string/test-mempcpy-ifunc.c: Likewise.
3341 * string/test-memset-ifunc.c: Likewise.
3342 * string/test-rawmemchr-ifunc.c: Likewise.
3343 * string/test-stpcpy-ifunc.c: Likewise.
3344 * string/test-stpncpy-ifunc.c: Likewise.
3345 * string/test-strcasecmp-ifunc.c: Likewise.
3346 * string/test-strcasestr-ifunc.c: Likewise.
3347 * string/test-strcat-ifunc.c: Likewise.
3348 * string/test-strchr-ifunc.c: Likewise.
3349 * string/test-strchrnul-ifunc.c: Likewise.
3350 * string/test-strcmp-ifunc.c: Likewise.
3351 * string/test-strcpy-ifunc.c: Likewise.
3352 * string/test-strcspn-ifunc.c: Likewise.
3353 * string/test-strlen-ifunc.c: Likewise.
3354 * string/test-strncasecmp-ifunc.c: Likewise.
3355 * string/test-strncat-ifunc.c: Likewise.
3356 * string/test-strncmp-ifunc.c: Likewise.
3357 * string/test-strncpy-ifunc.c: Likewise.
3358 * string/test-strnlen-ifunc.c: Likewise.
3359 * string/test-strpbrk-ifunc.c: Likewise.
3360 * string/test-strrchr-ifunc.c: Likewise.
3361 * string/test-strspn-ifunc.c: Likewise.
3362 * string/test-strstr-ifunc.c: Likewise.
3363
de54b33a
L
3364 * debug/Makefile (tests-ifunc): New variable.
3365 (tests): Add $(tests-ifunc).
3366 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3367 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3368 * debug/test-stpcpy_chk-ifunc.c: New file.
3369 * debug/test-strcpy_chk-ifunc.c: Likewise.
3370
88481c16
SP
33712012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3372
3373 [BZ #13601]
3374 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3375 header is not read in.
3376
135948bd
JM
33772012-10-19 Joseph Myers <joseph@codesourcery.com>
3378
89f1c388
JM
3379 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3380 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3381 directly. Pass built executable to script as
3382 $(built-program-cmd).
3383 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3384 $testprogram without using LD_LIBRARY_PATH and $ldso.
3385
e40a0d21
JM
3386 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3387 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3388 $(rtld-installed-name).
3389 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3390 (rtld_installed_name): Likewise.
3391 (library_path): Likewise.
3392 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3393 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3394 $(run-program-prefix) to tst-tables.sh.
3395 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3396 it to run tst-table-from and tst-table-to.
3397 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3398 Pass it to tst-table.sh.
3399 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3400 $(run-program-prefix) to tst-gettext.sh.
3401 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3402 tst-translit.sh.
3403 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3404 tst-gettext2.sh.
3405 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3406 to run tst-gettext.
3407 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3408 to run tst-gettext2.
3409 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3410 to run tst-translit.
3411 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3412 $(run-program-prefix) to tst-mtrace.sh.
3413 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3414 to run tst-mtrace.
3415 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3416 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3417 $(rtld-installed-name).
3418 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3419 (rtld_installed_name): Likewise.
3420 (run_program_prefix): New variable. Use it to run wordexp-test.
3421
728e272a
JM
3422 * Makeconfig (ARCH): Remove all definitions.
3423 (machine): Likewise.
3424 [ARCH]: Remove conditional code.
3425 [!objdir]: Give error.
3426 [!objdir] (objpfx): Remove.
3427 [!objdir] (common-objpfx): Likewise.
3428 [!objdir] (common-objdir): Likewise.
3429 * configure.in (config_makefile): Remove. Hardcode Makefile in
3430 AC_CONFIG_FILES call.
3431 * configure: Regenerated.
3432
d528cdcf
JM
3433 [BZ #13888]
3434 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3435 or TMPDIR.
3436 (testout): Likewise.
3437
135948bd
JM
3438 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3439 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3440 $(rtld-installed-name).
3441 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3442 (rtld_installed_name): Likwise.
3443 (runit): Remove function.
3444 (run_getconf): New variable, Use it for running getconf binary.
3445
38c78296
L
34462012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3447
3448 [BZ #14716]
3449 * string/test-memmem.c (check_result): New function.
3450 (do_one_test): Use it.
3451 (check1): New function.
3452 (test_main): Use it.
3453
d077f65f
MT
34542012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3455
3456 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3457
ced52c71
JM
34582012-10-18 Joseph Myers <joseph@codesourcery.com>
3459
3460 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3461 (_G_LSEEK64): Likewise.
3462 (_G_MMAP64): Likewise.
3463 (_G_FSTAT64): Likewise.
3464 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3465 (_G_LSEEK64): Likewise.
3466 (_G_MMAP64): Likewise.
3467 (_G_FSTAT64): Likewise.
3468 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3469 unconditional. Call __mmap64 directly.
3470 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3471 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3472 __lseek64 directly.
3473 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3474 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3475 __mmap64 directly.
3476 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3477 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3478 __lseek64 directly.
3479 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3480 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3481 __lseek64 directly.
3482 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3483 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3484 __lseek64 directly.
3485 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3486 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3487 __fxstat64 directly.
3488 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3489 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3490 unconditional.
3491 (freopen64) [!_G_OPEN64]: Remove conditional code.
3492 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3493 unconditional.
3494 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3495 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3496 unconditional.
3497 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3498 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3499 unconditional.
3500 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3501 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3502 unconditional.
3503 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3504 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3505 unconditional.
3506 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3507 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3508 unconditional.
3509 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3510 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3511 unconditional.
3512 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3513
b741de23
SP
35142012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3515
3516 [BZ #12140]
3517 * manual/memory.texi (Malloc Tunable Parameters): Add note
3518 about free list pointers overwriting some perturb bytes.
3519 Wording suggested by Roland McGrath.
3520
f9b9d9c9
JM
35212012-10-17 Joseph Myers <joseph@codesourcery.com>
3522
3523 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3524 (lgamma_test): Likewise.
3525 (tgamma_test): Likewise.
3526
172a631a
FW
35272012-10-16 Florian Weimer <fweimer@redhat.com>
3528
3529 [BZ #14700]
3530 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3531 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3532
e9f37252
MK
35332012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3534
3535 * NEWS: Mention BZ #14716.
3536 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3537 when removing AVAILABLE1_USES_J macro.
3538
d394eb74
L
35392012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3540
3541 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3542 (__bswap_64): __uint64_t for unsigned 64-bit int.
3543
ca38dc17
AS
35442012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3545
3546 * include/string.h (memmem): Declare libc hidden alias.
3547 * string/memmem.c (memmem): Define libc hidden alias.
3548 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3549 __read, __close instead of open, read, close.
3550
9a387d1f
L
35512012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3552
ac49ecaf
L
3553 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3554 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3555 global and hidden.
3556 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3557 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3558 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3559 Likewise.
3560 (__rawmemchr_sse2): Likewise.
3561 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3562 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3563 (__strchr_sse2): Likewise.
3564 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3565 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3566 (__strcasecmp_sse2): Likewise.
3567 (__strncasecmp_sse2): Likewise.
3568 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3569 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3570 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3571 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3572 (__strrchr_sse2): Likewise.
3573 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3574 ifunc-impl-list.c.
3575 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3576 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3577 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3578 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3579 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3580 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3581 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3582 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3583 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3584 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3585 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3586 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3587 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3588 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3589 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3590 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3591 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3592 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3593 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3594 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3595 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3596 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3597 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3598 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3599 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3600 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3601 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3602 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3603 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3604 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3605
b090e8ea
L
3606 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3607 global and hidden.
3608 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3609 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3610 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3611 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3612 Likewise.
3613 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3614 Likewise.
3615 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3616 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3617 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3618 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3619 ifunc-impl-list.c.
3620 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3621 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3622 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3623 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3624 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3625 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3626 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3627 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3628 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3629 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3630 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3631 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3632 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3633 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3634 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3635 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3636 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3637 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3638 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3639 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3640 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3641 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3642 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3643 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3644 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3645 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3646 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3647 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3648 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3649 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3650 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3651 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3652 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3653 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3654 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3655 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3656 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3657 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3658 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3659 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3660 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3661
11dd4af6
L
3662 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3663 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3664 * include/ifunc-impl-list.h: New file.
3665 * misc/ifunc-impl-list.c: Likewise.
3666 * misc/Makefile (routines): Add ifunc-impl-list.
3667 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3668 * string/test-string.h: Include <ifunc-impl-list.h>.
3669 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3670 impl_array): New variables.
3671 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3672 are defined.
3673 (test_init): Call __libc_ifunc_impl_list to initialize
3674 func_list if TEST_IFUNC and TEST_NAME are defined.
3675
9a387d1f
L
3676 * string/Makefile (strop-tests): Add bcopy and bzero.
3677 * string/test-bcopy.c: New file.
3678 * string/test-bzero.c: Likewise.
3679 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3680 defined.
3681 * string/test-memset.c: Support bzero test if TEST_BZERO is
3682 defined.
3683 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3684 __libc_memmove.
3685 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3686 __libc_memset.
3687 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3688 of memset.
3689
472371b9
JM
36902012-10-10 Joseph Myers <joseph@codesourcery.com>
3691
1e4a9536
JM
3692 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3693 * configure: Regenerated.
3694
d173d12e
JM
3695 * Makeconfig (+link-static-before-libc): Don't include
3696 $(link-static-libc).
3697
472371b9
JM
3698 * libio/libio.h (_IO_pos_t): Remove.
3699
89a3ad0b
AO
37002012-10-10 Alexandre Oliva <aoliva@redhat.com>
3701
3702 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3703 McGrath.
3704
e7451425
AO
37052012-10-10 Alexandre Oliva <aoliva@redhat.com>
3706
3707 * crypt/crypt-entry.c: Include fips-private.h.
3708 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3709 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3710 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3711 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3712
4ba74a35
AO
37132012-10-10 Alexandre Oliva <aoliva@redhat.com>
3714
3715 * crypt/crypt-private.h: Include stdbool.h.
3716 (_ufc_setup_salt_r): Return bool.
3717 * crypt/crypt-entry.c: Include errno.h.
3718 (__crypt_r): Return NULL with EINVAL for bad salt.
3719 * crypt/crypt_util.c (bad_for_salt): New.
3720 (_ufc_setup_salt_r): Check that salt is long enough and within
3721 the specified alphabet.
3722 * crypt/badsalttest.c: New file.
3723 * crypt/Makefile (tests): Add it.
3724 ($(objpfx)badsalttest): New.
3725
f96f1242
MK
37262012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3727
3728 * NEWS: Add entry for BZ #14602.
3729
0e8e0c1c
JM
37302012-10-09 Joseph Myers <joseph@codesourcery.com>
3731
3732 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3733 type-generic.
3734 * math/libm-test.inc: Update comment listing what functions and
3735 macros are tested.
3736 (isgreater_test): New function.
3737 (isgreaterequal_test): Likewise.
3738 (isless_test): Likewise.
3739 (islessequal_test): Likewise.
3740 (islessgreater_test): Likewise.
3741 (isunordered_test): Likewise.
3742 (main): Call the new functions.
3743
273edc5e
RM
37442012-10-09 Roland McGrath <roland@hack.frob.com>
3745
b8493de0
RM
3746 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3747 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3748 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3749 * sysdeps/i386/configure: Regenerated.
3750 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3751 * sysdeps/mach/configure: Regenerated.
3752 * sysdeps/mach/hurd/configure: Regenerated.
3753 * sysdeps/powerpc/configure: Regenerated.
3754 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3755 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3756 * sysdeps/s390/s390-32/configure: Regenerated.
3757 * sysdeps/s390/s390-64/configure: Regenerated.
3758 * sysdeps/sh/configure: Regenerated.
3759 * sysdeps/sparc/configure: Regenerated.
3760 * sysdeps/unix/sysv/linux/configure: Regenerated.
3761 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3762 * sysdeps/x86_64/configure: Regenerated.
3763
273edc5e
RM
3764 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3765 defined. Don't check if MAP is NULL.
3766
c8450f70
JM
37672012-10-09 Joseph Myers <joseph@codesourcery.com>
3768
3769 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3770 (_G_stat64): Likewise.
3771 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3772 (_G_stat64): Likewise.
3773 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3774 instead of struct _G_stat64.
3775 * libio/fileops.c (mmap_remap_check): Likewise.
3776 (decide_maybe_mmap): Likewise.
3777 (_IO_new_file_seekoff): Likewise.
3778 (_IO_file_stat): Likewise.
3779 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3780 _G_off64_t.
3781 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3782 instead of struct _G_stat64.
3783 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3784
57e605ba
MK
37852012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3786
3787 [BZ #14602]
3788 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3789 Replace with ...
3790 (CHECK_EOL): New macro.
3791 (two_way_short_needle): Check beginning of haystack for EOL. Use
3792 CHECK_EOL.
3793 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3794 Replace with CHECK_EOL.
3795 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3796 Replace with CHECK_EOL.
3797
ef1bb361
JM
37982012-10-08 Joseph Myers <joseph@codesourcery.com>
3799
3800 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3801 type-generic.
3802 * math/libm-test.inc: Update comment listing what functions and
3803 macros are tested.
3804 (finite_test): New function.
3805 (isinf_test): Likewise.
3806 (isnan_test): Likewise.
3807 (fpclassify_test): Test subnormal input.
3808 (isfinite_test): Likewise.
3809 (isnormal_test): Likewise.
3810 (main): Call the new functions.
3811
55f11534
JN
38122012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3813
3814 [BZ #14660]
3815 * Makerules (%.dynsym): Force C locale when running
3816 $(OBJDUMP) --dynamic-syms.
3817
1ab29350
AS
38182012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3819
3820 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3821 <stdint.h>.
3822
f1ecb7ef
DM
38232012-10-06 David S. Miller <davem@davemloft.net>
3824
3825 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3826 upper 32-bits of the length value in %o2 since we use branch-on-register
3827 tests which consider the entire 64-bit register.
3828
5d41d91a
L
38292012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3830
3831 * string/test-strstr.c (check2): Add a test for page boundary.
3832
3baddb72
DM
38332012-10-05 David S. Miller <davem@davemloft.net>
3834
3835 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3836 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3837 file.
3838 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3839 sysdep_routines.
3840 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3841 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3842 and bzero when HWCAP_SPARC_CRYPTO is present.
3843
9cee5585
L
38442012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3845
d7e0dab9
L
3846 [BZ #14602]
3847 * string/test-strstr.c (check2): New function.
3848 (test_main): Call check2.
3849
03759f47
L
3850 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3851 and bug-strchr1.
3852 * string/bug-strcasestr1.c (do_test): Moved to ...
3853 * string/test-strcasestr.c (check1): Here. New function.
3854 (do_one_test): Break out result checking code into ...
3855 (check_result): This. New function.
3856 (do_one_test): Call check_result.
3857 (test_main): Call check1.
3858 * string/bug-strchr1.c (do_test): Moved to ...
3859 * string/test-strchr.c (check1): Here. New function.
3860 (do_one_test): Break out result checking code into ...
3861 (check_result): This. New function.
3862 (do_one_test): Call check_result.
3863 (test_main): Call check1.
3864 * string/bug-strstr1.c (main): Moved to ...
3865 * string/test-strchr.c (check1): Here. New function.
3866 (do_one_test): Break out result checking code into ...
3867 (check_result): This. New function.
3868 (do_one_test): Call check_result.
3869 (test_main): Call check1.
3870 * string/bug-strcasestr1.c: Removed.
3871 * string/bug-strchr1.c: Likewise.
3872 * string/bug-strstr1.c: Likewise.
3873
53cea63e
L
3874 * elf/Makefile (dl-routines): Add hwcaps.
3875 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3876 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3877 (_dl_important_hwcaps): Moved to ...
3878 * elf/dl-hwcaps.c: Here. New file.
3879 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3880
9cee5585 3881 [BZ #14557]
bb859b06
L
3882 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3883 if IS_IN_rtld isn't defined.
3884
9cee5585
L
3885 * elf/dl-support.c (_dl_sysinfo_map): New.
3886 Include "get-dynamic-info.h" and "setup-vdso.h".
3887 (_dl_non_dynamic_init): Call setup_vdso.
3888 * elf/dynamic-link.h: Don't include <assert.h>.
3889 (elf_get_dynamic_info): Moved to ...
3890 * elf/get-dynamic-info.h: Here. New file.
3891 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3892 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3893 * elf/setup-vdso.h: Here. New file.
3894 * elf/rtld.c: Include "setup-vdso.h".
3895 (dl_main): Call setup_vdso.
3896
23c31b76
JM
38972012-10-05 Joseph Myers <joseph@codesourcery.com>
3898
28234b07
JM
3899 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3900 creal in comment listing functions tested. List finite, isinf,
3901 isnan, isless, islessequal, isgreater, isgreaterequal,
3902 islessgreater, isunordered, lgamma_r and pow10 as functions and
3903 macros not tested. Mention which functions not tested are aliases
3904 for other functions. Fix typo. Note that signs of NaNs are not
3905 tested.
3906
23c31b76
JM
3907 * scripts/config.guess: Update from config.git.
3908 * scripts/config.sub: Likewise.
3909
9043e228
RM
39102012-10-04 Roland McGrath <roland@hack.frob.com>
3911
3912 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3913 * misc/madvise.c (madvise): Renamed to __madvise.
3914 Make madvise a weak alias.
3915 * include/sys/mman.h: Declare __madvise.
3916 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3917 * sysdeps/unix/syscalls.list
3918 (madvise): Make __madvise the strong name, and madvise a weak alias.
3919 * sysdeps/unix/sysv/linux/syscalls.list
3920 (madvise, mmap): Remove redundant entries.
3921 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3922 * malloc/malloc.c (mtrim): Likewise.
3923 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3924
f57f8055
RM
39252012-10-03 Roland McGrath <roland@hack.frob.com>
3926
3927 * sysdeps/mach/hurd/dl-cache.c: File removed.
3928 * config.h.in (USE_LDCONFIG): New #undef.
3929 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3930 * configure: Regenerated.
3931 * elf/Makefile (dl-routines): Add dl-cache only under
3932 [$(use-ldconfig) = yes].
3933 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3934 cache on [USE_LDCONFIG].
3935 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3936 [USE_LDCONFIG].
3937 * elf/rtld.c (dl_main): Likewise.
3938
5bb0c10a
PT
39392012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3940
3941 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3942 _SC_LEVEL4_CACHE_LINESIZE.
3943
010188c6
RM
39442012-10-03 Roland McGrath <roland@hack.frob.com>
3945
3946 * sysdeps/unix/bsd/confstr.h: File removed.
3947
b6c5ec07
AO
39482012-10-02 Alexandre Oliva <aoliva@redhat.com>
3949
3950 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3951 sys/sdt-config.h.
3952
408223d4
RM
39532012-10-02 Roland McGrath <roland@hack.frob.com>
3954
3955 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3956 Make 'mapoff' field ElfW(Off) rather than off_t.
3957
bb9510dc
DL
39582012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3959
fc997c6e
DL
3960 * nscd/Makefile: Remove nscd-cflags and all its users.
3961 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3962 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3963
bb9510dc
DL
3964 [BZ #10631]
3965 * malloc.c (malloc_printerr): Clarify error message.
3966
05699367
L
39672012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3968
3969 [BZ #14648]
3970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3971 Set bit_FMA_Usable if FMA is supported.
3972 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3973 macro.
3974 (bit_FMA4_Usable): Updated.
3975 (index_FMA_Usable): New macro.
3976 (CPUID_FMA): Likewise
3977 (HAS_FMA): Defined with bit_FMA_Usable.
3978
51367701
RM
39792012-10-01 Roland McGrath <roland@hack.frob.com>
3980
3981 * bits/types.h (__swblk_t): Type removed.
3982 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3983 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3984 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3985 (__SWBLK_T_TYPE): Likewise.
3986 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3987 (__SWBLK_T_TYPE): Likewise.
3988 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3989 (__SWBLK_T_TYPE): Likewise.
3990 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3991 (__SWBLK_T_TYPE): Likewise.
3992
4d57bf63 39932012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3994 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3995
3996 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3997 (xdr_mapname): Use YPMAXMAP as maxsize.
3998 (xdr_peername): Use YPMAXPEER as maxsize.
3999 (xdr_keydat): Use YPAXRECORD as maxsize.
4000 (xdr_valdat): Use YPMAXRECORD as maxsize.
4001
93c65d43
RM
40022012-10-01 Roland McGrath <roland@hack.frob.com>
4003
497a03d6
RM
4004 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4005
93c65d43
RM
4006 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4007 * csu/init-first.c: ... here.
4008 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4009 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4010 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4011 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4012 * sysdeps/i386/init-first.c: File removed.
4013 * sysdeps/sh/init-first.c: File removed.
4014
bec749fd
JM
40152012-10-01 Joseph Myers <joseph@codesourcery.com>
4016
4017 [BZ #14645]
4018 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4019 if x * y might underflow to zero and z is zero.
4020 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4021 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4022 * math/libm-test.inc (min_subnorm_value): New variable.
4023 (fma_test): Add more tests.
4024 (fma_test_towardzero): Likewise.
4025 (fma_test_downward): Likewise
4026 (fma_test_upward): Likewise.
4027 (initialize): Set min_subnorm_value.
4028
8ec5b013
JM
40292012-09-29 Joseph Myers <joseph@codesourcery.com>
4030
4031 [BZ #14638]
4032 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4033 0 + 0.
4034 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4035 mode for addition resulting in exact zero.
4036 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4037 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4038 exact 0 + 0.
4039 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4040 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4041 * math/libm-test.inc (fma_test): Add more tests.
4042 (fma_test_towardzero): New function.
4043 (fma_test_downward): Likewise.
4044 (fma_test_upward): Likewise.
4045 (main): Call the new functions.
4046
b1fa802e
DM
40472012-09-28 David S. Miller <davem@davemloft.net>
4048
4049 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4050
d3b9fd9e
RM
40512012-09-28 Roland McGrath <roland@hack.frob.com>
4052
ea4d37b3
RM
4053 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4054 instead of SIGALRM.
4055
ac51c949
RM
4056 * sysdeps/gnu/_G_config.h: Moved to ...
4057 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4058 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4059 * sysdeps/generic/_G_config.h: ... here.
4060
28c195f7
RM
4061 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4062
848917f9
RM
4063 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4064
6bacf05b
RM
4065 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4066 Conditionalize target on [libnss_test1.so-version].
4067
91363dbb
RM
4068 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4069
cc87f7d8
RM
4070 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4071 (elfobjdir): Move out of conditionals.
4072
b1c608fe
RM
4073 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4074 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4075 (__nss_lookup_function): Conditionalize label remove_from_tree on
4076 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 4077
1d9a6d96
DM
40782012-09-28 David S. Miller <davem@davemloft.net>
4079
4080 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4081 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4082 file.
4083 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4084 sysdep_routines.
4085 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4086 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4087 when HWCAP_SPARC_CRYPTO is present.
4088
72581615
PT
40892012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4090
4091 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4092
715a900c
JL
40932012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4094
4095 [BZ #6530]
4096 * stdio-common/vfprintf.c (process_string_arg): Revert
4097 2000-07-22 change.
4098
40992011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4100
4101 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4102 for testcase.
4103 * stdio-common/tst-sprintf.c: Include <locale.h>
4104 (main): Test sprintf's handling of incomplete multibyte
4105 characters.
4106
9bac1d86
L
41072012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4108
4109 * elf/dl-runtime.c (VERSYMIDX): Removed.
4110 * elf/dl-version.c (VERSYMIDX): Likewise.
4111 * elf/do-rel.h (VERSYMIDX): Likewise.
4112 (VALIDX): Likewise.
4113 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4114 * elf/rtld.c (VALIDX): Likewise.
4115 (ADDRIDX): Likewise.
9bac1d86
L
4116 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4117 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4118 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
4119 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4120 (VALIDX): Likewise.
4121 (ADDRIDX): Likewise.
9bac1d86 4122
b31606c0
PT
41232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4124
4125 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4126
11541177
JL
41272012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4128
4129 [BZ #11438]
4130 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4131 to global scope.
4132 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4133 addresses are in the same scope as 192.0.2/24.
4134 * posix/gai.conf: Document new scope table defaults.
4135
adb26fae
SP
41362012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4137
4138 [BZ #5298]
4139 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4140 for ftell. Compute offsets from write pointers instead.
4141 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4142
4573c6b0
SP
41432012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4144
4145 [BZ #14543]
4146 * libio/Makefile (tests): New test case tst-fseek.
4147 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4148 combination works in wide mode.
4149 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4150 state when the external buffer state changes.
4151
aa9bbfe6
DM
41522012-09-27 David S. Miller <davem@davemloft.net>
4153
4154 [BZ #14376]
4155 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4156 pass reloc->r_addend in as the 'high' argument to
4157 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4158
784421e7
DM
4159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4160
c39bc8b8
PT
41612012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4162
4163 * rt/tst-aio2.c: Include <pthread.h>.
4164 * rt/tst-aio3.c: Likewise.
4165
1ccc2399
SE
41662012-09-27 Steve Ellcey <sellcey@mips.com>
4167
4168 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4169
31ed4153
L
41702012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4171
25f5f885
L
4172 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4173 contents on [SHARED].
31ed4153 4174
b7bfe116
MP
41752012-09-26 Marek Polacek <polacek@redhat.com>
4176
4177 [BZ #14530]
4178 [BZ #13741]
4179 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4180 for C++ and GCC <4.3 as well as for non GCC compilers.
4181
43c4edba
MT
41822012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4183
4184 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4185
6a1bf82f
RM
41862012-09-25 Roland McGrath <roland@hack.frob.com>
4187
4188 * Makefile.in (all, install): Declare with .PHONY.
4189 Reported by Michael Hope <michael.hope@linaro.org>.
4190
8ad11b9a
TMQMF
41912012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4192
4193 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4194 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4195 system header.
4196 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4197 Likewise.
4198 (sydep_routines): Add the new and the internal functions.
4199 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4200 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4202 (GLIBC_2.17): Add the new function.
4203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4204 (GLIBC_2.17): Likewise.
4205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4206 (GLIBC_2.17): Likewise.
4207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4208 (GLIBC_2.17): Likewise.
4209 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4210
7e2fca8d
AM
42112012-09-25 Alan Modra <amodra@gmail.com>
4212
4213 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4214 Add release barrier before setting once_control to say
4215 initialisation is done. Add hints on lwarx. Use macro in
4216 place of isync.
4217 (clear_once_control): Add release barrier.
4218
b87c4b24
JM
42192012-09-25 Joseph Myers <joseph@codesourcery.com>
4220
d032e0d2
JM
4221 [BZ #13629]
4222 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4223 specially.
4224 * math/s_clog10.c (__clog10): Likewise.
4225 * math/s_clog10f.c (__clog10f): Likewise.
4226 * math/s_clog10l.c (__clog10l): Likewise.
4227 * math/s_clogf.c (__clogf): Likewise.
4228 * math/s_clogl.c (__clogl): Likewise.
4229 * math/Makefile (libm-calls): Add x2y2m1.
4230 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4231 (__x2y2m1): Likewise.
4232 (__x2y2m1l): Likewise.
4233 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4234 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4235 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4236 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4237 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4238 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4239 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4240 * sysdeps/i386/fpu/libm-test-ulps: Update.
4241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4242
b87c4b24
JM
4243 [BZ #14621]
4244 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4245 int as type of variable DEPTH.
4246 (glob): Use size_t instead of int as type of variables NEWCOUNT
4247 and OLD_PATHC.
4248
6d3bf199
LD
42492012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4250
22bf5c17
LD
4251 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4252 Add s_sincosf-sse2.
4253 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4254 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4255 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4256 macros for using routine as __sincosf_ia32.
4257 Use macro for function declaration and weak_alias.
4258 * sysdeps/i386/fpu/libm-test-ulps: Update.
4259
4260 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4261 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4262
4263 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4264 subnormal argument.
4265 * math/s_cexpf.c (__cexpf): Likewise.
4266 * math/s_csinf.c (__csinf): Likewise.
4267 * math/s_csinhf.c (__csinhf): Likewise.
4268 * math/s_ctanf.c (__ctanf): Likewise.
4269 * math/s_ctanhf.c (__ctanhf): Likewise.
4270 * math/s_ccosh.c (__ccoshf): Likewise.
4271 * math/s_cexp.c (__cexpl): Likewise.
4272 * math/s_csin.c (__csin): Likewise.
4273 * math/s_csinh.c (__csinh): Likewise.
4274 * math/s_ctan.c (__ctan): Likewise.
4275 * math/s_ctanh.c (ctanh): Likewise.
4276 * math/s_ccoshl.c (__ccoshl): Likewise.
4277 * math/s_cexpl.c (__cexpl): Likewise.
4278 * math/s_csinl.c (__csinl): Likewise.
4279 * math/s_csinhl.c (__csinhl): Likewise.
4280 * math/s_ctanl.c (__ctanl): Likewise.
4281 * math/s_ctanhl.c (__ctanhl): Likewise.
4282
203e5603
JM
42832012-09-25 Joseph Myers <joseph@codesourcery.com>
4284
4285 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4286 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4287 (_IO_off_t): Define to __off_t, not _G_off_t.
4288 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4289 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4290 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4291 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4292 type of __dummy and __dummy2 fields.
4293 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4294 (_G_ssize_t): Likewise.
4295 (_G_off_t): Likewise.
4296 (_G_pid_t): Likewise.
4297 (_G_uid_t): Likewise.
4298 (_G_wchar_t): Likewise.
4299 (_G_wint_t): Likewise.
4300 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4301 (_G_ssize_t): Likewise.
4302 (_G_off_t): Likewise.
4303 (_G_pid_t): Likewise.
4304 (_G_uid_t): Likewise.
4305 (_G_wchar_t): Likewise.
4306 (_G_wint_t): Likewise.
4307 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4308 (_G_ssize_t): Likewise.
4309 (_G_off_t): Likewise.
4310 (_G_pid_t): Likewise.
4311 (_G_uid_t): Likewise.
4312 (_G_wchar_t): Likewise.
4313 (_G_wint_t): Likewise.
4314
9fab36eb
SP
43152012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4316
4317 * malloc/arena.c: Include malloc-sysdep.h.
4318 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4319 is sufficient to shrink the heap or an unmap is needed.
4320 * sysdeps/generic/malloc-sysdep.h: New file. Define
4321 new function check_may_shrink_heap.
4322 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4323 new function check_may_shrink_heap.
4324
2b4f00d1
SP
43252012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4326
4327 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4328 comments.
4329
9a9028b1
DL
43302012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4331
57c69bef
DL
4332 * catgets/test-gencat.sh: Add "set -e".
4333 * elf/tst-pathopt.sh: Likewise.
4334 * grp/tst_fgetgrent.sh: Likewise.
4335 * iconvdata/run-iconv-test.sh: Likewise.
4336 * intl/tst-gettext.sh: Likewise.
4337 * intl/tst-gettext2.sh: Likewise.
4338 * intl/tst-gettext4.sh: Likewise.
4339 * intl/tst-gettext6.sh: Likewise.
4340 * intl/tst-translit.sh: Likewise.
4341 * io/ftwtest-sh: Likewise.
4342 * libio/test-freopen.sh: Likewise.
4343 * malloc/tst-mtrace.sh: Likewise.
4344 * posix/globtest.sh: Likewise.
4345 * posix/tst-getconf.sh: Likewise.
4346 * posix/wordexp-tst.sh: Likewise.
4347 * stdio-common/tst-printf.sh: Likewise.
4348 * stdio-common/tst-unbputc.sh: Likewise.
4349 * stdlib/tst-fmtmsg.sh: Likewise.
4350 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4351 * catgets/Makefile: Do not specify -e option when running
4352 testsuite shell scripts.
4353 * elf/Makefile: Likewise.
4354 * grp/Makefile: Likewise.
4355 * iconvdata/Makefile: Likewise.
4356 * intl/Makefile: Likewise.
4357 * io/Makefile: Likewise.
4358 * libio/Makefile: Likewise.
4359 * malloc/Makefile: Likewise.
4360 * posix/Makefile: Likewise.
4361 * stdio-common/Makefile: Likewise.
4362 * stdlib/Makefile: Likewise.
4363 * sysdeps/x86_64/Makefile: Likewise.
4364
9a9028b1
DL
4365 * io/ftwtest-sh: Add copyright header.
4366 * posix/globtest.sh: Likewise.
4367 * posix/tst-getconf.sh: Likewise.
4368 * posix/wordexp-tst.sh: Likewise.
4369 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4370
ced6f16e
L
43712012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4372
94b32c39
L
4373 [BZ #13679]
4374 * Makeconfig (+link): Defined as $(+link-static) if
4375 $(build-shared) isn't yes.
4376 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4377 isn't yes.
4378 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4379
189e935b
L
4380 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4381
ced6f16e
L
4382 [BZ #14562]
4383 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4384 new chunk size with MALLOC_ALIGN_MASK.
4385
a9f8e53a
JM
43862012-09-24 Joseph Myers <joseph@codesourcery.com>
4387
4388 [BZ #5044]
4389 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4390 <rounding-mode.h>.
4391 (__printf_fphex): Determine rounding using get_rounding_mode and
4392 round_away.
4393 * stdio-common/tst-printf-round.c (struct hex_test): New
4394 structure.
4395 (hex_tests): New variable.
4396 (test_hex_in_one_mode): New function.
4397 (do_test): Also run tests for hex float output.
4398
43153109
JM
43992012-09-21 Joseph Myers <joseph@codesourcery.com>
4400
4401 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4402 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4403 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4404 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4405 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4406 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4407 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4408 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4409
8a26625d
JM
44102012-09-20 Joseph Myers <joseph@codesourcery.com>
4411
4412 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4413 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4414 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4415 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4416
f3fd569c
DL
44172012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4418
4419 [BZ #14579]
4420 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4421 mode only.
4422 * elf/tst-rtld-load-self.sh: New test.
4423 * elf/Makefile: Run it.
4424
63bbedd4
JM
44252012-09-18 Joseph Myers <joseph@codesourcery.com>
4426
4427 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4428 (tst-writev-ENV): Remove.
4429 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4430
626f8b6a
CM
44312012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4432
4433 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4434
b7aaa4d6
JM
44352012-09-17 Joseph Myers <joseph@codesourcery.com>
4436
4437 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4438 unconditional.
4439 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4440 Likewise.
4441 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4442 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4443 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4444 Likewise.
4445
65513990
L
44462012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4447
4448 [BZ #14587]
4449 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4450 * config.make.in (have-cpp-asm-debuginfo): Removed.
4451 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4452 * configure: Regenerated.
4453
784761be
JM
44542012-09-14 Joseph Myers <joseph@codesourcery.com>
4455
4456 [BZ #5044]
4457 * stdio-common/printf_fp.c: Include <stdbool.h> and
4458 <rounding-mode.h>.
4459 (___printf_fp): Determine rounding using get_rounding_mode and
4460 round_away.
4461 * stdio-common/tst-printf-round.c: New file.
4462 * stdio-common/Makefile (tests): Add tst-printf-round.
4463 (link-libm): New variable.
4464 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4465
9503345f
L
44662012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4467
4468 [BZ #14576]
4469 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4470 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4471 Likewise.
4472 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4473 Likewise.
4474
ad35fc00
JM
44752012-09-13 Joseph Myers <joseph@codesourcery.com>
4476
4477 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4478 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4479 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4480 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4481
6c9b0f68
JM
44822012-09-12 Joseph Myers <joseph@codesourcery.com>
4483
4484 [BZ #14518]
4485 * include/rounding-mode.h: New file.
4486 * sysdeps/generic/get-rounding-mode.h: Likewise.
4487 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4488 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4489 (MAX_VALUE): New macro.
4490 (MIN_VALUE): Likewise.
4491 (overflow_value): New function.
4492 (underflow_value): Likewise.
4493 (round_and_return): Use overflow_value and underflow_value to
4494 determine return values in overflow and underflow cases. Use
4495 round_away to determine rounding depending on rounding mode.
4496 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4497 determine return values in overflow and underflow cases.
4498 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4499 (struct test_results): New structure.
4500 (struct test): Use struct test_results to store expected results
4501 for all rounding modes.
4502 (TEST): Include expected results for all rounding modes.
4503 (test_in_one_mode): New function.
4504 (do_test): Use test_in_one_mode to compute and check results.
4505 Check results for all rounding modes.
4506 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4507 $(link-libm).
4508
19fcedd5
AM
45092012-12-09 Allan McRae <allan@archlinux.org>
4510
1e9d84cd 4511 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 4512
8bbfd2f1
JM
45132012-09-11 Joseph Myers <joseph@codesourcery.com>
4514
4515 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4516 (_G_int32_t): Likewise.
4517 (_G_uint16_t): Likewise.
4518 (_G_uint32_t): Likewise.
4519 (_G_HAVE_BOOL): Likewise.
4520 (_G_HAVE_ATEXIT): Likewise.
4521 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4522 (_G_HAVE_IO_FILE_OPEN): Likewise.
4523 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4524 (_G_int32_t): Likewise.
4525 (_G_uint16_t): Likewise.
4526 (_G_uint32_t): Likewise.
4527 (_G_HAVE_BOOL): Likewise.
4528 (_G_HAVE_ATEXIT): Likewise.
4529 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4530 (_G_HAVE_IO_FILE_OPEN): Likewise.
4531 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4532 (_G_int32_t): Likewise.
4533 (_G_uint16_t): Likewise.
4534 (_G_uint32_t): Likewise.
4535 (_G_HAVE_BOOL): Likewise.
4536 (_G_HAVE_ATEXIT): Likewise.
4537 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4538 (_G_HAVE_IO_FILE_OPEN): Likewise.
4539
b1dc5912
L
45402012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4541
4542 * csu/libc-tls.c: Update copyright years.
4543
0e886ef9
JM
45442012-09-10 Joseph Myers <joseph@codesourcery.com>
4545
28361c5e
JM
4546 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4547 [!_G_USING_THUNKS]: Remove conditional code.
4548 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4549 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4550
0e886ef9
JM
4551 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4552 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4553 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4554 (_G_VTABLE_LABEL_PREFIX): Likewise.
4555 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4556 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4557 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4558 (_G_VTABLE_LABEL_PREFIX): Likewise.
4559 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4560 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4561 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4562 (_G_VTABLE_LABEL_PREFIX): Likewise.
4563 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4564
bcba7aa2
L
45652012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4566
4567 * libio/Makefile: Include ../Makeconfig before tests.
4568 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4569 only if $(build-shared) is yes.
4570
06585ee8
L
4571 * iconv/gconv_db.c: Update copyright years.
4572
80ccd52c
LD
45732012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4574
4575 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4576 unwind info if defined PIC. Fix special cases description.
4577 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4578
4579 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4580 DP_HI_MASK entry.
4581 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4582
691bc9c1
L
45832012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4584
3d9b46b3
L
4585 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4586
de2139a9
L
4587 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4588 is NULL.
4589
5ca78dd0
L
4590 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4591 (LDLIBS-tst-chk4): This.
4592 (LDFLAGS-tst-chk5): Renamed to ...
4593 (LDLIBS-tst-chk5): This.
4594 (LDFLAGS-tst-chk6): Renamed to ...
4595 (LDLIBS-tst-chk6): This.
4596 (LDFLAGS-tst-lfschk4): Renamed to ...
4597 (LDLIBS-tst-lfschk4): This.
4598 (LDFLAGS-tst-lfschk5): Renamed to ...
4599 (LDLIBS-tst-lfschk5): This.
4600 (LDFLAGS-tst-lfschk6): Renamed to ...
4601 (LDLIBS-tst-lfschk6): This.
4602
691bc9c1
L
4603 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4604 on $(common-objpfx)soversions.mk.
4605
65cafb1c
JM
46062012-09-07 Joseph Myers <joseph@codesourcery.com>
4607
4608 [BZ #10014]
4609 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4610 example host name.
4611
c78ab094
SP
46122012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4613
4614 * malloc/arena.c (arena_get_retry): New function that gets
4615 another arena for the caller to try its request on.
4616 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4617 current arena cannot fulfill the request.
4618 (__libc_memalign): Likewise.
4619 (__libc_memalign): Likewise.
4620 (__libc_pvalloc): Likewise.
4621 (__libc_calloc): Likewise.
4622
01f49f59
JT
46232012-09-05 John Tobey <john.tobey@gmail.com>
4624
4625 [BZ #13542]
4626 * manual/arith.texi (Operations on Complex): Fix description
4627 of carg branch cut.
4628
4c23fed5
JM
46292012-09-06 Joseph Myers <joseph@codesourcery.com>
4630
1d3c8572
JM
4631 [BZ #10014]
4632 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4633 host name.
4634
4c23fed5
JM
4635 [BZ #10038]
4636 * manual/memory.texi (Memory): Make order of menu items match
4637 order of sections.
4638
04570aaa
L
46392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4640
4641 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4642 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4643 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4644
b80af2f4
L
46452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4646
4647 * csu/libc-tls.c (static_dtv): Renamed to ...
4648 (_dl_static_dtv): This. Make it global.
4649 (_dl_initial_dtv): Removed.
4650 (__libc_setup_tls): Updated.
4651 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4652 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4653 DL_INITIAL_DTV.
4654
2abe9f15
PM
46552012-09-06 Petr Machata <pmachata@redhat.com>
4656
4657 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4658 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4659 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4660 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4661
0948c3af
L
46622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4663
4664 [BZ #14545]
4665 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4666 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4667 freeing dtv[-1].
4668
a5055ad1
L
46692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4670
4671 [BZ #14544]
4672 * Makeconfig (link-static-before-libc): Replace $(+prector)
4673 with $(+prectorT).
4674 (link-static-after-libc): Replace $(+postctor) with
4675 $(+postctorT).
4676 (link-bounded): Replace $(+prector)/$(+postctor) with
4677 $(+prectorT)/$(+postctorT).
4678 (+prectorT): New macro.
4679 (+postctorT): Likewise.
4680
ed8c2ecd
JM
46812012-09-06 Joseph Myers <joseph@codesourcery.com>
4682
4683 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4684 (round_str): Handle values above the maximum for IBM long double
4685 as inexact.
4686 * stdlib/tst-strtod-round.c (tests): Regenerated.
4687
14c996c8
AK
46882012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4689
4690 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4691 assembler flag.
4692 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4693 zarch_nohighgprs around the zarch optimized routines.
4694 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4695 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4696 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4697 for zarch.
4698
430d6ce6
DM
46992012-09-05 David S. Miller <davem@davemloft.net>
4700
4701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4702
ff04dda4
DM
4703 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4704 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4705 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4706 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4707 entries.
4708
24d4e01b
AO
47092012-09-05 Alexandre Oliva <aoliva@redhat.com>
4710
4711 * malloc/arena.c: Fold copyright years.
4712 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4713
61d58174
AO
47142012-09-05 Alexandre Oliva <aoliva@redhat.com>
4715
4716 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4717
20196a5e
AO
47182012-09-05 Alexandre Oliva <aoliva@redhat.com>
4719
4720 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4721
5c447383
AO
47222012-09-05 Alexandre Oliva <aoliva@redhat.com>
4723
4724 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4725 change internal state upon failure.
4726
fad64255
AO
47272012-09-05 Alexandre Oliva <aoliva@redhat.com>
4728
4729 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4730 * malloc/memusage.c (mmap): Likewise.
4731 (mmap64, mremap): Likewise. Adjust name in comment.
4732
1ffb8c90
SP
47332012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4734
4735 * libio/fileops.c: Fix typos in comments.
4736 * libio/oldfileops.c: Likewise.
4737 * libio/wfileops.c: Likewise.
4738
6ef9cc37
SP
47392012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4740
4741 [BZ #1349]
4742 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4743 (tst-malloc-usable-ENV): Set environment for test case.
4744 * malloc/hooks.c (malloc_check_get_size): New function to get
4745 requested size.
4746 * malloc/malloc.c (musable): Use malloc_check_get_size.
4747 * malloc/tst-malloc-usable.c: New test case.
4748
4d038ae3
AS
47492012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4750
4751 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4752
c4e85184
AM
47532012-09-05 Allan McRae <allan@archlinux.org>
4754
b9dafc56 4755 [BZ #13966]
c4e85184
AM
4756 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4757 determine header location.
4758 * configure: Regenerated.
4759
e1343020
AS
47602012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4761
4762 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4763 float format.
4764 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4765 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4766 format.
e1343020
AS
4767 (test): Regenerate.
4768
0a9f1987
DM
47692012-09-04 David S. Miller <davem@davemloft.net>
4770
4771 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4772 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4773 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4774
29237804
FW
47752012-09-04 Florian Weimer <fweimer@redhat.com>
4776
4777 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4778 failures.
4779
edb3cb88
FW
4780 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4781
60160d83
JM
47822012-09-04 Joseph Myers <joseph@codesourcery.com>
4783
4784 [BZ #9914]
4785 * libio/iogetdelim.c: Include <limits.h>.
4786 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4787 + len + 1 would overflow.
4788
bcd6c8dc
AJ
47892012-09-03 Andreas Jaeger <aj@suse.de>
4790
4791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4792 * sysdeps/i386/fpu/libm-test-ulps: Update.
4793
4ffffbd2
LD
47942012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4795
4796 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4797 Add s_sinf-sse2, s_conf-sse2.
4798
4799 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4800 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4801 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4802 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4803
4804 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4805 for using routine as __sinf_ia32.
4806 Use macro for function declaration and weak_alias.
4807 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4808 for using routine as __cosf_ia32.
4809 Use macro for function declaration and weak_alias.
4810
4811 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4812 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4813
4814 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4815 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4816 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4817
4818 * math/libm-test.inc (cos_test): Add more test cases.
4819 (sin_test): Likewise.
4820 (sincos_test): Likewise.
4821
511fa286
AK
48222012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4823
4824 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4825 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4826 hidden.
4827 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4828
5f30cfec
L
48292012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4830
4831 [BZ #14538]
4832 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4833 first element of the GOT.
4834 (elf_machine_load_address): Return the difference between
4835 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4836
0786794f
AM
48372012-09-01 Allan McRae <allan@archlinux.org>
4838
5f30cfec
L
4839 [BZ #13412]
4840 * configure.in (AWK): Require gawk version 3.0 or later.
4841 * configure: Regenerated.
0786794f 4842
26889eac
JM
48432012-09-01 Joseph Myers <joseph@codesourcery.com>
4844
4845 * sysdeps/unix/sysv/linux/kernel-features.h
4846 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4847 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4848 [__NR_clock_getres]: Make code unconditional.
4849 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4850 (clock_getcpuclockid): Remove code left unreachable by removal of
4851 conditionals.
4852 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4853 code unconditional.
4854 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4855 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4856 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4857 Make code unconditional.
4858 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4859 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4860 * sysdeps/unix/sysv/linux/clock_settime.c
4861 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4862 conditional code.
4863 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4864 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4865
d22e28b0
L
48662012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4867
4868 [BZ #14476]
4869 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4870 scripts/test-installation.pl.
4871
4872 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4873 and $ld_so_version if it is set.
4874
050af9c4
SP
48752012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4876
4877 [BZ #14516]
4878 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4879 failure if reading from procfs failed.
4880 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4881
ad845c0b
JM
48822012-08-27 Joseph Myers <joseph@codesourcery.com>
4883
4884 * sysdeps/unix/sysv/linux/kernel-features.h
4885 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4886 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4887 Remove conditional code.
4888 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4889 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4890 Remove conditional code.
4891 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4892 * sysdeps/unix/sysv/linux/i386/fxstat.c
4893 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4894 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4895 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4896 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4897 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4898 * sysdeps/unix/sysv/linux/i386/lxstat.c
4899 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4900 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4901 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4902 Remove conditional code.
4903 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4904 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4905 Remove conditional code.
4906 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4907 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4908 <kernel-features.h>.
4909 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4910 Remove.
4911 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4912 Remove conditional code.
4913 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4914 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4915 Remove conditional.
4916
5dbf56af
MF
49172012-08-27 Mike Frysinger <vapier@gentoo.org>
4918
4919 [BZ #5400]
4920 * NEWS: Add fixed bug number.
4921
d6e70f43
JM
49222012-08-27 Joseph Myers <joseph@codesourcery.com>
4923
7efb4737
JM
4924 [BZ #14519]
4925 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4926 underflowing exponent in case of negative sign.
4927 * stdlib/tst-strtod-round-data: Add more tests.
4928 * stdlib/tst-strtod-round.c (tests): Regenerated.
4929
af92131a
JM
4930 [BZ #3479]
4931 * stdlib/strtod_l.c (NDIG): Remove.
4932 (HEXNDIG): Likewise.
4933 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4934 smallest representable value.
4935 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4936 lie within an exact representation of 1/2 ulp of the result.
4937 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4938 unconditionally.
4939 (TENS_P9_IDX): Define unconditionally.
4940 (TENS_P9_SIZE): Likewise.
4941 (TENS_P10_IDX): Likewise.
4942 (TENS_P10_SIZE): Likewise.
4943 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4944 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4945 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4946 entries for 10^2^13 and 10^2^14.
4947 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4948 (TENS_P13_IDX): Define.
4949 (TENS_P13_SIZE): Likewise.
4950 (TENS_P14_IDX): Likewise.
4951 (TENS_P14_SIZE): Likewise.
4952 (_fpioconst_pow10): Change array size to
4953 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4954 unconditional.
4955 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4956 1024]: Add entries for 10^2^13 and 10^2^14.
4957 [LAST_POW10 > _LAST_POW10]: Remove #error.
4958 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4959 (_fpioconst_pow10): Change array size to
4960 FPIOCONST_POW10_ARRAY_SIZE.
4961 * stdlib/gen-fpioconst.c: New file.
4962 * stdlib/gen-tst-strtod-round.c: Likewise.
4963 * stdlib/tst-strtod-round-data: Likewise.
4964 * stdlib/tst-strtod-round.c: Likewise.
4965 * stdlib/Makefile (tests): Add tst-strtod-round.
4966
d6e70f43
JM
4967 [BZ #14459]
4968 * stdlib/strtod_l.c: Include <stdint.h>.
4969 (NDEBUG): Do not define.
4970 (round_and_return): Change EXPONENT parameter to type intmax_t.
4971 Rearrange calculations to avoid internal overflow possibilities.
4972 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4973 Rearrange calculations to avoid internal overflow possibilities.
4974 Assert that number fits inside MPNSIZE limbs.
4975 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4976 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4977 calculations and add assertions to avoid internal overflow
4978 possibilities. Add casts to avoid signed/unsigned operations.
4979 * stdlib/tst-strtod-overflow.c: New file.
4980 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4981
1f529f7d
MP
49822012-08-25 Marek Polacek <polacek@redhat.com>
4983
4984 * time/time.h: Fix some typos in comments.
4985
59a629f1
RM
49862012-08-23 Roland McGrath <roland@hack.frob.com>
4987
4988 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4989 * posix/tst-rfc3484-2.c: Likewise.
4990 * posix/tst-rfc3484-3.c: Likewise.
4991
d3bafbc9
SM
49922012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4993
4994 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4995 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4996
4efcc022
JM
49972012-08-23 Joseph Myers <joseph@codesourcery.com>
4998
4999 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5000 #include of fxstatat64.c.
5001
3cc3ef96
RM
50022012-08-22 Roland McGrath <roland@hack.frob.com>
5003
f04e2132
RM
5004 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5005 * shadow/getspent_r.c: Likewise.
5006 * shadow/getspnam.c: Likewise.
5007 * shadow/getspnam_r.c: Likewise.
5008 * gshadow/getsgent.c: Likewise.
5009 * gshadow/getsgent_r.c: Likewise.
5010 * gshadow/getsgnam.c: Likewise.
5011 * gshadow/getsgnam_r.c: Likewise.
5012 * inet/getnetbyad.c: Likewise.
5013 * inet/getnetbyad_r.c: Likewise.
5014 * inet/getnetbynm.c: Likewise.
5015 * inet/getnetbynm_r.c: Likewise.
5016 * inet/getnetent.c: Likewise.
5017 * inet/getnetent_r.c: Likewise.
5018 * inet/getproto.c: Likewise.
5019 * inet/getproto_r.c: Likewise.
5020 * inet/getprtent.c: Likewise.
5021 * inet/getprtent_r.c: Likewise.
5022 * inet/getprtname.c: Likewise.
5023 * inet/getprtname_r.c: Likewise.
5024 * inet/getrpcbyname.c: Likewise.
5025 * inet/getrpcbyname_r.c: Likewise.
5026 * inet/getrpcbynumber.c: Likewise.
5027 * inet/getrpcbynumber_r.c: Likewise.
5028 * inet/getrpcent.c: Likewise.
5029 * inet/getrpcent_r.c: Likewise.
5030 * inet/getaliasent.c: Likewise.
5031 * inet/getaliasent_r.c: Likewise.
5032 * inet/getaliasname.c: Likewise.
5033 * inet/getaliasname_r.c: Likewise.
5034 * nscd/getgrgid_r.c: Likewise.
5035 * nscd/getgrnam_r.c: Likewise.
5036 * nscd/gethstbyad_r.c: Likewise.
5037 * nscd/gethstbynm3_r.c: Likewise.
5038 * nscd/getpwnam_r.c: Likewise.
5039 * nscd/getpwuid_r.c: Likewise.
5040 * nscd/getsrvbynm_r.c: Likewise.
5041 * nscd/getsrvbypt_r.c: Likewise.
5042 * nscd/gai.c: Likewise.
5043
c53d909c
RM
5044 * configure.in (build_nscd): New substituted variable, set
5045 by --disable-build-nscd and defaults to $use_nscd.
5046 * configure: Regenerated.
5047 * config.make.in (build-nscd): New substituted variable.
5048 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5049 Change conditional to require [$(build-nscd) = yes] as well.
5050 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5051
3cc3ef96
RM
5052 [BZ# 13696]
5053 * configure.in (use_nscd): New substituted variable, set by
5054 --disable-nscd. If enabled, define USE_NSCD.
5055 * configure: Regenerated.
5056 * config.h.in: Add USE_NSCD.
5057 * config.make.in (use-nscd): New substituted variable.
5058 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5059 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5060 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5061 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5062 (CFLAGS-getgrnam_r.c): Likewise.
5063 (CFLAGS-initgroups.c): Likewise.
5064 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5065 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5066 Variables removed.
5067 * inet/getnetgrent_r.c
5068 (nscd_setnetgrent): New function, broken out of ...
5069 (setnetgrent): ... here. Call it.
5070 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5071 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5072 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5073 * nscd/Makefile (routines, aux): Move definitions after include of
5074 Makeconfig. Conditionalize on [$(use-nscd) != no].
5075 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5076 Conditionalize on [USE_NSCD].
5077 (is_nscd, nscd_init_cb): Likewise.
5078 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5079 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5080 * nss/nss_db/db-init.c: Likewise.
5081 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5082 [USE_NSCD].
5083 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5084 (make_request): Use it.
5085 (cache_valid_p): New function.
5086 (__check_pf): Use it.
5087 * NEWS: Add item for --disable-nscd.
5088
07e51550
DL
50892012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5090
5091 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5092 to support sed >= 4.2.1-20-ga9bf076.
5093 * configure: Regenerated.
5094
35a5b08b
RM
50952012-08-22 Roland McGrath <roland@hack.frob.com>
5096
5097 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5098 Conditionalize whole body on [IREL].
5099
8479f23a
JL
51002012-08-22 Jeff Law <law@redhat.com>
5101
5102 [BZ #14505]
5103 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5104 if the family is PF_UNSPEC.
5105
48da0b21
MF
51062012-08-22 Mike Frysinger <vapier@gentoo.org>
5107
5108 * Makerules (lib-version): Rename from V.
5109 (install-lib-nosubdir): Change V to lib-version.
5110
15d0da8c
WS
51112012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5112
5113 [BZ #14252]
5114 * powerpc32/power6/wcschr.c: New file.
5115 * powerpc32/power6/wcscpy.c: New file.
5116 * powerpc32/power6/wcsrchr.c: New file.
5117 * powerpc64/power6/wcschr.c: New file.
5118 * powerpc64/power6/wcscpy.c: New file.
5119 * powerpc64/power6/wcsrchr.c: New file.
5120
bcca0895
MK
51212012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5122
5123 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5124 (two_way_short_needle): Use it.
5a4aaa33
RM
5125 * string/strstr.c (AVAILABLE1_USES_J): Define.
5126 * string/strcasestr.c: Likewise.
99677e57
MK
5127
5128 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5129 array references.
5130 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5131
400726de
MK
5132 [BZ #11607]
5133 * NEWS: Add an entry.
5134 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5135 define their defaults.
5136 (two_way_short_needle): Detect end-of-string on-the-fly.
5137 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5138 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5139 * string/bug-strcasestr1.c: New test.
5140 * string/Makefile: Run it.
5141
20a71f2c
MK
51422012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5143
5144 [BZ #11607]
5145 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5146 the first character.
5147
21ad0558
RM
51482012-08-21 Roland McGrath <roland@hack.frob.com>
5149
5150 * csu/elf-init.c (__libc_csu_irel): Function removed.
5151 * csu/libc-start.c (apply_irel): New function.
5152 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5153
0e1d9911
JM
51542012-08-21 Joseph Myers <joseph@codesourcery.com>
5155
5156 * sysdeps/unix/sysv/linux/kernel-features.h
5157 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5158 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5159 <kernel-features.h>.
5160 [__NR_fadvise64_64]: Make code unconditional.
5161 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5162 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5163 !__NR_fadvise64_64)]: Likewise.
5164 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5165 !__NR_fadvise64_64))]: Likewise.
5166 [__NR_fadvise64]: Make code unconditional.
5167 [!__NR_fadvise64]: Remove conditional code.
5168 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5169 <kernel-features.h>.
5170 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5171 unconditional.
5172 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5173 conditional code.
5174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5175 not include <kernel-features.h>.
5176 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5177 unconditional.
5178 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5179 conditional code.
5180 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5181 include <kernel-features.h>.
5182 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5183 unconditional.
5184 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5185 conditional code.
5186
14a50c9d
WS
51872012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5188
5189 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5190 slight instruction rearrangements per scrollpipe analysis.
5191 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5192
c0f4faf0
RM
51932012-08-20 Roland McGrath <roland@hack.frob.com>
5194
696da859
RM
5195 * manual/syslog.texi (syslog; vsyslog, closelog):
5196 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5197 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5198
c0f4faf0
RM
5199 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5200 DSOCAPS to match condition on defining it.
5201
348363b2
JM
52022012-08-20 Joseph Myers <joseph@codesourcery.com>
5203
a35cbf28
JM
5204 * sysdeps/unix/sysv/linux/kernel-features.h
5205 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5207 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5208 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5210 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5211 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5213 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5214 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5215
445f7ecd
JM
5216 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5217 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5218
348363b2
JM
5219 * sysdeps/unix/sysv/linux/kernel-features.h
5220 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5221 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5222 unconditional.
5223 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5224 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5225 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5226 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5227 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5228 Make code unconditional.
5229 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5230 (__mmap64) [!__NR_mmap2]: Likewise.
5231 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5232 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5233 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5234 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5235 [__NR_mmap2]: Make code unconditional.
5236 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5237 (__mmap64) [!__NR_mmap2]: Likewise.
5238
bc5bc0e5
AK
52392012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5240
5241 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5242
88d506de
AJ
52432012-08-18 Andreas Jaeger <aj@suse.de>
5244
5245 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5246
493387d2
MF
52472012-08-18 Mike Frysinger <vapier@gentoo.org>
5248
5249 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5250 * include/unistd.h (__have_sock_cloexec): Likewise.
5251 (__have_pipe2): Likewise.
5252 (__have_dup3): Likewise.
5253
a277af22
MF
52542012-08-18 Mike Frysinger <vapier@gentoo.org>
5255
5256 [BZ #9685]
5257 * include/unistd.h (__have_pipe2): Change define into an extern int.
5258 (__have_dup3): Likewise.
5259 * socket/have_sock_cloexec.c: Include fcntl.h.
5260 (__have_pipe2): New variable.
5261 (__have_dup3): Likewise.
5262
fdab8fd3
MF
52632012-08-17 Mike Frysinger <vapier@gentoo.org>
5264
5265 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5266
31035e80
MP
52672012-08-17 Marek Polacek <polacek@redhat.com>
5268
5269 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5270 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5271
3bd9e993
RM
52722012-08-17 Roland McGrath <roland@hack.frob.com>
5273
c91c505f
RM
5274 * configure.in: Add AC_SUBST for sysheaders.
5275 * configure: Regenerated.
5276 * config.make.in (sysheaders): New substituted variable.
5277
7c6f9d53
RM
5278 * sysdeps/unix/mkfifo.c: Moved ...
5279 * sysdeps/posix/mkfifo.c: ... here.
5280 * sysdeps/unix/mkfifoat.c: Moved ...
5281 * sysdeps/posix/mkfifoat.c: ... here.
5282
5283 * sysdeps/unix/utime.c: Moved ...
5284 * sysdeps/posix/utime.c: ... here.
5285
5286 * sysdeps/unix/time.c: Moved ...
5287 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
5288 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5289 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
5290
5291 * sysdeps/unix/nice.c: Moved ...
5292 * sysdeps/posix/nice.c: ... here.
5293
5294 * sysdeps/unix/alarm.c: Moved ...
5295 * sysdeps/posix/alarm.c: ... here.
5296
3bd9e993
RM
5297 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5298
d1f09384
JL
52992012-08-17 Jeff Law <law@redhat.com>
5300
5301 * intl/Makefile (codeset_mo): New variable.
5302 ($(codeset_mo)): New target.
5303 (tst-codeset.out): Depend on that. Remove explicit rule.
5304 (tst-gettext3.out, tst-gettext5.out): Likewise.
5305 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5306 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5307 * intl/tst-codeset.sh: Remove.
5308 * intl/tst-gettext3.sh: Likewise.
5309 * intl/tst-gettext5.sh: Likewise.
5310
2ae1ae5c
RM
53112012-08-17 Roland McGrath <roland@hack.frob.com>
5312
c31fdb83
RM
5313 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5314 * sysdeps/unix/syscalls.list: ... here.
5315
a0844057
RM
5316 * sysdeps/posix/getaddrinfo.c
5317 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5318 (gaiconf_init, gaiconf_reload): Use them.
5319 [!_STATBUF_ST_NSEC]
5320 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5321 Define using time_t rather than struct timespec.
5322
750c1f2a
RM
5323 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5324 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5325 Macros removed.
5326 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5327 [!NO_THREADS].
5328 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5329 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5330 Likewise.
5331
2ae1ae5c
RM
5332 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5333 __libc_cleanup_push argument.
5334
e66a42f5
RM
5335 * bits/param.h: New file.
5336 * misc/sys/param.h: New file.
5337 * include/sys/param.h: New file.
5338 * misc/Makefile (headers): Add bits/param.h.
5339 * sysdeps/generic/sys/param.h: File removed.
5340 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5341 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5342 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 5343 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 5344
b7c08a66
RM
5345 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5346 last change.
5347
b2e1c562
RM
5348 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5349 [_IO_MTSAFE_IO].
5350 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5351 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5352 New macros.
5353
c75ccd4c
RM
5354 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5355 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5356 rather than -D_IO_MTSAFE_IO conditionally.
5357 * stdio-common/Makefile (CPPFLAGS): Likewise.
5358 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5359 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5360 Use $(libio-mtsafe).
5361 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5362 of -D_IO_MTSAFE_IO.
5363 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5364 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5365 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5366 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5367 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5368 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5369 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5370 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5371 (CFLAGS-fread_u_chk.c): Likewise.
5372 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5373 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5374 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5375 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5376 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5377 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5378 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5379 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5380 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5381
5382 * libio/Makefile: Test [$(libc-reentrant) = yes]
5383 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5384
5385 * Makeconfig
5386 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5387 * sysdeps/pthread/configure: File removed.
5388 * sysdeps/pthread/Makeconfig: New file.
5389 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5390 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5391
d9195db8
GB
53922012-08-16 Gary Benson <gbenson@redhat.com>
5393
5394 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5395 unmapping the first object in a namespace.
5396
86466cd9
RM
53972012-08-16 Roland McGrath <roland@hack.frob.com>
5398
5399 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5400 (__internal_setnetgrent): ... this. Add internal_function to
5401 definition. Add libc_hidden_def.
5402 (setnetgrent): Update caller.
5403 (internal_endnetgrent): Renamed to ...
5404 (__internal_endnetgrent): ... this. Add internal_function to
5405 definition. Add libc_hidden_def.
5406 (endnetgrent): Update caller.
5407 (internal_getnetgrent_r): Renamed to ...
5408 (__internal_getnetgrent_r): ... this. Add internal_function to
5409 definition. Add libc_hidden_def.
5410 (__getnetgrent_r): Update caller.
5411 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5412
c3c8283c
JM
54132012-08-16 Joseph Myers <joseph@codesourcery.com>
5414
5415 * stdlib/longlong.h: Update from GCC.
5416
db1ee0a8
RM
54172012-08-16 Roland McGrath <roland@hack.frob.com>
5418
5419 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5420 on _QL, which is set by umul_ppmm but never used.
5421 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5422 variables, which are set by GMP macros but never used.
5423 * stdio-common/_itowa.c (_itowa): Likewise.
5424 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5425 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5426
30f69637
CD
54272012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5428
5429 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5430 struct La_sh_regs is not constant.
5431 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5432 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5433 and struct La_sparc64_regs are not constant.
5434
93a78ac4
JM
54352012-08-16 Joseph Myers <joseph@codesourcery.com>
5436
5437 * sysdeps/unix/sysv/linux/kernel-features.h
5438 (__ASSUME_POSIX_TIMERS): Remove.
5439 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5440 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5441 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5442 Make code unconditional.
5443 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5444 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5445 Make code unconditional.
5446 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5447 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5448 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5449 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5450 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5451 Make code unconditional.
5452 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5453 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5454 (__libc_missing_posix_timers): Remove.
5455
dd924cd7
RM
54562012-08-15 Roland McGrath <roland@hack.frob.com>
5457
4b4f2771
RM
5458 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5459 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5460
601c888b
RM
5461 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5462
176790a7
RM
5463 * elf/dl-sym.c: Include <stdlib.h>.
5464
329bc018
RM
5465 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5466 constants, which avoids warnings in 32-bit builds.
5467
e04e272d
RM
5468 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5469 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5470
952bf94a
RM
5471 * misc/lseek.c: File moved to ...
5472 * io/lseek.c: ... here.
5473
7c99b50a
RM
5474 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5475
dd924cd7
RM
5476 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5477 shifting LEN more than 31 bits at once.
5478
b3f479a8
LD
54792012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5480
5481 [BZ #14195]
8c4ae0d4
RM
5482 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5483 segmentation fault for a case of two empty input strings.
b3f479a8
LD
5484 * string/test-strncasecmp.c (check1): Renamed to...
5485 (bz12205): ...this.
5486 (bz14195): Add new testcase for two empty input strings and N > 0.
5487 (test_main): Call new testcase, adapt for renamed function.
5488
9c55864e
AJ
54892012-08-15 Andreas Jaeger <aj@suse.de>
5490
5491 [BZ #14090]
5492 * crypt/md5test2.c: New test, based on test supplied by Serge
5493 Belyshev <belyshev@depni.sinp.msu.ru>.
5494 * crypt/Makefile (xtests): Add md5test-giant..
5495 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5496
02dcb6c5
PE
54972012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5498
5499 [BZ #14090]
5500 * crypt/md5.c (md5_process_block): Don't assume the buffer
5501 length is less than 2**32.
5502 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5503 length is less than 2**64.
5504
a3f95dcc
RM
55052012-08-15 Roland McGrath <roland@hack.frob.com>
5506
be75d758
RM
5507 * string/str-two-way.h: Include <sys/param.h>.
5508 (MAX): Macro removed.
5509
7312ca90
RM
5510 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5511 Move #define and #undef of memmove to just before and after
5512 including <string.h>.
5513
9a0a5486
RM
5514 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5515 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5516 and after including <string.h>. Move declarations of
5517 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5518 to before #include "string/memmove.c".
5519
67cc348d
RM
5520 * include/dirent.h: Declare __getdirentries.
5521
a3f95dcc
RM
5522 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5523 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5524
ca98e171
MF
55252012-08-14 Mike Frysinger <vapier@gentoo.org>
5526
5527 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5528 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5529 * sysdeps/i386/configure: Regenerated.
5530 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5531 STABS_CURRENT_FILE, and STABS_FUN.
5532 (END): Remove call to STABS_FUN_END.
5533 (STABS_CURRENT_FILE1): Delete.
5534 (STABS_CURRENT_FILE): Likewise.
5535 (STABS_FUN): Likewise.
5536 (STABS_FUN_END): Likewise.
5537 (STABS_FUN2): Likewise.
5538 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5539 * sysdeps/x86_64/configure: Regenerated.
5540
5908bf46
RM
55412012-08-14 Roland McGrath <roland@hack.frob.com>
5542
5543 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 5544 * elf/dl-lookup.c: Likewise.
5908bf46 5545
f2c05b9e
JM
55462012-08-14 Joseph Myers <joseph@codesourcery.com>
5547
5548 * sysdeps/unix/sysv/linux/kernel-features.h
5549 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5550 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5551 unconditionally.
5552 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5553 unconditionally.
5554 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5555 condition on __ASSUME_CLONE_THREAD_FLAGS.
5556
e11f5155
AJ
55572012-08-14 Andreas Jaeger <aj@suse.de>
5558
5559 * sysdeps/i386/fpu/libm-test-ulps: Update.
5560
51a9ba86
MK
55612012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5562
2fdd4f78
AJ
5563 * include/atomic.h (atomic_exchange_and_add): Split into ...
5564 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5565 New atomic macros.
51a9ba86 5566
ba6cba9e
MT
55672012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5568
5569 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5570
42443a47
JL
55712012-08-13 Jeff Law <law@redhat.com>
5572
5573 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5574 null byte in the output string.
5575
121dce05
JM
55762012-08-10 Joseph Myers <joseph@codesourcery.com>
5577
5578 * sysdeps/unix/sysv/linux/kernel-features.h
5579 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5580 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5581 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5582 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5583 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5584 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5585 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5586
bf51f568
JL
55872012-08-09 Jeff Law <law@redhat.com>
5588
5589 [BZ #13939]
5590 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5591 When avoid_arena is set, don't retry in the that arena. Pick the
5592 next one, whatever it might be.
5593 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5594 (arena_lock): Pass in new parameter to arena_get2.
5595 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5596 arena_get2.
5597 (__libc_malloc): Unify retrying after main arena failure with
5598 __libc_memalign version.
5599 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5600
f85fa270
L
56012012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5602
5603 [BZ #14166]
5604 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5605 to __redirect_strstr.
5606 (__strstr_sse42): Use typeof __redirect_strstr.
5607 (__strstr_ia32): Likewise.
5608 (__libc_strstr): New prototype.
5609 (strstr): Renamed to ...
5610 (__libc_strstr): This.
5611 (strstr): New strong alias of __libc_strstr.
5612 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5613 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5614 __redirect_time.
5615 Include <time.h>.
5616 (__libc_time): New prototype.
5617 (time_ifunc): Replace time with __libc_time.
5618 (time): New strong alias and hidden definition of __libc_time.
5619 (__GI_time): Remove strong alias.
5620 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5621 Include <stddef.h>.
5622 (memmove): Redefined to __redirect_memmove.
5623 (__memmove_sse2): Use typeof __redirect_memmove.
5624 (__memmove_ssse3): Likewise.
5625 (__memmove_ssse3_back): Likewise.
5626 (__libc_memmove): New prototype.
5627 (memmove): Renamed to ...
5628 (__libc_memmove): This.
5629 (memmove): New strong alias of __libc_memmove.
5630
33b4a91e
MS
56312012-08-08 Mark Salter <msalter@redhat.com>
5632
5633 * elf/elf.h
5634 (R_MN10300_TLS_GD): Define.
5635 (R_MN10300_TLS_LD): Likewise.
5636 (R_MN10300_TLS_LDO): Likewise.
5637 (R_MN10300_TLS_GOTIE): Likewise.
5638 (R_MN10300_TLS_IE): Likewise.
5639 (R_MN10300_TLS_LE): Likewise.
5640 (R_MN10300_TLS_DTPMOD): Likewise.
5641 (R_MN10300_TLS_DTPOFF): Likewise.
5642 (R_MN10300_TLS_TPOFF): Likewise.
5643 (R_MN10300_SYM_DIFF): Likewise.
5644 (R_MN10300_ALIGN): Likewise.
5645 (R_MN10300_NUM): Update.
5646
b36137f1
JM
56472012-08-08 Joseph Myers <joseph@codesourcery.com>
5648
5649 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5650 Remove.
5651
cdd915fd
RM
56522012-08-08 Roland McGrath <roland@hack.frob.com>
5653
a2433aac
RM
5654 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5655
cdd915fd
RM
5656 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5657 sysdeps/unix -> sysdeps/posix move.
5658 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5659
bf9b740a
AM
56602012-08-07 Allan McRae <allan@archlinux.org>
5661
5662 [BZ #14303]
5663 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5664 (SUNOS_CPP): Likewise.
5665 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5666 not found.
5667 (open_input): Call CPP using execvp.
5668
93df14ee
JM
56692012-08-07 Joseph Myers <joseph@codesourcery.com>
5670
5671 * sysdeps/unix/sysv/linux/kernel-features.h
5672 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5673 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5674 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5675 (__ASSUME_WAITID_SYSCALL): Likewise.
5676 * sysdeps/unix/sysv/linux/dl-execstack.c
5677 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5678 code unconditional.
5679 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5680 conditional code.
5681 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5682 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5683 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5684 code.
5685 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5686 unconditional.
5687 [__ASSUME_WAITID_SYSCALL]: Likewise.
5688 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5689
d34689de
RM
56902012-08-07 Roland McGrath <roland@hack.frob.com>
5691
a281decc
RM
5692 * sysdeps/unix/closedir.c: Renamed to ...
5693 * sysdeps/posix/closedir.c: ... here.
5694 * sysdeps/unix/dirfd.c: Renamed to ...
5695 * sysdeps/posix/dirfd.c: ... here.
5696 * sysdeps/unix/dirstream.h: Renamed to ...
5697 * sysdeps/posix/dirstream.h: ... here.
5698 * sysdeps/unix/fdopendir.c: Renamed to ...
5699 * sysdeps/posix/fdopendir.c: ... here.
5700 * sysdeps/unix/opendir.c: Renamed to ...
5701 * sysdeps/posix/opendir.c: ... here.
5702 * sysdeps/unix/readdir.c: Renamed to ...
5703 * sysdeps/posix/readdir.c: ... here.
5704 * sysdeps/unix/readdir_r.c: Renamed to ...
5705 * sysdeps/posix/readdir_r.c: ... here.
5706 * sysdeps/unix/rewinddir.c: Renamed to ...
5707 * sysdeps/posix/rewinddir.c: ... here.
5708 * sysdeps/unix/seekdir.c: Renamed to ...
5709 * sysdeps/posix/seekdir.c: ... here.
5710 * sysdeps/unix/telldir.c: Renamed to ...
5711 * sysdeps/posix/telldir.c: ... here.
5712 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5713 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5714 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5715 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5716
22895b47
RM
5717 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5718 * bits/fcntl.h: ... here.
5719
707a53b6
RM
5720 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5721 not 0.
5722 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5723 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5724 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5725 (struct flock): Move l_start, l_len to the beginning.
5726 Use __pid_t for l_pid.
5727 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5728 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5729 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5730 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5731 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5732 [__USE_LARGEFILE64] (struct flock64): New type.
5733 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5734
f0bd3e25
RM
5735 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5736 * bits/dirent.h: ... here.
5737
d34689de
RM
5738 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5739 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5740
6dad2c06
JM
57412012-08-07 Joseph Myers <joseph@codesourcery.com>
5742
5743 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5744 Change from 2.6.0 to 2.6.16.
5745 * sysdeps/unix/sysv/linux/configure: Regenerated.
5746 * sysdeps/unix/sysv/linux/kernel-features.h
5747 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5748 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5749 version.
5750 (__ASSUME_UTIMES): Likewise.
5751 (__ASSUME_CLONE_STOPPED): Remove.
5752 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5753 architectures, not kernel version.
5754 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5755 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5756 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5757 (__ASSUME_WAITID_SYSCALL): Likewise.
5758 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5759 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5760 * README: State 2.6.16 as minimum Linux kernel version. Do not
5761 refer to older versions.
5762
03af9520
RM
57632012-08-06 Roland McGrath <roland@hack.frob.com>
5764
8e49df1d
RM
5765 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5766 Define alphasort64 as an alias.
5767 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5768 Define versionsort64 as an alias.
5769 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5770 Define scandir64 as an alias.
5771 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5772 Define scandirat64 as an alias.
5773 * dirent/alphasort64.c (alphasort64):
5774 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5775 * dirent/versionsort64.c: Likewise.
5776 * dirent/scandir64.c: Likewise.
5777 * dirent/scandirat64.c: Likewise.
5778 * sysdeps/wordsize-64/alphasort.c: File removed.
5779 * sysdeps/wordsize-64/alphasort64.c: File removed.
5780 * sysdeps/wordsize-64/scandir.c: File removed.
5781 * sysdeps/wordsize-64/scandir64.c: File removed.
5782 * sysdeps/wordsize-64/scandirat.c: File removed.
5783 * sysdeps/wordsize-64/scandirat64.c: File removed.
5784 * sysdeps/wordsize-64/versionsort.c: File removed.
5785 * sysdeps/wordsize-64/versionsort64.c: File removed.
5786 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5787 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5788 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5789 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5790 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5791 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5792 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5793 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5794
5795 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5796 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5797 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5798 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5799 [defined __arch64__ || defined __sparcv9]
5800 (__INO_T_MATCHES_INO64_T): New macro.
5801 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5802 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5803 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5804 * sysdeps/unix/sysv/linux/bits/dirent.h
5805 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5806 (_DIRENT_MATCHES_DIRENT64): New macro.
5807
03af9520
RM
5808 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5809 Define lockf64 as an alias.
5810 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5811 Define fseeko64 as an alias.
5812 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5813 Define ftello64 as an alias.
5814 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5815 Define _IO_fgetpos64 and fgetpos64 as aliases.
5816 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5817 Define _IO_fsetpos64 and fsetpos64 as aliases.
5818 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5819 Conditionalize body on this.
5820 * libio/fseeko64.c: Likewise.
5821 * libio/ftello64.c: Likewise.
5822 * libio/iofgetpos64.c: Likewise.
5823 * libio/iofsetpos64.c: Likewise.
5824 * sysdeps/wordsize-64/lockf.c: File removed.
5825 * sysdeps/wordsize-64/lockf64.c: File removed.
5826 * sysdeps/wordsize-64/fseeko.c: File removed.
5827 * sysdeps/wordsize-64/fseeko64.c: File removed.
5828 * sysdeps/wordsize-64/ftello.c: File removed.
5829 * sysdeps/wordsize-64/ftello64.c: File removed.
5830 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5831 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5832 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5833 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5834 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5835 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5836 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5837 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5838 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5839 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5840 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5841 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5842 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5843 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5844
5845 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5846 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5847 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5848 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5849 [defined __arch64__ || defined __sparcv9]
5850 (__OFF_T_MATCHES_OFF64_T): New macro.
5851 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5852 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5853 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5854 (__OFF_T_MATCHES_OFF64_T): New macro.
5855
c5757acd
L
58562012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5857
5858 * stdlib/secure-getenv.c (__secure_getenv): Replace
5859 GLIBC_2_16 with GLIBC_2_17.
5860
3a31811e
L
58612012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5862
5863 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5864 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5865
faa2bccb
DM
58662012-08-03 David S. Miller <davem@davemloft.net>
5867
5868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5869
85fe1997
JM
58702012-08-03 Joseph Myers <joseph@codesourcery.com>
5871
5872 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5873 Remove.
5874 (__ASSUME_CORRECT_SI_PID): Likewise.
5875 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5876 (__ASSUME_TMPFS_NAME): Likewise.
5877 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5878 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5879 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5880 (HAVE_AUX_SECURE): Make definition unconditional.
5881 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5882 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5883
4f75b7a0
RM
58842012-08-03 Roland McGrath <roland@hack.frob.com>
5885
5886 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5887 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5888 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5889 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5890 __eloop_threshold instead of SYMLOOP_MAX.
5891
5892 * sysdeps/generic/eloop-threshold.h: New file.
5893 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5894 of MAXSYMLINKS.
5895 * elf/chroot_canon.c (chroot_canon): Likewise.
5896
7aab07e4
JM
58972012-08-03 Joseph Myers <joseph@codesourcery.com>
5898
5899 [BZ #13717]
5900 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5901 Change to 2.6.0 everywhere.
5902 * sysdeps/unix/sysv/linux/configure: Regenerated.
5903 * sysdeps/unix/sysv/linux/kernel-features.h
5904 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5905 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5906 kernel versions.
5907 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5908 (__ASSUME_FUTEX_REQUEUE): Remove.
5909 (__ASSUME_STATFS64): Define unconditionally.
5910 (__ASSUME_AT_SECURE): Likewise.
5911 (__ASSUME_CORRECT_SI_PID): Likewise.
5912 (__ASSUME_TGKILL): Define without depending on kernel version for
5913 i386.
5914 (__ASSUME_UTIMES): Likewise.
5915 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5916 kernel version.
5917 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5918 (__ASSUME_TMPFS_NAME): Likewise.
5919 * README: Update reference to Linux kernel versions.
5920
b67e9372
MP
59212012-08-02 Marek Polacek <polacek@redhat.com>
5922
1f529f7d 5923 [BZ# 14150]
b67e9372
MP
5924 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5925 libc_cv_asm_type_prefix with %.
5926 * configure: Regenerated.
d2441631
RM
5927 * include/libc-symbols.h: Remove comment about
5928 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5929 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5930 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5931 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5932 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5933 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5934 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5935 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5936 * elf/tst-unique2mod1.c: Likewise.
5937 * elf/tst-unique1mod2.c: Likewise.
5938 * elf/tst-unique1mod1.c: Likewise.
5939 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5940 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5941 Replace ASM_TYPE_DIRECTIVE with .type.
5942 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5943 * sysdeps/i386/sysdep.h: Likewise.
5944 * sysdeps/x86_64/sysdep.h: Likewise.
5945 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5947 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5948 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5949 * sysdeps/powerpc/powerpc32/sysdep.h:
5950 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5951 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5952 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5953 * sysdeps/i386/fpu/e_powf.S: Likewise.
5954 * sysdeps/i386/fpu/e_expl.S: Likewise.
5955 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5956 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5957 * sysdeps/i386/fpu/e_pow.S: Likewise.
5958 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5959 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5960 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5961 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5962 * sysdeps/i386/fpu/e_log2.S: Likewise.
5963 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5964 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5965 * sysdeps/i386/fpu/e_powl.S: Likewise.
5966 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5967 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5968 * sysdeps/i386/fpu/e_logl.S: Likewise.
5969 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5970 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5971 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5972 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5973 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5974 * sysdeps/i386/fpu/e_log.S: Likewise.
5975 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5976 * sysdeps/i386/fpu/e_logf.S: Likewise.
5977 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5978 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5979 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5980 * sysdeps/i386/fpu/e_log10.S: Likewise.
5981 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5982 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5983 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5984 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5985 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5986 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5987 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5988 * sysdeps/i386/i686/strtok.S: Likewise.
5989 * sysdeps/i386/i386-mcount.S: Likewise.
5990 * sysdeps/i386/strtok.S: Likewise.
5991 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5992 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5993 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5994 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5995 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5996 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5997 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5998 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5999 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6000 * sysdeps/x86_64/_mcount.S: Likewise.
6001 * sysdeps/x86_64/strtok.S: Likewise.
6002 * sysdeps/sh/_mcount.S: Likewise.
6003
2747bf9a
RM
60042012-08-01 Roland McGrath <roland@hack.frob.com>
6005
6006 * libio/iofopen.c: Include <fcntl.h>.
6007 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6008 (_IO_fopen64, fopen64): Define as aliases.
6009 * libio/iofopen64.c: Include <fcntl.h>.
6010 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6011 Conditionalize body on this.
6012 * sysdeps/wordsize-64/iofopen.c: File removed.
6013 * sysdeps/wordsize-64/iofopen64.c: File removed.
6014
3fb791b8
MP
60152012-08-01 Marek Polacek <polacek@redhat.com>
6016
6017 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6018 Use dlfcn directly instead of a variable.
6019 (binfmt-subdir): Do not define.
6020 (dlfcn): Likewise.
6021
a9f1039f
JM
60222012-08-01 Joseph Myers <joseph@codesourcery.com>
6023
23bddc06
JM
6024 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6025 Remove all definitions.
6026 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6027 <kernel-features.h>.
6028 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6029 (miss_F_GETOWN_EX): Remove all definitions.
6030 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6031 macro definition.
6032 [!__ASSUME_FCNTL64]: Remove conditional code.
6033 [__ASSUME_FCNTL64]: Make code unconditional.
6034 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6035 <kernel-features.h>.
6036 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6037 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6038 (lockf64) [__NR_fcntl64]: Make code unconditional.
6039 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6040
a9f1039f
JM
6041 * sysdeps/unix/sysv/linux/kernel-features.h
6042 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6043 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6044 Make code unconditional.
6045 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6046 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6048 [__NR_vfork]: Make code unconditional.
6049 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6050 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6052 [__NR_vfork]: Make code unconditional.
6053 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6054 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6055
09c0ee5f
RM
60562012-08-01 Roland McGrath <roland@hack.frob.com>
6057
48aec5b9
RM
6058 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6059 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6060
cd97c966
RM
6061 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6062 Define mkstemp64 as an alias.
3f55550c
RM
6063 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6064 Define mkstemps64 as an alias.
cd97c966
RM
6065 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6066 Define mkostemp64 as an alias.
b8625cfc
RM
6067 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6068 Define mkostemps64 as an alias.
cd97c966
RM
6069 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6070 Conditionalize body on this.
6071 * misc/mkostemp64.c: Likewise.
b8625cfc 6072 * misc/mkostemps64.c: Likewise.
3f55550c 6073 * misc/mkstemps64.c: Likewise.
cd97c966
RM
6074 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6075 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6076 * sysdeps/wordsize-64/mkostemp.c: File removed.
6077 * sysdeps/wordsize-64/mkstemp.c: File removed.
6078 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6079 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6080 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6081 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6082
09c0ee5f
RM
6083 [BZ #14138]
6084 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6085 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6086 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6087 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6088
6089 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6090 compat_symbol macros from <shlib-compat.h> rather than the underlying
6091 default_symbol_version and symbol_version macros, so that DEFAULT
6092 lines in shlib-versions are respected.
6093 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6094
7e66ee51
FW
60952012-08-01 Florian Weimer <fweimer@redhat.com>
6096
6097 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6098 Declare with warn_unused_result.
6099 (setgid, setregid, setegid, setresgid): Likewise.
6100 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6101 Likewise.
6102 * WUR-REPORT: Remove set*id functions.
6103
d2a54255
PT
61042012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6105
6106 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6107
7ecdb005
RM
61082012-07-31 Roland McGrath <roland@hack.frob.com>
6109
789bd351
RM
6110 * include/sys/socket.h (__libc_accept, __libc_accept4):
6111 Add attribute_hidden.
6112 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6113
40ce302d
RM
6114 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6115 use of PTR_MANGLE.
6116 * inet/getnetgrent_r.c (setup): Likewise.
6117
7ecdb005
RM
6118 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6119
e2eabb2c
DM
61202012-07-31 David S. Miller <davem@davemloft.net>
6121
6122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6123
d0419dbf
JM
61242012-07-31 Joseph Myers <joseph@codesourcery.com>
6125
6126 [BZ #13629]
6127 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6128 value between 1.0 and 2.0 and smaller part has absolute value less
6129 than 1.0.
6130 * math/s_clog10.c (__clog10): Likewise.
6131 * math/s_clog10f.c (__clog10f): Likewise.
6132 * math/s_clog10l.c (__clog10l): Likewise.
6133 * math/s_clogf.c (__clogf): Likewise.
6134 * math/s_clogl.c (__clogl): Likewise.
6135 * math/libm-test.inc (clog_test): Add more tests.
6136 (clog10_test): Likewise.
6137 * sysdeps/i386/fpu/libm-test-ulps: Update.
6138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6139
2bc13872
FW
61402012-07-31 Florian Weimer <fweimer@redhat.com>
6141
6142 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6143 Exit with zero in case no suitable GID is found, and write a
6144 message to standard error.
6145
bea9b193
RM
61462012-07-30 Roland McGrath <roland@hack.frob.com>
6147
6148 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6149 rather than to 1.
6150 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6151 (MAXPATHLEN): Removed.
6152 (NOGROUP, NODEV): New macros.
6153 (setbit, clrbit, isset, isclr): New macros.
6154 (howmany, roundup, powerof2): New macros.
6155 (DEV_BSIZE): New macro.
6156
6157 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6158 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6159
6160 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6161 definition on [!__NO_LONG_DOUBLE_MATH].
6162
6163 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6164 PTR_MANGLE and PTR_DEMANGLE.
6165
6166 * socket/accept4.c (accept4): Rename to __libc_accept4.
6167 Define accept4 as a weak alias.
6168
6169 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6170 on [_DIRENT_HAVE_D_TYPE].
6171 * io/ftw.c (ftw_dir): Likewise.
6172
6173 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6174
6175 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6176
6177 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6178 Use the BSD numbers rather than the arbitrary ones we had.
6179 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6180 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6181 (SIGXCPU, SIGXFSZ): New macros.
6182 (_NSIG): Now 32.
6183
6184 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6185 initializer on [_LIBC_REENTRANT].
6186
6187 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6188 definitions inside [_POSIX_MAPPED_FILES].
6189
6190 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6191
6192 * dirent/opendir.c: Include <fcntl.h>.
6193
6194 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6195 (__libc_getspecific): Likewise.
6196 (__libc_key_create): Likewise.
6197
6198 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6199 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6200 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6201 (tmpfile64): Define as alias.
6202 * sysdeps/wordsize-64/tmpfile.c: File removed.
6203 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6204 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6205 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6206
6207 * stdio-common/vfscanf.c: Include <stdbool.h>.
6208 * nss/makedb.c: Likewise.
6209 * stdio-common/_i18n_number.h: Likewise.
6210 * argp/argp-help.c: Likewise.
6211 * posix/wordexp.c: Likewise.
6212 * sysdeps/posix/spawni.c: Likewise.
6213 * nss/nss_files/files-initgroups.c: Likewise.
6214 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6215 * nss/nss_files/files-initgroups.c: Likewise.
6216 * nss/nss_db/db-netgrp.c: Likewise.
6217 * nss/nss_db/db-initgroups.c: Likewise.
6218 * io/fchmodat.c: Include <sys/stat.h>.
6219
6220 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6221 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6222
6223 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6224 [HAVE_MMAP].
6225
6226 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6227 Add multiple inclusion protection.
6228
e5abc686
DM
62292012-07-27 David S. Miller <davem@davemloft.net>
6230
6231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6232
815e6fa3
GB
62332012-07-27 Gary Benson <gbenson@redhat.com>
6234
6235 [BZ #14298]
6236 * elf/rtld.c: Include <stap-probe.h>.
6237 (dl_main): Added static probes "init_start" and "init_complete".
6238 * elf/dl-load.c: Include <stap-probe.h>.
6239 (lose): Take new parameter "nsid".
6240 Added static probe "map_failed".
6241 (_dl_map_object_from_fd): Pass namespace id to lose.
6242 Added static probe "map_start".
6243 (open_verify): Pass namespace id to lose.
6244 * elf/dl-open.c: Include <stap-probe.h>.
6245 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6246 and "reloc_complete".
6247 * elf/dl-close.c: Include <stap-probe.h>.
6248 (_dl_close_worker): Added static probes "unmap_start" and
6249 "unmap_complete".
6250 * elf/rtld-debugger-interface.txt: New file documenting the above.
6251
9f98c16c
RM
62522012-07-26 Roland McGrath <roland@hack.frob.com>
6253
6254 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6255 rather than a string variable.
6256 * sunrpc/rpc_main.c (h_output): Likewise.
6257 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6258
f3c22df3
PT
62592012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6260
6261 * inet/check_native.c: New file.
6262
3129cfc6
JM
62632012-07-26 Joseph Myers <joseph@codesourcery.com>
6264
da865e95
JM
6265 [BZ #13629]
6266 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6267 if larger part has absolute value 1.0.
6268 * math/s_clog10.c (__clog10): Likewise.
6269 * math/s_clog10f.c (__clog10f): Likewise.
6270 * math/s_clog10l.c (__clog10l): Likewise.
6271 * math/s_clogf.c (__clogf): Likewise.
6272 * math/s_clogl.c (__clogl): Likewise.
6273 * math/libm-test.inc (clog_test): Add more tests.
6274 (clog10_test): Likewise.
6275 * sysdeps/i386/fpu/libm-test-ulps: Update.
6276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6277
3129cfc6
JM
6278 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6279 (pltexit): Likewise.
6280 (La_regs): Likewise.
6281 (La_retval): Likewise.
6282 (int_retval): Likewise.
6283 Update #error for removed macros to refer only to definitions in
6284 tst-audit.h.
6285 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6286 macro.
6287 (pltexit): Likewise.
6288 (La_regs): Likewise.
6289 (La_retval): Likewise.
6290 (int_retval): Likewise.
6291 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6292 macro.
6293 (pltexit): Likewise.
6294 (La_regs): Likewise.
6295 (La_retval): Likewise.
6296 (int_retval): Likewise.
6297 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6298 macro.
6299 (pltexit): Likewise.
6300 (La_regs): Likewise.
6301 (La_retval): Likewise.
6302 (int_retval): Likewise.
6303 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6304 macro.
6305 (pltexit): Likewise.
6306 (La_regs): Likewise.
6307 (La_retval): Likewise.
6308 (int_retval): Likewise.
6309 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6310 macro.
6311 (pltexit): Likewise.
6312 (La_regs): Likewise.
6313 (La_retval): Likewise.
6314 (int_retval): Likewise.
6315 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6316 macro.
6317 (pltexit): Likewise.
6318 (La_regs): Likewise.
6319 (La_retval): Likewise.
6320 (int_retval): Likewise.
6321 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6322 macro definitions in tst-audit.h.
6323 * sysdeps/i386/tst-audit.h: New file.
6324 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6325 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6326 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6327 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6328 * sysdeps/sh/tst-audit.h: Likewise.
6329 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6330 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6331 * sysdeps/x86_64/tst-audit.h: Likewise.
6332
bfc07087
AJ
63332012-07-26 Andreas Jaeger <aj@suse.de>
6334
b1b2aaf8
AJ
6335 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6336 ptrace.
6337
6338 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6339 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6340 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6341 PTRACE_O_MASK.
6342 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6343 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6344 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6345
bfc07087
AJ
6346 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6347 value.
6348
6349 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6350 _sigsys.
6351 (si_call_addr, si_syscall, si_arch): Define new macro.
6352 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6353 _sigsys.
6354 (si_call_addr, si_syscall, si_arch): Define new marcro.
6355 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6356 _sigsys.
6357 (si_call_addr, si_syscall, si_arch): Define new macro.
6358 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6359 _sigsys.
6360 (si_call_addr, si_syscall, si_arch): Define new macro.
6361
89b4b02f
JM
63622012-07-25 Joseph Myers <joseph@codesourcery.com>
6363
6364 [BZ #13717]
6365 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6366 Change to 2.4.21 where previously 2.4.1.
6367 * sysdeps/unix/sysv/linux/configure: Regenerated.
6368 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6369 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6370 Linux kernel version.
6371 (__ASSUME_STD_AUXV): Remove.
6372 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6373 kernel version.
6374 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6375 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6376 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6377 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6378 (__ASSUME_NETLINK_SUPPORT): Likewise.
6379 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6380 (__no_netlink_support): Remove conditional definition.
6381 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6382 Remove.
6383 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6384 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6385 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6386 (if_nameindex_ioctl): Remove.
6387 (if_nameindex_netlink): Do not handle __no_netlink_support.
6388 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6389 code.
6390 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6391 Remove conditional code.
6392 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6393 code.
6394 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6395 unconditional.
6396 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6397 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6398 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6399 Remove.
6400 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6401 [!__ASSUME_STD_AUXV]: Remove conditional code.
6402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6403 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6404 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6406 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6407 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6408 code.
6409 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6411 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6412 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6413 conditional code.
6414 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6416 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6417 code.
6418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6419 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6420 conditional code.
6421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6422 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6423 code unconditional.
6424 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6425 conditional code.
6426 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6427 unconditional.
6428 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6429 conditional code.
6430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6431 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6432 unconditional.
6433 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6434 conditional code.
6435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6436 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6437 code unconditional.
6438 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6439 conditional code.
6440 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6441 unconditional.
6442 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6443 conditional code.
6444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6445 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6446 code unconditional.
6447 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6448 conditional code.
6449 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6450 unconditional.
6451 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6452 conditional code.
6453
842a39cd
AS
64542012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6455
6456 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6457 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6458 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6459 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6460 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6461 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6462 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6463 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6464 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6465 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6466 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6467 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6468 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6469 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6470 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6471 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6472 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6473 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6474 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6475 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6476 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6477 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6478 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6479
84b3fd84
FW
64802012-07-25 Florian Weimer <fweimer@redhat.com>
6481
6482 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
6483 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6484 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6485 Introduce __libc_secure_getenv.
0c7936d5
FW
6486 * stdlib/Versions (2.17): Add secure_getenv
6487 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6488 * stdlib/secure-getenv.c: Rename __secure_getenv to
6489 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6490 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
6491 * stdlib/tst-secure-getenv.c: New.
6492 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
6493 * manual/startup.texi (Environment Access): Document
6494 secure_getenv.
84b3fd84
FW
6495 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6496 __libc_secure_getenv.
6497 * inet/ruserpass.c (ruserpass): Likewise.
6498 * malloc/mtrace.c (mtrace): Likewise.
6499 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 6500 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
6501 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6502 * sysdeps/posix/tempname.c: Likewise. Evaluate
6503 HAVE_SECURE_GETENV.
6504 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 6505 __secure_getenv to __libc_secure_getenv.
84b3fd84 6506 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
6507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6508 Likewise.
6509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6510 Likewise.
6511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6513 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 6518
56e49b71
JM
65192012-07-25 Joseph Myers <joseph@codesourcery.com>
6520
6521 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6522 (struct La_i86_retval): Likewise.
6523 (struct La_x86_64_regs): Likewise.
6524 (struct La_x86_64_retval): Likewise.
6525 (struct La_x32_regs): Likewise.
6526 (struct La_x32_retval): Likewise.
6527 (struct La_ppc32_regs): Likewise.
6528 (struct La_ppc32_retval): Likewise.
6529 (struct La_ppc64_regs): Likewise.
6530 (struct La_ppc64_retval): Likewise.
6531 (struct La_sh_regs): Likewise.
6532 (struct La_sh_retval): Likewise.
6533 (struct La_s390_32_regs): Likewise.
6534 (struct La_s390_32_retval): Likewise.
6535 (struct La_s390_64_regs): Likewise.
6536 (struct La_s390_64_retval): Likewise.
6537 (struct La_sparc32_regs): Likewise.
6538 (struct La_sparc32_retval): Likewise.
6539 (struct La_sparc64_regs): Likewise.
6540 (struct La_sparc64_retval): Likewise.
6541 (struct audit_ifaces): Remove architecture-specific pltenter and
6542 pltexit members.
6543 * sysdeps/i386/ldsodefs.h: New file.
6544 * sysdeps/powerpc/ldsodefs.h: Likewise.
6545 * sysdeps/s390/ldsodefs.h: Likewise.
6546 * sysdeps/sh/ldsodefs.h: Likewise.
6547 * sysdeps/sparc/ldsodefs.h: Likewise.
6548 * sysdeps/x86_64/ldsodefs.h: Likewise.
6549
354691b7
MP
65502012-07-25 Marek Polacek <polacek@redhat.com>
6551
6552 [BZ #6808]
6553 * math/libm-test.inc (yn_test): Add another test.
6554 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6555 to ERANGE when the result is +-Inf.
6556 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6557 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6558 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6559 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6560
bf9e2071
JM
65612012-07-24 Joseph Myers <joseph@codesourcery.com>
6562
6563 * conform/data/time.h-data (NULL): Use macro-constant. Require
6564 equal to 0.
6565 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6566 clock_t.
6567 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6568
57633811
TS
65692012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6570
6571 * configure.in <sysdeps resolving>: Correct printing
6572 Implies_before.
6573 * configure: Regenerate.
6574
c23c33b0
TS
65752012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6576
6577 * math/w_ilogb.c: Include <limits.h>.
6578 * math/w_ilogbl.c: Likewise.
6579
b5982523
JM
65802012-07-20 Joseph Myers <joseph@codesourcery.com>
6581
6582 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6583 va_copy. Document allowing for unavailable va_copy only as
6584 pre-C99 compatibility.
6585 * manual/string.texi (Copying and Concatenation): Use va_copy
6586 instead of __va_copy in concat example.
6587
ac4ea442
PT
65882012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6589
6590 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6591 (__sendto): Use create_address_port. Initialize APORT and deallocate
6592 it if not null.
6593
f98eafbd
PT
6594 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6595 with O_NOLINK passed to __file_name_lookup.
6596
898c7aab
PT
6597 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6598 with O_NOLINK passed to __file_name_lookup.
6599
0ced335a
PT
6600 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6601 negative N or less than NGIDS.
6602
b3404dbd
PT
6603 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6604 type to string_t. Set ERANGE as errno and return it if NAME is not big
6605 enough. Use memcpy instead of strncpy.
6606
0f48659e
JM
66072012-07-20 Joseph Myers <joseph@codesourcery.com>
6608
6609 * elf/Makefile (check-data): Remove.
6610 (localplt.data): New vpath directive.
6611 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6612 instead of $(check-data).
6613 * scripts/data/localplt-generic.data: Move to ...
6614 * sysdeps/generic/localplt.data: ... here.
6615 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6616 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6617 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6619 ... here.
6620 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6622 ... here.
6623 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6625 ... here.
6626 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6628 ... here.
6629 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6631 ... here.
6632 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6634 ... here.
6635
d37cbdaa
AZ
66362012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6637
6638 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6639 PPC32 and PPC64 files.
6640 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6641 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6642
46f85fc2
AK
66432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6644
6645 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6646 __makecontext_ret to ...
6647 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6648 ... here and call exit if uc_link is NULL. New file.
6649 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6650 __makecontext_ret.S.
6651 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6652 __makecontext_ret to ...
6653 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6654 ... here and call exit if uc_link is NULL. New file.
6655 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6656 __makecontext_ret.S.
6657
08f43f9b
AK
66582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6659
6660 * elf/elf.h (R_390_IRELATIVE): New definition.
6661 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6662 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6663 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6664 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6665 (elf_machine_lazy_rel): Likewise.
6666 * sysdeps/s390/dl-irel.h: New file.
6667 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6668 * sysdeps/s390/s390-64/memset.S: New asm code.
6669 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6670 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6671 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6672 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6673 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6674 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6675 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6676 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6677 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6678 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6679 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6680 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6681 * sysdeps/s390/s390-32/memset.S: New asm code.
6682 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6683
3b05db33
MP
66842012-07-17 Marek Polacek <polacek@redhat.com>
6685
6686 [BZ #14349]
6687 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6688 * sysdeps/s390/s390-64/configure.in: Likewise.
6689 * sysdeps/sparc/configure.in: Likewise.
6690 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6691 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6692 * sysdeps/i386/configure.in: Likewise.
6693 * sysdeps/x86_64/configure.in: Likewise.
6694 * sysdeps/sh/configure.in: Likewise.
6695 * sysdeps/s390/s390-32/configure: Regenerated.
6696 * sysdeps/s390/s390-64/configure: Likewise.
6697 * sysdeps/x86_64/configure: Likewise.
6698 * sysdeps/sh/configure: Likewise.
6699 * sysdeps/powerpc/powerpc64/configure: Likewise.
6700 * sysdeps/powerpc/powerpc32/configure: Likewise.
6701 * sysdeps/sparc/configure: Likwise.
6702 * sysdeps/i386/configure: Likewise.
6703
a66877c6
MP
6704 * elf/dl-open.c: Comment fixes.
6705
cfc82fd8
JM
67062012-07-17 Joseph Myers <joseph@codesourcery.com>
6707
bd29910a
JM
6708 * Makefile [CXX] (check-data): Remove.
6709 [CXX] (c++-types.data): New vpath directive.
6710 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6711 vpath. Do not allow for C++ type data being missing.
6712 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6713 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6714 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6715 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6716 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6717 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6718 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6720 ... here.
6721 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6723 ... here.
6724 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6726 ... here.
6727 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6729 ... here.
6730 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6732 ... here.
6733 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6735 ... here.
6736 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6738 ... here.
6739 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6741
cfc82fd8
JM
6742 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6743 definitions to architecture-specific files.
6744 (TLS_IE): Likewise.
6745 (TLS_LD): Likewise.
6746 (TLS_GD): Likewise.
6747 * sysdeps/i386/tls-macros.h: New file.
6748 * sysdeps/powerpc/tls-macros.h: Likewise.
6749 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6750 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6751 * sysdeps/sh/tls-macros.h: Likewise.
6752 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6753 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6754 * sysdeps/x86_64/tls-macros.h: Likewise.
6755
f7db3170
TS
67562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6757
07cbfc23
TS
6758 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6759 zero value for regular exit case.
6760
f7db3170
TS
6761 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6762 (__start_context): Preserve zero value for regular exit case.
6763
dc97c227
TS
67642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6765 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6766
6767 * manual/setjmp.texi (setcontext): Clarify normal process
6768 termination when uc_link is the null pointer.
6769 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6770 exit call.
6771
d0cd7d02
AS
67722012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6773
6774 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6775 preprocessor. Test for each exception mask separately.
6776
dd318934
AJ
67772012-07-16 Andreas Jaeger <aj@suse.de>
6778
6779 * po/ru.po: Update from translation team.
6780
8048311a
JM
67812012-07-15 Joseph Myers <joseph@codesourcery.com>
6782
6783 * conform/data/string.h-data (NULL): Use macro-constant. Require
6784 equal to 0.
6785 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6786 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6787 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6788 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6789 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6790
b637d46e
AJ
67912012-07-13 Andreas Jaeger <aj@suse.de>
6792
6793 * po/fr.po: Update from translation team.
6794
541428fe
MP
67952012-07-12 Marek Polacek <polacek@redhat.com>
6796
6797 [BZ #14173]
6798 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6799 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6800 loop condition.
6801
ec332e94
JM
68022012-07-12 Joseph Myers <joseph@codesourcery.com>
6803
6804 [BZ #13717]
6805 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6806 Change to 2.4.1 where previously 2.4.0.
6807 * sysdeps/unix/sysv/linux/configure: Regenerated.
6808 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6809 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6810 version.
6811 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6812 (__ASSUME_AT_CLKTCK): Remove.
6813 (__ASSUME_AT_PAGESIZE): Likewise.
6814 (__ASSUME_AT_XID): Likewise.
6815 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6816 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6817 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6818 unconditionally.
6819 (HAVE_AUX_PAGESIZE): Likewise.
6820 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6821 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6822 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6823
7b6e99be
JB
68242012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6825
6826 [BZ #14307]
6827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6828 the temporary buffer used to invoke __gethostbyname2_r,
6829 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6830 host_data / struct gaih_addrtuple.
6831 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6832 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6833 header file nss/nsswitch.h.
6834 * nss/nsswitch.h (global scope): Add definition of implementation
6835 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6836 resolv/nss_dns/dns-host.c).
6837
608404eb
AJ
68382012-07-11 Andreas Jaeger <aj@suse.de>
6839
6840 * po/fr.po: Update from translation team.
6841
71220aca
AJ
6842 * po/sv.po: Update from translation team
6843 * po/fr.po: Another update from translation team.
6844
28cfe843
AZ
68452012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6846
6847 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6848 for subnormals or multiply small sinh result by itself.
6849 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6851
6b90f981
DM
68522012-07-11 David S. Miller <davem@davemloft.net>
6853
6854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6855
c6825772
AS
68562012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6857
6858 [BZ #14347]
6859 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6860 (INTERNAL_MARK): Shift it here.
6861
7b8e0d49
MP
68622012-07-10 Marek Polacek <polacek@redhat.com>
6863
6864 [BZ #14151]
6865 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6866 libc_cv_asm_global_directive with .globl.
6867 * configure: Regenerated.
6868 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6869 with .globl.
6870 * sysdeps/i386/configure: Regenerated.
6871 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6872 with .globl.
6873 * sysdeps/x86_64/configure: Regenerated.
6874 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6875 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6876 * elf/tst-unique2mod2.c: Likewise.
6877 * elf/tst-unique2mod1.c: Likewise.
6878 * elf/tst-unique1mod2.c: Likewise.
6879 * elf/tst-unique1mod1.c: Likewise.
6880 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6881 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6882 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6883 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6884 * sysdeps/mach/sysdep.h: Likewise.
6885 * sysdeps/i386/sysdep.h: Likewise.
6886 * sysdeps/i386/i386-mcount.S: Likewise.
6887 * sysdeps/x86_64/_mcount.S: Likewise.
6888 * sysdeps/x86_64/sysdep.h: Likewise.
6889 * sysdeps/sh/_mcount.S: Likewise.
6890 * sysdeps/sh/sysdep.h: Likewise.
6891 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6892 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6893 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6894 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6895 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6896 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6897 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6898 * locale/localeinfo.h: Likewise.
6899 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6900 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6901
6c55cda3
RM
69022012-07-09 Roland McGrath <roland@hack.frob.com>
6903
6904 [BZ #14336]
6905 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6906 system".
6907 * manual/message.texi (The Uniforum approach): Likewise.
6908 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6909 (glibc iconv Implementation): Likewise.
6910
638a572e
JM
69112012-07-09 Joseph Myers <joseph@codesourcery.com>
6912
6913 [BZ #14337]
6914 * math/s_clog.c (__clog): Avoid scaling a value down where that
6915 could result in underflow.
6916 * math/s_clog10.c (__clog10): Likewise.
6917 * math/s_clog10f.c (__clog10f): Likewise.
6918 * math/s_clog10l.c (__clog10l): Likewise.
6919 * math/s_clogf.c (__clogf): Likewise.
6920 * math/s_clogl.c (__clogl): Likewise.
6921 * math/libm-test.inc (clog_test): Add more tests.
6922 (clog10_test): Likewise.
6923 * sysdeps/i386/fpu/libm-test-ulps: Update.
6924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6925
261f4859
AS
69262012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6927
0abaf3e4
AS
6928 [BZ #14283]
6929 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6930 by 7 not 8 to examine high bit of fractional part.
6931
261f4859
AS
6932 [BZ #14042]
6933 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6934 for call to __mcount_internal.
6935 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6936 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6937 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6938
f17ac40d
JM
69392012-07-06 Joseph Myers <joseph@codesourcery.com>
6940
9ad63c23
JM
6941 [BZ #14154]
6942 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6943 approximation for values within 0x1p-13f of an odd multiple of
6944 pi/4.
6945 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6946 exception. Add more tests.
6947 * sysdeps/i386/fpu/libm-test-ulps: Update.
6948
f17ac40d
JM
6949 [BZ #6778]
6950 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6951 inputs and return -1 for them. Do not check for +Inf in case not
6952 reachable for +Inf.
6953 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6954 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6955 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6956 and return -1 for them. Do not check for +Inf in case not
6957 reachable for +Inf.
6958 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6959 define.
6960 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6961 and return -1 for them. Do not check for +Inf in case not
6962 reachable for +Inf.
6963 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6964 spurious underflow.
6965 * sysdeps/i386/fpu/libm-test-ulps: Update.
6966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6967
fb21f89b
MF
69682012-07-06 Mike Frysinger <vapier@gentoo.org>
6969
6970 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6971
cdfe2c5e
JM
69722012-07-05 Joseph Myers <joseph@codesourcery.com>
6973
6974 [BZ #14157]
6975 [BZ #14331]
6976 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6977 could result in spurious underflow. Scale down values above
6978 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6979 * math/s_csqrtf.c (__csqrtf): Likewise.
6980 * math/s_csqrtl.c (__csqrtl): Likewise.
6981 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6982 spurious underflow.
6983 * sysdeps/i386/fpu/libm-test-ulps: Update.
6984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6985
70d35b67
AS
69862012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6987
704bc459
AS
6988 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6989 xopen-msg.sed.
6990 * catgets/xopen-msg.awk: New file.
6991 * catgets/xopen-msg.sed: Removed.
6992
70d35b67
AS
6993 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6994 po2text.sed.
6995 * intl/po2test.awk: New file.
6996 * intl/po2test.sed: Removed.
6997
ca61cf32
JM
69982012-07-04 Joseph Myers <joseph@codesourcery.com>
6999
7000 [BZ #14328]
7001 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7002 or multiply small sinh result by itself.
7003 * math/s_ctanf.c (__ctanf): Likewise.
7004 * math/s_ctanh.c (__ctanh): Likewise.
7005 * math/s_ctanhf.c (__ctanhf): Likewise.
7006 * math/s_ctanhl.c (__ctanhl): Likewise.
7007 * math/s_ctanl.c (__ctanl): Likewise.
7008 * math/libm-test.inc (ctan_test_tonearest): New function.
7009 (ctan_test_towardzero): Likewise.
7010 (ctan_test_downward): Likewise.
7011 (ctan_test_upward): Likewise.
7012 (ctanh_test_tonearest): Likewise.
7013 (ctanh_test_towardzero): Likewise.
7014 (ctanh_test_downward): Likewise.
7015 (ctanh_test_upward): Likewise.
7016 (main): Call these new functions.
7017 * sysdeps/i386/fpu/libm-test-ulps: Update.
7018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7019
ca48a46a
MF
70202012-07-03 Mike Frysinger <vapier@gentoo.org>
7021
7022 * .gitignore: Delete /ports entry.
7023
9d63d37d
AJ
70242012-07-03 Andreas Jaeger <aj@suse.de>
7025
7026 * po/bg.po: Update from translation team.
7027 * po/cs.po: Likewise.
7028 * po/de.po: Likewise.
7029 * po/hr.po: Likewise.
7030 * po/nl.pl: Likewise.
7031 * po/pl.po: Likewise.
7032 * po/vi.po: Likewise.
7033
370ca3d2
JM
70342012-07-03 Joseph Myers <joseph@codesourcery.com>
7035
95f5a9a8
JM
7036 * Makeconfig [!+link] (+link-before-libc): New variable.
7037 [!+link] (+link-after-libc): Likewise.
7038 [!+link] (+link-tests): Likewise.
7039 [!+link] (+link): Define in terms of $(+link-before-libc) and
7040 $(+link-after-libc).
7041 [!+link-static] (+link-static-before-libc): New variable.
7042 [!+link-static] (+link-static-after-libc): Likewise.
7043 [!+link-static] (+link-static-tests): Likewise.
7044 [!+link-static] (+link-static): Define in terms of
7045 $(+link-static-before-libc) and $(+link-static-after-libc).
7046 [build-shared] (link-libc-before-gnulib): New variable.
7047 [build-shared] (link-libc-tests): Likewise.
7048 [build-shared] (link-libc): Define in terms of
7049 $(link-libc-before-gnulib).
7050 [!build-shared] (link-libc-tests): New variable.
7051 (link-libc-static-tests): New variable.
7052 [!gnulib] (gnulib-arch): New variable.
7053 [!gnulib] (gnulib-tests): Likewise.
7054 [!gnulib] (static-gnulib-arch): Likewise.
7055 [!gnulib] (static-gnulib-tests): Likewise.
7056 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7057 Define with "=" instead of ":=".
7058 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7059 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7060 * Rules (binaries-all-notests): New variable.
7061 (binaries-all-tests): Likewise.
7062 (binaries-static-notests): Likewise.
7063 (binaries-static-tests): Likewise.
7064 (binaries-all): Define using $(binaries-all-notests) and
7065 $(binaries-all-tests).
7066 (binaries-static): Define using $(binaries-static-notests) and
7067 $(binaries-static-tests).
7068 (binaries-shared-tests): New variable.
7069 (binaries-shared-notests): Likewise.
7070 (binaries-shared): Remove variable.
7071 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7072 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7073 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7074 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7075 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7076 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7077 * elf/Makefile (sln-modules): New variable.
7078 (extra-objs): Add $(sln-modules:=.o).
7079 (ldconfig-modules): Add static-stubs.
7080 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7081 * elf/static-stubs.c: New file.
7082
7a845b2c
JM
7083 [BZ #14283]
7084 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7085 by 7 not 8 to examine high bit of fractional part. Use volatile
7086 variables when splitting into final array of floats if
7087 __FLT_EVAL_METHOD__ != 0.
7088 * math/libm-test.inc (cos_test): Add another test.
7089 (sin_test): Likewise.
7090 * sysdeps/i386/fpu/libm-test-ulps: Update.
7091
e2283f38
JM
7092 [BZ #14273]
7093 * math/libm-test.inc (cosh_test): Add more tests.
7094
370ca3d2
JM
7095 * version.h (RELEASE): Set to "development".
7096 (VERSION): Set to "2.16.90".
7097
ee9247c3
CD
70982012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7099
7100 * NEWS: Update copyright. Remove last-updated date.
7101 Mention math library bug fixes and timezone data changes.
7102 * README: Mention GNU/Hurd, x32, and HPPA support status.
7103
4648c381
TS
71042012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7105
7106 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7107
aac78a43
AJ
71082012-06-27 Andreas Jaeger <aj@suse.de>
7109
7110 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7111
ed3dbfad
AJ
71122012-06-25 Andreas Jaeger <aj@suse.de>
7113
7114 * sysdeps/s390/fpu/libm-test-ulps: Update.
7115
4d0ee855
AS
71162012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7117 Thomas Schwinge <thomas@codesourcery.com>
7118
7119 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7120 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7121 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7122 fanotify_mark.
7123
af1bce34
TS
71242012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7125
a9fa33ba
TS
7126 * sysdeps/mach/start.c: Remove file.
7127 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7128 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7129 * sysdeps/sh/init-first.c: Likewise.
7130
58f902b8
TS
7131 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7132 registers for frame unwinding purposes, add CFI directives.
7133 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7134 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7135 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7136 Likewise.
7137
1518f58b
TS
7138 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7139 __fortify_fail returning.
7140 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7141
db9b5059
TS
7142 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7143 sysdeps/sh/____longjmp_chk.S.
7144 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7145 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7146 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7147 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7148
967705fe
TS
7149 * sysdeps/sh/abort-instr.h: New file.
7150 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7151 process in case exit returns.
7152
a9def8c4
TS
7153 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7154 initialize the GOT register before use.
7155
2a649725
TS
7156 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7157 calculation of ARGC > 4.
7158
af1bce34
TS
7159 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7160 meaningful names to some local labels.
7161
d230f50a
KK
71622012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7163 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7164
7165 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7166 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7167 (__arch_compare_and_exchange_val_16_acq): Likewise.
7168 (__arch_compare_and_exchange_val_32_acq): Likewise.
7169 (atomic_exchange_and_add): Fix gUSA sequence.
7170 (atomic_add): Likewise.
7171 (atomic_add_negative): Likewise.
7172 (atomic_add_zero): Likewise.
7173 (atomic_bit_test_set): Likewise.
7174
0479b305
AS
71752012-06-22 Andreas Schwab <schwab@redhat.com>
7176
7177 [BZ #13579]
7178 * include/link.h (struct link_map): Add l_free_initfini.
7179 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7180 l_initfini.
7181 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7182 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7183 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7184 set.
7185
0e3933b9
CD
71862012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7187
7188 * configure.in: Use AC_LANG_SOURCE.
7189 * configure: Regenerate.
7190
4248b1b1
RM
71912012-06-22 Roland McGrath <roland@hack.frob.com>
7192
7193 * configure.in (libc_cv_localstatedir): New substituted variable.
7194 * configure: Regenerated.
7195 * config.make.in (localstatedir): New variable, substituted from
7196 libc_cv_localstatedir.
7197 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7198 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7199 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7200 * sysdeps/gnu/configure: Regenerated.
7201
006dd861
JL
72022012-06-21 Jeff Law <law@redhat.com>
7203
7204 [BZ #14277]
7205 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7206 free. Simplify list management for _LIBC case.
7207
79662d42
JM
72082012-06-21 Joseph Myers <joseph@codesourcery.com>
7209
b7abb4bf
JM
7210 [BZ #14273]
7211 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7212 Clear sign bit of 64-bit integer value before comparing against
7213 overflow value.
7214
79662d42
JM
7215 * sysdeps/mach/configure: Regenerated.
7216
1f150908
L
72172012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7218
7219 [BZ #14278]
7220 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7221
28363bbf
JL
72222012-06-21 Jeff Law <law@redhat.com>
7223
7224 [BZ #13882]
7225 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7226 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 7227 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
7228 * elf/dl-open.c (dl_open_worker): Likewise.
7229
09615db4
CD
72302012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7231
7232 * scripts/list-sources.sh: Scan PORTS for translations.
7233 * po/libc.pot: Regenerated.
7234
2174c6dd
AJ
72352012-06-21 Andreas Jaeger <aj@suse.de>
7236
7237 [BZ #12194]
7238 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7239 warning.
7240 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7241 * bits/byteswap-16.h (__bswap_16): Likewise.
7242 * bits/byteswap.h (__bswap_constant_16): Likewise.
7243
3ee947b1
L
72442012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7245
7246 [BZ #14117]
a2f34833
L
7247 * sysdeps/i386/fpu_control.h: Removed.
7248 * sysdeps/x86_64/fpu_control.h: Moved to ...
7249 * sysdeps/x86/fpu_control.h: Here.
7250
3ee947b1
L
7251 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7252 (_FPU_SETCW): Likewise.
7253
ed1825f8
L
72542012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7255
25f1282a
L
7256 [BZ #14117]
7257 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7258 * sysdeps/x86/fpu/bits/mathinline.h: This.
7259 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7260
ed1825f8
L
7261 [BZ #14050]
7262 [BZ #14117]
7263 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7264 functions if __x86_64__ is defined.
7265
36d54b74
CLT
72662012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7267
7268 * string/endian.h: Add !__ASSEMBLER__ condition for including
7269 conversion interfaces.
7270
10285c21
JM
72712012-06-15 Joseph Myers <joseph@codesourcery.com>
7272
7273 [BZ #14241]
7274 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7275 of ABS(x) in calculating zero to negative powers other than odd
7276 integers.
7277 * math/libm-test.inc (pow_test): Add more tests.
7278
06c5abbd
AJ
72792012-06-15 Andreas Jaeger <aj@suse.de>
7280
7281 * manual/contrib.texi (Contributors): Update entry of Liubov
7282 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7283 Machado Filho.
7284
a3aeac40
CH
72852012-06-15 Cyril Hrubis <metan@ucw.cz>
7286
7287 * string/string.h: Add __wur to GNU version of strerror_r.
7288
49bdf4c1
L
72892012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7290
7291 [BZ #14229]
7292 * string/Makefile (tests): Add tst-strtok_r.
7293 * string/tst-strtok_r.c: New file.
7294 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7295 RAX_LP/RDX_LP on SAVE_PTR.
7296
834f9b8d
RM
72972012-06-14 Roland McGrath <roland@hack.frob.com>
7298
7299 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7300
75fa1921
JM
73012012-06-14 Joseph Myers <joseph@codesourcery.com>
7302
7303 * libm_test.inc (csqrt_test): Allow more spurious underflow
7304 exceptions.
7305 (j0_test): Likewise.
7306 (j1_test): Likewise.
7307 (y0_test): Likewise.
7308 (y1_test): Likewise.
7309
771766df
CD
73102012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7311
7312 * po/Makefile (libc.pot): Use UTF-8 charset.
7313
ceb9e56b
PP
73142012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7315
7316 [BZ #14210]
7317 Suppress sign-conversion warning from FD_SET.
7318 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7319 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7320 not unsigned long int.
7321 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7322
ddb28975
L
73232012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7324
7325 [BZ #14050]
7326 [BZ #14117]
7327 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7328 __extern_always_inline instead of __extern_inline.
7329 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7330 (__signbit): Likewise.
7331 (__signbitl): Support C++ namespace.
7332 (lrintf): New inline function.
7333 (lrint): Likewise.
7334 (llrintf): Likewise.
7335 (llrint): Likewise.
7336 (fmaxf): Likewise.
7337 (fmax): Likewise.
7338 (fminf): Likewise.
7339 (fmin): Likewise.
7340 (rint): Likewise.
7341 (rintf): Likewise.
7342 (ceil): Likewise.
7343 (ceilf): Likewise.
7344 (floor): Likewise.
7345 (floorf): Likewise.
7346 (nearbyint): Likewise.
7347 (nearbyintf): Likewise.
7348
d7b4fb26
TS
73492012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7350
7351 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7352 non-default versions.
7353
eb55f5c2
RM
73542012-06-11 Roland McGrath <roland@hack.frob.com>
7355
7356 [BZ #14218]
7357 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7358
366af02c
TS
73592012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7360
99ff6e5c
TS
7361 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7362 (FE_UPWARD, FE_DOWNWARD): Don't define.
7363 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7364 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7365
366af02c
TS
7366 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7367 reading it.
7368 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7369 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7370
793ea851
KK
73712012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7372
7373 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7374 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7375 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7376 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7377
a728a38f
L
73782012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7379
7380 [BZ #14117]
c08010c7
L
7381 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7382 * sysdeps/i386/fpu/Implies: New file.
7383 * sysdeps/x86_64/fpu/Implies: Likewise.
7384 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7385 * sysdeps/x86/fpu/bits/fenv.h: This.
7386
a728a38f
L
7387 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7388 __SSE_MATH__.
7389
6e230d11
SP
73902012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7391
7392 [BZ #14134]
7393 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7394 character 0xffff that matches the last element of the
7395 conversion table.
7396
1b671feb
AZ
73972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7398
7399 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7400 fmodl commit.
7401
6043738b
AZ
74022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7403
7404 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7405 values higher than 25.6283.
7406
34ae0b32
AZ
74072012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7408
7409 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7410 subnormal exponent extraction and add some __builtin_expect.
7411 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7412 Fix for subnormal mantissa calculation.
7413
1214ec8f
MF
74142012-06-04 Mike Frysinger <vapier@gentoo.org>
7415
7416 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7417 cpu2 is -1 and errno is not ENOSYS.
7418
f3d1f93c
L
74192012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7420
7421 [BZ #14117]
0e4a3cd7
L
7422 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7423 * sysdeps/x86/bits/string.h: This.
7424 * sysdeps/x86_64/bits/string.h: Removed.
7425
6704c645
L
7426 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7427 if not compiling for x86-64, but compiling for >= i486.
7428
48495318
L
7429 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7430 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7431
14adcbfc
L
7432 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7433 New macro from Linux kernel 3.4.0.
7434 (FP_XSTATE_MAGIC2): Likewise.
7435 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7436 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7437 (struct _fpx_sw_bytes): New struct.
7438 (struct _xsave_hdr): Likewise.
7439 (struct _ymmh_state): Likewise.
7440 (struct _xstate): Likewise.
7441
68e408ab
L
7442 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7443 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7444 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7445 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7446 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7447 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7448
f3d1f93c
L
7449 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7450 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7451 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7452 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7453 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7454 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7455
d9dc34cd
TMQMF
74562012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7457
7458 [BZ #13743]
7459 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7460 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7461 (sysdep_headers): Include sys/platform/ppc.h.
7462 * sysdeps/powerpc/test-gettimebase.c: Test for
7463 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7464 * manual/Makefile (appendices): Include platform.texi.
7465 * manual/contrib.texi (Contributors): Update @node pointers.
7466 * manual/maint.texi (Maintenance): Likewise.
7467 (Platform): New node.
7468 * manual/platform.texi: New file. Document the new features.
7469
4af3879c
SP
74702012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7471 Jakub Jelinek <jakub@redhat.com>
7472
7473 [BZ #14188]
7474 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7475 where __builtin_expect is unavailable.
7476
2fd6ff13
DM
74772012-06-03 David S. Miller <davem@davemloft.net>
7478
7479 * stdlib/longlong.h: Updated from GCC.
7480
173f7220
AS
74812012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7482
7483 [BZ #14042]
7484 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7485 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7486 __mcount_internal.
7487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7488 (GLIBC_2.16): Likewise.
7489
f34a1c6f
L
74902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7491
7492 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7493
88a4576f
JM
74942012-06-01 Joseph Myers <joseph@codesourcery.com>
7495
ea32bcdd
JM
7496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7497 (default-abi): New variable.
7498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7499 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7500 variable.
7501 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7502 Likewise.
7503 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7504 Likewise.
7505 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7506 Likewise.
7507
88a4576f
JM
7508 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7509 definition. Document in comment.
7510
402fe938
DM
75112012-06-01 David S. Miller <davem@davemloft.net>
7512
7513 * stdlib/longlong.h: Updated from GCC.
7514
3553723f
L
75152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7516
7517 [BZ #14117]
3bd872c4
L
7518 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7519 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7520 sys/debugreg.h sys/io.h here.
7521 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7522 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7523 sys/io.h.
7524 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7525 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7526 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7527 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7528 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7529 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7530
3553723f
L
7531 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7532 Define only if __x86_64__ is defined.
7533
4842e4fe
JM
75342012-06-01 Joseph Myers <joseph@codesourcery.com>
7535
c5bfe3d5
JM
7536 [BZ #14048]
7537 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7538 Use int64_t for variable i.
7539 * math/libm-test.inc (fmod_test): Add more tests.
7540
4842e4fe
JM
7541 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7542 z computation is not scheduled after fetestexcept.
7543 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7544 Use math_force_eval instead of asm to ensure calculation scheduled
7545 before exception test.
7546 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7547 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7548
efb73488
AJ
75492012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7550
7551 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7552 computation is not scheduled after fetestexcept.
7553
29bcce7c
L
75542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7555
7556 [BZ #14117]
7557 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7558 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7559
73a68f94
AZ
75602012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7561
7562 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7563 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7564
67b6df78
L
75652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7566
edf2933a 7567 [BZ #14117]
ebc64a18
L
7568 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7569 <bits/wordsize.h>.
7570 (__WCHAR_MIN): Support __WORDSIZE == 64.
7571 (__WCHAR_MAX): Likewise.
7572
edf2933a
L
7573 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7574 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7575
57c6cf40
L
7576 [BZ #14183]
7577 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7578 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7579
67b6df78 7580 [BZ #14117]
8eb6281e
L
7581 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7582 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7583
aac639f4
L
7584 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7585 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7586
67b6df78
L
7587 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7588 Defined to 1 if __x86_64__ isn't defined.
7589 (_STAT_VER_LINUX_OLD): New.
7590 (st_atime): Remove duplicate.
7591 (st_mtime): Likewise.
7592 (st_ctime): Likewise.
7593
1c2cfe81
DM
75942012-05-31 David S. Miller <davem@davemloft.net>
7595
7596 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7597 entries.
7598
5be8418c
AS
75992012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7600
e7725326
AS
7601 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7602 gen-libm-test.pl.
7603
5be8418c
AS
7604 [BZ #14132]
7605 * elf/dl-reloc.c: Include <_itoa.h>.
7606 (_dl_reloc_bad_type): Remove use of INTUSE.
7607 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7608 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7609 * stdio-common/psiginfo.c (psiginfo): Likewise.
7610 * stdio-common/psignal.c (psignal): Likewise.
7611 * string/strsignal.c (strsignal): Likewise.
7612 * include/signal.h (_sys_siglist): Declare hidden proto.
7613 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7614 INTVARDEF with libc_hidden_data_def.
7615 * stdio-common/itoa-udigits.c: Likewise.
7616 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7617 (_itoa_lower_digits_internal): Remove declaration.
7618 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7619 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7620 (_sys_sigabbrev_internal): Remove aliases.
7621 (_sys_siglist): Define hidden alias.
7622
507352f1
MT
76232012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7624
7625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7626 bits/sysctl.h.
7627
42bbb1c3
L
76282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7629
7630 [BZ #14117]
6bd784b6
L
7631 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7632 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7633
8bca20f0
L
7634 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7635 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7636 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7637 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7638 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7639 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7640
f9e890a9
L
7641 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7642 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7643 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7644
471101a1
L
7645 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7646 with __addr.
7647 (insw): Likewise.
7648 (insl): Likewise.
7649 (outsb): Likewise.
7650 (outsw): Likewise.
7651 (outsl): Likewise.
7652
6451c862
L
7653 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7654 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7655 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7656
a254b8c9
L
7657 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7658 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7659 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7660 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7661 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7662 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7663
b8dfdd92
L
7664 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7665 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7666
578cd270
L
7667 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7668 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7669
de662f5f
L
7670 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7671 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7672 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7673
25653439
L
7674 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7675 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7676 to ...
7677 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7678
6bad24a0
L
7679 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7680 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7681 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7682
42bbb1c3
L
7683 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7684 for x86-64.
7685 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7686
2d10d547
JM
76872012-05-31 Joseph Myers <joseph@codesourcery.com>
7688
7689 * math/math.h (M_El): Use two more decimal places.
7690 (M_LOG2El): Likewise.
7691 (M_LOG10El): Likewise.
7692 (M_LN2l): Likewise.
7693 (M_LN10l): Likewise.
7694 (M_PIl): Likewise.
7695 (M_PI_2l): Likewise.
7696 (M_PI_4l): Likewise.
7697 (M_1_PIl): Likewise.
7698 (M_2_PIl): Likewise.
7699 (M_2_SQRTPIl): Likewise.
7700 (M_SQRT2l): Likewise.
7701 (M_SQRT1_2l): Likewise.
7702
f230c29b
DM
77032012-05-31 David S. Miller <davem@davemloft.net>
7704
7705 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7706 values between float registers.
7707 * sysdeps/sparc/sparc64/memset.S: Likewise.
7708 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7709
fed806c3
MF
77102012-05-31 Mike Frysinger <vapier@gentoo.org>
7711
7712 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7713 -D_FORTIFY_SOURCE=1.
7714 (CPPFLAGS-tst-longjmp_chk.c): Define.
7715 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7716 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7717 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7718 CFLAGS-tst-wchar-h.c.
7719
30917259
MP
77202012-05-31 Marek Polacek <polacek@redhat.com>
7721
7722 [BZ #14132]
7723 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7724 __endmntent_internal): Remove declaration.
7725 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7726 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7727 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7728
1c58d5dc
DM
77292012-05-30 David S. Miller <davem@davemloft.net>
7730
7731 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7732 (___Q_simulate_exceptions): Use real FP ops rather than writing
7733 into the %fsr.
7734 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7735 Likewise.
7736
7dc00e0d
L
77372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7738
7739 [BZ #14117]
0bd53985
L
7740 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7741 * sysdeps/x86/bits/xtitypes.h: This.
7742
3a257e66
L
7743 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7744 * sysdeps/x86/bits/wordsize.h: This.
7745
62f62904
L
7746 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7747 * sysdeps/x86/bits/huge_vall.h: This.
7748
404fe9d9
L
7749 * sysdeps/i386/bits/select.h: Removed.
7750 * sysdeps/x86_64/bits/select.h: Renamed to ...
7751 * sysdeps/x86/bits/select.h: This.
7752
d48d0446
L
7753 * sysdeps/i386/bits/setjmp.h: Removed.
7754 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7755 * sysdeps/x86/bits/setjmp.h: This.
7756
7dc00e0d
L
7757 * sysdeps/i386/bits/mathdef.h: Removed.
7758 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7759 * sysdeps/x86/bits/mathdef.h: This.
7760
03277f8f
AS
77612012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7762
7763 [BZ #14132]
7764 * include/sys/socket.h (__connect_internal)
7765 (__libc_sa_len_internal): Remove declaration.
7766 (__connect, __libc_sa_len): Declare hidden_proto.
7767 (SA_LEN): Remove use of INTUSE.
7768 * socket/connect.c: Add libc_hidden_def.
7769 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7770 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7771 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7772 alias.
7773 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7774 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7775 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7776 of adding _internal alias.
7777
13764867
L
77782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7779
7780 [BZ #14117]
6bd97696
L
7781 * sysdeps/i386/bits/link.h: Removed.
7782 * sysdeps/i386/bits/linkmap.h: Likewise.
7783 * sysdeps/x86_64/bits/link.h: Renamed to ...
7784 * sysdeps/x86/bits/link.h: This.
7785 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7786 * sysdeps/x86/bits/linkmap.h: This.
7787
f726f0bb
L
7788 * sysdeps/i386/bits/endian.h: Removed.
7789 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7790 * sysdeps/x86/bits/endian.h: This.
7791
13764867
L
7792 * sysdeps/i386/bits/byteswap.h: Removed.
7793 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7794 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7795 * sysdeps/x86/bits/byteswap.h: This.
7796 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7797 * sysdeps/x86/bits/byteswap-16.h: This.
7798 * sysdeps/i386/Implies: Add x86.
7799 * sysdeps/x86_64/Implies: Likewise.
7800
ae251b0b
DM
78012012-05-30 David S. Miller <davem@davemloft.net>
7802
7803 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7804 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7805 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7806 (FP_TRAPPING_EXCEPTIONS): Define.
7807 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7808 (FP_TRAPPING_EXCEPTIONS): Define.
7809 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7810 subnormals only when inexact has been signalled or underflow
7811 exceptions are enabled.
7812 (_FP_PACK_CANONICAL): Likewise.
7813
d5c90867
L
78142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7815
7816 [BZ #14183]
7817 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7818 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7819
63f1549e
RH
78202012-05-30 Richard Henderson <rth@twiddle.net>
7821
8d8f2279
RH
7822 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7823 with #ifndef NOT_IN_libc.
7824
63f1549e
RH
7825 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7826 marked to avoid plt entry.
7827
0ab0291b
L
78282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7829
7830 [BZ #14112]
7831 * Makeconfig (default-abi): New macro.
7832 (abi-includes): Likewise.
7833 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7834 $(abi-$(default-abi)-lib-soname) for soname if defined.
7835 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7836 abi-variants.
7837 * Makefile (installed-stubs): Likewise.
7838 * include/stubs-biarch.h: Removed.
7839 * scripts/lib-names.awk: Only handle one library at a time.
7840 * scripts/soversions.awk: Remove WORDSIZE support.
7841 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7842 entries.
7843 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7844 Removed.
7845 (syscall-list-default-condition): Likewise.
7846 (syscall-list-default-condition): Likewise.
7847 (syscall-list-includes): Likewise.
7848 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7849 syscall-list-* with abi-*. Handle undefined abi-variants.
7850 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7851 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7852 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7853 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7854 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7855 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7856 Removed.
7857 (syscall-list-32-options): Likewise.
7858 (syscall-list-32-condition): Likewise.
7859 (syscall-list-64-options): Likewise.
7860 (syscall-list-64-condition): Likewise.
7861 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7862 macro.
7863 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7864 Renamed to ...
7865 (abi-*): This.
7866 (abi-64-ld-soname): New macro.
7867 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7868 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7869 Renamed to ...
7870 (abi-*): This.
7871 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7872 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7873
4da0431d
JM
78742012-05-30 Joseph Myers <joseph@codesourcery.com>
7875
3a85279c
JM
7876 * sysdeps/unix/sysv/linux/kernel-features.h
7877 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7878 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7879 include <kernel-features.h>.
7880 [!__NR_ftruncate64]: Remove conditional code.
7881 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7882 [__NR_ftruncate64]: Make code unconditional.
7883 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7884 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7885 include <kernel-features.h>.
7886 [!__NR_ftruncate64]: Remove conditional code.
7887 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7888 [__NR_ftruncate64]: Make code unconditional.
7889 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7891 include <kernel-features.h>.
7892 [!__NR_ftruncate64]: Remove conditional code.
7893 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7894 [__NR_ftruncate64]: Make code unconditional.
7895 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7897 include <kernel-features.h>.
7898 [!__NR_ftruncate64]: Remove conditional code.
7899 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7900 [__NR_ftruncate64]: Make code unconditional.
7901 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7902
4da0431d
JM
7903 * configure.in (libc_cv_fpie): Weaken to a compile test using
7904 LIBC_TRY_CC_OPTION.
7905 * configure: Regenerated.
7906
11ef492c
AK
79072012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7908
7909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7913 Refreshed.
7914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7920 Refreshed.
7921
d66ef399
DM
79222012-05-27 David S. Miller <davem@davemloft.net>
7923
7924 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7925 (___Q_zero): New.
7926 (__Q_simulate_exceptions): Return void. Change to simulate
7927 exceptions by writing into the %fsr.
7928 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7929 (__Qp_handle_exceptions): Likewise.
7930 (numbers): Delete.
7931 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7932 __Qp_handle_exceptions.
7933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7934 __Qp_handle_exceptions.
7935 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7936 as unused and give dummy FP_RND_NEAREST initializer.
7937 (FP_INHIBIT_RESULTS): Define.
7938 (___Q_simulate_exceptions): Update declaration.
7939 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7940 formatting.
7941 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7942 as unused and give dummy FP_RND_NEAREST initializer.
7943 (__Qp_handle_exceptions): Update declaration.
7944 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7945 formatting.
7946
04fb54b5
TS
79472012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7948
7949 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7950 the temporary FPU control word.
7951 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7952 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7953 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7954 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7955 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7956 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7957 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7958 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7959 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7960 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7961 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7962
3f99608f
KK
79632012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7964
7965 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7966 fields.
7967
65a4de4e
CLT
79682012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7969
7970 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7971 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7972 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7973 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7974 Likewise.
7975 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7976 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7977 Likewise.
7978
15749d40
UD
79792012-05-27 Ulrich Drepper <drepper@gmail.com>
7980
7981 * po/h.po: Update from translation team.
7982
25dbcb27
AS
79832012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7984
3d3f8e55
AS
7985 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7986
25dbcb27
AS
7987 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7988 handling of denormals.
7989 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7990 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7991 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7992 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7993 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7994 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7995 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7996 Likewise.
7997
7ad47a80 79982012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7999
8000 [BZ #14152]
8001 * math/libm-test.inc (fma_test): Don't always expect underflow
8002 exception.
8003
9c6ea9fa
SP
80042012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8005
8006 [BZ #12416]
8007 * elf/tst-execstack.c: Include stackinfo.h.
8008 (do_test): Adjust test case to ensure that pthread_getattr_np
8009 behaviour remains the same after marking stack executable.
8010
a8239222
JM
80112012-05-25 Joseph Myers <joseph@codesourcery.com>
8012
8013 * sysdeps/unix/sysv/linux/kernel-features.h
8014 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8015 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8016 kernel-features.h.
8017 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8018 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8019 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8020 kernel-features.h.
8021 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8022 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8023
918b5606
L
80242012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8025
8026 * configure.in: Define the default includes to being none.
8027 * configure: Regenerated.
8028
3a097cc7
RM
80292012-05-25 Roland McGrath <roland@hack.frob.com>
8030
8422c9a5
RM
8031 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8032 * sysdeps/x86_64/setjmp.S: Likewise.
8033 * sysdeps/i386/bsd-setjmp.S: Likewise.
8034 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8035 * sysdeps/i386/setjmp.S: Likewise.
8036 * sysdeps/i386/__longjmp.S: Likewise.
8037 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8038 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8039
3a097cc7
RM
8040 * include/stap-probe.h: New file.
8041 * configure.in: Handle --enable-systemtap.
8042 * configure: Regenerated.
8043 * config.h.in (USE_STAP_PROBE): New #undef.
8044 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8045 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8046 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8047
21708942
JM
80482012-05-25 Joseph Myers <joseph@codesourcery.com>
8049
8050 [BZ #13717]
8051 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8052 to 2.4.0 where earlier.
8053 * sysdeps/unix/sysv/linux/configure: Regenerated.
8054 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8055 <kernel-features.h>.
8056 [__ASSUME_32BITUIDS]: Make code unconditional.
8057 [!__ASSUME_32BITUIDS]: Remove conditional code.
8058 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8059 <kernel-features.h>.
8060 [__ASSUME_32BITUIDS]: Make code unconditional.
8061 [!__ASSUME_32BITUIDS]: Remove conditional code.
8062 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8063 [__ASSUME_32BITUIDS]: Make code unconditional.
8064 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8065 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8066 <kernel-features.h>.
8067 [__ASSUME_32BITUIDS]: Make code unconditional.
8068 [!__ASSUME_32BITUIDS]: Remove conditional code.
8069 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8070 <kernel-features.h>.
8071 [__ASSUME_32BITUIDS]: Make code unconditional.
8072 [!__ASSUME_32BITUIDS]: Remove conditional code.
8073 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8074 <kernel-features.h>.
8075 [__ASSUME_32BITUIDS]: Make code unconditional.
8076 [!__ASSUME_32BITUIDS]: Remove conditional code.
8077 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8078 <kernel-features.h>.
8079 [__ASSUME_32BITUIDS]: Make code unconditional.
8080 [!__ASSUME_32BITUIDS]: Remove conditional code.
8081 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8082 <kernel-features.h>.
8083 [__ASSUME_32BITUIDS]: Make code unconditional.
8084 [!__ASSUME_32BITUIDS]: Remove conditional code.
8085 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8086 <kernel-features.h>.
8087 [__ASSUME_32BITUIDS]: Make code unconditional.
8088 [!__ASSUME_32BITUIDS]: Remove conditional code.
8089 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8090 <kernel-features.h>.
8091 [__ASSUME_32BITUIDS]: Make code unconditional.
8092 [!__ASSUME_32BITUIDS]: Remove conditional code.
8093 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8094 <kernel-features.h>.
8095 [__ASSUME_32BITUIDS]: Make code unconditional.
8096 [!__ASSUME_32BITUIDS]: Remove conditional code.
8097 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8098 <kernel-features.h>.
8099 [__ASSUME_32BITUIDS]: Make code unconditional.
8100 [!__ASSUME_32BITUIDS]: Remove conditional code.
8101 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8102 <kernel-features.h>.
8103 [__ASSUME_32BITUIDS]: Make code unconditional.
8104 [!__ASSUME_32BITUIDS]: Remove conditional code.
8105 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8106 <kernel-features.h>.
8107 [__NR_setresgid] (__setresgid): Do not declare.
8108 [__ASSUME_32BITUIDS]: Make code unconditional.
8109 [!__ASSUME_32BITUIDS]: Remove conditional code.
8110 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8111 <kernel-features.h>.
8112 [__NR_setresuid] (__setresuid): Do not declare.
8113 [__ASSUME_32BITUIDS]: Make code unconditional.
8114 [!__ASSUME_32BITUIDS]: Remove conditional code.
8115 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8116 <kernel-features.h>.
8117 [__ASSUME_32BITUIDS]: Make code unconditional.
8118 [!__ASSUME_32BITUIDS]: Remove conditional code.
8119 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8120 <kernel-features.h>.
8121 [__ASSUME_32BITUIDS]: Make code unconditional.
8122 [!__ASSUME_32BITUIDS]: Remove conditional code.
8123 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8124 <kernel-features.h>.
8125 [__ASSUME_32BITUIDS]: Make code unconditional.
8126 [!__ASSUME_32BITUIDS]: Remove conditional code.
8127 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8128 <kernel-features.h>.
8129 [__ASSUME_32BITUIDS]: Make code unconditional.
8130 [!__ASSUME_32BITUIDS]: Remove conditional code.
8131 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8132 <kernel-features.h>.
8133 [__ASSUME_32BITUIDS]: Make code unconditional.
8134 [!__ASSUME_32BITUIDS]: Remove conditional code.
8135 * sysdeps/unix/sysv/linux/i386/setresgid.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/setresuid.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/setreuid.c: Do not include
8144 <kernel-features.h>.
8145 [__ASSUME_32BITUIDS]: Make code unconditional.
8146 [!__ASSUME_32BITUIDS]: Remove conditional code.
8147 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8148 <kernel-features.h>.
8149 [__ASSUME_32BITUIDS]: Make code unconditional.
8150 [!__ASSUME_32BITUIDS]: Remove conditional code.
8151 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8152 <kernel-features.h>.
8153 [__ASSUME_32BITUIDS]: Make code unconditional.
8154 [!__ASSUME_32BITUIDS]: Remove conditional code.
8155 * sysdeps/unix/sysv/linux/kernel-features.h
8156 (__ASSUME_SETRESUID_SYSCALL): Remove.
8157 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8158 (__ASSUME_32BITUIDS): Likewise.
8159 (__ASSUME_LDT_WORKS): Likewise.
8160 (__ASSUME_O_DIRECTORY): Likewise.
8161 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8162 architecture but not kernel version.
8163 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8164 (__ASSUME_MMAP2_SYSCALL): Likewise.
8165 (__ASSUME_STAT64_SYSCALL): Likewise.
8166 (__ASSUME_IPC64): Likewise.
8167 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8168 <kernel-features.h>.
8169 [__ASSUME_32BITUIDS]: Make code unconditional.
8170 [!__ASSUME_32BITUIDS]: Remove conditional code.
8171 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8172 <kernel-features.h>.
8173 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8174 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8175 132096]: Remove conditional code.
8176 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8177 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8178 <kernel-features.h>.
8179 [__ASSUME_32BITUIDS]: Make code unconditional.
8180 [!__ASSUME_32BITUIDS]: Remove conditional code.
8181 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8182 <kernel-features.h>.
8183 [__ASSUME_32BITUIDS]: Make code unconditional.
8184 [!__ASSUME_32BITUIDS]: Remove conditional code.
8185 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8186 <kernel-features.h>.
8187 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8188 unconditional.
8189 (__setresgid): Do not declare.
8190 [__ASSUME_32BITUIDS]: Make code unconditional.
8191 [!__ASSUME_32BITUIDS]: Remove conditional code.
8192 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8193 <kernel-features.h>.
8194 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8195 unconditional.
8196 (__setresuid): Do not declare.
8197 [__ASSUME_32BITUIDS]: Make code unconditional.
8198 [!__ASSUME_32BITUIDS]: Remove conditional code.
8199 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8200 <kernel-features.h>.
8201 [__ASSUME_32BITUIDS]: Make code unconditional.
8202 [!__ASSUME_32BITUIDS]: Remove conditional code.
8203 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8204 <kernel-features.h>.
8205 [__ASSUME_32BITUIDS]: Make code unconditional.
8206 [!__ASSUME_32BITUIDS]: Remove conditional code.
8207
a386f1cc
RH
82082012-05-25 Richard Henderson <rth@twiddle.net>
8209
8210 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8211 dl_hwcap to ifunc resolver.
8212 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8213 elf_ifunc_invoke.
8214 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8215 dl_hwcap to ifunc resolver.
8216 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8217
b6550497
JM
82182012-05-24 Joseph Myers <joseph@codesourcery.com>
8219
8220 [BZ #14153]
8221 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8222 for |x| <= 2**-26, not 2**-57.
8223 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8224 exception.
8225
b0bc23a1
JL
82262012-05-24 Jeff Law <law@redhat.com>
8227
8228 * stdio-common/Makefile (tests): Add bug25.
8229 * stdio-common/bug25.c: New test.
8230
347c92e9
L
82312012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8232
8233 [BZ #13576]
8234 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8235 multiple of MALLOC_ALIGNMENT in size.
8236 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8237
6bcc8b3f
JM
82382012-05-24 Joseph Myers <joseph@codesourcery.com>
8239
8240 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8241 Require >= 256.
8242 (FILENAME_MAX): Use macro-int-constant.
8243 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8244 (_IOFBF): Use macro-int-constant.
8245 (_IOLBF): Likewise.
8246 (_IONBF): Likewise.
8247 (SEEK_CUR): Likewise.
8248 (SEEK_END): Likewise.
8249 (SEEK_SET): Likewise.
8250 (TMP_MAX): Likewise.
8251 (EOF): Use macro-int-constant. Require < 0.
8252 (NULL): Use macro-constant. Require == 0.
8253 (stdin): Require type to be FILE *.
8254 (stdout): Likewise.
8255 (stderr): Likewise.
8256 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8257 macro-int-constant.
8258 (EXIT_SUCCESS): Likewise.
8259 (NULL): Use macro-constant. Require == 0.
8260 (RAND_MAX): Use macro-int-constant.
8261 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8262 [C99-based standards] (strtof): Require function.
8263 [C99-based standards] (strtold): Likewise.
8264 [C99-based standards] (strtoll): Likewise.
8265 [C99-based standards] (strtoull): Likewise.
8266 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8267 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8268 [ISO || ISO99 || ISO11] (math.h): Likewise.
8269 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8270 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8271 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8272
d18ea0c5
AS
82732012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8274
8275 [BZ #14132]
56d25bb8
AS
8276 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8277 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8278 * intl/dgettext.c (DCGETTEXT): Likewise.
8279 * intl/gettext.c (DCGETTEXT): Likewise.
8280 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8281 * posix/regex_internal.h (gettext): Likewise.
8282 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8283 Remove declaration.
8284 * include/argz.h (__argz_count_internal)
8285 (__argz_stringify_internal): Remove declaration.
8286 (__argz_count, __argz_stringify): Declare hidden proto.
8287 * intl/dcgettext.c: Remove use of INTDEF.
8288 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8289 * string/argz-stringify.c: Likewise.
8290 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8291 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8292 Declare hidden proto.
d18ea0c5
AS
8293 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8294 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8295 Declare hidden proto.
8296 * include/stdio.h (__asprintf_internal): Don't declare.
8297 (__asprintf): Don't define as macro. Declare hidden proto.
8298 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8299 (__fsetlocking): Declare hidden proto.
8300 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8301 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8302 hidden proto.
8303 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8304 (_IO_setlinebuf): Remove use of INTUSE.
8305 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8306 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8307 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8308 Remove declaration.
8309 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8310 (_IO_do_flush): Remove use of INTUSE.
8311 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8312 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8313 (_IO_adjust_column, _IO_least_wmarker)
8314 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8315 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8316 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8317 (_IO_default_doallocate, _IO_wdefault_doallocate)
8318 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8319 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8320 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8321 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8322 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8323 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8324 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8325 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8326 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8327 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8328 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8329 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8330 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8331 proto.
8332 (_IO_flush_all_internal, _IO_adjust_column_internal)
8333 (_IO_default_uflow_internal, _IO_default_finish_internal)
8334 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8335 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8336 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8337 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8338 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8339 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8340 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8341 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8342 (_IO_file_close_internal, _IO_file_close_it_internal)
8343 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8344 (_IO_file_init_internal, _IO_file_attach_internal)
8345 (_IO_file_fopen_internal, _IO_file_read_internal)
8346 (_IO_file_sync_internal, _IO_file_seek_internal)
8347 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8348 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8349 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8350 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8351 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8352 (_IO_list_all_internal, _IO_link_in_internal)
8353 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8354 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8355 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8356 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8357 (_IO_do_write_internal, _IO_padn_internal)
8358 (_IO_getline_info_internal, _IO_getline_internal)
8359 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8360 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8361 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8362 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8363 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8364 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8365 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8366 with libc_hidden_ver, remove use of INTUSE.
8367 * libio/genops.c: Likewise.
8368 * libio/freopen.c: Likewise.
8369 * libio/freopen64.c: Likewise.
8370 * libio/iofclose.c: Likewise.
8371 * libio/iofdopen.c: Likewise.
8372 * libio/iofflush.c: Likewise.
8373 * libio/iofflush_u.c: Likewise.
8374 * libio/iofgets.c: Likewise.
8375 * libio/iofgets_u.c: Likewise.
8376 * libio/iofopen.c: Likewise.
8377 * libio/iofopncook.c: Likewise.
8378 * libio/iofread.c: Likewise.
8379 * libio/iofread_u.c: Likewise.
8380 * libio/ioftell.c: Likewise.
8381 * libio/iofwrite.c: Likewise.
8382 * libio/iogetline.c: Likewise.
8383 * libio/iogets.c: Likewise.
8384 * libio/iogetwline.c: Likewise.
8385 * libio/iopadn.c: Likewise.
8386 * libio/iopopen.c: Likewise.
8387 * libio/ioseekoff.c: Likewise.
8388 * libio/ioseekpos.c: Likewise.
8389 * libio/iosetbuffer.c: Likewise.
8390 * libio/iosetvbuf.c: Likewise.
8391 * libio/ioungetc.c: Likewise.
8392 * libio/ioungetwc.c: Likewise.
8393 * libio/iovdprintf.c: Likewise.
8394 * libio/iovsprintf.c: Likewise.
8395 * libio/iovsscanf.c: Likewise.
8396 * libio/memstream.c: Likewise.
8397 * libio/obprintf.c: Likewise.
8398 * libio/oldfileops.c: Likewise.
8399 * libio/oldiofclose.c: Likewise.
8400 * libio/oldiofdopen.c: Likewise.
8401 * libio/oldiofopen.c: Likewise.
8402 * libio/oldiopopen.c: Likewise.
8403 * libio/oldstdfiles.c: Likewise.
8404 * libio/putc.c: Likewise.
8405 * libio/setbuf.c: Likewise.
8406 * libio/setlinebuf.c: Likewise.
8407 * libio/stdfiles.c: Likewise.
8408 * libio/strops.c: Likewise.
8409 * libio/vasprintf.c: Likewise.
8410 * libio/vscanf.c: Likewise.
8411 * libio/vsnprintf.c: Likewise.
8412 * libio/vswprintf.c: Likewise.
8413 * libio/wfiledoalloc.c: Likewise.
8414 * libio/wfileops.c: Likewise.
8415 * libio/wgenops.c: Likewise.
8416 * libio/wmemstream.c: Likewise.
8417 * libio/wstrops.c: Likewise.
8418 * libio/__fpurge.c: Likewise.
8419 * libio/__fsetlocking.c: Likewise.
8420 * assert/assert.c: Likewise.
8421 * debug/fgets_chk.c: Likewise.
8422 * debug/fgets_u_chk.c: Likewise.
8423 * debug/fread_chk.c: Likewise.
8424 * debug/fread_u_chk.c: Likewise.
8425 * debug/gets_chk.c: Likewise.
8426 * debug/obprintf_chk.c: Likewise.
8427 * debug/vasprintf_chk.c: Likewise.
8428 * debug/vdprintf_chk.c: Likewise.
8429 * debug/vsnprintf_chk.c: Likewise.
8430 * debug/vsprintf_chk.c: Likewise.
8431 * malloc/mtrace.c: Likewise.
8432 * misc/error.c: Likewise.
8433 * misc/syslog.c: Likewise.
8434 * stdio-common/asprintf.c: Likewise.
8435 * stdio-common/fxprintf.c: Likewise.
8436 * stdio-common/getw.c: Likewise.
8437 * stdio-common/isoc99_fscanf.c: Likewise.
8438 * stdio-common/isoc99_scanf.c: Likewise.
8439 * stdio-common/isoc99_vfscanf.c: Likewise.
8440 * stdio-common/isoc99_vscanf.c: Likewise.
8441 * stdio-common/isoc99_vsscanf.c: Likewise.
8442 * stdio-common/printf-prs.c: Likewise.
8443 * stdio-common/printf_fp.c: Likewise.
8444 * stdio-common/printf_fphex.c: Likewise.
8445 * stdio-common/printf_size.c: Likewise.
8446 * stdio-common/putw.c: Likewise.
8447 * stdio-common/scanf.c: Likewise.
8448 * stdio-common/sprintf.c: Likewise.
8449 * stdio-common/tmpfile.c: Likewise.
8450 * stdio-common/vfprintf.c: Likewise.
8451 * stdio-common/vfscanf.c: Likewise.
8452 * stdlib/strfmon_l.c: Likewise.
8453 * sunrpc/openchild.c: Likewise.
8454 * sunrpc/xdr_stdio.c: Likewise.
8455 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8456 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8457
d6c33fda
RM
84582012-05-24 Roland McGrath <roland@hack.frob.com>
8459
c1487492
RM
8460 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8461
8462 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8463 in the third column, to generate for the shared library an IFUNC
8464 that uses _dl_vdso_vsym.
8465 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8466 * Makeconfig (object-suffixes-noshared): New variable.
8467
8468 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8469 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8470 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8471 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8472
d6c33fda
RM
8473 [BZ #14132]
8474 * include/sys/time.h (__gettimeofday): Remove macro.
8475 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8476 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8477 Remove INTDEF.
8478 (__gettimeofday): Add libc_hidden_def.
8479 (gettimeofday): Add libc_hidden_weak.
8480 * sysdeps/mach/gettimeofday.c: Likewise.
8481 * sysdeps/posix/gettimeofday.c: Likewise.
8482 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8483 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8484 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8485 (__gettimeofday_internal): Remove strong_alias.
8486 (__gettimeofday): Add libc_hidden_def.
8487 (gettimeofday): Add libc_hidden_weak.
8488 * sysdeps/unix/syscalls.list (gettimeofday):
8489 Remove __gettimeofday_internal alias.
8490
b5a2bbe6
L
84912012-05-24 Daniel Jacobowitz <drow@false.org>
8492 H.J. Lu <hongjiu.lu@intel.com>
8493
8494 [BZ #12495]
8495 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8496 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8497 (largebin_index_32_big): New.
8498 (largebin_index): Use it for 16-byte alignment.
8499 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8500 correction with front_misalign.
8501
cfba4fda
L
85022012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8503
7f907421
L
8504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8506 Likewise.
8507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8508 Likewise.
8509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8510 Likewise.
8511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8512 Likewise.
8513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8514 Likewise.
8515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8516 Likewise.
8517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8518 Likewise.
8519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8520 Likewise.
8521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8522 Likewise.
8523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8524 Likewise.
8525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8526 Likewise.
8527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8528 Likewise.
8529
cfba4fda
L
8530 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8531 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8532
80bad0cc
JM
85332012-05-24 Joseph Myers <joseph@codesourcery.com>
8534
7a25eb06
JM
8535 [BZ #10846]
8536 [BZ #14036]
8537 * math/libm-test.inc (exp_test): Add test from bug 14036.
8538 (pow_test): Add test from bug 10846.
8539
795405f9
JM
8540 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8541 and other flags.
8542 (special_function): Do not include flags in test name.
8543 (parse_args): Likewise.
8544 * sysdeps/i386/fpu/libm-test-ulps: Update.
8545 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8546 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8547 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8549
80bad0cc
JM
8550 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8551 exceptions.
8552 * math/libm-test.inc ("Philosophy"): Update comment about
8553 exception testing.
8554 (UNDERFLOW_EXCEPTION): New macro.
8555 (UNDERFLOW_EXCEPTION_OK): Likewise.
8556 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8557 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8558 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8559 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8560 (INVALID_EXCEPTION_OK): Update value.
8561 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8562 (OVERFLOW_EXCEPTION_OK): Likewise.
8563 (IGNORE_ZERO_INF_SIGN): Likewise.
8564 (test_exceptions): Handle underflow exceptions.
8565 (acos_test): Update for underflow exception expectations.
8566 (cexp_test): Likewise.
8567 (clog_test): Likewise.
8568 (clog10_test): Likewise.
8569 (csqrt_test): Likewise.
8570 (ctan_test): Likewise.
8571 (ctanh_test): Likewise.
8572 (exp_test): Likewise.
8573 (exp10_test): Likewise.
8574 (exp2_test): Likewise.
8575 (expm1_test): Likewise.
8576 (fma_test): Likewise.
8577 (j0_test): Likewise.
8578 (jn_test): Likewise.
8579 (nexttoward_test): Likewise.
8580 (pow_test): Likewise.
8581 (scalbn_test): Likewise.
8582 (scalbln_test): Likewise.
8583 (tan_test): Likewise.
8584 (y1_test): Likewise.
8585 * sysdeps/i386/fpu/libm-test-ulps: Update.
8586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8587
9e0e3d0b
DM
85882012-05-23 David S. Miller <davem@davemloft.net>
8589
8590 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8591 (__libc_sigaction): Remove unused local variables.
8592
ccd0a08f
L
85932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8594
8595 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8596
62bdf9a6
PE
85972012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8598
f8591f80
PE
8599 mktime: avoid signed integer overflow
8600 * time/mktime.c (__mktime_internal): Do not mishandle the case
8601 where diff == INT_MIN.
8602
94c7d826
PE
8603 mktime: simplify computation of average
8604 * time/mktime.c (ranged_convert): Use new time_t_avg function
8605 instead of rolling our own (probably-slower) code.
8606
ce73d683
PE
8607 mktime: do not assume signed right shift propagates sign bit
8608 * time/mktime.c (isdst_differ): New static function.
8609 (__mktime_internal): No need to normalize tm_isdst now.
8610 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8611 tm_isdst values.
8612
72a22e59
PE
8613 mktime: merge another wrapv change from gnulib
8614 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8615 from some compilers.
8616
68605433
PE
8617 mktime: remove incorrect attempt at unusual arithmetics
8618 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8619 The code didn't really work on such machines anyway.
8620 (TYPE_MINIMUM): Assume two's complement.
8621 (twos_complement_arithmetic): Verify that long_int and time_t
8622 are two's complement (or unsigned, in the latter case).
8623
03cf7fe3
PE
8624 mktime: check signed shifts on long_int and time_t, too
8625 * time/mktime.c (SHR): Check that shifts work as desired
8626 on the types long_int and time_t too, as SHR is used on
8627 such types.
8628
f04dfbc2
PE
8629 mktime: do not assume 'long' is wide enough
8630 * time/mktime.c (verify): Move decl up.
8631 (long_int): New type.
8632 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8633 to remove assumption in the code that 'long' is wide enough to
8634 store year values. This assumption is not true on x32 and on
8635 some non-glibc platforms.
8636
62bdf9a6
PE
8637 mktime: merge wrapv change from gnulib
8638 * time/mktime.c (WRAPV): New macro.
8639 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8640 (guess_time_tm, __mktime_internal): Do not assume that signed
8641 integer overflow wraps around; modern compilers generate code
8642 where this assumption is no longer valid.
8643
5e292e4f
L
86442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8645
8646 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8647 Replace "jmp L(pseudo_end)" with "ret".
8648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8649 Likewise.
8650
8caf8c87
AJ
86512012-05-23 Andreas Jaeger <aj@suse.de>
8652
8653 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8654 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8655
1a09dc56
AJ
86562012-05-23 Andreas Jaeger <aj@suse.de>
8657 Maximilian Attems <max@stro.at>
8658
8659 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8660 New macros.
8661
1c87aba0
L
86622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8663
8664 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8665 code so that pseudo_end is just ret and the stack pointer is
8666 correct also for static library in error case.
8667
40e45bd5
JM
86682012-05-23 Joseph Myers <joseph@codesourcery.com>
8669
c2670533
JM
8670 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8671 move to syscalls.list.
8672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8676
40e45bd5
JM
8677 * manual/install.texi (Running make install): Do not mention Linux
8678 kernel version for which pt_chown is not needed.
8679 (Linux): Do not mention problems with nscd with 2.0 kernels.
8680 * INSTALL: Regenerated.
8681
be08eda5
AJ
86822012-05-23 Andreas Jaeger <aj@suse.de>
8683
8684 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8685 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8686 macro.
8687 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8688 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8689 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8690 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8691 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8692 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8693 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8694 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8695 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8696 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8697 * sysdeps/unix/sysv/linux/bits/in.h
8698 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8699
a6a056bb
RM
87002012-05-22 Roland McGrath <roland@hack.frob.com>
8701
8702 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8703 (PREPARE_VERSION): Just use assert instead, it will be elided
8704 under [NDEBUG] anyway.
8705
c9009328
L
87062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8707
8708 * sysdeps/unix/sysv/linux/Makefile: Include
8709 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8710 (sysdep_routines): Remove sysctl.
c9009328
L
8711 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8712 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8713 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8714 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8715 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8716
73338355
AJ
87172012-05-22 Andreas Jaeger <aj@suse.de>
8718
8719 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8720 that pseudo_end is just ret and the stack pointer is correct also
8721 for static library in error case.
8722
d44638b0
PP
87232012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8724
8725 [BZ #14122]
8726 * nss/nsswitch.c (defconfig_entries): New variable.
8727 (__nss_database_lookup): Don't leak defconfig entries.
8728 (nss_parse_service_list): Don't leak on error paths.
8729 (free_database_entries): New function.
8730 (free_defconfig): New function.
8731 (free_mem): Move common code to free_database_entries.
8732
31a39bd8
L
87332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8734
da0331a8
L
8735 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8736 Add arch_prctl.
8737 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8738
31a39bd8
L
8739 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8740 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8741 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8742 New macro.
8743 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8744 (INTERNAL_SYSCALL_TYPES): Likewise.
8745 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8746 (LOAD_REGS_TYPES_[1-6]): Likewise.
8747 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8748 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8749
45470df3
AZ
87502012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8751
8752 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8753 copysignl for GLIBC_2_0.
8754 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8755 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8757 logbl for GLIBC_2_0.
8758 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8759 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8760
98a61bcb
L
87612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8762
a4f6e481
L
8763 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8764 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8765
f63d5db6
L
8766 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8767 Use "neg %eax".
8768
98a61bcb
L
8769 * time/mktime.c: Update copyright years.
8770
95770f14
PE
87712012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8772
6226efbd
PE
8773 mktime: merge comment-quoting-style change from gnulib
8774 * time/mktime.c: Quote 'like this' in comments.
8775 The GNU coding standards suggest that we no longer quote `like this',
8776 as "`" and "'" are typically rendered asymmetrically nowadays.
8777 The typical gnulib style is to quote 'like this' when quoting
8778 code, and "like this" when quoting English.
8779
b99e4f78
PE
8780 * time/mktime.c (compile-command): Add "-I.".
8781
643e01e6
PE
8782 mktime: merge mktime-internal.h change from gnulib
8783 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8784
2554247d
PE
8785 mktime: merge time_r change from gnulib
8786 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8787
826dd0ab
PE
8788 mktime: merge DEBUG change from gnulib
8789 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8790 case system <time.h> has a #define.
8791
bd83aabe
PE
8792 mktime: merge <sys/types.h> change from gnulib
8793 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8794 since <time.t> is now guaranteed to define time_t.
8795
95770f14
PE
8796 mktime: merge HAVE_CONFIG_H change from gnulib
8797 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8798
5e1a27a9
L
87992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8800
0e44a77e
L
8801 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8802 Use "neg %eax".
8803
5e1a27a9
L
8804 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8805 __rlim_t cast.
8806 (struct rusage): Use anonymous union to pad each field to
8807 __syscall_slong_t.
8808
46259bec
DM
88092012-05-21 David S. Miller <davem@davemloft.net>
8810
8811 * Makefules (o-iterator): Remove .s cases.
8812 (compile-command.s): Delete.
8813 (COMPILE.s): Delete.
8814 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8815
59f0c22e
JM
88162012-05-21 Joseph Myers <joseph@codesourcery.com>
8817
8818 * configure.in (libc_cv_predef_stack_protector): Only consider
8819 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8820 * configure: Regenerated.
8821
20c07380
L
88222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8823
bbb3154b
L
8824 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8825 New macro. Use R*LP on int and pointer.
8826 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8827 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8828 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8829 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8830
20c07380
L
8831 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8832 [__WORDSIZE_TIME64_COMPAT32] instead of
8833 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8834 (struct utmp): Likewise.
8835 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8836 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8837 Renamed to ...
8838 (__WORDSIZE_TIME64_COMPAT32): This.
8839 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8840 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8841 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8842 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8843 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8844 (__WORDSIZE_TIME64_COMPAT32): New macro.
8845
d8d1017e
AJ
88462012-05-21 Andreas Jaeger <aj@suse.de>
8847
8848 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8849 only if [SHARED]. Add prototype for __wcschr_ia32.
8850
6c7fb145
RM
88512012-05-21 Roland McGrath <roland@hack.frob.com>
8852
8853 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8854 of %rbp unmolested in the jmp_buf while mangling the low bits.
8855 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8856 unmolested high bits of %rbp while demangling the low bits.
8857 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8858
66274218
AJ
88592012-05-21 Andreas Jaeger <aj@suse.de>
8860
07c58f8f
AJ
8861 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8862 * sunrpc/svc_simple.c: Use it for registerrpc.
8863 * sunrpc/xcrypt.c: Use it for passwd2des.
8864
66274218
AJ
8865 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8866
61f65140
L
88672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8868
8869 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8870 Don't define if [__SYSCALL_WORDSIZE != 32].
8871 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8872 New macro.
8873
5fefb436
AJ
88742012-05-21 Bruno Haible <bruno@clisp.org>
8875 Andreas Jaeger <aj@suse.de>
8876
8877 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8878 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8879 inptr and inend for must_buffer_ch.
8880 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8881 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8882 * stdio-common/Makefile (tests): Remove bug15.
8883 (bug15-ENV): Remove macro.
8884 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8885 anymore.
8886
d8e272ab
AJ
88872012-05-19 Andreas Jaeger <aj@suse.de>
8888 Roland McGrath <roland@hack.frob.com>
8889
8890 * manual/contrib.texi: Completely rewritten. It contains now an
8891 alphabetical list of contributors and their contributions.
8892
4a56a162
RH
88932012-05-21 Richard Henderson <rth@twiddle.net>
8894
8895 * misc/getauxval.c (__getauxval): Use unsigned long int.
8896 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8897 (getauxval): Use unsigned long int.
8898
d024d23c
L
88992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8900
8901 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8902
cbc00a03
RM
89032012-05-21 Roland McGrath <roland@hack.frob.com>
8904
8905 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8906 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8907 __alignof__ (long double).
8908
478143fa
AZ
89092012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8910
8911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8912
c7683a6d
RH
89132012-05-20 Richard Henderson <rth@twiddle.net>
8914
8915 * misc/getauxval.c: New file.
8916 * misc/sys/auxv.h: New file.
8917 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8918 (routines): Add getauxval.
8919 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8920 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8921 * elf/dl-sysdep.c (_dl_auxv): Remove.
8922 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8923 * elf/dl-support.c (_dl_auxv): New variable.
8924 (_dl_aux_init): Initialize it.
8925 * manual/startup.texi (Auxiliary Vector): New node.
8926 * sysdeps/generic/bits/hwcap.h: New file.
8927 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8928 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8929 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8930 * sysdeps/sparc/sysdep.h: ... here. Include it.
8931 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8932 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8934 Update.
c7683a6d
RH
8935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8938 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8943
a6f1845d
AZ
89442012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8945
8946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8947
cbcbe830
DM
89482012-05-19 David S. Miller <davem@davemloft.net>
8949
8950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8951
e0b16cc2
JM
89522012-05-19 Joseph Myers <joseph@codesourcery.com>
8953
8954 [BZ #14123]
8955 * math/s_ccosh.c: Include <float.h>
8956 (__ccosh): Avoid internal overflow calculating sinh and cosh
8957 values before multiplying by sin and cos values.
8958 * math/s_ccoshf.c: Likewise.
8959 * math/s_ccoshl.c: Likewise.
8960 * math/s_csin.c: Likewise.
8961 * math/s_csinf.c: Likewise.
8962 * math/s_csinl.c: Likewise.
8963 * math/s_csinh.c: Likewise.
8964 * math/s_csinhf.c: Likewise.
8965 * math/s_csinhl.c: Likewise.
8966 * math/libm-test.inc (ccos_test): Add more tests.
8967 (ccosh_test): Likewise.
8968 (csin_test): Likewise.
8969 (csinh_test): Likewise.
8970 * sysdeps/i386/fpu/libm-test-ulps: Update.
8971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8972
6ad13e08
L
89732012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8974
f66f0ce8
L
8975 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8976 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8977
6ad13e08
L
8978 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8979
b1d072a7
JM
89802012-05-19 Joseph Myers <joseph@codesourcery.com>
8981
8982 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8983 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8984 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8985 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8986 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8987 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8988 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8989 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8990 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8991 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8992 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8993 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8994 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8995 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8996 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8997 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8998 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8999 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9000 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9001 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9002 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9003 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9004 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9005 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9006 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9007 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9008 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9009 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9010 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9011 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9012 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9013
9eae47cb
AJ
90142012-05-18 Andreas Jaeger <aj@suse.de>
9015
9016 * csu/.gitignore: Delete.
9017
bb07f69f
L
90182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9019
9020 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9021 (timex): Use __syscall_slong_t.
9022
e6bdb741
AJ
90232012-05-18 Andreas Jaeger <aj@suse.de>
9024 Carlos O'Donell <carlos_odonell@mentor.com>
9025
9026 * manual/install.texi (Configuring and compiling): Update
9027 description about files modified in the source directory.
d6c33fda 9028 * INSTALL: Regenerated.
e6bdb741 9029
1b74487e
L
90302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9031
9032 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9033 value. Use "or" to set return value to -1.
9034 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9035 negate return value.
9036
a88b64b9
TMQMF
90372012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9038
9039 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9040 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9041 failure if the compiler has Graphite support disabled.
9042 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9043 Likewise.
9044 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9045 CFLAGS-memmove.c): Likewise.
9046 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9047 Likewise.
9048
3707636e
L
90492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9050
610b8622
L
9051 * sysdeps/x86_64/x32/_itoa.h: New file.
9052
7cd195df
L
9053 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9054 getdents system call only if kernel and user dirents have the
9055 same d_ino and d_off.
9056
94b07d20
L
9057 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9058 LLONG_MAX != LONG_MAX.
9059 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9060 (_fitoa_word): Likewise.
9061
18298070
L
9062 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9063 years.
9064 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9065 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9066 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9067
553c7ea4
L
9068 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9069 include <bits/wordsize.h>. Check __x86_64__ instead of
9070 __WORDSIZE.
9071 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9072 if __x86_64__ is defined. Use anonymous union on fpstate.
9073
3707636e
L
9074 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9075 anonymous union.
9076
b53ef01a
AS
90772012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9078
37fb1dc0
AS
9079 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9080 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9081 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9082 Refer to _rtld_local_ro instead of _rtld_global_ro.
9083 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9084 Likewise.
9085 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9086 Likewise.
9087 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9088 Likewise.
9089 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9090 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9091 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9092
b53ef01a
AS
9093 * sysdeps/powerpc/powerpc32/dl-machine.c
9094 (__elf_machine_runtime_setup) [PROF]: Don't reference
9095 _dl_prof_resolve.
9096
7a185db2
AJ
90972012-05-18 Andreas Jaeger <aj@suse.de>
9098
9099 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9100 function only available for GCCs before 3.4 since GCC 3.4
9101 introduced a builtin.
9102 (lrint): Likewise.
9103 (llrintf): Likewise.
9104 (llrint): Likewise.
9105 (fmaxf): Likewise.
9106 (fmax): Likewise.
9107 (fminf): Likewise.
9108 (fmin): Likewise.
9109 (rint): Likewise.
9110 (rintf): Likewise.
9111 (nearbyint): Likewise.
9112 (nearbyintf): Likewise.
9113 (ceil): Likewise.
9114 (ceilf): Likewise.
9115 (floor): Likewise.
9116 (floorf): Likewise.
9117
3e5aef87
L
91182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9119
428bd707
L
9120 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9121 on both fields and cast pointer to __syscall_ulong_t.
9122
3e5aef87
L
9123 * bits/types.h (__fsword_t): New type.
9124 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9125 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9126 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9127 (__FSWORD_T_TYPE): Likewise.
9128 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9129 (__FSWORD_T_TYPE): Likewise.
9130 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9131 (__FSWORD_T_TYPE): Likewise.
9132 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9133 (__FSWORD_T_TYPE): Likewise.
9134 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9135 __SWORD_TYPE with __fsword_t.
9136 (statfs64): Likewise.
9137
1ba7c3dc
DM
91382012-05-17 David S. Miller <davem@davemloft.net>
9139
9140 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9141
59910343
AJ
91422012-05-17 Andreas Jaeger <aj@suse.de>
9143
9144 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9145 warning.
9146
2e4c1e9e
L
91472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9148
9149 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9150
de7f5ce7
AJ
91512012-05-17 Andreas Jaeger <aj@suse.de>
9152
9153 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9154 when it is used.
9155
286abc3d
CM
91562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9157
9158 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9159
477cc68e
L
91602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9161
9162 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9163 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9164
1a0994f5
CD
91652012-05-17 Andreas Jaeger <aj@suse.de>
9166 Carlos O'Donell <carlos_odonell@mentor.com>
9167
9168 [BZ #14059]
9169 * sysdeps/x86_64/multiarch/init-arch.h
9170 (bit_YMM_Usable): Rename to...
9171 (bit_AVX_Usable): ... this.
9172 (bit_FMA4_Usable): New macro.
9173 (bit_XMM_state): New macro.
9174 (bit_YMM_state): New macro.
9175 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9176 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9177 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9178 (CPUID_OSXSAVE): New macro.
9179 (CPUID_AVX): New macro.
9180 (CPUID_FMA4): New macro.
9181 (index_YMM_Usable): Rename to...
9182 (index_AVX_Usable): ... this.
9183 (HAS_AVX): Use HAS_ARCH_FEATURE.
9184 (HAS_FMA4): Likewise.
9185 (HAS_YMM_USABLE): Remove.
9186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9187 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9188 are present.
9189 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9190 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9191 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9192 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9193 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9194
0af797de
CM
91952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9196
9197 * math/libm-test.c: Support platforms without multiple rounding modes.
9198 * math/bug-nextafter.c: Support platforms without FP exceptions.
9199 * math/bug-nexttoward.c: Likewise.
9200 * math/test-fenv.c: Likewise.
9201 * math/test-misc.c: Likewise.
9202 * stdlib/bug-getcontext.c: Likewise.
9203
e39745ff
AJ
92042012-05-17 Andreas Jaeger <aj@suse.de>
9205
9206 * manual/examples/search.c (critter_cmp): Change signature to
9207 avoid warnings.
9208 * manual/string.texi (Collation Functions): Likewise.
9209
48970aba
L
92102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9211
9212 * bits/types.h: Fold copyright years.
9213 * bits/typesizes.h: Likewise.
9214 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9215 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9216 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9217 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9218 * time/time.h: Likewise.
9219
bedee953
PP
92202012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9221
9222 [BZ #208]
9223 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9224 in instead of returning them. Return void.
9225 (__libc_mallinfo): Accumulate over all arenas.
9226 (__malloc_stats): Adjust for change in int_mallinfo interface.
9227
61653dfb
RM
92282012-05-16 Roland McGrath <roland@hack.frob.com>
9229
30b99d79
RM
9230 [BZ #10375]
9231 * configure.in (NM): Add AC_CHECK_TOOL for it.
9232 (libc_extra_cflags): New substituted variable.
9233 Check for -fstack-protector being used implicitly.
9234 * configure: Regenerated.
9235 * config.make.in (config-extra-cflags): New variable,
9236 gets @libc_extra_cflags@.
9237 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9238
61653dfb
RM
9239 [BZ #10375]
9240 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9241 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9242 * configure: Regenerated.
9243 * config.make.in (CPPUNDEFS): New substituted variable.
9244 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9245 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9246 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9247
661768bb
L
92482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9249
9250 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9251 (mq_attr): Use __syscall_slong_t.
9252
d4261567
L
92532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9254
9255 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9256 Check __x86_64__ instead of __WORDSIZE.
9257 (_STAT_VER_LINUX): Likewise.
9258 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9259 __syscall_ulong_t and __syscall_slong_t.
9260 (stat64): Likewise.
9261
cf3ff365
L
92622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9263
9264 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9265
76cf3e4d
L
92662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9267
9268 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9269
a637753a
L
92702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9271
9272 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9273 __syscall_ulong_t.
9274
d5e05119
L
9275 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9276 include <bits/wordsize.h>. Check __x86_64__ instead of
9277 __WORDSIZE.
9278 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9279 defined.
9280 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9281
f62ee380
L
9282 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9283 include <bits/wordsize.h>. Check __x86_64__ instead of
9284 __WORDSIZE.
9285 (user_regs_struct): Use "__extension__ unsigned long long"
9286 instead of "unsigned long" if __x86_64__ is defined.
9287 (user): Likewise. Pad after pointer field if __ILP32__ is
9288 defined.
9289
4e124ced
JM
92902012-05-16 Joseph Myers <joseph@codesourcery.com>
9291
6a3951a0
JM
9292 * configure.in (makeinfo): Require version 4.5 or later. Allow
9293 versions 5 to 9.
9294 * configure: Regenerated.
9295 * manual/install.texi (texinfo): Increase version requirement to
9296 4.5 or later.
9297 * INSTALL: Regenerated.
9298
4e124ced
JM
9299 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9300
953ca31a
L
93012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9302
9303 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9304
617aca05
L
9305 * sysdeps/x86_64/x32/ffs.c: New file.
9306
5762f7ae
L
9307 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9308 __syscall_ulong_t.
9309 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9310 defined. Use __syscall_ulong_t.
9311 (shminfo): Use __syscall_ulong_t.
9312 (shm_info): Likewise.
9313
a26b6856
L
9314 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9315 __syscall_ulong_t.
9316
cb2b9ef7
L
9317 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9318 <bits/wordsize.h>.
9319 (msgqnum_t): Use __syscall_ulong_t.
9320 (msglen_t): Likewise.
9321 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9322 __syscall_ulong_t.
9323
34683bb0
L
9324 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9325 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9326
84a68786
L
9327 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9328
48baa5f1
L
9329 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9330 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9331
180be88b
L
9332 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9333 __syscall_slong_t.
9334
5e90c8ad
L
9335 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9336 include <bits/wordsize.h>. Check __x86_64__ instead of
9337 __WORDSIZE.
9338
23dfb58b
L
9339 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9340 "unsigned long long int" if __x86_64__ is defined.
9341 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9342
ce5d54b0
L
9343 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9344 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9345 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9346
13dc9eac
L
9347 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9348 <stdint.h>.
9349 (GET_PC): Cast to uintptr_t first.
9350 (GET_FRAME): Likewise.
9351 (GET_STACK): Likewise.
9352
a7895d15
L
9353 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9354 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9355 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9356 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9357 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9358 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9359 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9360 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9361 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9362 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9363 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9364 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9365 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9366 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9367 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9368 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9369 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9370 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9371 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9372 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9373 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9374 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9375 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9376 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9377 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9378 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9379 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9380 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9381 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9382
656416c9
AS
93832012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9384
5bd66283
AS
9385 * Makerules (+depfiles): Also collect depfiles from .oS in
9386 $(extra-objs).
9387 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9388 .oS, $(libnldbl-routines)).
9389
656416c9
AS
9390 * Makerules (native-compile-mkdep-flags): Define.
9391 * sunrpc/Makefile (extra-objs): Add $(addprefix
9392 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9393 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9394 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9395 calling $(make-target-directory).
9396
a46f2169
L
93972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9398
9399 * bits/types.h (__snseconds_t): Removed.
9400 * time/time.h (struct timespec): Replace __snseconds_t with
9401 __syscall_slong_t.
9402 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9403 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9404 Likewise.
9405 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9406 (__SNSECONDS_T_TYPE): Likewise.
9407 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9408 (__SNSECONDS_T_TYPE): Likewise.
9409 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9410 (__SNSECONDS_T_TYPE): Likewise.
9411
6af6528b
L
94122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9413
9414 * sysdeps/mach/hurd/bits/typesizes.h
9415 (__SYSCALL_SLONG_TYPE): New macro.
9416 (__SYSCALL_ULONG_TYPE): Likewise.
9417
de986b56
L
94182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9419
9420 * bits/types.h (__syscall_slong_t): New type.
9421 (__syscall_ulong_t): Likewise.
9422
9423 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9424 (__SYSCALL_ULONG_TYPE): Likewise.
9425 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9426 (__SYSCALL_SLONG_TYPE): Likewise.
9427 (__SYSCALL_ULONG_TYPE): Likewise.
9428 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9429 (__SYSCALL_SLONG_TYPE): Likewise.
9430 (__SYSCALL_ULONG_TYPE): Likewise.
9431 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9432 (__SYSCALL_SLONG_TYPE): Likewise.
9433 (__SYSCALL_ULONG_TYPE): Likewise.
9434
85736dc7
L
94352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9436
9437 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9438 Add sigaltstack-offsets.sym.
9439 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9440 <sigaltstack-offsets.h>.
9441 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9442 longjmp_msg pointer.
9443 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9444 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9445 signal stack.
9446 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9447
cc03b296
JM
94482012-05-15 Joseph Myers <joseph@codesourcery.com>
9449
a9538892
JM
9450 * elf/stackguard-macros.h: Remove file.
9451 * sysdeps/generic/stackguard-macros.h: New file.
9452 * sysdeps/i386/stackguard-macros.h: Likewise.
9453 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9454 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9455 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9456 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9457 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9458 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9459 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9460 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9461 <elf/stackguard-macros.h>.
9462
cc03b296
JM
9463 [BZ #14109]
9464 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9465 __aligned__ in attribute.
9466 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9467 (gregset_t): Likewise.
9468
93171016
L
94692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9470
9471 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9472 * sysdeps/x86_64/64/Implies-after: Here. New file.
9473 * sysdeps/x86_64/x32/Implies-after: New file.
9474
d86813a0
L
94752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9476
9477 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9478 and access return value for _dl_profile_fixup. Use R10_LP to
9479 load frame size.
9480
2953ec75
L
94812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9482
9483 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9484
3b550e9e
L
94852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9486
9487 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9488 * sysdeps/x86_64/x32/sysdep.h: New file.
9489
eda41706
L
94902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9491
9492 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9493 * sysdeps/x86_64/setjmp.S: Likewise.
9494
9ea01d93
AZ
94952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9496
9497 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9498 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9499 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9500 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9501 remove unused global constant.
9502
02a91938
CM
95032012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9504
9505 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9506 include of <not-cancel.h>.
9507
6540185f
RM
95082012-05-15 Roland McGrath <roland@hack.frob.com>
9509
9510 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9511
509072a0
AJ
95122012-05-15 Jeff Law <law@redhat.com>
9513 Andreas Jaeger <aj@suse.de>
9514
9515 [BZ #13594]
9516 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9517 out from...
9518 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9519 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9520 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9521 code changing __hst_map_handle.map.
9522
ba75122d
RM
95232012-05-15 Roland McGrath <roland@hack.frob.com>
9524
9525 * configure.in (sysnames): Look for Implies-before and Implies-after
9526 files.
9527 * configure: Regenerated.
9528
890d8bd8
L
95292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9530
9531 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9532 8-byte data alignment with LP_SIZE alignment.
9533
f6ee6623
L
95342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9535
9536 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9537 into R10_LP.
9538
ea2626f6
L
95392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9540
9541 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9542
085f715e
L
95432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9544
9545 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9546 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9547 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9548 Likewise.
9549 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9550
be8498fc
L
95512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9552
9553 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9554 (stackinfo_sub_sp): Likewise.
9555
70bc83b9
L
95562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9557
9558 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9559 RAX_LP.
9560
9bc0b730
L
95612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9562
9563 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9564 into R*_LP.
9565
6d2850e7
L
95662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9567
9568 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9569 sizes into R*_LP.
9570
3cb84561
L
95712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9572
9573 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9574
54e2ed81
L
95752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9576
9577 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9578 into R11_LP and load __x86_64_shared_cache_size_half into
9579 R8_LP.
9580
8a17f349
L
95812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9582
9583 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9584 R8_LP.
9585
777b1eea
AZ
95862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9587
9588 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9589 logb for POWER7.
9590 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9591 logbf for POWER7.
9592 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9593 logbl for POWER7.
9594 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9595 powerpc32/power7/fpu/s_logb.c via #include.
9596 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9597 powerpc32/power7/fpu/s_logbf.c via #include.
9598 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9599 powerpc32/power7/fpu/s_logbl.c via #include.
9600
d20d4ac2
JM
96012012-05-15 Joseph Myers <joseph@codesourcery.com>
9602
9603 * README.libm: Remove file.
9604
6cdef1ab
L
96052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9606
9607 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9608 count for x32. Use R*_LP and omit operand-size suffix.
9609
0b254d8f
L
96102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9611
9612 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9613 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9614 * sysdeps/x86_64/x32/shlib-versions: New file.
9615
ceb809dc
RM
96162012-05-14 Roland McGrath <roland@hack.frob.com>
9617
9618 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9619 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9620 Use _dl_fatal_printf instead.
9621
37f1abd4
JM
96222012-05-14 Joseph Myers <joseph@codesourcery.com>
9623
9624 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9625 set if not set by the user. Do not allow for being unset.
9626 * sysdeps/unix/sysv/linux/configure: Regenerated.
9627
11de3a33
L
96282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9629
9630 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9631 the `q' suffix from lea and replace .quad with ASM_ADDR.
9632
e02f153a
L
96332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9634
9635 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9636 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9637 instead of $17.
9638 (PTR_DEMANGLE): Likewise.
9639
520ae0fd
L
96402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9641
9642 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9643 (LP_OP): Likewise.
9644 (ASM_ADDR): Likewise.
9645 (RAX_LP): Likewise.
9646 (RBP_LP): Likewise.
9647 (RBX_LP): Likewise.
9648 (RCX_LP): Likewise.
9649 (RDI_LP): Likewise.
9650 (RSI_LP): Likewise.
9651 (RSP_LP): Likewise.
9652 (R8_LP): Likewise.
9653 (R9_LP): Likewise.
9654 (R10_LP): Likewise.
9655 (R10_LP): Likewise.
9656 (R11_LP): Likewise.
9657 (R12_LP): Likewise.
9658 (R13_LP): Likewise.
9659 (R14_LP): Likewise.
9660 (R15_LP): Likewise.
9661
b985be81
L
96622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9663
9664 * sysdeps/x86_64/x32/dl-machine.h: New file.
9665
6a4888ff
AJ
96662012-05-14 Andreas Jaeger <aj@suse.de>
9667
9668 * manual/Makefile (subdir): Remove export of subdir.
9669 (all): Remove target.
9670 (.PHONY): Remove all from list.
9671 (mkinstalldirs): Remove.
9672 (.PHONY): Remove installdirs from list.
9673 ($(inst_infodir)/libc.info): Use make-target-directory.
9674 (installdirs): Remove.
9675 (subdir_%): Remove.
9676 (glibc-targets): Remove.
9677 (lib): Remove.
9678 (stubs): Remove.
9679 ($(objpfx)stubs ../po/manual.pot): Remove.
9680 ($(objpfx)stamp%): Remove.
9681 (make-target-directory): Remove.
9682 (subdir_install): Remove.
9683 (routines): Remove.
9684 (aux): Remove.
9685 (sources): Remove.
9686 (objects): Remove.
9687 (headers): Remove.
9688
9689 [BZ #13750]
9690 * manual/.gitignore: Remove, it's not needed anymore.
9691 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9692 all files in it.
9693 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9694 directory.
9695 (texis): Renamed to $(objpfx)texis.
9696 (texis-path): New, contains path to generated files.
9697 (chapters.%): Use texis-path for complete path, add extra argument
9698 libc-texinfo.sh.
9699 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9700 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9701 (summary,texi, stamp-summary): Use complete path of
9702 files. Generate files in build dir.
9703 (dir-add.texi): Build in build dir.
9704 (libm-err.texi,stamp-libm-err): Likewise.
9705 (version.texi, stamp-version): Likewise.
9706 (.%c.texi): Likewise.
9707 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9708 (mostlyclean): Remove target.
9709 (realclean): Remove target.
9710 (generated): Add new variable with contents from mostlyclean and
9711 realclean, remove entries duplicated in common-mostlyclean, add
9712 stamp-libm-err and stamp-version.
9713 (generated-dirs): Add libc directory.
9714 ($(inst_infodir)/libc.info): Install files from build dir.
9715
9716 * manual/install.texi (Configuring and compiling): Adjust since
9717 the info files are not part of the tar ball anymore.
9718
7ac77294
AJ
97192012-05-14 Andreas Jaeger <aj@suse.de>
9720
9721 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9722 variable.
9723
ffb7875d
JM
97242012-05-14 Joseph Myers <joseph@codesourcery.com>
9725
9726 [BZ #13717]
9727 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9728 to 2.2.0 where earlier.
9729 * sysdeps/unix/sysv/linux/configure: Regenerated.
9730 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9731 Remove conditional code.
9732 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9733 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9734 Remove conditional code.
9735 [!__NR_lchown]: Likewise.
9736 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9737 [__NR_lchown]: Likewise.
9738 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9739 comment referencing __ASSUME_LCHOWN_SYSCALL.
9740 * sysdeps/unix/sysv/linux/i386/sigaction.c
9741 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9742 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9743 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9744 Remove conditional code.
9745 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9746 (__protocol_available): Remove #if 0 code.
9747 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9748 conditional code.
9749 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9750 * sysdeps/unix/sysv/linux/kernel-features.h
9751 (__ASSUME_GETCWD_SYSCALL): Don't define.
9752 (__ASSUME_REALTIME_SIGNALS): Likewise.
9753 (__ASSUME_PREAD_SYSCALL): Likewise.
9754 (__ASSUME_PWRITE_SYSCALL): Likewise.
9755 (__ASSUME_POLL_SYSCALL): Likewise.
9756 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9757 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9758 non-SPARC.
9759 (__ASSUME_SIOCGIFNAME): Don't define.
9760 (__ASSUME_MSG_NOSIGNAL): Likewise.
9761 (__ASSUME_SENDFILE): Define unconditionally.
9762 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9763 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9764 conditional code.
9765 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9766 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9767 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9768 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9769 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9770 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9771 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9773 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9774 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9776 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9777 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9779 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9780 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9782 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9783 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9785 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9786 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9788 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9789 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9791 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9792 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9794 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9795 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9796 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9797 Remove conditional code.
9798 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9799 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9800 Remove conditional code.
9801 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9802 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9803 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9804 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9805 Remove conditional code.
9806 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9807 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9808 Remove conditional code.
9809 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9810 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9811 Remove conditional code.
9812 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9813 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9814 Remove conditional code.
9815 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9816 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9817 Remove conditional code.
9818 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9819 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9820 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9821 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9822 * sysdeps/unix/sysv/linux/sigaction.c
9823 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9824 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9825 * sysdeps/unix/sysv/linux/sigpending.c
9826 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9827 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9828 * sysdeps/unix/sysv/linux/sigprocmask.c
9829 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9830 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9831 * sysdeps/unix/sysv/linux/sigsuspend.c
9832 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9833 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9834 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9835 (__libc_missing_rt_sigs): Remove.
9836 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9837 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9838 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9839 Remove conditional code.
9840 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9841 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9842 return 1.
9843 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9844 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9845 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9846 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9847
1bfb7291
AJ
98482012-05-14 Andreas Jaeger <aj@suse.de>
9849
caae5a81
AJ
9850 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9851 it's not used in glibc.
9852 (__coshm1): Likewise.
9853 (__acosh1p): Likewise.
9854 (__sgn): Likewise.
9855
1bfb7291
AJ
9856 * manual/string.texi (Copying and Concatenation): Add missing
9857 variable in concat example.
9858 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9859
c044d724
L
98602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9861
144c5467 9862 [BZ #14103]
c044d724
L
9863 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9864 __builtin_clzl with __builtin_clzll.
9865
2523c62b
L
98662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9867
9868 [BZ #14104]
9869 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9870 libc_freeres_ptr.
9871
d7bb4c42
LD
98722012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9873
9874 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9875 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9876 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9877 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9878
9dc4e1fb
MF
98792012-05-14 Mike Frysinger <vapier@gentoo.org>
9880
9881 * NEWS: Update ia64 info.
9882
c7df0112
AS
98832012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9884
9885 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9886 used as bcopy.
9887
dc70356c
TS
98882012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9889
9890 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9891 * sysdeps/unix/syscalls.list (dup3): Likewise.
9892 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9893 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9894
9fb1a21f
L
98952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9896
9897 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9898 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9899
4822a2a5
L
99002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9901
9902 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9903 thread pointer.
9904 (TLS_IE): Use mov/add instead of movq/addq to load thread
9905 pointer.
9906 (TLS_GD_PREFIX): New.
9907 (TLS_GD): Use it.
9908
842b81d6
DM
99092012-05-11 David S. Miller <davem@davemloft.net>
9910
9911 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9912 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9913 (_FPU_SETCW): Likewise.
9914
1cf463cd
L
99152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9916
9917 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9918 is 32-byte aligned.
9919
60cc4a18
AS
99202012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9921
9922 [BZ #11837]
9923 * iconvdata/gb18030.c: Update tables.
9924 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9925 characters specially.
9926 (BODY for TO_LOOP): Add encoding of missing ranges.
9927
febb44a4
TS
99282012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9929
9930 [BZ #13673]
9931 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9932 * sysdeps/mach/hurd/dup3.c: Likewise.
9933 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9934 * sysdeps/powerpc/memmove.c:: Likewise.
9935
0a10fb9e
L
99362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9937
9938 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9939 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9940
df8a552f
L
99412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9942
9943 * elf/elf.h (R_X86_64_RELATIVE64): New.
9944 (R_X86_64_NUM): Updated.
9945 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9946 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9947 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9948 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9949 tst-quad1pie tst-quad2pie
9950 (modules-names): Add tst-quadmod1 tst-quadmod2.
9951 ($(objpfx)tst-quad1): New dependency.
9952 ($(objpfx)tst-quad2): Likewise.
9953 ($(objpfx)tst-quad1pie): Likewise.
9954 ($(objpfx)tst-quad2pie): Likewise.
9955 * sysdeps/x86_64/tst-quad1.c: New file.
9956 * sysdeps/x86_64/tst-quad1pie.c: New file.
9957 * sysdeps/x86_64/tst-quad2.c: Likewise.
9958 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9959 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9960 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9961 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9962 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9963
f34d6f84
ST
99642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9965
f42d41d1
ST
9966 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9967 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9968 * streams/stropts.h (t_scalar_t): Define type.
9969
3c3571fc
ST
9970 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9971 (_PATH_PRESERVE): Set to "/var/lib".
9972 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9973
61f06bd3
ST
9974 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9975 instead of int.
9976
918d4d71
ST
9977 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9978 if __dir_mkfile succeeded.
9979
f34d6f84
ST
9980 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9981 checking for _hurd_dtablesize. Unlock it right after having
9982 finished _hurd_dtable allocation.
9983
10589b4a
TS
99842012-05-10 Thomas Schwinge <thomas@schwinge.name>
9985
674cdbc7
TS
9986 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9987 * sysdeps/mach/hurd/configure: Regenerated.
9988 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9989 special-casing to...
9990 * sysdeps/gnu/configure.in: ... this new file.
9991 * sysdeps/unix/sysv/linux/configure: Regenerated.
9992 * sysdeps/gnu/configure: New generated file.
9993
8e41b99f
TS
9994 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9995 for Linux: use nsec instead of usec, as well as:
9996 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9997 members of type struct timespec.
9998 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9999 New macros.
10000 (struct stat64): Likewise.
10001 (_STATBUF_ST_NSEC): New macro.
10002 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10003
10589b4a
TS
10004 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10005 __strtoul_internal rather than strtoul.
10006
63643c85
PT
100072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10008
10009 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10010 and reject them.
10011
3faebe6a
ST
100122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10013
10014 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10015 which preserves existing values.
10016 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10017
c6474b07
PT
100182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10019
10020 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10021 TIMEOUT values. Return EINVAL for NFDS values either negative or
10022 greater than FD_SETSIZE.
10023
1043890b
ST
100242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10025
10026 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10027 allocated, call __vm_protect to finish enabling the existing space, and
10028 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10029 allocate the remainder.
10030
37ed8b9b
PT
100312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10032
10033 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10034 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10035
db653660
ST
100362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10037
37ed8b9b
PT
10038 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10039 sysdeps/mach/hurd/readlink.c.
b29d4053 10040
db653660
ST
10041 * posix/tst-sysconf.c (posix_options): Only use
10042 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10043 _POSIX_SYNCHRONIZED_IO when they are defined
10044 * sysdeps/mach/hurd/bits/posix_opt.h:
10045 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10046 (_XOPEN_REALTIME): Undefine macro.
10047 (_XOPEN_REALTIME_THREADS): Undefine macro.
10048 (_XOPEN_SHM): Undefine macro.
10049 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10050 macro to -1.
10051 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10052 macro to -1.
10053 (_POSIX_ASYNC_IO): Undefine macro.
10054 (_POSIX_PRIORITIZED_IO): Undefine macro.
10055 (_POSIX_SPIN_LOCKS): Define macro to -1.
10056
ee16e894
ST
10057 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10058 SA_NODEFER, SA_RESETHAND.
10059 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10060 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10061 F_DUPFD_CLOEXEC.
10062
6103ae3b
TS
100632012-05-10 Thomas Schwinge <thomas@schwinge.name>
10064
10065 * elf/Makefile (pldd-modules): Define unconditionally.
10066
80b4e5f3
TS
100672012-05-10 Thomas Schwinge <thomas@schwinge.name>
10068
10069 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10070
edadcbd6
ST
100712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10072
10073 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10074 Return ENOENT when name is empty.
10075 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10076
80694780
TS
100772012-05-10 Thomas Schwinge <thomas@schwinge.name>
10078
1792c087
TS
10079 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10080
80694780
TS
10081 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10082
6b645f0d
ST
100832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10084
80694780
TS
10085 Fix mlock in all cases except non-readable pages.
10086 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10087 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 10088
6b645f0d
ST
10089 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10090 (__mkdir): When path is `/', just fail with EEXIST.
10091 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10092
e468f8a3
TS
100932012-05-10 Thomas Schwinge <thomas@schwinge.name>
10094
10095 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10096 <sys/uio.h> (for writev).
10097 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10098 and <sys/param.h> (for MIN).
10099
a4186cff
PT
101002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10101
10102 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10103 REQUESTED_TIME. Properly set the remaining time and return EINTR
10104 if interrupted.
10105
510bbf14
TS
101062012-05-10 Thomas Schwinge <thomas@schwinge.name>
10107
10108 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10109 Depend on against $(link-rpcuserlibs).
10110
5d5722e8
ST
101112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10112
a4186cff
PT
10113 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10114 (__libc_stack_end): Do not use attribute_relro.
10115 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10116 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 10117 to libthread-provided value.
a4186cff
PT
10118 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10119 attribute_relro.
5d5722e8 10120
37233df9
TS
101212012-05-10 Thomas Schwinge <thomas@schwinge.name>
10122
be971a2b
TS
10123 [BZ #3748]
10124 * bits/libc-lock.h (__libc_once_get): New macro.
10125 * sysdeps/mach/bits/libc-lock.h: Likewise.
10126 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10127 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10128 instead of using implementation details.
10129
37233df9
TS
10130 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10131 * libio/freopen.c: Likewise.
10132 * libio/freopen64.c: Likewise.
10133 * misc/syslog.c: Likewise.
10134 * nscd/connections.c: Likewise.
10135 * nscd/netgroupcache.c: Likewise.
10136 * sysdeps/posix/getcwd.c: Likewise.
10137
38de94a5
RM
101382012-05-10 Roland McGrath <roland@hack.frob.com>
10139
10140 * math/w_ilogbf.c: Add #include <limits.h>.
10141
67530489
ST
101422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10143
a4186cff 10144 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
10145 path instead of returning without unlocking.
10146
67530489
ST
10147 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10148 immediate-write ioctls.
10149 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10150
5aa3a74a
TS
101512012-05-10 Thomas Schwinge <thomas@schwinge.name>
10152
18bad2ae
TS
10153 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10154 __builtin_frame_address instead of making assumptions about the
10155 location of the return address relative to DATA. Force early load of
10156 the return address.
10157 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10158 __builtin_frame_address.
10159
5aa3a74a
TS
10160 dup3 for GNU Hurd.
10161 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10162 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10163 implement dup3 and do some further code clean-ups.
10164 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10165 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10166
ecd0de9a
ST
101672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10168
cd9fa985
ST
10169 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10170
a4186cff
PT
10171 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10172 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10173 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10174 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10175 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10176 d->port.lock.
802ca5a5 10177
a4186cff
PT
10178 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10179 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10180 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 10181
bcf55240
TS
101822012-05-10 Thomas Schwinge <thomas@schwinge.name>
10183
6960eb42
TS
10184 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10185 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10186 definitions.
10187
eb43375f
TS
10188 accept4 for GNU Hurd.
10189 * include/sys/socket.h (__libc_accept4): New prototype.
10190 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10191 to implement __libc_accept4.
10192 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10193 __libc_accept4.
10194 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10195
bcf55240
TS
10196 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10197 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10198 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10199 signal-defines.sym.
10200
6178c55b
ST
102012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10202
a4186cff 10203 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 10204
6f080c2f
TS
102052012-05-10 Thomas Schwinge <thomas@schwinge.name>
10206
10207 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10208 assertion on O_CLOEXEC flag.
10209 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10210 * hurd/intern-fd.c: Likewise.
10211 * hurd/port2fd.c: Likewise.
10212
bcfe3a54
ST
102132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10214
10215 [BZ #3906]
10216 * bits/in.h (IPV6_PKTINFO): Define new macro.
10217 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10218
89c9aa49
AZ
102192012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10220
10221 [BZ #13954]
10222 [BZ #13955]
10223 [BZ #13956]
10224 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10225 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10226 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10227 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10228 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10229 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10230 * math/libm-test.inc (logb_test) : Additional logb tests.
10231
021db4be
AJ
102322012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10233 Andreas Jaeger <aj@suse.de>
10234
10235 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10236 * configure: Regenerated.
10237 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10238 * config.make.in (link-obsolete-rpc): New substituted variable.
10239 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10240 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10241 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10242 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10243 so that libc.a contains the symbols.
10244 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10245 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10246 * sunrpc/auth_none.c: Likewise.
10247 * sunrpc/auth_unix.c: Likewise.
10248 * sunrpc/authdes_prot.c: Likewise.
10249 * sunrpc/authuxprot.c: Likewise.
10250 * sunrpc/clnt_gen.c: Likewise.
10251 * sunrpc/clnt_perr.c: Likewise.
10252 * sunrpc/clnt_raw.c: Likewise.
10253 * sunrpc/clnt_simp.c: Likewise.
10254 * sunrpc/clnt_tcp.c: Likewise.
10255 * sunrpc/clnt_udp.c: Likewise.
10256 * sunrpc/clnt_unix.c: Likewise.
10257 * sunrpc/des_crypt.c: Likewise.
10258 * sunrpc/des_soft.c: Likewise.
10259 * sunrpc/get_myaddr.c: Likewise.
10260 * sunrpc/key_call.c: Likewise.
10261 * sunrpc/key_prot.c: Likewise.
10262 * sunrpc/netname.c: Likewise.
10263 * sunrpc/pm_getmaps.c: Likewise.
10264 * sunrpc/pm_getport.c: Likewise.
10265 * sunrpc/pmap_clnt.c: Likewise.
10266 * sunrpc/pmap_prot.c: Likewise.
10267 * sunrpc/pmap_prot2.c: Likewise.
10268 * sunrpc/pmap_rmt.c: Likewise.
10269 * sunrpc/publickey.c: Likewise.
10270 * sunrpc/rpc_cmsg.c: Likewise.
10271 * sunrpc/rpc_common.c: Likewise.
10272 * sunrpc/rpc_dtable.c: Likewise.
10273 * sunrpc/rpc_prot.c: Likewise.
10274 * sunrpc/rpc_thread.c: Likewise.
10275 * sunrpc/rtime.c: Likewise.
10276 * sunrpc/svc.c: Likewise.
10277 * sunrpc/svc_auth.c: Likewise.
10278 * sunrpc/svc_raw.c: Likewise.
10279 * sunrpc/svc_run.c: Likewise.
10280 * sunrpc/svc_tcp.c: Likewise.
10281 * sunrpc/svc_udp.c: Likewise.
10282 * sunrpc/svc_unix.c: Likewise.
10283 * sunrpc/svcauth_des.c: Likewise.
10284 * sunrpc/xcrypt.c: Likewise.
10285 * sunrpc/xdr.c: Likewise.
10286 * sunrpc/xdr_array.c: Likewise.
10287 * sunrpc/xdr_float.c: Likewise.
10288 * sunrpc/xdr_intXX_t.c: Likewise.
10289 * sunrpc/xdr_mem.c: Likewise.
10290 * sunrpc/xdr_rec.c: Likewise.
10291 * sunrpc/xdr_ref.c: Likewise.
10292 * sunrpc/xdr_sizeof.c: Likewise.
10293 * sunrpc/xdr_stdio.c: Likewise.
10294
b5c086a2
RM
102952012-05-10 Roland McGrath <roland@hack.frob.com>
10296
10297 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10298 change. Update copyright years.
10299
6d74dd09
JM
103002012-05-10 Joseph Myers <joseph@codesourcery.com>
10301
10302 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10303
28e72501
MK
103042012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10305 Joseph Myers <joseph@codesourcery.com>
10306 Paul Pluzhnikov <ppluzhnikov@google.com>
10307
10308 [BZ #14012]
10309 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10310 requiring rpcgen.
10311 [cross-compiling] (extra-libs): Likewise.
10312 [cross-compiling] (extra-libs-others): Likewise.
10313 [cross-compiling] (librpcsvc-routines): Likewise.
10314 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10315 [cross-compiling] (omit-deps): Likewise.
10316 (sunrpc-CPPFLAGS): New variable.
10317 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10318 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10319 (cross-rpcgen-objs): New variable.
10320 (extra-objs): Append $(cross-rpcgen-objs).
10321 ($(cross-rpcgen-objs)): New rule.
10322 ($(objpfx)cross-rpcgen): Likewise.
10323 (rpcgen-cmd): Define to use $(built-program-file). Expand
10324 comment.
10325 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10326 ($(objpfx)x%.stmp): Likewise.
10327 * sunrpc/proto.h [IS_IN_build] (_): Define.
10328 [IS_IN_build] (_libc_intl_domainname): Likewise.
10329
c8c59454
L
103302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10331
10332 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10333 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10334 and R_X86_64_TPOFF64.
10335
6f27cd16
JM
103362012-05-10 Joseph Myers <joseph@codesourcery.com>
10337
10338 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10339 sysdeps/unix/sysv/syscalls.list.
10340 (stime): Likewise.
10341 (utime): Likewise.
10342 * sysdeps/unix/sysv/syscalls.list: Remove file.
10343
02467e1c
PE
103442012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10345
10346 [BZ #3440]
10347 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10348 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10349 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10350 (__LC_IDENTIFICATION): Make these macros useful in #if
10351 expressions, as required by C99.
10352
da392631
AS
103532012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10354
10355 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10356 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10357 after this.
10358
8115f29b
L
103592012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10360
10361 * stdlib/longlong.h: Updated from GCC.
10362
bdd74070
AJ
103632012-05-09 Andreas Jaeger <aj@suse.de>
10364
edfe0dbe
AJ
10365 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10366 default is first entry.
10367 (run_mode): Set type.
10368 (main): Remove informal message about syslog.
10369 (options): Fix typo.
10370
bcfe3a54
ST
10371 [BZ #14053]
10372 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 10373 to asm.
bcfe3a54
ST
10374 (lrint): Likewise.
10375 (llrintf): Likewise.
10376 (llrint): Likewise.
10377 (rint): Likewise.
10378 (rintf): Likewise.
10379 (nearbyint): Likewise.
10380 (nearbyintf): Likewise.
bdd74070 10381
91d8d69e
AJ
103822012-05-09 Andreas Jaeger <aj@suse.de>
10383 Pedro Alves <palves@redhat.com>
10384
10385 * nscd/nscd.c (run_mode): Use enum.
10386 (main): Cleanup coding style issue.
10387
bb90b80b
AJ
103882012-05-09 Alexandre Oliva <aoliva@redhat.com>
10389 Andreas Jaeger <aj@suse.de>
10390
bcfe3a54
ST
10391 * nscd/nscd.c (go_background): Replaced with...
10392 (run_mode): ... this.
bb90b80b 10393 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
10394 (options): Add -F --foreground.
10395 (main): Implement it.
10396 (parse_opt): Parse it.
bb90b80b 10397
1a4b75a1
AJ
103982012-05-09 Andreas Jaeger <aj@suse.de>
10399
10400 [BZ #14083]
10401 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10402 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10403 -Wconversion warning.
10404 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10405 Likewise.
10406
b1cc2472
JM
104072012-05-09 Joseph Myers <joseph@codesourcery.com>
10408
10409 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10410 == 0.
10411 (LC_ALL): Use macro-int-constant.
10412 (LC_COLLATE): Likewise.
10413 (LC_CTYPE): Likewise.
10414 (LC_MESSAGES): Likewise.
10415 (LC_MONETARY): Likewise.
10416 (LC_NUMERIC): Likewise.
10417 (LC_TIME): Likewise.
10418 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10419 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10420 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10421 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10422 Specify type.
10423 [C99-based standards] (float_t): Expect type.
10424 [C99-based standards] (double_t): Expect type.
10425 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10426 type.
10427 [C99-based standards] (HUGE_VALL): Likewise.
10428 [C99-based standards] (INFINITY): Likewise.
10429 [C99-based standards] (NAN): Likewise.
10430 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10431 [C99-based standards] (FP_NAN): Likewise.
10432 [C99-based standards] (FP_NORMAL): Likewise.
10433 [C99-based standards] (FP_SUBNORMAL): Likewise.
10434 [C99-based standards] (FP_ZERO): Likewise.
10435 [C99-based standards] (FP_FAST_FMA): Use
10436 optional-macro-int-constant. Specify type. Require == 1.
10437 [C99-based standards] (FP_FAST_FMAF): Likewise.
10438 [C99-based standards] (FP_FAST_FMAL): Likewise.
10439 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10440 [C99-based standards] (FP_ILOGBNAN): Likewise.
10441 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10442 Specify type.
10443 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10444 [C99-based standards] (math_errhandling): Specify type.
10445 [ISO99 || ISO11] (signgam): Do not allow.
10446 [non-C99-based standards] (copysignf): Do not allow.
10447 [non-C99-based standards] (exp2f): Likewise.
10448 [non-C99-based standards] (log2f): Likewise.
10449 [non-C99-based standards] (modff): Allow.
10450 [non-C99-based standards] (erff): Do not allow.
10451 [non-C99-based standards] (erfcf): Likewise.
10452 [non-C99-based standards] (gammaf): Likewise.
10453 [non-C99-based standards] (hypotf): Likewise.
10454 [non-C99-based standards] (j0f): Likewise.
10455 [non-C99-based standards] (j1f): Likewise.
10456 [non-C99-based standards] (jnf): Likewise.
10457 [non-C99-based standards] (lgammaf): Likewise.
10458 [non-C99-based standards] (tgammaf): Likewise.
10459 [non-C99-based standards] (y0f): Likewise.
10460 [non-C99-based standards] (y1f): Likewise.
10461 [non-C99-based standards] (ynf): Likewise.
10462 [non-C99-based standards] (isnanf): Likewise.
10463 [non-C99-based standards] (acoshf): Likewise.
10464 [non-C99-based standards] (asinhf): Likewise.
10465 [non-C99-based standards] (atanhf): Likewise.
10466 [non-C99-based standards] (cbrtf): Likewise.
10467 [non-C99-based standards] (expm1f): Likewise.
10468 [non-C99-based standards] (ilogbf): Likewise.
10469 [non-C99-based standards] (log1pf): Likewise.
10470 [non-C99-based standards] (logbf): Likewise.
10471 [non-C99-based standards] (nextafterf): Likewise.
10472 [non-C99-based standards] (remainderf): Likewise.
10473 [non-C99-based standards] (rintf): Likewise.
10474 [non-C99-based standards] (scalbf): Likewise.
10475 [non-C99-based standards] (copysignl): Likewise.
10476 [non-C99-based standards] (exp2l): Likewise.
10477 [non-C99-based standards] (log2l): Likewise.
10478 [non-C99-based standards] (modfl): Allow.
10479 [non-C99-based standards] (erfl): Do not allow.
10480 [non-C99-based standards] (erfcl): Likewise.
10481 [non-C99-based standards] (gammal): Likewise.
10482 [non-C99-based standards] (hypotl): Likewise.
10483 [non-C99-based standards] (j0l): Likewise.
10484 [non-C99-based standards] (j1l): Likewise.
10485 [non-C99-based standards] (jnl): Likewise.
10486 [non-C99-based standards] (lgammal): Likewise.
10487 [non-C99-based standards] (tgammal): Likewise.
10488 [non-C99-based standards] (y0l): Likewise.
10489 [non-C99-based standards] (y1l): Likewise.
10490 [non-C99-based standards] (ynl): Likewise.
10491 [non-C99-based standards] (isnanl): Likewise.
10492 [non-C99-based standards] (acoshl): Likewise.
10493 [non-C99-based standards] (asinhl): Likewise.
10494 [non-C99-based standards] (atanhl): Likewise.
10495 [non-C99-based standards] (cbrtl): Likewise.
10496 [non-C99-based standards] (expm1l): Likewise.
10497 [non-C99-based standards] (ilogbl): Likewise.
10498 [non-C99-based standards] (log1pl): Likewise.
10499 [non-C99-based standards] (logbl): Likewise.
10500 [non-C99-based standards] (nextafterl): Likewise.
10501 [non-C99-based standards] (remainderl): Likewise.
10502 [non-C99-based standards] (rintl): Likewise.
10503 [non-C99-based standards] (scalbl): Likewise.
10504 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10505 [non-C99-based standards] (FP_*): Do not allow.
10506 [C99-based standards] (FP_*): Change to
10507 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10508 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10509 allow.
10510 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10511 (SIG_ERR): Likewise.
10512 [X/Open-based standards] (SIG_HOLD): Likewise.
10513 (SIG_IGN): Likewise.
10514 (SIGABRT): Use macro-int-constant. Specify type. Require
10515 positive value.
10516 (SIGFPE): Likewise.
10517 (SIGILL): Likewise.
10518 (SIGINT): Likewise.
10519 (SIGSEGV): Likewise.
10520 (SIGTER): Likewise.
10521 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10522 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10523 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10524 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10525 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10526 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10527 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10528 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10529 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10530 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10531 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10532 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10533 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10534 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10535 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10536 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10537 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10538 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10539 [X/Open-based standards] (SIGTRAP): Likewise.
10540 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10541 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10542 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10543 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10544 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10545 allow.
10546
b9f1922d
IW
105472012-05-08 Ian Wienand <ianw@vmware.com>
10548
10549 [BZ #14080]
10550 * time/tzset.c (__tzset_parse_tz): Update default rules for
10551 daylight time changes in the Energy Policy Act of 2005.
10552
1db86e88
AJ
105532012-05-09 Andreas Jaeger <aj@suse.de>
10554
10555 [BZ #13983]
10556 * elf/ldconfig.c (parse_conf): Change string to make clear that
10557 ldconfig only issued a warning if ld.so.conf does not exist.
10558
dee4a4e3
DM
105592012-05-08 David S. Miller <davem@davemloft.net>
10560
ee0db190
DM
10561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10562 movxtod instead of popping the value on the stack.
10563
dee4a4e3
DM
10564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10565
6a43ec98
CD
105662012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10567
10568 * config.h.in: Add HAVE_ARM_PCS_VFP.
10569
05c2c961
RMG
105702012-05-08 Roland Mc Grath <roland@hack.frob.com>
10571
bcfe3a54
ST
10572 [BZ #13979]
10573 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10574 checking but the checks are disabled for any reason.
05c2c961 10575
4b30f61a
L
105762012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10577
10578 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10579 and ELF64_R_TYPE with ELFW(R_TYPE).
10580
eee2bc67
JM
105812012-05-08 Joseph Myers <joseph@codesourcery.com>
10582
7ea5391a
JM
10583 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10584 (ulimit): Likewise.
10585
eee2bc67
JM
10586 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10587 (settimeofday): Likewise.
10588
abb66a67
MF
105892012-05-08 Mike Frysinger <vapier@gentoo.org>
10590
10591 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10592 a struct th_u2 inside the union, and move tu_block/tu_code into
10593 a new th_u3 union of tu_block/tu_code inside of that. Move
10594 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10595 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10596 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10597 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10598 (th_stuff): Change to th_u1.tu_stuff.
10599 (th_data): Define.
10600 (th_msg): Change to th_u1.th_u2.tu_data.
10601
7f18b530
DM
106022012-05-07 David S. Miller <davem@davemloft.net>
10603
05760585
DM
10604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10605
7f18b530
DM
10606 [BZ #14074]
10607 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10608 (SETUP_PIC_REG): Use it.
10609 (SETUP_PIC_REG_LEAF): Use it.
10610
495fd99f
JM
106112012-05-07 Joseph Myers <joseph@codesourcery.com>
10612
10613 [BZ #13885]
10614 [BZ #13923]
10615 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10616 USE_AS_EXPM1L.
10617 (EXPL_FINITE): Likewise.
10618 (FLDLOG): Likewise.
10619 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10620 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10621 e_expl.S.
10622 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10623 USE_AS_EXPM1L.
10624 (EXPL_FINITE): Likewise.
10625 (FLDLOG): Likewise.
10626 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10627 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10628 e_expl.S.
10629 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10630 test of -max_value argument for long double.
10631 * sysdeps/i386/fpu/libm-test-ulps: Update.
10632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10633
6693d694
DM
106342012-05-06 David S. Miller <davem@davemloft.net>
10635
10636 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10637 quad soft-float symbols whose references which are compiler
10638 generated.
10639 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10640
6c23e11c
JM
106412012-05-06 Joseph Myers <joseph@codesourcery.com>
10642
d8b82cad
JM
10643 [BZ #13884]
10644 [BZ #13914]
10645 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10646 USE_AS_EXP10L.
10647 (EXPL_FINITE): Likewise.
10648 (FLDLOG): Likewise.
10649 (c0): Likewise.
10650 (c1): Likewise.
10651 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10652 Adjust comments for base varying.
10653 (__expl_finite): Change alias to EXPL_FINITE.
10654 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10655 e_expl.S.
10656 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10657 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10658 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10659 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10660 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10661 USE_AS_EXP10L.
10662 (EXPL_FINITE): Likewise.
10663 (FLDLOG): Likewise.
10664 (c0): Likewise.
10665 (c1): Likewise.
10666 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10667 Adjust comments for base varying.
10668 (__expl_finite): Change alias to EXPL_FINITE.
10669 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10670 tests for bugs.
10671 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10672
6c23e11c
JM
10673 [BZ #14064]
10674 * math/libm-test.inc (check_float_internal): Correct ulp
10675 calculation for subnormal expected results.
10676
29ba805c
AJ
106772012-05-06 Andreas Jaeger <aj@suse.de>
10678
10679 * Makeconfig (+math-flags): New, set to -frounding-math.
10680 (+cflags): Add +math-flags so that all of glibc gets compiled with
10681 it.
10682
10683 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10684
7b17aeda
JM
106852012-05-05 Joseph Myers <joseph@codesourcery.com>
10686
5779f134
JM
10687 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10688 Disable one test.
10689
41498f4d
JM
10690 [BZ #13787]
10691 [BZ #13922]
10692 [BZ #14036]
10693 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10694 (__ieee754_expl): Allow for and saturate large arguments.
10695 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10696 (u_threshold): Likewise.
10697 (__exp): Call __ieee754_exp before checking for overflow and
10698 underflow.
10699 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10700 (u_threshold): Likewise.
10701 (__expf): Call __ieee754_expf before checking for overflow and
10702 underflow.
10703 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10704 (u_threshold): Likewise.
10705 (__expl): Call __ieee754_expl before checking for overflow and
10706 underflow.
10707 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10708 (__ieee754_expl): Allow for and saturate large arguments.
10709 * math/libm-test.inc (exp_test): Add another test. Do not allow
10710 missing overflow exception on overflow.
10711 (expm1_test): Do not allow missing overflow exception on overflow.
10712
6698b8bf
JM
10713 * sysdeps/i386/fpu/e_expl.c: Move to ...
10714 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10715 rather than using inline asm.
10716 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10717 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10718 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10719
7b17aeda
JM
10720 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10721 (nice): Likewise.
10722 (poll): Likewise.
10723 (signal): Likewise.
10724 (time): Likewise.
10725 (times): Likewise.
10726
f7c85819
JM
107272012-05-04 Joseph Myers <joseph@codesourcery.com>
10728
10729 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10730 sysdeps/unix/common/syscalls.list.
10731 (fchmod): Likewise.
10732 (fchown): Likewise.
10733 (ftruncate): Likewise.
10734 (getrusage): Likewise.
10735 (gettimeofday): Likewise.
10736 (setpgid): Likewise.
10737 (setregid): Likewise.
10738 (setreuid): Likewise.
10739 (sigaction): Likewise.
10740 (truncate): Likewise.
10741 (vhangup): Likewise.
10742 * sysdeps/unix/common/syscalls.list: Remove file.
10743 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10744 * sysdeps/unix/sysv/linux/Implies: Likewise.
10745
336270d0
L
107462012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10747
10748 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10750 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10751 Moved to ...
10752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10753 Here.
10754 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10755 to ...
10756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10757 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10758 to ...
10759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10760 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10761 to ...
10762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10763 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10764 to ...
10765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10766 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10767 to ...
10768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10769 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10770 to ...
10771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10772 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10773 to ...
10774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10775 Here.
10776 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10777 to ...
10778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10779 Here.
10780 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10781 to ...
10782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10783 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10784 Moved to ...
10785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10786 Here.
10787 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10788 to ...
10789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10790
d128e450
JM
107912012-05-04 Joseph Myers <joseph@codesourcery.com>
10792
fa8ee516
JM
10793 * sysdeps/unix/common/bits/dirent.h: Remove file.
10794 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10795
d128e450
JM
10796 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10797 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10798 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10799 * sysdeps/unix/bsd/isatty.c: Likewise.
10800 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10801 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10802 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10803
ff8faaf0 108042012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10805
62881be4 10806 [BZ #13563]
31dc8730
AZ
10807 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10808 long double comparison inaccuracies.
10809 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10811
6fef930c
AS
108122012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10813
10814 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10815 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10816
8f203e6c
JM
108172012-05-04 Joseph Myers <joseph@codesourcery.com>
10818
10819 [BZ #14049]
10820 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10821 nonzero digits before rounding a hex value.
10822 * stdlib/tst-strtod.c (tests): Add another test.
10823
5197d9c2
AK
108242012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10825
10826 * sysdeps/s390/fpu/libm-test-ulps: Update.
10827
f0c1dedf
AJ
108282012-05-03 Andreas Jaeger <aj@suse.de>
10829
10830 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10831 does not get optimized out.
10832 (malloc_opt_barrier): New.
10833
a65ef2ae 108342012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10835 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10836
2b942cb7 10837 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10838 intermediate file deletion.
2b942cb7 10839 (generated): Add .symlist files.
a65ef2ae 10840
54b71e02
JM
108412012-05-03 Joseph Myers <joseph@codesourcery.com>
10842
10843 [BZ #13775]
10844 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10845 Redirect under this condition.
10846 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10847 [__USE_GNU] (__dprintf_chk): Not under this condition.
10848 [__USE_GNU] (__vdprintf_chk): Likewise.
10849 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10850 under this condition.
10851 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10852 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10853 [__USE_XOPEN2K8] (vdprintf): Likewise.
10854 [__USE_GNU] (__dprintf_chk): Not under this condition.
10855 [__USE_GNU] (__vdprintf_chk): Likewise.
10856 [__USE_GNU] (dprintf): Likewise.
10857 [__USE_GNU] (vdprintf): Likewise.
10858
d3dfcc41
RM
108592012-05-03 Roland McGrath <roland@hack.frob.com>
10860
10861 * elf/Makefile (common-generated): Set this instead of generated for
10862 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10863 $(all-built-dso)-derived lists.
10864
7ac30cc5
AJ
108652012-05-03 Andreas Jaeger <aj@suse.de>
10866
0c51e550
AJ
10867 * sysdeps/i386/fpu/libm-test-ulps: Update.
10868
7ac30cc5
AJ
10869 * FAQ: Removed.
10870 * FAQ.in: Likewise.
10871 * scripts/gen-FAQ.pl: Likewise.
10872 * manual/install.texi (Installation): Point to online location of
10873 FAQ.
10874 * Makefile (files-for-dist): Remove FAQ.
10875 (FAQ): Remove.
10876
d4c2917f
AM
108772012-05-02 Allan McRae <allan@archlinux.org>
10878
10879 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10880 (LDFLAGS-reldepmod5.so): Likewise.
10881 (LDFLAGS-reldep6mod1.so): Likewise.
10882 (LDFLAGS-reldep6mod4.so): Likewise.
10883 (LDFLAGS-reldep8mod3.so): Likewise.
10884 (LDFLAGS-unload4mod1.so): Likewise.
10885 (LDFLAGS-unload4mod2.so): Likewise.
10886 (LDFLAGS-tst-initorder): Likewise.
10887 (LDFLAGS-tst-initordera2.so): Likewise.
10888 (LDFLAGS-tst-initordera3.so): Likewise.
10889 (LDFLAGS-tst-initordera4.so): Likewise.
10890 (LDFLAGS-tst-initorderb2.so): Likewise.
10891 (LDFLAGS-noload): Likewise.
10892 (LDFLAGS-next): Likewise.
10893 (LDFLAGS-order2mod1.so): Likewise.
10894 (LDFLAGS-order2mod2.so): Likewise.
10895 (LDFLAGS-tst-initorder2): Likewise.
10896 (LDFLAGS-tst-initorder2a.so): Likewise.
10897 (LDFLAGS-tst-initorder2b.so): Likewise.
10898 (LDFLAGS-tst-initorder2c.so): Likewise.
10899 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10900
d77f993f
DM
109012012-05-02 David S. Miller <davem@davemloft.net>
10902
10903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10904
171a70b4
PP
109052012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10906
10907 [BZ #14055]
10908 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10909
0be196ad
AJ
109102012-05-02 Andreas Jaeger <aj@suse.de>
10911
10912 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10913 since we manipulate rounding mode.
10914 (CPPFLAGS-test-idouble.c): Likewise.
10915 (CPPFLAGS-test-ifloat.c): Likewise.
10916 (CFLAGS-test-ldouble.c): Likewise.
10917 (CFLAGS-test-double.c): Likewise.
10918 (CFLAGS-test-float.c): Likewise.
10919 (CFLAGS-test-misc.c): Likewise.
10920 (CFLAGS-test-test-fenv.c): Likewise.
10921
4f9d04aa
AZ
109222012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10923
2b942cb7
RM
10924 [BZ #2550]
10925 [BZ #2570]
10926 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10927 comparisons to determine direction to adjust input.
4f9d04aa 10928
82a79e7d
RM
109292012-05-01 Roland McGrath <roland@hack.frob.com>
10930
f5a01ca9
RM
10931 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10932 output to the target.
10933
90fe4186
RM
10934 * scripts/localplt.awk: New file.
10935 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10936 (check-localplt-CFLAGS): Variable removed.
10937 ($(all-built-dso:=.jmprel)): New static pattern rule.
10938 (generated): Add those targets.
10939 (localplt-built-dso): New variable.
10940 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10941
10942 * elf/check-localplt.c: File removed.
10943
82397ed6
RM
10944 * scripts/check-execstack.awk: New file.
10945 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10946 (check-execstack-CFLAGS): Variable removed.
10947 ($(objpfx)check-execstack.h): Target removed.
10948 ($(objpfx)execstack-default): New target.
10949 (generated): Add that instead of check-execstack.h.
10950 ($(all-built-dso:=.phdr)): New static pattern rule.
10951 (generated): Add those targets.
10952 * elf/check-execstack.c: File removed.
10953
82a79e7d
RM
10954 * scripts/check-textrel.awk: New file.
10955 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10956 (check-textrel-CFLAGS): Variable removed.
10957 (all-built-dso): Use := to define.o
10958 ($(all-built-dso:=.dyn)): New static pattern rule.
10959 (generated): Add those targets.
10960 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10961 * config.make.in (READELF): New substituted variable.
10962 * elf/check-textrel.c: File removed.
10963
62fde54f 109642012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10965
615605c9
JM
10966 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10967 allow.
10968 * conform/data/ctype.h-data [C99-based standards] (isblank):
10969 Expect function.
10970 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10971 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10972 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10973 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10974 Specify type. Require positive value.
10975 (EILSEQ): Likewise.
10976 (ERANGE): Likewise.
10977 [ISO || POSIX] (EILSEQ): Do not expect.
10978 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10979 Specify type. Require positive value.
10980 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10981 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10982 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10983 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10984 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10985 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10986 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10987 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10988 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10989 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10990 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10991 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10992 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10993 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10994 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10995 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10996 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10997 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10998 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10999 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11000 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11001 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11002 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11003 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11004 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11005 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11006 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11007 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11008 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11009 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11010 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11011 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11012 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11013 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11014 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11015 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11016 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11017 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11018 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11019 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11020 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11021 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11022 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11023 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11024 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11025 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11026 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11027 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11028 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11029 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11030 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11031 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11032 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11033 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11034 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11035 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11036 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11037 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11038 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11039 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11040 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11041 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11042 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11043 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11044 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11045 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11046 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11047 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11048 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11049 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11050 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11051 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11052 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11053 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11054 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11055 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11056 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11057 Require >= 2.
11058 (FLT_ROUNDS): Expect as macro, not constant.
11059 (FLT_MANT_DIG): Use macro-int-constant.
11060 (DBL_MANT_DIG): Likewise.
11061 (LDBL_MANT_DIG): Likewise.
11062 (FLT_DIG): Likewise.
11063 (DBL_DIG): Likewise.
11064 (LDBL_DIG): Likewise.
11065 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11066 (DBL_MIN_EXP): Likewise.
11067 (LDBL_MIN_EXP): Likewise.
11068 (FLT_MAX_EXP): Use macro-int-constant.
11069 (DBL_MAX_EXP): Likewise.
11070 (LDBL_MAX_EXP): Likewise.
11071 (FLT_MAX_10_EXP): Likewise.
11072 (DBL_MAX_10_EXP): Likewise.
11073 (LDBL_MAX_10_EXP): Likewise.
11074 (FLT_MAX): Use macro-constant.
11075 (DBL_MAX): Likewise.
11076 (LDBL_MAX): Likewise.
11077 (FLT_EPSILON): Use macro-constant. Give upper bound.
11078 (DBL_EPSILON): Likewise.
11079 (LDBL_EPSILON): Likewise.
11080 (FLT_MIN): Likewise.
11081 (DBL_MIN): Likewise.
11082 (LDBL_MIN): Likewise.
11083 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11084 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11085 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11086 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11087 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11088 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11089 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11090 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11091 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11092 [ISO11] (FLT_TRUE_MIN): Likewise.
11093 [ISO11] (LDBL_TRUE_MIN): Likewise.
11094 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11095 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11096 (SCHAR_MIN): Use macro-int-constant. Specify type.
11097 (SCHAR_MAX): Likewise.
11098 (UCHAR_MAX): Likewise.
11099 (CHAR_MIN): Likewise.
11100 (CHAR_MAX): Likewise.
11101 (MB_LEN_MAX): Use macro-int-constant.
11102 (SHRT_MIN): Use macro-int-constant. Specify type.
11103 (SHRT_MAX): Likewise.
11104 (USHRT_MAX): Likewise.
11105 (INT_MAX): Likewise.
11106 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11107 bound negative.
11108 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11109 bound with "U".
11110 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11111 bound with "L".
11112 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11113 bound negative. Suffix upper bound with "L".
11114 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11115 bound with "UL".
11116 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11117 Specify type.
11118 [C99-based standards] (LLONG_MAX): Likewise.
11119 [C99-based standards] (ULLONG_MAX): Likewise.
11120 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11121 == 0.
11122 [ISO11] (max_align_t): Require type.
11123 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11124
c9140a62
JM
11125 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11126 from $CFLAGS, without defining away __attribute__ calls.
11127 (checknamespace): Use $CFLAGS_namespace.
11128
9af0bf29
JM
11129 * conform/conformtest.pl (@keywords): Only include C99 keywords
11130 for standards based on C99 or C11.
11131
343222a2
JM
11132 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11133 Disable tests.
11134 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11135 UNIX98]: Likewise.
11136
661f8cf0
JM
11137 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11138 usability of symbols in #if.
11139
ee74b9cb
JM
11140 * conform/conformtest.pl: If macro or constant types start
11141 "promoted:", expect the symbol to be of the following type
11142 promoted by the integer promotions.
62fde54f 11143
aafc49b3
JM
11144 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11145 in one place. Also handle "macro-constant".
11146
fefdf574
JM
11147 * conform/conformtest.pl: Only accept expected macro values with
11148 "==". Parse all "macro" lines in one place.
11149 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11150
f2d922fe
JM
11151 * conform/conformtest.pl: Handle braced types on "constant" lines
11152 instead of handling "typed-constant".
11153 * conform/data/signal.h-data: Use "constant" instead of
11154 "typed-constant".
11155
d22956c9
JM
11156 * conform/conformtest.pl: Handle "optional-" at start of lines in
11157 one place rather than duplicating several cases. Handle each
11158 format of "macro" line with initial "optional-".
11159
028e2e38
JM
11160 * conform/conformtest.pl: Only accept expected constant or
11161 optional-constant values with "==". Parse all "constant" lines in
11162 one place. Parse all "optional-constant" lines in one place.
11163 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11164 * conform/data/fmtmsg.h-data: Likewise.
11165 * conform/data/netinet/in.h-data: Likewise.
11166 * conform/data/tar.h-data: Likewise.
11167 * conform/data/limits.h-data: Use "==" form on "constant" and
11168 "optional-constant" lines.
11169
1b8f2850
JM
11170 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11171 Use -std=c99 for XOPEN2K.
11172 (@knownproblems): Remove.
11173 (newtoken): Don't check %isknown.
11174
a05a144b
JM
11175 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11176 Do not expect macro.
11177 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11178 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11179 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11180 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11181 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11182 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11183 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11184 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11185 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11186 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11187 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11188 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11189 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11190 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11191 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11192 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11193 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11194 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11195 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11196 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11197 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11198 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11199 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11200 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11201 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11202 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11203 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11204 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11205 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11206 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11207 [XPG3] (acosh): Likewise.
11208 [XPG3] (asinh): Likewise.
11209 [XPG3] (atanh): Likewise.
11210 [XPG3] (cbrt): Likewise.
11211 [XPG3] (expm1): Likewise.
11212 [XPG3] (ilogb): Likewise.
11213 [XPG3] (log1p): Likewise.
11214 [XPG3] (logb): Likewise.
11215 [XPG3] (nextafter): Likewise.
11216 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11217 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11218 [XPG3] (remainder): Likewise.
11219 [XPG3] (rint): Likewise.
11220 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11221 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11222 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11223 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11224 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11225 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11226 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11227 [UNIX98 || XOPEN2K] (scalb): Expect.
11228 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11229 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11230 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11231 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11232 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11233 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11234 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11235 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11236 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11237 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11238 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11239 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11240 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11241 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11242 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11243 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11244 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11245 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11246 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11247 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11248 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11249 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11250 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11251 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11252 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11253 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11254 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11255 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11256 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11257 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11258 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11259 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11260 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11261 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11262 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11263 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11264 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11265 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11266 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11267 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11268 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11269 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11270 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11271 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11272 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11273 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11274 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11275 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11276 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11277 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11278 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11279 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11280 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11281 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11282 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11283 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11284 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11285 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11286 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11287 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11288 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11289 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11290 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11291 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11292 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11293 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11294 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11295 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11296 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11297 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11298 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11299 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11300 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11301 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11302 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11303 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11304 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11305 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11306 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11307 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11308 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11309 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11310 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11311 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11312 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11313 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11314 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11315 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11316 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11317 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11318 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11319 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11320 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11321 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11322 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11323 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11324 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11325 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11326 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11327 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11328 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11329 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11330 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11331 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11332 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11333 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11334 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11335 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11336 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11337 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11338 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11339 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11340 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11341 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11342 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11343 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11344 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11345 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11346 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11347 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11348 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11349 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11350 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11351 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11352 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11353 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11354 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11355 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11356 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11357 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11358 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11359 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11360 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11361 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11362 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11363 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11364 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11365
73c5ebe3
JM
11366 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11367 _XOPEN_SOURCE_EXTENDED for XPG4.
11368
39c33b6c
JM
11369 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11370
62fde54f
JM
11371 * Makeconfig (localtime): Remove variable.
11372 (inst_localtime-file): Likewise.
11373
0741d64c
AS
113742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11375
11376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11377 Update.
11378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11379 Update.
11380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11381 Update.
11382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11383 Update.
11384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11385 Update.
11386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11387 Update.
11388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11389 Update.
11390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11391 Update.
11392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11393 Update.
11394
7cb029ee
JM
113952012-05-01 Joseph Myers <joseph@codesourcery.com>
11396
11397 [BZ #2550]
11398 [BZ #2570]
11399 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11400 comparisons to determine direction to adjust input.
11401 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11402 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11403 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11404 Likewise.
11405 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11406 Likewise.
11407 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11408 Likewise.
11409 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11410 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11411 Likewise.
11412 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11413 Likewise.
11414 * math/libm-test.inc (nexttoward_test): Add more tests.
11415
412bd966
AS
114162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11417
11418 [BZ #14040]
11419 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11420 in version GLIBC_2.1, not GLIBC_2.0.
11421 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11422 Likewise.
11423
9568c0c2
JM
114242012-04-30 Joseph Myers <joseph@codesourcery.com>
11425
adfbc8ac
JM
11426 [BZ #13942]
11427 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11428 (1 - x) * (1 + x).
11429 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11430 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11431 * math/libm-test.inc (acos_test): Add more tests.
11432 (asin_test): Likewise.
11433 * sysdeps/i386/fpu/libm-test-ulps: Update.
11434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11435
5ba3cc69
JM
11436 [BZ #14034]
11437 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11438 of square root.
11439 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11440 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11441 * math/libm-test.inc (acos_test_tonearest): New function.
11442 (acos_test_towardzero): Likewise.
11443 (acos_test_downward): Likewise.
11444 (acos_test_upward): Likewise.
11445 (asin_test_tonearest): Likewise.
11446 (asin_test_towardzero): Likewise.
11447 (asin_test_downward): Likewise.
11448 (asin_test_upward): Likewise.
11449 (main): Call the new functions.
11450 * sysdeps/i386/fpu/libm-test-ulps: Update.
11451 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11452
9568c0c2
JM
11453 [BZ #13884]
11454 [BZ #13924]
11455 * math/e_exp10.c: Include <float.h>.
11456 (__ieee754_exp10): Handle underflow here rather than multiplying
11457 large negative argument by M_LN10.
11458 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11459 of __ieee754_expf.
11460 * math/e_exp10l.c: Include <float.h>.
11461 (__ieee754_exp10l): Handle underflow here rather than multiplying
11462 large negative argument by M_LN10l.
11463 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11464 spurious overflow exception on underflow.
11465
5ac3ea17
MP
114662012-04-29 Marek Polacek <polacek@redhat.com>
11467
11468 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11469 (__fortify_function): New macro.
11470 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11471 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11472 __extern_always_inline.
11473 * libio/bits/stdio2.h: Likewise.
11474 * libio/bits/stdio.h: Likewise.
11475 * string/string.h: Likewise.
11476 * string/bits/string3.h: Likewise.
11477 * include/stdio.h: Likewise.
11478 * stdlib/bits/stdlib.h: Likewise.
11479 * stdlib/stdlib.h: Likewise.
11480 * rt/bits/mqueue2.h: Likewise.
11481 * rt/mqueue.h: Likewise.
11482 * posix/bits/unistd.h: Likewise.
11483 * posix/unistd.h: Likewise.
11484 * io/bits/poll2.h: Likewise.
11485 * io/bits/fcntl2.h: Likewise.
11486 * io/fcntl.h: Likewise.
11487 * io/sys/poll.h: Likewise.
11488 * misc/bits/syslog.h: Likewise.
11489 * misc/bits/syslog-ldbl.h: Likewise.
11490 * misc/sys/syslog.h: Likewise.
11491 * socket/bits/socket2.h: Likewise.
11492 * socket/sys/socket.h: Likewise.
11493 * debug/tst-chk1.c: Likewise.
11494 * wcsmbs/bits/wchar2.h: Likewise.
11495 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11496 * wcsmbs/wchar.h: Likewise.
11497
ecf0ebfb
AJ
114982012-04-29 Andreas Jaeger <aj@suse.de>
11499
11500 * Makerules (tests): Remove enable-check-abi protection.
11501 (check-abi-warn): Remove.
11502 (check-abi-%): Remove check-abi-warn usage.
11503
11504 * configure.in: Remove check-abi configure option.
11505 * configure: Regenerated.
11506 * config.make.in (enable-check-abi): Remove.
11507
6d5c57fa
AS
115082012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11509
24c5d07e 11510 [BZ #14033]
ded5180a
AS
11511 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11512 double functions to double *_finite functions.
11513
7e0d315d
AS
11514 [BZ #13941]
11515 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11516 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11517 LDBL_MIN_EXP.
11518 * stdio-common/Makefile (tests): Add tst-sprintf3.
11519 * stdio-common/tst-sprintf3.c: New file.
11520
6d5c57fa
AS
11521 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11522 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11523
0749ff8b
JM
115242012-04-28 Joseph Myers <joseph@codesourcery.com>
11525
11526 * conform/conformtest.pl: Remove duplicate typed-constant
11527 handling.
11528
8dbd5d7b
DM
115292012-04-28 David S. Miller <davem@davemloft.net>
11530
11531 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11532 (check-abi-%): Remove AWK script prerequisite and explicit
11533 abilist directory.
11534 (check-abi): Rewrite to just diff the symlist with the abilist.
11535 (config-tls, config-abi-config): Delete, no longer used.
11536 (update-abi-%): Remove AWK script and explicit abilist directory.
11537 (update-abi): Rewrite to simply compare and conditionally copy the
11538 symlist and the sysdep abilist file. Remove update-abi-config
11539 checks.
11540 * abilist/ld.abilist: Remove.
11541 * abilist/libBrokenLocale.abilist: Remove.
11542 * abilist/libanl.abilist: Remove.
11543 * abilist/libcrypt.abilist: Remove.
11544 * abilist/libdl.abilist: Remove.
11545 * abilist/librt.abilist: Remove.
11546 * abilist/libthread_db.abilist: Remove.
11547 * abilist/libutil.abilist: Remove.
11548 * scripts/extract-abilist.awk: Remove.
11549 * scripts/merge-abilist.awk: Remove.
11550 * sysdeps/generic/libcidn.abilist: New file.
11551 * sysdeps/generic/libnss_compat.abilist: New file.
11552 * sysdeps/generic/libnss_db.abilist: New file.
11553 * sysdeps/generic/libnss_dns.abilist: New file.
11554 * sysdeps/generic/libnss_files.abilist: New file.
11555 * sysdeps/generic/libnss_hesiod.abilist: New file.
11556 * sysdeps/generic/libnss_nis.abilist: New file.
11557 * sysdeps/generic/libnss_nisplus.abilist: New file.
11558 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11559 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11560 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11561 file.
11562 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11563 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11564 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11565 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11566 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11567 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11568 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11569 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11570 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11571 file.
11572 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11573 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11574 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11575 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11576 file.
11577 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11578 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11579 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11580 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11581 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11582 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11583 file.
11584 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11585 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11586 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11587 file.
11588 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11589 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11590 New file.
11591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11592 New file.
11593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11594 New file.
11595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11596 New file.
11597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11598 New file.
11599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11600 New file.
11601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11602 New file.
11603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11604 New file.
11605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11606 New file.
11607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11608 New file.
11609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11610 New file.
11611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11612 New file.
11613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11614 New file.
11615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11616 file.
11617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11618 New file.
11619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11620 New file.
11621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11622 file.
11623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11624 New file.
11625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11626 New file.
11627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11628 file.
11629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11630 New file.
11631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11632 New file.
11633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11634 New file.
11635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11636 New file.
11637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11638 New file.
11639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11640 New file.
11641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11643 file.
11644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11645 New file.
11646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11647 file.
11648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11649 file.
11650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11651 file.
11652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11653 file.
11654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11655 file.
11656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11657 New file.
11658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11659 file.
11660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11661 file.
11662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11663 New file.
11664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11665 file.
11666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11668 file.
11669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11670 New file.
11671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11672 file.
11673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11674 file.
11675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11676 file.
11677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11678 file.
11679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11680 file.
11681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11682 New file.
11683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11684 file.
11685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11686 file.
11687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11688 New file.
11689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11690 file.
11691 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11692 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11693 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11694 file.
11695 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11696 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11697 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11698 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11699 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11700 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11701 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11702 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11703 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11704 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11707 file.
11708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11709 New file.
11710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11711 file.
11712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11713 file.
11714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11715 file.
11716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11717 file.
11718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11719 file.
11720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11721 New file.
11722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11723 New file.
11724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11725 file.
11726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11727 New file.
11728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11729 file.
11730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11732 file.
11733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11734 New file.
11735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11736 file.
11737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11738 file.
11739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11740 file.
11741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11742 file.
11743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11744 file.
11745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11746 New file.
11747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11748 New file.
11749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11750 file.
11751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11752 New file.
11753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11754 file.
11755
41d73a1b
JM
117562012-04-28 Joseph Myers <joseph@codesourcery.com>
11757
11758 * conform/conformtest.pl: Fix typo in handling typed-constant from
11759 allow-header.
11760
28aeeda4
JM
117612012-04-27 Joseph Myers <joseph@codesourcery.com>
11762
adae8f5e
JM
11763 * README: Cut down references to pre-2.6 Linux kernels and
11764 Linuxthreads. Update lists of configurations in libc and ports
11765 and sort alphabetically. Say "or newer" with Linux kernel version
11766 requirements.
11767
28aeeda4
JM
11768 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11769
a462cb63
RA
117702012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11771
11772 [BZ #887]
11773 * math/libm-test.inc (logb_test_downward): New test to expose
11774 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11775 rounding mode.
11776
6ad3493e
JM
117772012-04-27 Joseph Myers <joseph@codesourcery.com>
11778
11779 [BZ #14027]
11780 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11781 to be done.
11782 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11783 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11784
2ce4f015
JM
117852012-04-26 Joseph Myers <joseph@codesourcery.com>
11786
5aeb141a
JM
11787 * sysdeps/unix/i386/brk.S: Remove file.
11788 * sysdeps/unix/i386/dl-brk.S: Likewise.
11789 * sysdeps/unix/i386/pipe.S: Likewise.
11790 * sysdeps/unix/i386/sigreturn.S: Likewise.
11791 * sysdeps/unix/i386/syscall.S: Likewise.
11792 * sysdeps/unix/i386/vfork.S: Likewise.
11793 * sysdeps/unix/i386/wait.S: Likewise.
11794
7143acae
JM
11795 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11796 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11797
2ce4f015
JM
11798 * configure.in (arm*-none*): Do not allow without
11799 --enable-hacker-mode.
11800 (netbsd*): Remove case setting base_os.
11801 (386bsd*): Likewise.
11802 (freebsd*): Likewise.
11803 (bsdi*): Likewise.
11804 (osf*): Likewise.
11805 (sunos*): Likewise.
11806 (ultrix*): Likewise.
11807 (newsos*): Likewise.
11808 (dynix*): Likewise.
11809 (*bsd*): Likewise.
11810 (sysv*): Likewise.
11811 (isc*): Likewise.
11812 (esix*): Likewise.
11813 (sco*): Likewise.
11814 (minix*): Likewise.
11815 (irix4*): Likewise.
11816 (irix6*): Likewise.
11817 (solaris[2-9]*): Likewise.
11818 (none): Likewise.
11819 * configure: Regenerated.
11820
0ac229c8
AZ
118212012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11822
11823 [BZ #11521]
11824 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11825 overflow or cancellation in calculating denominator.
11826 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11827 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11828 down expression to avoid unexpected rounding in newer GCCs.
11829 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11830
33f244f4
DM
118312012-04-26 David S. Miller <davem@davemloft.net>
11832
11833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11834 long-double compat symbols.
11835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11848
cfa1f3e8
DM
118492012-04-25 David S. Miller <davem@davemloft.net>
11850
11851 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11852 HWCAP_* values only after the memory barriers have been defined.
11853 (atomic_full_barrier): Define.
11854 (atomic_read_barrier): Define.
11855 (atomic_write_barrier): Define.
11856
6e236b92
SP
118572012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11858
11859 * shlib-versions: Add libgcc_s version information.
11860 * sysdeps/generic/libgcc_s.h: Remove.
11861 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11862 libgcc_s.h.
11863 * sysdeps/gnu/unwind-resume.c: Likewise.
11864 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11865
aab39a09
DM
118662012-04-25 David S. Miller <davem@davemloft.net>
11867
11868 * sysdeps/unix/sparc/brk.S: Delete.
11869 * sysdeps/unix/sparc/dl-brk.S: Delete.
11870 * sysdeps/unix/sparc/pipe.S: Delete.
11871 * sysdeps/unix/sparc/sysdep.S: Delete.
11872 * sysdeps/unix/sparc/sysdep.h: Delete.
11873 * sysdeps/unix/sparc/vfork.S: Delete.
11874 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11875 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11876 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11877 ret_ERRVAL, r0, r1, MOVE): Define.
11878 (JUMPTARGET): Remove.
11879 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11880 sysdeps/unix/sparc/sysdep.h
11881 (ENTRY, END): Remove.
11882 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11883
a3cc4f48
JM
118842012-04-25 Joseph Myers <joseph@codesourcery.com>
11885
2ed8cda2
JM
11886 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11887 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11888 -DIS_IN_build.
11889
35d76d59
JM
11890 * timezone/README: Update upstream location and email address for
11891 tzcode and tzdata.
11892 * timezone/zdump.c: Update from tzcode 2012b.
11893 * timezone/zic.c: Likewise.
11894
a3cc4f48
JM
11895 * configure.in (libc_cv_as_needed): Remove test.
11896 * configure: Regenerated.
11897 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11898 conditional definition.
11899 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11900 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11901 * config.make.in (have-as-needed): Remove variable.
11902
ceab42c3
SP
119032012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11904 Paul Pluzhnikov <ppluzhnikov@google.com>
11905
11906 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11907 strings correctly.
11908
3ce2865f
CLT
119092012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11910
11911 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11912 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11913 * sysdeps/sh/strlen.S: Likewise.
11914
f37e0d68
JM
119152012-04-24 Joseph Myers <joseph@codesourcery.com>
11916
ae186e9a
JM
11917 * sysdeps/unix/fork.S: Remove file.
11918 * sysdeps/unix/i386/fork.S: Likewise.
11919 * sysdeps/unix/sparc/fork.S: Likewise.
11920
b96914af
JM
11921 * sysdeps/unix/system.c: Remove file.
11922 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11923
f37e0d68
JM
11924 * sysdeps/unix/getegid.S: Remove file.
11925 * sysdeps/unix/geteuid.S: Likewise.
11926
87ef29ca
RM
119272012-04-24 Roland McGrath <roland@hack.frob.com>
11928
83bcd236
RM
11929 * scripts/check-localplt.awk: New file.
11930 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11931 of diff.
11932 * scripts/data/localplt-generic.data: Add a comment.
11933
87ef29ca
RM
11934 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11935 NODE when __dir_mkfile failed.
11936 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11937 Reported by Ludovic Courtès <ludo@gnu.org>.
11938
e5a6e567
AJ
119392012-04-24 Andreas Jaeger <aj@suse.de>
11940
11941 * Makerules (common-clean): Also remove gen-as-const-headers
11942 files.
11943
c1820385
JM
119442012-04-24 Joseph Myers <joseph@codesourcery.com>
11945
11946 * Makerules (native-compile): Do not change working directory for
11947 build. Use $(OUTPUT_OPTION) in command.
11948 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11949
94e02fc4
AZ
119502012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11951
11952 [BZ #13886]
11953 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11954 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11955 * math/libm-test.inc (floor_test): Add more tests.
11956 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11957
3a533ca3
JM
119582012-04-24 Joseph Myers <joseph@codesourcery.com>
11959
940ab4b3
JM
11960 * sysdeps/unix/getdents.c: Remove file.
11961 * sysdeps/unix/sysv/getdents.c: Likewise.
11962 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11963
90e037bd
JM
11964 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11965 sysdeps/unix/mman/syscalls.list.
11966 (mmap): Likewise.
11967 (mprotect): Likewise.
11968 (msync): Likewise.
11969 (munmap): Likewise.
11970 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11971 * sysdeps/unix/mman/syscalls.list: Remove.
11972 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11973
3a533ca3
JM
11974 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11975 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11976 * configure: Regenerated.
11977 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11978 $(libgcc_s_suffix).
11979 * config.make.in (libgcc_s_suffix): Remove variable.
11980
1ad743de
JM
119812012-04-23 Joseph Myers <joseph@codesourcery.com>
11982
4ad451e2
JM
11983 * sysdeps/unix/sysv/gethostname.c: Move to ...
11984 * sysdeps/posix/gethostname.c: ... here.
11985
5e37ce39
JM
11986 * sysdeps/unix/execve.S: Remove file.
11987
1ad743de
JM
11988 * sysdeps/unix/_exit.S: Remove file.
11989
4e681b5b
AJ
119902012-04-23 Andreas Jaeger <aj@suse.de>
11991
11992 [BZ #13739]
11993 * manual/Makefile: Remove make dist support, there's no
11994 need for a stand-alone documentation tar ball.
11995 (TEXI2DVI): Define always, it's not in Makeconfig.
11996 (dist): Removed.
11997 (tar-it): Removed.
11998 (edition): Removed.
11999 (glibc-doc-$(edition).tar): Removed
12000 (%.Z): Removed.
12001 (%.gz): Removed.
12002 (%.uu): Removed.
12003 (ETAGS): Remove, it's in Makeconfig.
12004 (move-if-change): Remove, it's in Makeconfig.
12005
38686a03 120062012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
12007
12008 [BZ #13970]
12009 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12010 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12011 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12012 (strtod_l, strtof_l, strtold_l): Remove __wur.
12013 It is not necessarily an error to ignore strtol's return value.
12014 One can reliably look at the stored endptr to decide whether
12015 the number had valid syntax.
12016
7c0616fa
AJ
120172012-04-21 Andreas Jaeger <aj@suse.de>
12018
803cb6b7 12019 [BZ #13739]
7c0616fa
AJ
12020 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12021
b0fe253f
JM
120222012-04-21 Joseph Myers <joseph@codesourcery.com>
12023
12024 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12025 * sysdeps/unix/sysv/Versions: Remove file.
12026
8280f22d
MT
120272012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12028
12029 [BZ #13927]
12030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12031
75ce411f 120322012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
12033
12034 [BZ #7064]
12035 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12036 version from __vm86.
12037
097d59fa
JM
120382012-04-20 Joseph Myers <joseph@codesourcery.com>
12039
a90f3bcb
JM
12040 * sysdeps/unix/common/lxstat.c: Remove file.
12041 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12042
edc7ea78
JM
12043 * sysdeps/unix/sysv/Makefile: Remove file.
12044
cb78c221
JM
12045 * sysdeps/unix/sysv/direct.h: Remove file.
12046
efa6a45f
JM
12047 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12048 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12049 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12050 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12051 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12052 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12053 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12054
9c9f2d0c
JM
12055 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12056
4541c83b
JM
12057 * sysdeps/unix/xmknod.c: Remove file.
12058 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12059
f5d153a0
JM
12060 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12061
aa746595
JM
12062 * sysdeps/unix/sysv/i386/time.S: Remove file.
12063
cce5905e
JM
12064 * sysdeps/unix/fxstat.c: Remove file.
12065 * sysdeps/unix/xstat.c: Likewise.
12066 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12067
37fa3841
JM
12068 * sysdeps/unix/sysv/sigaction.c: Remove file.
12069
ff1962a3
JM
12070 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12071 (sysdep_headers): Remove variable.
12072 [termio.h not in sysdep_headers] (generated): Likewise.
12073 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12074 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12075 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12076 * sysdeps/unix/sysv/tcflow.c: Likewise.
12077 * sysdeps/unix/sysv/tcflush.c: Likewise.
12078 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12079 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12080 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12081 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12082 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12083
e7740d31
JM
12084 * sysdeps/unix/siglist.c: Remove file.
12085
ee06f18b
JM
12086 * sysdeps/unix/getppid.S: Remove file.
12087
097d59fa
JM
12088 * sysdeps/unix/mkdir.c: Remove file.
12089 * sysdeps/unix/rmdir.c: Likewise.
12090
ff3d51ec
AS
120912012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12092
12093 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12094 ERR_MAX value.
12095 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12096 errlist-compat value.
12097
50f81fd7
DM
120982012-04-18 David S. Miller <davem@davemloft.net>
12099
12100 * sysdeps/generic/memcopy.h (reg_char): Delete.
12101 * debug/strcat_chk.c: Use char, not reg_char.
12102 * debug/strcpy_chk.c: Likewise.
12103 * debug/strncat_chk.c: Likewise.
12104 * debug/strncpy_chk.c: Likewise.
12105 * string/memchr.c: Likewise.
12106 * string/memrchr.c: Likewise.
12107 * string/rawmemchr.c: Likewise.
12108 * string/strcat.c: Likewise.
12109 * string/strchr.c: Likewise.
12110 * string/strchrnul.c: Likewise.
12111 * string/strcmp.c: Likewise.
12112 * string/strcpy.c: Likewise.
12113 * string/strncat.c: Likewise.
12114 * string/strncmp.c: Likewise.
12115 * string/strncpy.c: Likewise.
12116
8ff41c46
WS
121172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12118
12119 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12120 __builtin_memcopy is called when src and dest ranges are known to not
12121 overlap.
12122
6b652f46
WS
121232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12124
12125 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12126 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12127 fwd_align_merge macro call.
12128 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12129 bwd_align_merge macro call.
12130 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12131
b282631e
WS
121322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12133
12134 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12135 bwd_align_merge macros.
12136 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12137 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12138 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12139
95aa737c
DM
121402012-04-18 David S. Miller <davem@davemloft.net>
12141
12142 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12143
7a99a614
AJ
121442012-04-18 Andreas Jaeger <aj@suse.de>
12145
12146 [BZ# 6794]
12147 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12148 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12149 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12150
12151 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12152 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12153 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12154
12155 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12156 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12157 Adjust for changed ldbl-128 files.
12158
12159 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12160 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12161 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12162
e5270c23
DM
121632012-04-17 David S. Miller <davem@davemloft.net>
12164
12165 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12166
fb5e92c9
AS
121672012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12168
12169 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12170 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12171 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12172 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12173 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12174 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12175
76da7265
AZ
121762012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12177
12178 [BZ #6794]
12179 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12180 * math/libm-test.inc: Add ilogb errno and exception tests.
12181 * math/w_ilogb.c: New file: ilogb wrapper.
12182 * math/w_ilogbf.c: New file: ilogbf wrapper.
12183 * math/w_ilogbl.c: New file: ilogbl wrapper.
12184 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12185 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12186 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12187 exception being thrown with 0.0 as argument.
12188 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12189 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12190 exception being thrown with 0.0 as argument.
12191 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12192 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12193 exception being thrown with 0.0 as argument.
12194 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12195 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12196 exception being thrown with 0.0 as argument.
12197 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12198 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 12199 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
12200 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12201 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12202 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12203 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12204 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12205 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12206
0396e69d
PB
122072012-04-17 Petr Baudis <pasky@ucw.cz>
12208
12209 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12210 with altivec.
12211
750b5926
MP
122122012-04-16 Marek Polacek <polacek@redhat.com>
12213
12214 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12215
751728a1
MP
122162012-04-16 Marek Polacek <polacek@redhat.com>
12217
12218 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12219 operands of fdivp instruction.
12220
34a27407
L
122212012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12222
12223 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12224 * elf/tst-auditmod3b.c: Likewise.
12225 * elf/tst-auditmod4b.c: Likewise.
12226 * elf/tst-auditmod5b.c: Likewise.
12227 * elf/tst-auditmod6b.c: Likewise.
12228 * elf/tst-auditmod6c.c: Likewise.
12229 * elf/tst-auditmod7b.c: Likewise.
12230 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12231 * sysdeps/x86_64/preconfigure.in: Likewise.
12232 * sysdeps/x86_64/preconfigure: Regenerated.
12233
7e73e17d
L
122342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12235
12236 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12237 __ILP32__.
12238
c7a6ab72
AB
122392012-04-13 Antoine Balestrat <merkil33@gmail.com>
12240
12241 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12242 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12243
a9e8e0e0
CL
122442012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12245
12246 [BZ #13973]
12247 * locale/iso-639.def: Fix gl language name. Spotted by
12248 Yaron Shahrabani.
12249
ec98af7d
RM
122502012-04-12 Roland McGrath <roland@hack.frob.com>
12251
12252 [BZ #2074]
12253 * libio/libio.h (__io_write_fn): Update comment.
12254
247c3ede
PB
122552012-04-12 Petr Baudis <pasky@ucw.cz>
12256
12257 [BZ #2074]
12258 * stdio.texi (Hook Functions): The user provided writer function
12259 is not allowed to return -1.
12260
55939d6d
DM
122612012-04-11 David S. Miller <davem@davemloft.net>
12262
12263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12264
90020f5a
MF
122652012-04-11 Mike Frysinger <vapier@gentoo.org>
12266
12267 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12268 Add a leading slash to rtkaio.
12269
288f9098
JM
122702012-04-11 Jim Meyering <meyering@redhat.com>
12271
90020f5a
MF
12272 [BZ #11959]
12273 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12274 It is not necessarily an error to ignore fwrite's return
12275 value. One can reliably use ferror to test for errors after
12276 the fact.
288f9098 12277
4be2b570
L
122782012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12279
12280 * bits/types.h (__snseconds_t): New type.
12281 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12282
12283 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12284 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12285 (__SNSECONDS_T_TYPE): Likewise.
12286 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12287 (__SNSECONDS_T_TYPE): Likewise.
12288 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12289 (__SNSECONDS_T_TYPE): Likewise.
12290
288f9098 122912012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
12292
12293 [BZ #2636]
12294 * manual/time.texi (Processor Time): Return type of times is
12295 elapsed real time since an arbitrary point in the past.
12296 (CPU Time): Move CLK_TCK from here...
12297 (Processor Time): ...to here. Correct description.
12298 * manual/conf.texi (Constants for Sysconf): Correct description of
12299 _SC_CLK_TCK.
12300
d7dd4413
DM
123012012-04-10 David S. Miller <davem@davemloft.net>
12302
12303 [BZ #13967]
12304 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12305 where the is a gap between DT_REL(A) and DT_JMPREL.
12306
b46068fc
L
123072012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12308
12309 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12310 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12311 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12312
73d65cc3
SP
123132012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12314
12315 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12316 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12317 (dl_main): Handle --inhibit-cache.
12318 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12319 _dl_inhibit_cache.
12320 * elf/dl-load.c (_dl_map_object): Use it.
12321 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12322
bcc8d661
JM
123232012-04-09 Joseph Myers <joseph@codesourcery.com>
12324
8f9a2fae
JM
12325 [BZ #13872]
12326 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12327 (__ieee754_powl): Saturate large exponents rather than testing for
12328 overflow of y*log2(x).
12329 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12330 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12331 exceptions.
12332
bcc8d661
JM
12333 [BZ #11521]
12334 * math/s_ctan.c: Include <float.h>.
12335 (__ctan): Avoid internal overflow or cancellation in calculating
12336 denominator.
12337 * math/s_ctanf.c: Likewise.
12338 * math/s_ctanl.c: Likewise.
12339 * math/s_ctanh.c: Likewise.
12340 * math/s_ctanhf.c: Likewise.
12341 * math/s_ctanhl.c: Likewise.
12342 * math/libm-test.inc (ctan_test): Add more tests.
12343 (ctanh_test): Likewise.
12344 * sysdeps/i386/fpu/libm-test-ulps: Update.
12345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12346
823fbbb4
AJ
123472012-04-09 Andreas Jaeger <aj@suse.de>
12348
03879793
AJ
12349 [BZ #6894]
12350 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12351 is an optional BSD extension.
12352
823fbbb4
AJ
12353 [BZ #10254]
12354 * manual/stdio.texi (Opening Streams): Document additional fopen
12355 parameters.
12356
8de131cb
RM
123572012-04-09 Roland McGrath <roland@hack.frob.com>
12358
12359 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12360 %eax without telling the compiler.
12361
c0ed9d7d
CD
123622012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12363
12364 [BZ # 13963]
12365 * manual/install.texi: Use sourceware.org.
12366
c483f6b4
JM
123672012-04-09 Joseph Myers <joseph@codesourcery.com>
12368
d7dd9453
JM
12369 [BZ #13873]
12370 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12371 (__ieee754_pow): Generate overflow and underflow using huge*huge
12372 and tiny*tiny rather than just returning constant infinity or zero
12373 for large exponents.
12374 * math/libm-test.inc (pow_test): Require overflow exceptions for
12375 applicable cases of large exponents.
12376
c483f6b4
JM
12377 [BZ #706]
12378 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12379 (__ieee754_pow): Use iterative multiplication algorithm only for
12380 integer exponents with absolute value below 1024. Check for odd
12381 integer exponents when using algorithm for real exponents.
12382 * math/libm-test.inc (pow_test): Add more tests.
12383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12384
d2de7579
JM
123852012-04-08 Joseph Myers <joseph@codesourcery.com>
12386
12387 [BZ #13705]
12388 * math/libm-test.inc (exp_test): Do not allow overflow exception
12389 on underflow test.
12390
f77f1232
AJ
123912012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12392
12393 [BZ #13705]
12394 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12395 instead of __kernel_standard_f.
12396
3884932b
MF
123972012-04-08 Mike Frysinger <vapier@gentoo.org>
12398
12399 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12400 * sysdeps/x86_64/memset_chk.S: Likewise.
12401
54472e9c
AJ
124022012-04-08 Andreas Jaeger <aj@suse.de>
12403
6ab0fbfc
AJ
12404 [BZ #10153]
12405 * manual/startup.texi (Environment Access): Describe return value
12406 for putenv and setenv.
12407
61efba8c
AJ
12408 [BZ #6895]
12409 * manual/filesys.texi (Directory Entries): Add description for
12410 DT_LNK.
12411
95c3f29a
AJ
12412 [BZ #6890]
12413 * manual/filesys.texi (Directory Entries): Clarify that it's file
12414 system not operating system in the description of DT_UNKNOWN.
12415
54472e9c
AJ
12416 [BZ #6578]
12417 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12418
624254b1
SC
124192012-04-08 Stephen Compall <s11@member.fsf.org>
12420
12421 [BZ #6649]
12422 * manual/llio.texi (Opening and Closing Files): Add cross
12423 reference to explain mode argument.
12424
1e4920e0
MF
124252012-04-07 Mike Frysinger <vapier@gentoo.org>
12426
12427 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12428 * sysdeps/x86_64/memset_chk.S: Likewise.
12429
5ed848f3
DM
124302012-04-07 David S. Miller <davem@davemloft.net>
12431
12432 * elf/elf.h (R_SPARC_WDISP10): Define.
12433 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12434 R_SPARC_SIZE32.
12435 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12436 R_SPARC_SIZE64 and R_SPARC_H34.
12437
96154cd8
CD
124382012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12439
12440 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12441 conditions and remove no longer applicable assertion.
12442
9904dc47
L
124432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12444
12445 * bits/byteswap.h: Include <features.h>.
12446 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12447 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12448
f8887d0a
L
124492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12450
12451 * bits/byteswap.h (__bswap_16): Removed.
12452 Include <bits/byteswap-16.h> to get __bswap_16.
12453 * sysdeps/i386/bits/byteswap.h: Likewise.
12454 * sysdeps/s390/bits/byteswap.h: Likewise.
12455 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12456 * bits/byteswap-16.h: New file.
12457 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12458 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12459 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12460 * string/Makefile (headers): Add bits/byteswap-16.h.
12461
62470f60
PP
124622012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12463
12464 [BZ #13895]
12465 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12466 extra indirection.
12467 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12468 * nss/tst-nss-static.c: New.
12469
4dad7bab
RM
124702012-04-06 Robert Millan <rmh@gnu.org>
12471
12472 [BZ #6486]
12473 * manual/llio.texi (File Position Primitive): lseek
12474 refers to WHENCE when it really means OFFSET.
12475
e9142a17
AJ
124762012-04-06 Andreas Jaeger <aj@suse.de>
12477
2c040eff
AJ
12478 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12479 strncmp declarations.
12480
e9142a17
AJ
12481 * abilist/libc.abilist: Add __poll and __ppoll.
12482
ff9f1c5f
DM
124832012-04-05 David S. Miller <davem@davemloft.net>
12484
dcd2ae90
DM
12485 * scripts/check-local-headers.sh: Accept a host triplet in the
12486 path matched by the exclude regexp.
12487
993eb054
DM
12488 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12489 definition.
12490 * sysdeps/powerpc/powerpc32/dl-machine.h
12491 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12492 * sysdeps/s390/s390-32/dl-machine.h
12493 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12494 * sysdeps/sparc/sparc32/dl-machine.h
12495 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12496 * sysdeps/sparc/sparc64/dl-machine.h
12497 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12498
ff9f1c5f
DM
12499 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12500 lazy binding.
48e2e132 12501 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
12502 undefined symbol errors.
12503
48e2e132 12504 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
12505 DT_NEEDED entries.
12506
e80d6f94
MM
125072012-04-05 Michael Matz <matz@suse.de>
12508
12509 [BZ #13592]
12510 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12511
349fa79f
AJ
125122012-04-05 Andreas Jaeger <aj@suse.de>
12513
12514 [BZ #13908]
12515 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12516 comment.
12517
f402708f
KK
125182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12519
12520 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12521 which ROUND is no valid rounding mode.
12522
2ecccfc9
KK
125232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12524
12525 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12526 read again.
12527 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12528
8a53f50f
KK
125292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12530
12531 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12532 an exception using FPU order intentionally.
12533
125342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12535
12536 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12537 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12538 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12539 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12540
d653abb7
SJ
125412012-04-05 Simon Josefsson <simon@josefsson.org>
12542
12543 [BZ #12340]
12544 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12545 EINVAL when BUFLEN is too smal.
12546
c3b1bf7d
TS
125472012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12548
12549 [BZ #13553]
12550 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12551 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12552
b1aa60f3
AJ
125532012-04-03 Andreas Jaeger <aj@suse.de>
12554
c3b1bf7d 12555 [BZ #13938]
67f60a26
AJ
12556 * manual/setjmp.texi (System V contexts): Fix sentence.
12557
b1aa60f3
AJ
12558 [BZ #13926]
12559 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12560 New macro for this case.
12561 [!__GNUC__] (__bswap_64): New inline function for this case.
12562 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12563 * bits/byteswap.h: Likewise.
12564 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12565 ull, guard with __GLIBC_HAVE_LONG_LONG.
12566
12567 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12568 __GLIBC_HAVE_LONG_LONG.
12569
12570 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12571 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12572
39c59c35
TMQMF
125732012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12574
12575 [BZ #13691]
12576 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12577 inptr and inend, rather than using last_ch.
12578
135ffda8
DM
125792012-04-02 David S. Miller <davem@davemloft.net>
12580
12581 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12582 * stdio-common/printf-parse.h (read_int): Change return type to
12583 'int', return -1 on INT_MAX overflow.
12584 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12585 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12586 overflows INT_MAX. Check for overflow of in-format-string precision
12587 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12588 SIZE_MAX not INT_MAX for integer overflow test.
12589 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12590 skip the construct in the format string but do not record anything.
12591 * stdio-common/bug22.c: Adjust to test both width/prevision
12592 INT_MAX overflow as well as total length INT_MAX overflow. Check
12593 explicitly for proper errno values.
12594
228c019e
TS
125952012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12596
302cadd3
TS
12597 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12598 CHAR_MAX.
12599 * string/test-strcmp.c [! WIDE]: Likewise.
12600 * time/tst-mktime2.c: Likewise for INT_MAX.
12601 * string/test-string.h: #include <sys/param.h> for MIN.
12602
228c019e
TS
12603 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12604 * sysdeps/i386/init-first.c (init): Likewise.
12605 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12606 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12607 * sysdeps/sh/init-first.c (init): Likewise.
12608
cfa633f5
UD
126092012-04-01 Ulrich Drepper <drepper@gmail.com>
12610
12611 * po/ru.po: Update from translation team.
d1635ef8 12612 * po/vi.po: Likewise.
cfa633f5 12613
6cd0a5ea
SP
126142012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12615
12616 * resolv/nss_dns/dns-host.c: Merge copyright years.
12617
4b43400f
LD
126182012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12619
12620 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12621 Optimize memcpy with prefetch if
12622 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12623 src, dst pointers have unequal 16 byte alignments.
12624
48c41d04
SP
126252012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12626
12627 [BZ #13928]
12628 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12629 from a CNAME entry and return the minimum ttl for the query.
12630 (gaih_getanswer_slice): Likewise.
12631
b8dc394d
JL
126322012-03-30 Jeff Law <law@redhat.com>
12633
12634 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12635 due to long keys.
12636 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12637 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12638
2f5a5ed0
JL
12639 * resolv/nss_dns/dns-host.c: Update copyright year.
12640
1d39e359
UD
126412012-03-30 Ulrich Drepper <drepper@gmail.com>
12642
c030f70c 12643 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12644 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12645
1d39e359
UD
12646 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12647 comments for sendmmsg.
12648
126492012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12650
12651 [BZ #13691]
12652 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12653 with only 1 character between 0x0041 and 0x01b0.
12654 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12655 * wcsmbs/tst-mbsnrtowcs.c: New file.
12656
20fde227
DM
126572012-03-29 David S. Miller <davem@davemloft.net>
12658
12659 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12660 small copies by hand.
12661
984a4237
JL
126622012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12663
12664 [BZ #13761]
12665 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12666 _nss_compat_initgroups_dyn): Fall back to malloc/free
12667 for large group memberships.
12668
18c9d62b
DM
126692012-03-28 David S. Miller <davem@davemloft.net>
12670
88d85d4f
DM
12671 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12672 that branches into memcpy.
12673 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12674 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12675 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12676 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12677 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12678 bits.
12679 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12680 implementation too.
12681 * sysdeps/sparc/mempcpy.S: New file.
12682
e5aa83e1
DM
12683 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12684 the IFUNC routine in the libc case.
12685 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12686
88570753
DM
12687 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12688 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12689 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12690 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12691 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12692 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12693 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12694 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12695
249d7567
DM
12696 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12697 loop to 256 bytes instead of 64 bytes and fix test signedness.
12698
18c9d62b
DM
12699 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12700 * sysdeps/sparc/sparc32/Makefile: rather than here...
12701 * sysdeps/sparc/sparc64/Makefile: and here.
12702
05f3d1f6
UD
127032012-03-28 Ulrich Drepper <drepper@gmail.com>
12704
12705 * malloc/mallocbug.c: Avoid warnings about unused variables.
12706
86ae07a8
JL
127072012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12708
12709 [BZ #13760]
12710 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12711 in the right place. Discard and retry query if response is
12712 larger than input buffer size.
12713
41bf21a1
JM
127142012-03-28 Joseph Myers <joseph@codesourcery.com>
12715
d6270972
JM
12716 [BZ #369]
12717 [BZ #2678]
12718 [BZ #3866]
12719 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12720 x for large integer exponent.
12721 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12722 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12723 sign of result as needed afterwards.
12724 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12725 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12726 result for underflowing pow the same as for overflow.
12727 (__kernel_standard_l): Handle powl overflow and underflow here
12728 rather than calling __kernel_standard.
12729 * math/libm-test.inc (pow_test): Add more tests.
12730
414fca03 12731 [BZ #3868]
41bf21a1
JM
12732 [BZ #13879]
12733 [BZ #13910]
12734 [BZ #13911]
12735 [BZ #13912]
12736 [BZ #13913]
12737 [BZ #13915]
12738 [BZ #13916]
12739 [BZ #13917]
12740 [BZ #13918]
12741 [BZ #13919]
12742 [BZ #13920]
12743 [BZ #13921]
12744 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12745 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12746 (__kernel_standard_l): New function.
12747 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12748 __kernel_standard.
12749 * math/w_acosl.c (__acosl): Likewise.
12750 * math/w_asinl.c (__asinl): Likewise.
12751 * math/w_atan2l.c (__atan2l): Likewise.
12752 * math/w_atanhl.c (__atanhl): Likewise.
12753 * math/w_coshl.c (__coshl): Likewise.
12754 * math/w_exp10l.c (__exp10l): Likewise.
12755 * math/w_exp2l.c (__exp2l): Likewise.
12756 * math/w_fmodl.c (__fmodl): Likewise.
12757 * math/w_hypotl.c (__hypotl): Likewise.
12758 * math/w_j0l.c (__j0l, __y0l): Likewise.
12759 * math/w_j1l.c (__j1l, __y1l): Likewise.
12760 * math/w_jnl.c (__jnl, __ynl): Likewise.
12761 * math/w_lgammal.c (__lgammal): Likewise.
12762 * math/w_log10l.c (__log10l): Likewise.
12763 * math/w_log2l.c (__log2l): Likewise.
12764 * math/w_logl.c (__logl): Likewise.
12765 * math/w_powl.c (__powl): Likewise.
12766 * math/w_remainderl.c (__remainderl): Likewise.
12767 * math/w_scalbl.c (sysv_scalbl): Likewise.
12768 * math/w_sinhl.c (__sinhl): Likewise.
12769 * math/w_sqrtl.c (__sqrtl): Likewise.
12770 * math/w_tgammal.c (__tgammal): Likewise.
12771 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12772 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12773 * math/libm-test.inc (acos_test): Add more tests.
12774 (acosh_test): Likewise.
12775 (asin_test): Likewise.
12776 (atanh_test): Likewise.
12777 (exp_test): Likewise.
12778 (exp10_test): Likewise.
12779 (exp2_test): Likewise.
12780 (expm1_test): Likewise.
12781 (lgamma_test): Likewise.
12782 (log_test): Likewise.
12783 (log10_test): Likewise.
12784 (log1p_test): Likewise.
12785 (log2_test): Likewise.
12786 (pow_test): Do not allow some spurious overflow exceptions.
12787 (sqrt_test): Add more tests.
12788 (tgamma_test): Likewise.
12789 (y0_test): Likewise.
12790 (y1_test): Likewise.
12791 (yn_test): Likewise.
12792
dd62fda6
AB
127932012-03-27 Anton Blanchard <anton@samba.org>
12794
12795 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12796 MAP_HUGETLB.
12797 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12798 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12799 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12800
1e3cdfda
AJ
128012012-03-27 David S. Miller <davem@davemloft.net>
12802
b855ab85
DM
12803 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12804
1e3cdfda
AJ
12805 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12806 have-as-vis3 check.
12807
128082012-03-27 Andreas Jaeger <aj@suse.de>
12809
12810 * sysdeps/x86_64/elf/configure.in: Moved to ...
12811 * sysdeps/x86_64/configure.in: ... here.
12812 * sysdeps/x86_64/elf/start.S: Moved to ...
12813 * sysdeps/x86_64/start.S: ... here.
12814 * sysdeps/x86_64/elf/configure: Delete.
12815
12816 * sysdeps/x86_64/configure.in: Merge contents from
12817 sysdeps/i386/configure.in (without i686 check).
12818
12819 * sysdeps/i386/elf/Versions: Merge into ...
12820 * sysdeps/i386/Versions: ... this.
12821 * sysdeps/i386/elf/Versions: Delete file.
12822 * sysdeps/i386/elf/start.S: Moved to ...
12823 * sysdeps/i386/start.S: ...here.
12824 * sysdeps/i386/elf/configure.in: Merge into...
12825 * sysdeps/i386/configure.in: ...here.
12826 * sysdeps/i386/elf/configure.in: Delete file.
12827 * sysdeps/i386/elf/configure: Delete file.
12828
12829 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12830 * debug/backtracesyms.c: ... here.
12831 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12832 * debug/backtracesymsfd.c: ... here.
12833 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12834 * sysdeps/generic/ifunc-sel.h: ... here.
12835
12836 * sysdeps/unix/i386/start.c: Delete file.
12837 * sysdeps/unix/sparc/start.c: Delete file.
12838 * sysdeps/unix/start.c: Delete file.
12839
12840 * sysdeps/sh/elf/configure.in: Moved to ...
12841 * sysdeps/sh/configure.in: ... here.
12842 * sysdeps/sh/elf/start.S: Moved to ...
12843 * sysdeps/sh/start.S: ... here.
12844 * sysdeps/sh/elf/configure: Delete file.
12845
12846 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12847 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12848 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12849 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12850 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12851 * sysdeps/powerpc/powerpc64/start.S: here.
12852 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12853 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12854 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12855 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12856 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12857
12858 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12859 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12860 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12861 * sysdeps/powerpc/powerpc32/start.S: ... here.
12862 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12863 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12864 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12865
12866 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12867 * sysdeps/powerpc/ifunc-sel.h: ... here.
12868 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12869 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12870
12871 * sysdeps/sparc/elf/configure.in: Moved to ...
12872 * sysdeps/sparc/configure.in: ... here.
12873 * sysdeps/sparc/elf/configure: Delete file.
12874 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12875 * sysdeps/sparc/sparc32/start.S: ... here.
12876 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12877 * sysdeps/sparc/sparc64/start.S: ... here.
12878 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12879 * sysdeps/sparc/sparc32/Makefile: ... this.
12880 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12881 * sysdeps/sparc/sparc64/Makefile: ... this.
12882
12883 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12884 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12885 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12886 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12887 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12888 * sysdeps/s390/s390-32/setjmp.S: ... here.
12889 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12890 * sysdeps/s390/s390-32/configure.in: ... here.
12891 * sysdeps/s390/s390-32/elf/configure: Delete file.
12892 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12893 * sysdeps/s390/s390-32/start.S: ... here.
12894
12895 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12896 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12897 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12898 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12899 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12900 * sysdeps/s390/s390-64/setjmp.S: ... here.
12901 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12902 * sysdeps/s390/s390-64/configure.in: ... here
12903 * sysdeps/s390/s390-64/elf/configure: Delete file.
12904 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12905 * sysdeps/s390/s390-64/start.S: ... here.
12906 * sysdeps/s390/s390-64/elf/configure: Delete.
12907
12908 * configure.in: Remove support for elf directories in sysdeps.
12909
12910 * configure: Regenerated.
12911 * sysdeps/i386/configure: Regenerated.
12912 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12913 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12914 * sysdeps/s390/s390-32/configure: Regenerated.
12915 * sysdeps/s390/s390-64/configure: Regenerated.
12916 * sysdeps/sh/configure: Regenerated.
12917 * sysdeps/sparc/configure: Regenerated.
12918 * sysdeps/x86_64/configure: Regenerated.
12919
a3f61311
AS
129202012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12921
c876e002
AS
12922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12923
a3f61311
AS
12924 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12925 denormal result into account.
12926
ac4c54f0
RM
129272012-03-25 Roland McGrath <roland@hack.frob.com>
12928
12929 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12930 Reported by Allan McRae <allan@archlinux.org>.
12931
6a9b9c02
JL
129322012-03-23 Jeff Law <law@redhat.com>
12933
12934 * nss/getnssent.c (__nss_getent): Fix typo.
12935
4c42a0c1
DM
129362012-03-23 David S. Miller <davem@davemloft.net>
12937
12938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12939
1532c7ac
L
129402012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12941
12942 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12943 to pad to uint64_t for each field.
12944 (dl_tls_index): Replace unsigned long with uint64_t.
12945
3ff42526
PP
129462012-03-23 Daniel Jacobowitz <dmj@google.com>
12947 Paul Pluzhnikov <ppluzhnikov@google.com>
12948
12949 [BZ #6528]
12950 * grp/Makefile (otherlibs): Don't set it.
12951 * inet/Makefile (otherlibs): Likewise.
12952 * login/Makefile (otherlibs): Likewise.
12953 * nscd/Makefile (otherlibs): Likewise.
12954 * posix/Makefile (otherlibs): Likewise.
12955 * pwd/Makefile (otherlibs): Likewise.
12956 * rt/Makefile (otherlibs): Likewise.
12957 * sunrpc/Makefile (otherlibs): Likewise.
12958 * nss/Makefile (otherlibs): Likewise.
12959 Add libnss_files to routines and static-only-routines.
12960 ($(objpfx)getent): Remove rule.
12961 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12962 static-only-routines.
12963
7c69cd14
JM
129642012-03-22 Joseph Myers <joseph@codesourcery.com>
12965
12966 [BZ #13892]
12967 * math/s_cexp.c: Include <float.h>.
12968 (__cexp): Handle exp result overflowing not necessarily
12969 overflowing both real and imaginary parts of result.
12970 * math/s_cexpf.c: Likewise.
12971 * math/s_cexpl.c: Likewise.
12972 * math/libm-test.inc (cexp_test): Add more tests.
12973 * sysdeps/i386/fpu/libm-test-ulps: Update.
12974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12975
81b035fe
L
129762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12977
12978 * include/link.h (ELFW): New macro.
12979 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12980 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12981
1da7940c
L
129822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12983
12984 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12985 with uint64_t.
12986
b749dbb9
L
129872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12988
12989 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12990 declaration.
12991 (struct La_x32_retval): Likewise.
12992
2ff87f3f
L
129932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12994
12995 * sysdeps/x86_64/preconfigure.in: New file.
12996 * sysdeps/x86_64/preconfigure: New generated file.
12997
c0df8e69
JM
129982012-03-22 Joseph Myers <joseph@codesourcery.com>
12999
48e44791
JM
13000 [BZ #13824]
13001 * math/e_exp2l.c: Include <float.h>.
13002 (__ieee754_exp2l): Handle overflow and underflow cases
13003 separately. Only pass fractional part of argument to
13004 __ieee754_expl.
13005 * math/libm-test.inc (exp2_test): Add more tests.
13006
c0df8e69
JM
13007 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13008 negating x to take absolute value.
13009 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13010 Likewise.
13011 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13012 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13013 Likewise.
13014 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13015 computing low part if x was negated.
13016 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13017
c8e43ba7
L
130182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13019
13020 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13021 la_x32_gnu_pltexit.
13022 (pltexit): Cast int_retval to ptrdiff_t.
13023 * elf/tst-auditmod3b.c: Likewise.
13024 * elf/tst-auditmod4b.c: Likewise.
13025 * elf/tst-auditmod5b.c: Likewise.
13026 * elf/tst-auditmod6b.c: Likewise.
13027 * elf/tst-auditmod6c.c: Likewise.
13028 * elf/tst-auditmod7b.c: Likewise.
13029
13030 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13031 and x32_gnu_pltexit.
13032
13033 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13034 __ELF_NATIVE_CLASS.
13035 (La_x32_regs): New macro.
13036 (La_x32_retval): Likewise.
13037 (la_x32_gnu_pltenter): New function prototype.
13038 (la_x32_gnu_pltexit): Likewise.
13039
7998fa78
AS
130402012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13041
dcb33988
AS
13042 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13043 exponent.
13044
233fc563
AS
13045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13046
7998fa78
AS
13047 * configure.in (libc_cv_cc_nofma): Check for option to disable
13048 generation of FMA instructions.
13049 * configure: Regenerate.
13050 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13051 * sysdeps/ieee754/dbl-64/Makefile: New file.
13052 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13053 Remove brandred-fma4.
13054 (CFLAGS-brandred-fma4.c): Remove.
13055 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13056 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13057 define.
13058 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13059 define.
13060
8e95c99a
L
130612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13062
13063 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13064 LLONG_MAX != LONG_MAX.
13065 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13066 (_fitoa_word): Likewise.
13067 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13068 LLONG_MAX != LONG_MAX.
13069 * stdio-common/_itowa.h: Include <_itoa.h>.
13070 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13071 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13072 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13073 only if not defined.
13074 (_ITOA_WORD_TYPE): Likewise.
13075 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13076 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13077
6f4db457
DM
130782012-03-21 David S. Miller <davem@davemloft.net>
13079
13080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13081
7785fe5a
L
130822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13083
13084 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13085 of x86_64 when setting libc_cv_slibdir, libdir and
13086 libc_cv_localedir.
13087 * sysdeps/unix/sysv/linux/configure: Regenerated.
13088
4535cd55
JM
130892012-03-21 Joseph Myers <joseph@codesourcery.com>
13090
13091 * manual/lang.texi (Old Varargs): Remove section.
13092 (How Variadic): Update menu.
13093 (va_start): Do not mention varargs.h.
13094
17228132
TS
130952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13096 Joseph Myers <joseph@codesourcery.com>
13097
13098 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13099 link test.
13100 * configure: Regenerated.
13101
8149f976
TS
131022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13103
05f3d1f6
UD
13104 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13105 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13106 conformtest.pl
8149f976 13107
1a4ac776
JM
131082012-03-21 Joseph Myers <joseph@codesourcery.com>
13109
be22ce65
JM
13110 * NOTES: Remove.
13111 * Makefile (files-for-dist): Remove NOTES.
13112 (NOTES): Remove rule.
13113 * README: Don't refer to NOTES.
13114 * manual/creature.texi: Don't include macros.texi.
13115 * manual/intro.texi (creature.texi): Remove comment referring to
13116 NOTES.
13117
40b601fb
JM
13118 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13119 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13120 * configure: Regenerated.
13121 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13122 LIBC_TRY_CC_OPTION.
13123 (libc_cv_as_i686): Likewise.
13124 (libc_cv_cc_avx): Likewise.
13125 (libc_cv_cc_sse2avx): Likewise.
13126 (libc_cv_cc_fma4): Likewise.
13127 (libc_cv_cc_novzeroupper): Likewise.
13128 * sysdeps/i386/configure: Regenerated.
13129
1a4ac776
JM
13130 [BZ #13883]
13131 * sysdeps/i386/fpu/s_cexp.S: Remove.
13132 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13133 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13134 * math/libm-test.inc (cexp_test): Add more tests.
13135 * sysdeps/i386/fpu/libm-test-ulps: Update.
13136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13137
a458e7fe
AM
131382012-03-21 Allan McRae <allan@archlinux.org>
13139
13140 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13141
0cb7efc5
JM
131422012-03-21 Joseph Myers <joseph@codesourcery.com>
13143
13144 [BZ #13871]
13145 * math/w_exp2.c: Do not include <float.h>.
13146 (o_threshold, u_threshold): Remove.
13147 (__exp2): Calculate result before checking finiteness and calling
13148 __kernel_standard.
13149 * math/w_exp2f.c: Likewise.
13150 * math/w_exp2l.c: Likewise.
13151 * math/libm-test.inc (exp2_test): Require overflow exception for
13152 1e6 input.
2460d3aa
JM
13153
13154 [BZ #3866]
13155 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13156 range of signed 64-bit integers before using fistpll. Remove
13157 checks for whether integers fit in mantissa bits.
13158 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13159 the range of signed 32-bit integers before using fistpl. Remove
13160 checks for whether integers fit in mantissa bits.
13161 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13162 (__ieee754_powl): Test for y outside the range of signed 64-bit
13163 integers before using fistpll. Reduce 64-bit values to 63-bit
13164 ones as needed.
13165 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13166 divide-by-zero is raised for zero to large negative powers.
13167 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13168 (__ieee754_powl): Test for y outside the range of signed 64-bit
13169 integers before using fistpll. Reduce 64-bit values to 63-bit
13170 ones as needed.
13171 * math/libm-test.inc (pow_test): Add more tests.
13172
eb96ffb0
L
131732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13174
13175 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13176 <stdio-common/_itoa.h>.
13177 * debug/segfault.c: Likewise.
13178 * elf/dl-cache.c: Likewise.
13179 * elf/dl-minimal.c: Likewise.
13180 * elf/dl-misc.c: Likewise.
13181 * elf/dl-sysdep.c: Likewise.
13182 * elf/dl-version.c: Likewise.
13183 * elf/rtld.c: Likewise.
13184 * hurd/hurdsock.c: Likewise.
13185 * hurd/lookup-retry.c: Likewise.
13186 * malloc/malloc.c: Likewise.
13187 * malloc/mtrace.c: Likewise.
13188 * nscd/nscd_getgr_r.c: Likewise.
13189 * nscd/nscd_getpw_r.c: Likewise.
13190 * nscd/nscd_getserv_r.c: Likewise.
13191 * posix/getopt_init.c: Likewise.
13192 * posix/wordexp.c: Likewise.
13193 * stdio-common/_itoa.c: Likewise.
13194 * stdio-common/printf_fphex.c: Likewise.
13195 * stdio-common/vfprintf.c: Likewise.
13196 * string/_strerror.c: Likewise.
13197 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13198 * sysdeps/i386/i686/hp-timing.h: Likewise.
13199 * sysdeps/mach/_strerror.c: Likewise.
13200 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13201 * sysdeps/mach/hurd/sethostid.c: Likewise.
13202 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13203 * sysdeps/mach/xpg-strerror.c: Likewise.
13204 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13205 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13206 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13207 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13208 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13209 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13210 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13211 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13212 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13213 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13214 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13215 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13216 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13217 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13218 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13219 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13220 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13221 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13222 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13223 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13224 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13225
13226 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13227
13228 * stdio-common/_itoa.h: Moved to ...
13229 * sysdeps/generic/_itoa.h: Here.
13230
13231 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13232
13233 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13234 instead of "_itoa.h" and "_itowa.h".
13235 * stdio-common/vfprintf.: Likewise.
13236
d1af992d
L
132372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13238
13239 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13240 <bits/wordsize.h>.
13241 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13242 (__signbit): Likwise.
13243 (llrintf): Likwise.
13244 (llrint): Likwise.
13245
114883e0
L
132462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13247
13248 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13249 __WORDSIZE != 64.
13250
c135cc1b
JM
132512012-03-20 Joseph Myers <joseph@codesourcery.com>
13252
13253 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13254 OVERFLOW_EXCEPTION_OK.
13255 * math/libm-test.inc ("Philosophy"): Update comment about
13256 exception testing.
13257 (OVERFLOW_EXCEPTION): Define.
13258 (OVERFLOW_EXCEPTION_OK): Likewise.
13259 (INVALID_EXCEPTION_OK): Renumber.
13260 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13261 (IGNORE_ZERO_INF_SIGN): Likewise.
13262 (test_exceptions): Handle FE_OVERFLOW.
13263 (exp10_test): Expect overflow exceptions.
13264 (exp2_test): Likewise.
13265 (expm1_test): Likewise.
13266 (nextafter_test): Likewise.
13267 (pow_test): Likewise.
13268 (scalbn_test): Likewise.
13269 (scalbln_test): Likewise.
13270
95443d88
L
132712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13272
13273 * sysdeps/x86_64/bits/atomic.h
13274 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13275 64bit integer.
13276 (atomic_exchange_acq): Likewise.
13277 (__arch_exchange_and_add_body): Likewise.
13278 (__arch_add_body): Likewise.
13279 (atomic_add_negative): Likewise.
13280 (atomic_add_zero): Likewise.
13281
490df6c4
L
132822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13283
c2722551 13284 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
13285 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13286
5e52b189
L
132872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13288
13289 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13290 Check __x86_64__ instead of __WORDSIZE.
13291
a9879d4c
L
132922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13293
13294 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13295
5df98260
DM
132962012-03-19 David S. Miller <davem@davemloft.net>
13297
e1497744
DM
13298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13299
5df98260
DM
13300 * sysdeps/sparc/fpu/fenv_private.h: New file.
13301 * sysdeps/sparc/fpu/math_private.h: Use it.
13302 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13303 Remove.
13304 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13305 (libc_feholdexcept_setroundl): Remove.
13306 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13307 Remove.
13308 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13309 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13310
b4c35121
L
133112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13312
13313 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13314 int64_t instead of long int.
13315 (INSERT_WORDS64): Likwise.
13316
56965fd7
L
133172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13318
13319 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13320 _Unwind_GetCFA return to _Unwind_Ptr first.
13321
83d1aec8
JM
133222012-03-19 Joseph Myers <joseph@codesourcery.com>
13323
1897ad44
JM
13324 [BZ #13629]
13325 * math/s_clog.c: Include <float.h>.
13326 (__clog): Scale large or subnormal inputs.
13327 * math/s_clogf.c: Likewise.
13328 * math/s_clogl.c: Likewise.
13329 * math/s_clog10.c: Include <float.h>.
13330 (M_LOG10_2): Define.
13331 (__clog10): Scale large or subnormal inputs.
13332 * math/s_clog10f.c: Likewise.
13333 * math/s_clog10l.c: Likewise.
13334 * math/libm-test.inc (clog_test): Add more tests.
13335 (clog10_test): Likewise.
13336 * sysdeps/i386/fpu/libm-test-ulps: Update.
13337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13338
7726d6a9
JM
13339 [BZ #11451]
13340 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13341 x and y.
13342 * math/libm-test.inc (atan2_test): Add another test.
13343
83d1aec8
JM
13344 * Makerules (common-objdir-compile): Remove.
13345 * sysdeps/unix/Makefile (config-generated): Do not add
13346 $(unix-generated) to variable.
13347 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13348 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13349 Remove rule.
13350 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13351 Likewise.
13352 [generic bits/local_lim.h] (before-compile): Do not append to
13353 variable.
13354 [generic bits/local_lim.h] (common-generated): Likewise.
13355 [generic sys/param.h] (before-compile): Do not append to variable.
13356 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13357 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13358 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13359 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13360 include.
13361 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13362 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13363 [generic sys/param.h] ($(addprefix
13364 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13365 [generic sys/param.h] (common-generated): Do not append to
13366 variable.
13367 [generic sys/param.h] (sysdep_headers): Likewise.
13368 [generic bits/errno.h] (before-compile): Do not append to
13369 variable.
13370 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13371 rule.
13372 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13373 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13374 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13375 [generic bits/errno.h] (common-generated): Do not append to
13376 variable.
13377 [generic bits/ioctls.h] (before-compile): Do not append to
13378 variable.
13379 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13380 rule.
13381 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13382 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13383 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13384 rule.
13385 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13386 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13387 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13388 [generic bits/ioctls.h] (common-generated): Do not append to
13389 variable.
13390 [generic sys/syscall.h] (syscall.h): Remove variable.
13391 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13392 rule.
13393 [generic sys/syscall.h] (before-compile): Do not append to
13394 variable.
13395 [generic sys/syscall.h] (common-generated): Likewise.
13396 * sysdeps/unix/errnos-tmpl.c: Remove file.
13397 * sysdeps/unix/errnos.awk: Likewise.
13398 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13399 * sysdeps/unix/ioctls.awk: Likewise.
13400 * sysdeps/unix/mk-local_lim.c: Likewise.
13401 * sysdeps/unix/snarf-ioctls: Likewise.
13402
4851a949
RH
134032012-03-19 Richard Henderson <rth@twiddle.net>
13404
bd37f2ee
RH
13405 * sysdeps/i386/fpu/fenv_private.h: New file.
13406 * sysdeps/i386/fpu/math_private.h: Use it.
13407 (math_opt_barrier, math_force_eval): Remove.
13408 (libc_feholdexcept_setround_53bit): Remove.
13409 (libc_feupdateenv_53bit): Remove.
13410 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13411 (math_opt_barrier, math_force_eval): Remove.
13412 (libc_feholdexcept): Remove.
13413 (libc_feholdexcept_setround): Remove.
13414 (libc_fetestexcept, libc_fesetenv): Remove.
13415 (libc_feupdateenv_test): Remove.
13416 (libc_feupdateenv, libc_feholdsetround): Remove.
13417 (libc_feresetround): Remove.
13418
d0adc922
RH
13419 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13420 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13421
0fe0f1f8
RH
13422 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13423 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13424 (libc_feupdateenv_testl): New.
13425 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13426 (libc_feupdateenv_testf): New.
13427 (libc_feupdateenv): Use libc_feupdateenv_test.
13428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13429 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13430
eb92c487
RH
13431 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13432 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13433 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13434 (libc_feresetround_noex): New.
13435 (libc_feresetround_noexf): New.
13436 (libc_feresetround_noexl): New.
13437 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13438 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13439 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13440 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13441 SET_RESTORE_ROUND.
13442 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13443 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13444 (__cos): Likewise.
13445 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13446 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13447 SET_RESTORE_ROUND_NOEX.
13448 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13449 SET_RESTORE_ROUND_NOEXF.
13450 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13451 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13452 (libc_feholdsetroundf): New.
13453 (libc_feresetround, libc_feresetroundf): New.
13454
7d2e8012
RH
13455 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13456 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13457 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13458
b4dabbb4
RH
13459 * sysdeps/generic/math_private.h: Include <fenv.h>.
13460 (default_libc_feholdexcept): New.
13461 (default_libc_feholdexcept_setround): New.
13462 (default_libc_fesetenv, default_libc_feupdateenv): New.
13463 (libc_feholdexcept): Only define if undefined.
13464 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13465 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13466 (libc_feholdexcept_setroundl): Likewise.
13467 (libc_feholdexcept_setround_53bit): Likewise.
13468 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13469 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13470 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13471 (libc_feupdateenv_53bit): Likewise.
13472 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13473 (libc_feholdexcept): Convert from macro to inline function.
13474 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13475 (libc_fesetenv, libc_feupdateenv): Likewise.
13476
4851a949
RH
13477 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13478 not previously defined.
13479 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13480 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13481 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13482 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13483 * sysdeps/ieee754/flt-32/math_private.h: New file.
13484 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13485 math_private.h below SET_FLOAT_WORD.
13486 (__isnan, __isinf_ns, __finite): Remove.
13487 (__isnanf, __isinf_nsf, __finitef): Remove.
13488
e79d442e
AS
134892012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13490
13491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13492
90b80344
DM
134932012-03-17 David S. Miller <davem@davemloft.net>
13494
13495 [BZ #6471]
13496 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13497 for 2.16.
13498
edc21804
DM
134992012-03-16 David S. Miller <davem@davemloft.net>
13500
77e927af
DM
13501 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13502 warnings.
13503
374976dd
DM
13504 [BZ #6471]
13505 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13506 properly.
13507 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13508 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13509 sysdep_routines when subdir is sysvipc.
13510 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13511 __getshmlba helper.
13512
edc21804
DM
13513 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13514
473c3ef3
L
135152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13516
13517 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13518 [__LP64__].
13519
eb0f39b6
L
135202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13521
13522 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13523 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13524 (__lround): Renamed to ...
13525 (__llround): This. Replace long int with long long int.
13526 Define lround functions as aliases of llround functions.
13527 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13528
6b6cd74b
L
135292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13530
13531 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13532 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13533 adresses to uintptr_t. Replace "long int" and "unsigned long
13534 int" with "greg_t" on va_arg.
13535
f1a77b01
L
135362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13537
13538 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13539 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13540
13541 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13542 Move e_machine check before EI_CLASS check. Handle x32
13543 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13544 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13545 SKIP_EM_IA_64 and include
13546 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13547
13548 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13549 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13550 (add_system_dir): New macro.
13551
13552 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13553 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13554
11b90b9f
JM
135552012-03-16 Joseph Myers <joseph@codesourcery.com>
13556
c36e1d23
JM
13557 [BZ #2551]
13558 [BZ #2552]
13559 [BZ #2553]
13560 [BZ #2554]
13561 [BZ #2562]
13562 [BZ #2563]
13563 [BZ #2565]
13564 [BZ #2566]
13565 [BZ #2576]
13566 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13567 (y0): Likewise.
13568 * math/w_j0f.c (j0f): Likewise.
13569 (y0f): Likewise.
13570 * math/w_j0l.c (__j0l): Likewise.
13571 (__y0l): Likewise.
13572 * math/w_j1.c (j1): Likewise.
13573 (y1): Likewise.
13574 * math/w_j1f.c (j1f): Likewise.
13575 (y1f): Likewise.
13576 * math/w_j1l.c (__j1l): Likewise.
13577 (__y1l): Likewise.
13578 * math/w_jn.c (jn): Likewise.
13579 (yn): Likewise.
13580 * math/w_jnf.c (jnf): Likewise.
13581 (ynf): Likewise.
13582 * math/w_jnl.c (__jnl): Likewise.
13583 (__ynl): Likewise.
13584 * math/libm-test.inc (j0_test): Add more tests.
13585 (j1_test): Likewise.
13586 (jn_test): Likewise. Add trailing semicolon to existing test.
13587 (y0_test): Likewise.
13588 (y1_test): Likewise.
13589 * sysdeps/i386/fpu/libm-test-ulps: Update.
13590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13591
11b90b9f
JM
13592 [BZ #13851]
13593 [BZ #13854]
13594 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13595 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13596 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13597 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13598 (__tanl): Set errno for infinite argument.
13599 * sysdeps/i386/fpu/mptan.c: Remove.
13600 * sysdeps/i386/fpu/s_tan.S: Likewise.
13601 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13602 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13603 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13604 * math/libm-test.inc (tan_test): Add more tests and enable more
13605 tests for double and long double.
13606 * sysdeps/i386/fpu/libm-test-ulps: Update.
13607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13608
6a1bd2a1
JK
136092012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13610
13611 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13612 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13613
10a803e0
RM
136142012-03-16 Roland McGrath <roland@hack.frob.com>
13615
13616 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13617 * configure.in: Use it for both main tree and add-ons.
13618 * configure: Regenerated.
13619
f196c7f7
L
136202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13621
13622 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13623
8848d99d
JM
136242012-03-16 Joseph Myers <joseph@codesourcery.com>
13625
96cbe7f4
JM
13626 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13627 in comment.
13628
8848d99d
JM
13629 [BZ #13851]
13630 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13631 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13632 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13633 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13634 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13635 infinite argument.
13636 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13637 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13638 != 0 for prec == 2.
13639 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13640 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13641 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13642 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13643 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13644 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13645 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13646 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13647 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13648 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13649 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13650 * math/libm-test.inc (cos_test): Add more tests and enable more
13651 tests for long double.
13652 (sin_test): Likewise.
13653 (sincos_test): Likewise.
13654 * sysdeps/i386/fpu/libm-test-ulps: Update.
13655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13656
dd7f4703
DM
136572012-03-16 David S. Miller <davem@davemloft.net>
13658
13659 * sysdeps/sparc/fpu/math_private.h: New file.
13660
006f1daa
DM
136612012-03-15 David S. Miller <davem@davemloft.net>
13662
c0c83bc8
DM
13663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13664 file.
e6a62e18 13665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13667 file.
e6a62e18
DM
13668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13673 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13674 sysdep routines.
13675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13676
88cb87d9
DM
13677 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13678 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13679
006f1daa 13680 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13682 sparc-ifunc.h
006f1daa 13683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13685 Likewise.
13686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13687 Likewise.
006f1daa
DM
13688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13692 Likewise.
006f1daa
DM
13693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13698 Likewise.
13699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13700 Likewise.
006f1daa
DM
13701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13707 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13708 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13709 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13710 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13719 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13720 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13722 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13723 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13724 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13725
11e0098e
AS
137262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13727
13728 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13729 scaling.
13730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13731
e85b09d0
AJ
137322012-03-15 Andreas Jaeger <aj@suse.de>
13733
13734 [BZ #13852]
13735 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13736 ieee754/flt-32 implementation for sin, cos and sincos.
13737 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13738 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13739 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13740 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13741 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13742 ieee754/flt-32 implementation for tan.
13743
13744 * math/libm-test.inc (cos_test): Enable some large input tests for
13745 float as well
13746 (sin_test): Likewise.
13747 (sincos_test): Likewise.
13748 (tan_test): Add tests for large input.
13749
13750 * sysdeps/i386/fpu/libm-test-ulps: Update.
13751
81c64153
AJ
137522012-03-15 Andreas Jaeger <aj@suse.de>
13753
13754 [BZ #13658]
13755 * math/libm-test.inc (cos_test): Add more test cases.
13756 (sin_test): Likewise.
13757 (sincos_test): Likewise.
13758
7bbfa5c6
AJ
137592012-03-15 Andreas Jaeger <aj@suse.de>
13760
13761 [BZ #13837]
13762 * math/libm-test.inc (cos_test): Add a test case for large input
13763 value.
13764 (sin_test): Likewise.
13765 (sincos_test): Likewise.
13766
137672012-03-15 Andreas Jaeger <aj@suse.de>,
13768 Joseph Myers <joseph@codesourcery.com>
13769
13770 [BZ #13658]
0671f479 13771 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13772 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13773 * sysdeps/i386/fpu/branred.c: Likewise.
13774 * sysdeps/i386/fpu/dosincos.c: Likewise.
13775 * sysdeps/i386/fpu/mpa.c: Likewise.
13776 * sysdeps/i386/fpu/s_cos.S: Likewise.
13777 * sysdeps/i386/fpu/s_sin.S: Likewise.
13778 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13779 * sysdeps/i386/fpu/sincos32.c: Likewise.
13780
13781 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13782 Define.
13783 (libc_feupdateenv_53bit): Define.
13784 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13785 Define.
13786 (libc_feupdateenv_53bit): Define.
13787
13788 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13789 53 bit (without extend i386 double precision).
13790
13791 * math/libm-test.inc (sincos_test): Add tests for large input.
13792 (sin): Likewise.
13793 (cos): Likewise.
13794
13795 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13796
9cad04ea
AS
137972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13798
13799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13800
f7062b9a
DM
138012012-03-15 David S. Miller <davem@davemloft.net>
13802
13803 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13804 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13805 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13806 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13819 file.
f7062b9a 13820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13822 file.
f7062b9a 13823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13825 file.
f7062b9a 13826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13828 file.
f7062b9a
DM
13829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13830 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13831 fmin/fmax sysdep routines.
13832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13833
7bd951ff
DM
138342012-03-14 David S. Miller <davem@davemloft.net>
13835
559398ab
DM
13836 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13837 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13839 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13840 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13841 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13842 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13843 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13847 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13853 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13856 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13857 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13858 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13859 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13860 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13861 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13862 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13863 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13864 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13865 routines.
13866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13867 file.
559398ab 13868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13870 file.
559398ab 13871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13873 file.
559398ab 13874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13876 file.
559398ab 13877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13879 file.
559398ab 13880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13882 file.
13883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13884 file.
13885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13886 file.
13887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13888 file.
13889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13890 New file.
13891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13892 file.
13893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13894 file.
559398ab 13895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13897 file.
559398ab 13898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13900 file.
559398ab 13901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13903 file.
559398ab 13904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13906 VIS3 routines.
559398ab
DM
13907
13908 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13909 New file.
13910
5a1c1e32
DM
13911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13912
eae47a36
DM
13913 * sysdeps/sparc/configure.in: New file.
13914 * sysdeps/sparc/configure: Generate.
13915 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13916 * configure: Regenerate.
13917 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13918 * config.make.in (have-as-vis3): New.
13919 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13920 available use -Av9d instead of -Av9a.
13921 * sysdeps/sparc/sparc64/Makefile: Likewise.
13922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13924 New file.
13925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13926 file.
13927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13928 New file.
13929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13930 file.
eae47a36
DM
13931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13932 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13933 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13934 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13935 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13936
c0c83bc8
DM
13937 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13938 fzeros/fnegs to load 0x80000000 into a float register instead of
13939 using the stack.
7bd951ff
DM
13940 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13941
bd951ccb
JM
139422012-03-14 Joseph Myers <joseph@codesourcery.com>
13943
13944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13945 bits/syscall.h.
13946 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13947 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13948 ($(inst_includedir)/bits/syscall.h): Remove rule.
13949 ($(objpfx)bits/syscall.d): Include instead of
13950 $(objpfx)syscall-list.d.
13951 (generated): Change syscall-list.h and syscall-list.d to
13952 bits/syscall.h and bits/syscall.d.
13953
bb4e6db2
RM
139542012-03-14 Roland McGrath <roland@hack.frob.com>
13955
13956 [BZ #13846]
13957 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13958
aa4a2ae1
JM
139592012-03-14 Joseph Myers <joseph@codesourcery.com>
13960
e456826d
JM
13961 [BZ #13841]
13962 * math/s_csqrt.c: Include <float.h>.
13963 (__csqrt): Scale large or subnormal inputs.
13964 * math/s_csqrtf.c: Likewise.
13965 * math/s_csqrtl.c: Likewise.
13966 * math/libm-test.inc (csqrt_test): Add more tests.
13967 * sysdeps/i386/fpu/libm-test-ulps: Update.
13968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13969
aa4a2ae1
JM
13970 [BZ #13840]
13971 * math/libm-test.inc (hypot_test): Add more tests.
13972
7c10fd35
DM
139732012-03-13 David S. Miller <davem@davemloft.net>
13974
13975 [BZ #13840]
13976 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13977 double-precision for the calculation instead of scaling.
13978
f453b98b
JM
139792012-03-13 Joseph Myers <joseph@codesourcery.com>
13980
13981 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13982 manipulate bits before adding and subtracting TWO52[sx].
13983 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13984 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13985 Likewise.
13986 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13987
09a3453f
DM
139882012-03-13 David S. Miller <davem@davemloft.net>
13989
8e59da90
DM
13990 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13991 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13992 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13993 rtld-global-offsets.h
13994 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13995
2a8ab7f2
DM
13996 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13997 large parameters.
13998
10f62770
DM
13999 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14000
5f0bdb18
DM
14001 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14002 'err' in the ifdef scope in which it is actually used.
14003
09a3453f
DM
14004 * nss/nss_db/db-init.c: Include string.h
14005
b4b2eb5e
DM
140062012-03-12 David S. Miller <davem@davemloft.net>
14007
98bb2f1c
DM
14008 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14009 masking out of the most significant byte of random value used.
14010 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14011 Fix coding style in previous change.
14012
b4b2eb5e
DM
14013 * sysdeps/unix/sysv/linux/kernel-features.h
14014 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14015 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14016 expression.
14017 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14018 later.
14019
6e226b09
DM
140202012-03-11 David S. Miller <davem@davemloft.net>
14021
a1bcbd40
DM
14022 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14023 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14024 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14025 for 'resultvar' otherwise things get truncated on 64-bit.
14026
cb9d6174
DM
14027 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14028 Fix masking out of the most significant byte of random value used.
14029
6e226b09
DM
14030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14031
058c132d
AS
140322012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14033
14034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14035
2d2cd515
DM
140362012-03-09 David S. Miller <davem@davemloft.net>
14037
14038 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14039 variables with appropriate CPP guards.
14040 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14041 frame pointer, not the stack pointer. Correct layout comments. Fix test
14042 on resulting framesize and the management of the outregs buffer for pltexit.
14043 Preserve floating point return values across _dl_call_pltexit call.
14044 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14045 framesize and the management of the outregs buffer for pltexit.
14046 Preserve floating point return values across _dl_call_pltexit
14047 call.
14048 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14049 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14050 (print_exit): Fix format string for return register value.
14051
9a07f9d0
JM
140522012-03-10 Joseph Myers <joseph@codesourcery.com>
14053
14054 * sunrpc/Makefile (others): Add rpcgen.
14055 ($(objpfx)rpcgen): Remove special build rule and dependency on
14056 libc.
14057 * sunrpc/rpcgen.c: New file.
14058
547b5e30
PE
140592012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14060
c524201a
PE
14061 [BZ #13673]
14062 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14063 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14064 * sysdeps/i386/crti.S: Likewise.
14065 * sysdeps/i386/crtn.S: Likewise.
14066 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14067 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14068 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14069 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14070 * sysdeps/sh/crti.S: Likewise.
14071 * sysdeps/sh/crtn.S: Likewise.
14072 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14073
7b6235f2
PE
14074 [BZ #13673]
14075 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14076 with URL.
14077 * locale/programs/locfile-kw.gperf: Likewise.
14078 * locale/programs/charmap-kw.h: Regenerated.
14079 * locale/programs/locfile-kw.h: Likewise.
14080
547b5e30
PE
14081 [BZ #13673]
14082 * intl/plural.y: Replace FSF snail mail address with URL.
14083 * intl/plural.c: Regenerated.
14084
5f0a5dae
RH
140852012-03-09 Richard Henderson <rth@twiddle.net>
14086
14087 * include/math_private.h: Remove file.
14088 * math/math_private.h: Move file ...
14089 * sysdeps/generic/math_private.h: ... here.
14090
b8c03620
RH
14091 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14092 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14093 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14094
4e234f5d 14095 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
14096 and <math_private.h>.
14097 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14098 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14099 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14100 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14101 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14102 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14103 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14104 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14105 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14106 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14107 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14108 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14109 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14110 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14111 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14112 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14113 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14114 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14115 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14116 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14117 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14118 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14119 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14120 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14121 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14122 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14123 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14124 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14125 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14126 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14127 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14128 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14129 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14130 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14131 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14132 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14133 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14134 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14135 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14136 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14137 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14138 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14139 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14140 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14141 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14142 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14143 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14144 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14145 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14146 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14147 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14148 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14149 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14150 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14151 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14152 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14153 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14154 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14155 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14156 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14157 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14158 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14159 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14160 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14161 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14162 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14163 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14164 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14165 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14166 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14167 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14168 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14169 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14170 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14171 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14172 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14173 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14174 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14175 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14176 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14177 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14178 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14179 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14180 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14181 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14182 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14183 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14184 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14185 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14186 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14187 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14188 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14189 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14190 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14191 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14192 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14193 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14194 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14195 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14196 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14197 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14198 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14199 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14200 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14201 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14202 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14203 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14204 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14205 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14206 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14207 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14208 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14209 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14210 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14211 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14212 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14213 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14214 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14215 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14216 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14217 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14218 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14219 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14220 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14221 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14222 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14223 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14224 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14225 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14226 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14227 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14228 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14229 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14230 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14231 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14232 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14233 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14234 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14235 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14236 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14237 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14238 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14239 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14240 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14241 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14242 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14243 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14244 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14245 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14246 * sysdeps/ieee754/k_standard.c: Likewise.
14247 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14248 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14249 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14250 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14251 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14252 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14253 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14254 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14255 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14256 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14257 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14258 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14259 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14260 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14261 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14262 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14263 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14264 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14265 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14266 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14267 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14268 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14269 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14270 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14271 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14272 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14273 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14274 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14275 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14276 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14277 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14278 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14279 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14280 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14281 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14282 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14283 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14284 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14285 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14286 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14287 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14288 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14289 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14290 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14291 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14292 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14293 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14294 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14295 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14296 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14297 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14298 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14299 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14300 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14301 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14302 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14303 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14304 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14305 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14306 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14307 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14308 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14309 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14310 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14311 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14312 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14313 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14314 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14315 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14316 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14317 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14318 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14319 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14320 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14321 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14322 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14323 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14324 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14325 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14326 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14327 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14328 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14329 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14330 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14331 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14332 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14333 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14334 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14335 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14336 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14337 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14338 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14339 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14340 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14341 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14342 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14343 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14344 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14345 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14346 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14347 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14348 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14349 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14350 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14351 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14352 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14353 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14354 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14355 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14356 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14357 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14358 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14359 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14360 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14361 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14362 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14363 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14364 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14365 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14366 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14367 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14368 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14369 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14370 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14371 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14372 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14373 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14374 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14375 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14376 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14377 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14378 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14379 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14380 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14381 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14382 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14383 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14384 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14385 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14386 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14387 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14388 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14389 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14390 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14391 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14392 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14393 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14394 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14395 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14396 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14397 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14398 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14399 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14400 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14401 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14402 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14403 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14404 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14405 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14406 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14407 * sysdeps/ieee754/s_lib_version.c: Likewise.
14408 * sysdeps/ieee754/s_matherr.c: Likewise.
14409 * sysdeps/ieee754/s_signgam.c: Likewise.
14410 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14411 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14412 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14413 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14414 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14415 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14416 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14417 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14418 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14419 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14420 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14421 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14422 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14423 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14424 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14425 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14426 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14427 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14428 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14429 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14430 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 14431
1991fa03
JM
144322012-03-09 Joseph Myers <joseph@codesourcery.com>
14433
14434 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14435 * sunrpc/rpc_main.c: Likewise.
14436 * sunrpc/rpc_svcout.c: Likewise.
14437
60d6f5a6
DM
144382012-03-09 David S. Miller <davem@davemloft.net>
14439
14440 * include/math_private.h: New file.
14441
4962050e
JM
144422012-03-09 Joseph Myers <joseph@codesourcery.com>
14443
02a6f887
JM
14444 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14445 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14446 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14447 from <bits/socket_type.h>.
14448 (enum __socket_type): Don't define here.
14449 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14450 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14451 bits/socket_type.h.
14452
c6e013c1
JM
14453 [BZ #13566]
14454 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14455 checking __USE_GNU.
14456
4962050e
JM
14457 * Makerules ($(inst_includedir)/%.h): New rule.
14458 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14459 (install-others): Remove variable setting.
14460 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14461
38842f45
RH
144622012-03-08 Richard Henderson <rth@twiddle.net>
14463
67bb6da6
RH
14464 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14465 from macro to inline function; merge with the
14466 !__LIBC_INTERNAL_MATH_INLINES version.
14467 (__ieee754_sqrtf): Likewise.
14468
15194b4b
RH
14469 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14470 to inline function.
14471 (__rintf, __floor, __floorf): Likewise.
14472
64e21ede
RH
14473 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14474 macro to inline function.
14475 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14476
38842f45
RH
14477 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14478 not <math/math_private.h>.
14479
c64bf5fe
DM
144802012-03-08 David S. Miller <davem@davemloft.net>
14481
14482 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14483 copyright year.
14484 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14485
82d86f28
TS
144862012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14487
14488 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14489 normalization.
14490 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14491 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14492
aea5d727
UD
144932012-03-08 Ulrich Drepper <drepper@gmail.com>
14494
14495 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14496 be defined individually, they must be defined as a block. Define
14497 S for printing a string instead of hidint the different by using a
14498 macro for adding the 'l'.
14499 * stdio-common/tst-fphex-wide.c: Adjust.
14500
70bca0a3
MP
145012012-03-07 Marek Polacek <polacek@redhat.com>
14502
14503 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14504
65b81130
MP
145052012-03-08 Marek Polacek <polacek@redhat.com>
14506
14507 [BZ #13806]
14508 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14509 * stdio-common/tst-fphex.c: Define a few macros to make the
14510 test reusable. Use them.
14511 * stdio-common/tst-fphex-wide.c: New file.
14512
07037eeb
JM
145132012-03-08 Joseph Myers <joseph@codesourcery.com>
14514
a7a93d50
JM
14515 [BZ #6911]
14516 * manual/macros.texi (gnusystems): New macro.
14517 (nongnusystems): Likewise.
14518 (gnulinuxhurdsystems): Likewise.
14519 (gnuhurdsystems): Likewise..
14520 (gnulinuxsystems): Likewise.
14521 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14522 variants of the GNU system, not "GNU system".
14523 * manual/conf.texi: Likewise.
14524 * manual/errno.texi: Likewise. Update example of errno macro
14525 expansion.
14526 * manual/filesys.texi: Likewise.
14527 (getumask): Document as specific to GNU/Hurd.
14528 * manual/install.texi: Likewise. Reword some references to
14529 GNU/Linux.
14530 * manual/intro.texi: Likewise.
14531 * manual/io.texi: Likewise.
14532 (File Name Portability): Detail which constraints are inapplicable
14533 to all GNU systems and which are only inapplicable to GNU/Hurd.
14534 * manual/job.texi: Likewise.
14535 * manual/llio.texi: Likewise.
14536 (O_NOCTTY): Document as present on GNU/Linux.
14537 * manual/maint.texi: Likewise.
14538 * manual/memory.texi: Likewise.
14539 * manual/pattern.texi: Likewise.
14540 * manual/pipe.texi: Likewise.
14541 * manual/process.texi: Likewise.
14542 * manual/resource.texi: Likewise.
14543 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14544 child on GNU/Hurd.
14545 * manual/setjmp.texi: Likewise.
14546 * manual/signal.texi: Likewise.
14547 * manual/startup.texi: Likewise.
14548 * manual/stdio.texi: Likewise.
14549 * manual/terminal.texi: Likewise.
14550 (ONLCR): Document as POSIX.
14551 (OXTABS): Document availability on GNU/Linux as XTABS.
14552 (ONOEOT): Document availability separately from other bits.
14553 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14554 * manual/time.texi: Likewise.
14555 * manual/users.texi: Likewise.
14556 * INSTALL: Regenerated.
14557 * sysdeps/gnu/errlist.c: Regenerated.
14558
07037eeb
JM
14559 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14560 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14561 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14562 puts.
14563 * configure: Regenerated.
14564
d1d3431a
JM
145652012-03-07 Joseph Myers <joseph@codesourcery.com>
14566
af6a1e37
JM
14567 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14568 default includes instead of AC_HEADER_CHECK.
14569 * sysdeps/i386/configure: Regenerated.
14570
d1d3431a
JM
14571 [BZ #10716]
14572 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14573 * math/s_cacoshf.c (__cacoshf): Likewise.
14574 * math/s_cacoshl.c (__cacoshl): Likewise.
14575 * math/s_casinh.c (__casinh): Set signs of result from argument.
14576 * math/s_casinhf.c (__casinhf): Likewise.
14577 * math/s_casinhl.c (__casinhl): Likewise.
14578 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14579 (casinh_test): Add more tests.
14580 * sysdeps/i386/fpu/libm-test-ulps: Update.
14581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14582
482ff4da
UD
145832012-03-07 Ulrich Drepper <drepper@gmail.com>
14584
872fda05
UD
14585 * po/zh_TW.po: Update from translation team.
14586
a4300c7a
UD
14587 * login/Makefile (distribute): Remove variable.
14588 * catgets/Makefile: Likewise.
14589 * mach/Makefile: Likewise.
14590 * malloc/Makefile: Likewise.
14591 * misc/Makefile: Likewise.
14592 * iconv/Makefile: Likewise.
14593 * nscd/Makefile: Likewise.
14594 * hurd/Makefile: Likewise.
14595 * manual/Makefile: Likewise.
14596 * locale/Makefile: Likewise.
14597 * intl/Makefile: Likewise.
14598 * conform/Makefile: Likewise.
14599 * nss/Makefile: Likewise.
14600 * time/Makefile: Likewise.
14601 * soft-fp/Makefile: Likewise.
14602 * dirent/Makefile: Likewise.
14603 * gmon/Makefile: Likewise.
14604 * po/Makefile: Likewise.
14605 * rt/Makefile: Likewise.
14606 * socket/Makefile: Likewise.
14607 * math/Makefile: Likewise.
14608 * signal/Makefile: Likewise.
14609 * debug/Makefile: Likewise.
14610 * elf/Makefile: Likewise.
14611 * timezone/Makefile: Likewise.
14612 * stdlib/Makefile: Likewise.
14613 * iconvdata/Makefile: Likewise.
14614 * sunrpc/Makefile: Likewise.
14615 * io/Makefile: Likewise.
14616 * argp/Makefile: Likewise.
14617 * inet/Makefile: Likewise.
14618 * hesiod/Makefile: Likewise.
14619 * grp/Makefile: Likewise.
14620 * csu/Makefile: Likewise.
14621 * wctype/Makefile: Likewise.
14622 * crypt/Makefile: Likewise.
14623 * libio/Makefile: Likewise.
14624 * string/Makefile: Likewise.
14625 * nis/Makefile: Likewise.
14626 * resolv/Makefile: Likewise.
14627 * stdio-common/Makefile: Likewise.
14628 * wcsmbs/Makefile: Likewise.
14629 * dlfcn/Makefile: Likewise.
14630 * posix/Makefile: Likewise.
14631
3b7c4e74 14632 [BZ #6959]
482ff4da
UD
14633 * timezone/Makefile: Don't install timezone files, just the programs
14634 and scripts.
14635
f72ed77d
UD
146362012-03-06 Ulrich Drepper <drepper@gmail.com>
14637
a000466f
UD
14638 * nss/databases.def: Add missing gshadow entry.
14639
f72ed77d
UD
14640 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14641
a53b7a4e
MP
146422012-03-06 Marek Polacek <polacek@redhat.com>
14643
14644 [BZ #13726]
14645 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14646 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14647 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14648 * stdio-common/tst-long-dbl-fphex.c: New file.
14649
e9258400
DM
146502012-03-06 David S. Miller <davem@davemloft.net>
14651
14652 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14653 (set_obp_int): New function.
14654 (get_obp_int): New function.
14655 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14656 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14657 Avoid unused variable warnings on 'val' and use builtin_expect.
14658 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14659 __builtin_expect.
e9258400
DM
14660 (INLINE_CLONE_SYSCALL): Likewise.
14661
3bd2c723
DM
146622012-03-05 David S. Miller <davem@davemloft.net>
14663
14664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14665
bbb78d03
AS
146662012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14667
884c5db4
AS
14668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14669
bbb78d03
AS
14670 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14671 only for |x| >= 40.
14672 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14673
1c9f702a 146742012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14675
14676 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14677 Replace gettimeofday with __vdso_gettimeofday.
14678
7be16f82
RM
14679 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14680 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14681 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14682
14683 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14684 time with __vdso_time.
14685
ed58a00f
JM
146862012-03-05 Joseph Myers <joseph@codesourcery.com>
14687
14688 * manual/lang.texi (size_t): Note types to which size_t may be
14689 equivalent with the GNU C Library, but do not describe when
14690 differences between them are significant.
14691
30ee4ced
AJ
146922012-03-05 Andreas Jaeger <aj@suse.de>
14693
14694 * sysdeps/i386/fpu/libm-test-ulps: Update.
14695
b7cd39e8
JM
146962012-03-05 Joseph Myers <joseph@codesourcery.com>
14697
14698 [BZ #3976]
14699 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14700 (__ieee754_pow): Save and restore rounding mode and use
14701 round-to-nearest for main computations.
14702 * math/libm-test.inc (pow_test_tonearest): New function.
14703 (pow_test_towardzero): Likewise.
14704 (pow_test_downward): Likewise.
14705 (pow_test_upward): Likewise.
14706 (main): Call the new functions.
14707 * sysdeps/i386/fpu/libm-test-ulps: Update.
14708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14709
14710 [BZ #3976]
14711 * math/libm-test.inc (cosh_test_tonearest): New function.
14712 (cosh_test_towardzero): Likewise.
14713 (cosh_test_downward): Likewise.
14714 (cosh_test_upward): Likewise.
14715 (sinh_test_tonearest): Likewise.
14716 (sinh_test_towardzero): Likewise.
14717 (sinh_test_downward): Likewise.
14718 (sinh_test_upward): Likewise.
14719 (main): Call the new functions.
14720 * sysdeps/i386/fpu/libm-test-ulps: Update.
14721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14722
6c6a98c9
TV
147232012-03-05 Tom de Vries <tom@codesourcery.com>
14724
14725 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14726 default stack guard is set in last bytes.
14727 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14728
21bb2d2e 147292012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14730
21bb2d2e 14731 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14732
21bb2d2e
AJ
14733 [BZ #13656]
14734 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14735 possibly allocate from heap instead of stack.
14736 * stdio-common/bug-vfprintf-nargs.c: New file.
14737 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14738
c6922934
AS
147392012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14740
14741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14742
bc957d53
MP
147432012-03-03 Marek Polacek <polacek@redhat.com>
14744
14745 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14746 * math/math_private.h: Likewise.
14747 * stdlib/tst-strtod.c: Likewise.
14748 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14749 * sysdeps/x86_64/bits/atomic.h: Likewise.
14750
6358490d
DM
147512012-03-02 David S. Miller <davem@davemloft.net>
14752
14753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14757 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14758 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14759 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14760 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14761
01ae168d
RM
147622012-03-02 Roland McGrath <roland@hack.frob.com>
14763
d9a17c07
RM
14764 [BZ #13792]
14765 * manual/examples/README: New file, says the example source files
14766 can be used under GPL>=2.
14767 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14768 line containing just "*/".
14769 * manual/examples/add.c: Add copyright header (GPL>=2).
14770 * manual/examples/argp-ex1.c: Likewise.
14771 * manual/examples/argp-ex2.c: Likewise.
14772 * manual/examples/argp-ex3.c: Likewise.
14773 * manual/examples/argp-ex4.c: Likewise.
14774 * manual/examples/atexit.c: Likewise.
14775 * manual/examples/db.c: Likewise.
14776 * manual/examples/dir.c: Likewise.
14777 * manual/examples/dir2.c: Likewise.
14778 * manual/examples/execinfo.c: Likewise.
14779 * manual/examples/filecli.c: Likewise.
14780 * manual/examples/filesrv.c: Likewise.
14781 * manual/examples/fmtmsgexpl.c: Likewise.
14782 * manual/examples/genpass.c: Likewise.
14783 * manual/examples/inetcli.c: Likewise.
14784 * manual/examples/inetsrv.c: Likewise.
14785 * manual/examples/isockad.c: Likewise.
14786 * manual/examples/longopt.c: Likewise.
14787 * manual/examples/memopen.c: Likewise.
14788 * manual/examples/memstrm.c: Likewise.
14789 * manual/examples/mkfsock.c: Likewise.
14790 * manual/examples/mkisock.c: Likewise.
14791 * manual/examples/mygetpass.c: Likewise.
14792 * manual/examples/pipe.c: Likewise.
14793 * manual/examples/popen.c: Likewise.
14794 * manual/examples/rprintf.c: Likewise.
14795 * manual/examples/search.c: Likewise.
14796 * manual/examples/select.c: Likewise.
14797 * manual/examples/setjmp.c: Likewise.
14798 * manual/examples/sigh1.c: Likewise.
14799 * manual/examples/sigusr.c: Likewise.
14800 * manual/examples/stpcpy.c: Likewise.
14801 * manual/examples/strdupa.c: Likewise.
14802 * manual/examples/strftim.c: Likewise.
14803 * manual/examples/strncat.c: Likewise.
14804 * manual/examples/subopt.c: Likewise.
14805 * manual/examples/swapcontext.c: Likewise.
14806 * manual/examples/termios.c: Likewise.
14807 * manual/examples/testopt.c: Likewise.
14808 * manual/examples/testpass.c: Likewise.
14809 * manual/examples/timeval_subtract.c: Likewise.
14810
01ae168d
RM
14811 [BZ #13792]
14812 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14813 function to ...
14814 * manual/timeval_subtract.c.texi: ... here, new file.
14815
49efa33d
DM
148162012-03-02 David S. Miller <davem@davemloft.net>
14817
14818 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14819
28afd92d
JM
148202012-03-02 Joseph Myers <joseph@codesourcery.com>
14821
804360ed
JM
14822 [BZ #3976]
14823 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14824 (__sin): Save and restore rounding mode and use round-to-nearest
14825 for all computations.
14826 (__cos): Save and restore rounding mode and use round-to-nearest
14827 for all computations.
14828 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14829 <fenv.h>.
14830 (tan): Save and restore rounding mode and use round-to-nearest for
14831 all computations.
14832 * math/libm-test.inc (cos_test_tonearest): New function.
14833 (cos_test_towardzero): Likewise.
14834 (cos_test_downward): Likewise.
14835 (cos_test_upward): Likewise.
14836 (sin_test_tonearest): Likewise.
14837 (sin_test_towardzero): Likewise.
14838 (sin_test_downward): Likewise.
14839 (sin_test_upward): Likewise.
14840 (tan_test_tonearest): Likewise.
14841 (tan_test_towardzero): Likewise.
14842 (tan_test_downward): Likewise.
14843 (tan_test_upward): Likewise.
14844 (main): Call the new functions.
14845 * sysdeps/i386/fpu/libm-test-ulps: Update.
14846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14847
a6d06d7b
JM
14848 [BZ #10135]
14849 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14850 small n, then large n, before computing and testing k+n.
14851 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14852 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14853 Likewise.
14854 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14855 Likewise.
14856 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14857 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14858 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14859 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14860 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14861 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14862 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14863 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14864 * math/libm-test.inc (scalbn_test): Add more tests.
14865 (scalbln_test): Likewise.
14866
07e12bb3
JM
14867 * manual/filesys.texi (mode_t): Describe constraints on size and
14868 signedness, not exact equivalence to a particular type.
14869 (ino_t): Likewise.
14870 (ino64_t): Likewise.
14871 (dev_t): Likewise.
14872 (nlink_t): Likewise.
14873 (blkcnt_t): Likewise.
14874 (blkcnt64_t): Likewise.
14875 * manual/llio.texi (off_t): Likewise.
14876
28afd92d
JM
14877 [BZ #3976]
14878 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14879 (__ieee754_exp): Save and restore rounding mode and use
14880 round-to-nearest for all computations.
14881 * math/libm-test.inc (exp_test_tonearest): New function.
14882 (exp_test_towardzero): Likewise.
14883 (exp_test_downward): Likewise.
14884 (exp_test_upward): Likewise.
14885 (main): Call the new functions.
14886 * sysdeps/i386/fpu/libm-test-ulps: Update.
14887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14888
b1eeb65d
CD
148892012-03-01 Chris Demetriou <cgd@google.com>
14890
14891 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14892 have predictable order.
14893
53362a4b
DM
148942012-03-01 David S. Miller <davem@davemloft.net>
14895
3c969083
DM
14896 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14897
759707de
DM
14898 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14899 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14900 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14901 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14902
dfdb8ff2
DM
14903 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14904 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14905 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14907 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14908 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14909 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14910 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14911 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14912
ead89f96
DM
14913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14914
7f66bd07
DM
14915 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14916 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14917 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14918
53362a4b
DM
14919 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14920 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14921 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14922 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14923 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14924 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14925 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14926 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14927 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14928 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14929 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14930 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14931 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14932 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14933 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14934 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14935 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14936 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14937 * sysdeps/sparc/elf/configure: Regenerated.
14938
7b1902cb
JM
149392012-03-01 Joseph Myers <joseph@codesourcery.com>
14940
bec039bc
JM
14941 * configure.in (AS, LD): Require binutils 2.20 or later.
14942 * configure: Regenerated.
14943 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14944 as required minimum version.
14945 * INSTALL: Regenerated.
14946
7b1902cb
JM
14947 [BZ #2541]
14948 [BZ #4108]
14949 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14950 before squaring exponent.
14951 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14952 bottom long double and 27 bits of top long double before squaring
14953 exponent.
14954 * math/libm-test.inc (erfc_test): Add more tests.
14955 * sysdeps/i386/fpu/libm-test-ulps: Update.
14956 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14958
f775c276
KT
149592012-03-01 Kai Tietz <ktietz@redhat.com>
14960
14961 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14962 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14963 containing bit-fields.
14964 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14965 * soft-fp/single.h (_FP_UNION_S): Likewise.
14966 * soft-fp/double.h (_FP_UNION_D): Likewise.
14967
5b8a4d4a
JM
149682012-02-29 Joseph Myers <joseph@codesourcery.com>
14969
0bab47b6
JM
14970 [BZ #13786]
14971 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14972 not include ../strcmp.S.
14973 [USE_AS_STRNCASECMP_L]: Likewise.
14974 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14975 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14976 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14977 (__strncasecmp_l_ia32): Define as alias to
14978 __strncasecmp_l_nonascii.
14979
0fcad3e2
JM
14980 [BZ #5794]
14981 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14982 * sysdeps/i386/fpu/libm-test-ulps: Update.
14983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14984
5b8a4d4a
JM
14985 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14987
8fdceb2e
JL
149882012-02-29 Jeff Law <law@redhat.com>
14989
14990 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14991 out of bounds read.
14992
1f393a11
MP
149932012-02-29 Marek Polacek <polacek@redhat.com>
14994
14995 [BZ #13706]
14996 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14997 * elf/Makefile: Add rules to run tst-unused-dep.out.
14998
8847f037
DM
149992012-02-28 David S. Miller <davem@davemloft.net>
15000
15001 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15002 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15003 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15004 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15005 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15006 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15007
169d7f11
JM
150082012-02-29 Joseph Myers <joseph@codesourcery.com>
15009
15010 * math/libm-test.inc (llround_test): Move one test from
15011 lround_test. Use TEST_f_L in moved test.
15012 (lround_test): Move misplaced test to llround_test. Add testcase
15013 from bug 2561.
15014
39adf059
UD
150152012-02-28 Ulrich Drepper <drepper@gmail.com>
15016
15017 * sysdeps/x86_64/fpu/e_expf.S: New file.
15018 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15019
71b5d1c5
SB
150202012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15021
15022 [BZ #13637]
15023 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15024 of remain_len that may cause incomplete multi-byte character and
15025 false match.
15026 * posix/bug-regex33.c: New file.
15027 * posix/Makefile (tests): Add bug-regex33.
15028
1f77f049
JM
150292012-02-28 Joseph Myers <joseph@codesourcery.com>
15030
15031 * manual/macros.texi: New file.
15032 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15033 * manual/libc.texinfo: Include macros.texi.
15034 * manual/creatute.texi: Likewise.
15035 * manual/install.texi: Likewise.
15036 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15037 @glibcadj{} in references to the GNU C Library.
15038 * manual/charset.texi: Likewise.
15039 * manual/conf.texi: Likewise.
15040 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15041 when not using those macros.
15042 * manual/creature.texi: Likewise.
15043 * manual/crypt.texi: Likewise.
15044 * manual/errno.texi: Likewise.
15045 * manual/filesys.texi: Likewise.
15046 * manual/header.texi: Likewise.
15047 * manual/install.texi: Likewise.
15048 * manual/intro.texi: Likewise.
15049 * manual/io.texi: Likewise.
15050 * manual/job.texi: Likewise.
15051 * manual/lang.texi: Likewise.
15052 * manual/libc.texiinfo: Likewise.
15053 * manual/llio.texi: Likewise.
15054 * manual/locale.texi: Likewise.
15055 * manual/maint.texi: Likewise.
15056 * manual/math.texi: Likewise.
15057 * manual/memory.texi: Likewise.
15058 * manual/message.texi: Likewise.
15059 * manual/nss.texi: Likewise.
15060 * manual/pattern.texi: Likewise.
15061 * manual/process.texi: Likewise.
15062 * manual/resource.texi: Likewise.
15063 * manual/search.texi: Likewise.
15064 * manual/setjmp.texi: Likewise.
15065 * manual/signal.texi: Likewise.
15066 * manual/socket.texi: Likewise.
15067 * manual/startup.texi: Likewise.
15068 * manual/stdio.texi: Likewise.
15069 * manual/string.texi: Likewise.
15070 * manual/sysinfo.texi: Likewise.
15071 * manual/syslog.texi: Likewise.
15072 * manual/terminal.texi: Likewise.
15073 * manual/time.texi: Likewise.
15074 * manual/users.texi: Likewise.
15075 * INSTALL: Regenerated.
15076 * NOTES: Regenerated.
d40c5d54 15077 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 15078
450bf206
AS
150792012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15080
15081 * include/dirent.h: Include <dirstream.h> before
15082 <dirent/dirent.h>.
15083
741a235b
DM
150842012-02-28 David S. Miller <davem@davemloft.net>
15085
15086 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15087 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15088 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15089 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15090
d6b5aa58
DM
150912012-02-27 David S. Miller <davem@davemloft.net>
15092
1aff59a3
DM
15093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15095 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15096 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15097
d6b5aa58
DM
15098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15099 frame pointer instead of stack pointer relative arg slot.
15100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15101 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15102 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15103
433f48bf
CD
151042012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15105
15106 [BZ #3992]
15107 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15108
d674b76d
DM
151092012-02-27 David S. Miller <davem@davemloft.net>
15110
15111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15115 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15116 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15117 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15118 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15119
0e7727f7
JM
151202012-02-27 Joseph Myers <joseph@codesourcery.com>
15121
15122 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15123 later. Allow versions 5-9.
43be4ca2 15124 * configure: Regenerated.
0e7727f7
JM
15125 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15126 required minimum version and 4.6 as recommended version. Do not
15127 mention bugs in GCC 2.7 and 2.8.
43be4ca2 15128 * INSTALL: Regenerated.
0e7727f7 15129
a78bc654
DM
151302012-02-27 David S. Miller <davem@davemloft.net>
15131
428d5830
DM
15132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15136 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15137 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15138 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15139 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15140
a78bc654
DM
15141 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15142 manipulate bits before adding and subtracting TWO112[sx].
15143 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15144
4579f81c
RM
151452012-02-27 Roland McGrath <roland@hack.frob.com>
15146
36c8acb4
RM
15147 [BZ #13775]
15148 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15149 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15150 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15151 being in POSIX, because they are in 1003.1-2008.
15152
84ad622b
RM
15153 * rt/tst-aio.c: Include <fcntl.h>.
15154 * rt/tst-aio7.c: Likewise.
15155 * rt/tst-aio64.c: Likewise.
15156
4579f81c
RM
15157 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15158
abd923db
JM
151592012-02-27 Joseph Myers <joseph@codesourcery.com>
15160
15161 * manual/install.texi (--with-headers): Describe headers as
15162 interface headers, not private headers.
15163 (Specific advice for GNU/Linux systems): Describe use of headers
15164 from "make headers_install", not private headers from older
15165 kernels.
43be4ca2 15166 * INSTALL: Regenerated.
abd923db
JM
15167 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15168 Change to 2.6.19.
15169 * sysdeps/unix/sysv/linux/configure: Regenerated.
15170
6664049b
JM
15171 * manual/llio.texi (fclean): Remove documentation.
15172
bb8b6697
JM
15173 * manual/Makefile (libc-texi-generated): New variable. Include
15174 version.texi.
15175 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15176 $(libc-texi-generated), not duplicated list of files.
15177 (version.texi, stamp-version): New rules.
15178 (realclean): Remove $(libc-texi-generated), not individual files
15179 from that list. Do not remove dir-add.texinfo.
15180 * manual/libc.texinfo: Comment out uses of edition numbers and
15181 references to printed manual. Remove last-updated dates.
15182 (EDITION): Comment out.
15183 (ISBN): Likewise.
15184 (VERSION, UPDATED): Remove.
15185 (version.texi): Include.
15186
12e5c3b9
AS
151872012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15188
15189 * sysdeps/posix/spawni.c: Include <signal.h>.
15190 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15191 * sysdeps/pthread/aio_fsync.c: Likewise.
15192
4efeffc1 151932012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 15194
ba63ba08
UD
15195 * conform/Makefile (tests): Run only when not cross-compiling and
15196 when fast-check is not defined.
15197
d94a4670
UD
15198 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15199 * conform/data/limits.h-data: Fixes for POSIX2008.
15200 * conform/run-conformtest.sh: Run all tests.
15201 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15202 headers.
15203 * include/bits/dlfcn.h: Likewise.
15204 * include/langinfo.h: Likewise.
15205 * include/monetary.h: Likewise.
15206 * include/sys/poll.h: Likewise.
15207
15208 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15209 for __USE_GNU.
15210 * posix/spawn.h: Define __need_sigset_t.
15211 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15212 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15213 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15214 to get sigevent_t only.
15215 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15216 only for __USE_GNU.
15217 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15218 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15219 process_vm_writev only for __USE_GNU.
15220 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
15221
15222 * conform/Makefile: For now ignore errors from run-conformtest.
15223 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15224 POSIX to avoid namespace pollution. Don't prepend headers.
15225 * conform/data/aio.h-data: Fixes for POSIX testing.
15226 * conform/data/fcntl.h-data: Likewise.
15227 * conform/data/glob.h-data: Likewise.
15228 * conform/data/grp.h-data: Likewise.
15229 * conform/data/pthread.h-data: Likewise.
15230 * conform/data/pwd.h-data: Likewise.
15231 * conform/data/signal.h-data: Likewise.
15232 * conform/data/spawn.h-data: Likewise.
15233 * conform/data/stdio.h-data: Likewise.
15234 * conform/data/stdlib.h-data: Likewise.
15235 * conform/data/stropts.h-data: Likewise.
15236 * conform/data/sys/mman.h-data: Likewise.
15237 * conform/data/sys/stat.h-data: Likewise.
15238 * conform/data/sys/types.h-data: Likewise.
15239 * conform/data/sys/wait.h-data: Likewise.
15240 * conform/data/time.h-data: Likewise.
15241 * conform/data/unistd.h-data: Likewise.
15242 * conform/data/utime.h-data: Likewise.
15243
15244 * io/sys/stat.h: fchmod was always in POSIX.
15245 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15246 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15247 * rt/aio.h: Define __need_timespec before including <time.h>.
15248 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15249 struct. Add forward declaration of pthread_attr_t and use it in
15250 sigevent.
15251 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15252 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15253 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15254 always remove CLK_TCK definition.
15255
c20105c3
AS
152562012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15257
15258 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15259
7a270350
UD
152602012-02-25 Ulrich Drepper <drepper@gmail.com>
15261
31341567
UD
15262 * conform/run-conformtest.sh: New file.
15263 * conform/Makefile: Run run-conformtest for tests.
15264 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15265 support.
15266
15267 * conform/data/uchar.h-data: New file.
15268 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15269 * conform/data/arpa/inet.h-data: Likewise.
15270 * conform/data/assert.h-data: Likewise.
15271 * conform/data/complex.h-data: Likewise.
15272 * conform/data/cpio.h-data: Likewise.
15273 * conform/data/ctype.h-data: Likewise.
15274 * conform/data/dirent.h-data: Likewise.
15275 * conform/data/dlfcn.h-data: Likewise.
15276 * conform/data/errno.h-data: Likewise.
15277 * conform/data/fcntl.h-data: Likewise.
15278 * conform/data/float.h-data: Likewise.
15279 * conform/data/fmtmsg.h-data: Likewise.
15280 * conform/data/fnmatch.h-data: Likewise.
15281 * conform/data/ftw.h-data: Likewise.
15282 * conform/data/glob.h-data: Likewise.
15283 * conform/data/grp.h-data: Likewise.
15284 * conform/data/iconv.h-data: Likewise.
15285 * conform/data/inttypes.h-data: Likewise.
15286 * conform/data/langinfo.h-data: Likewise.
15287 * conform/data/libgen.h-data: Likewise.
15288 * conform/data/limits.h-data: Likewise.
15289 * conform/data/locale.h-data: Likewise.
15290 * conform/data/math.h-data: Likewise.
15291 * conform/data/monetary.h-data: Likewise.
15292 * conform/data/mqueue.h-data: Likewise.
15293 * conform/data/ndbm.h-data: Likewise.
15294 * conform/data/net/if.h-data: Likewise.
15295 * conform/data/netdb.h-data: Likewise.
15296 * conform/data/netinet/in.h-data: Likewise.
15297 * conform/data/nl_types.h-data: Likewise.
15298 * conform/data/poll.h-data: Likewise.
15299 * conform/data/pthread.h-data: Likewise.
15300 * conform/data/pwd.h-data: Likewise.
15301 * conform/data/regex.h-data: Likewise.
15302 * conform/data/sched.h-data: Likewise.
15303 * conform/data/search.h-data: Likewise.
15304 * conform/data/semaphore.h-data: Likewise.
15305 * conform/data/setjmp.h-data: Likewise.
15306 * conform/data/signal.h-data: Likewise.
15307 * conform/data/spawn.h-data: Likewise.
15308 * conform/data/stdarg.h-data: Likewise.
15309 * conform/data/stdio.h-data: Likewise.
15310 * conform/data/stdlib.h-data: Likewise.
15311 * conform/data/string.h-data: Likewise.
15312 * conform/data/strings.h-data: Likewise.
15313 * conform/data/stropts.h-data: Likewise.
15314 * conform/data/sys/ipc.h-data: Likewise.
15315 * conform/data/sys/mman.h-data: Likewise.
15316 * conform/data/sys/msg.h-data: Likewise.
15317 * conform/data/sys/resource.h-data: Likewise.
15318 * conform/data/sys/select.h-data: Likewise.
15319 * conform/data/sys/sem.h-data: Likewise.
15320 * conform/data/sys/shm.h-data: Likewise.
15321 * conform/data/sys/socket.h-data: Likewise.
15322 * conform/data/sys/stat.h-data: Likewise.
15323 * conform/data/sys/statvfs.h-data: Likewise.
15324 * conform/data/sys/time.h-data: Likewise.
15325 * conform/data/sys/timeb.h-data: Likewise.
15326 * conform/data/sys/times.h-data: Likewise.
15327 * conform/data/sys/types.h-data: Likewise.
15328 * conform/data/sys/uio.h-data: Likewise.
15329 * conform/data/sys/un.h-data: Likewise.
15330 * conform/data/sys/utsname.h-data: Likewise.
15331 * conform/data/sys/wait.h-data: Likewise.
15332 * conform/data/syslog.h-data: Likewise.
15333 * conform/data/tar.h-data: Likewise.
15334 * conform/data/termios.h-data: Likewise.
15335 * conform/data/utime.h-data: Likewise.
15336 * conform/data/utmpx.h-data: Likewise.
15337 * conform/data/varargs.h-data: Likewise.
15338 * conform/data/wchar.h-data: Likewise.
15339 * conform/data/wctype.h-data: Likewise.
15340 * conform/data/wordexp.h-data: Likewise.
15341
15342 * include/stropts.h: New file.
15343 * include/uchar.h: New file.
15344 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15345 * include/assert.h: Likewise.
15346 * include/ctype.h: Likewise.
15347 * include/dirent.h: Likewise.
15348 * include/dlfcn.h: Likewise.
15349 * include/fcntl.h: Likewise.
15350 * include/fnmatch.h: Likewise.
15351 * include/glob.h: Likewise.
15352 * include/grp.h: Likewise.
15353 * include/libio.h: Likewise.
15354 * include/locale.h: Likewise.
15355 * include/math.h: Likewise.
15356 * include/net/if.h: Likewise.
15357 * include/netdb.h: Likewise.
15358 * include/netinet/in.h: Likewise.
15359 * include/pthread.h: Likewise.
15360 * include/pwd.h: Likewise.
15361 * include/regex.h: Likewise.
15362 * include/sched.h: Likewise.
15363 * include/search.h: Likewise.
15364 * include/setjmp.h: Likewise.
15365 * include/signal.h: Likewise.
15366 * include/stdio.h: Likewise.
15367 * include/stdlib.h: Likewise.
15368 * include/string.h: Likewise.
15369 * include/sys/cdefs.h: Likewise.
15370 * include/sys/mman.h: Likewise.
15371 * include/sys/msg.h: Likewise.
15372 * include/sys/resource.h: Likewise.
15373 * include/sys/select.h: Likewise.
15374 * include/sys/socket.h: Likewise.
15375 * include/sys/stat.h: Likewise.
15376 * include/sys/statvfs.h: Likewise.
15377 * include/sys/time.h: Likewise.
15378 * include/sys/times.h: Likewise.
15379 * include/sys/uio.h: Likewise.
15380 * include/sys/utsname.h: Likewise.
15381 * include/sys/wait.h: Likewise.
15382 * include/termios.h: Likewise.
15383 * include/time.h: Likewise.
15384 * include/ulimit.h: Likewise.
15385 * include/unistd.h: Likewise.
15386 * include/utime.h: Likewise.
15387 * include/wchar.h: Likewise.
15388 * include/wctype.h: Likewise.
15389 * include/wordexp.h: Likewise.
15390
15391 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15392
7a270350
UD
15393 * time/time.h: TIME_UTC must be a macro.
15394 Make timespec_get available for ISO C11 only as well.
15395
7724defc
UD
153962012-02-24 Ulrich Drepper <drepper@gmail.com>
15397
15398 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15399 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15400
6b1d1d46
JM
154012012-02-24 Joseph Myers <joseph@codesourcery.com>
15402
15403 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 15404
0f8bbd69
JM
154052012-02-24 Joseph Myers <joseph@codesourcery.com>
15406
15407 * manual/texinfo.tex: Update to version 2012-01-19.16.
15408
66ab80bc
JM
154092012-02-24 Joseph Myers <joseph@codesourcery.com>
15410
15411 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15412
74981cc5
RM
154132012-02-24 Roland McGrath <roland@hack.frob.com>
15414
ee968201
RM
15415 [BZ #13738]
15416 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15417 * manual/fdl-1.3.texi: New file.
15418 * manual/fdl-1.1.texi: File removed.
15419
74981cc5
RM
15420 [BZ #13738]
15421 * manual/libc.texinfo (FDL_VERSION): New @set.
15422 Use it for mention of FDL in cover text.
15423 (Documentation License): Use it in @include file name.
15424
7bb764bc
JM
154252012-02-22 Joseph Myers <joseph@codesourcery.com>
15426 Roland McGrath <roland@hack.frob.com>
15427
15428 [BZ #5461]
15429 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15430 not LONG_LONG_MAX and LONG_LONG_MIN.
15431 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15432 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15433 name.
15434 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15435
6cbeae47
JM
154362012-02-22 Joseph Myers <joseph@codesourcery.com>
15437
15438 [BZ #2547]
15439 [BZ #11365]
15440 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15441 manipulate bits before adding and subtracting TWO23[sx].
15442 * math/libm-test.inc (nearbyint_test): Add more tests.
15443
fe45ce09
JM
154442012-02-22 Joseph Myers <joseph@codesourcery.com>
15445
15446 [BZ #2548]
15447 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15448 bits before adding and subtracting TWO23[sx].
15449 * math/libm-test.inc (rint_test): Add more tests.
15450 (rint_test_tonearest): Likewise.
15451 (rint_test_towardzero): Likewise.
15452 (rint_test_downward): Likewise.
15453 (rint_test_upward: Likewise.
15454
ff3b3d82
JM
154552012-02-22 Joseph Myers <joseph@codesourcery.com>
15456
15457 [BZ #10110]
15458 * include/stdc-predef.h: New file. Extracted from features.h.
15459 * include/features.h: Include stdc-predef.h.
15460 * Makefile (headers): Add stdc-predef.h.
15461 * CONFORMANCE (Compiler limitations): Update.
15462
ef0aab35
JM
154632012-02-22 Joseph Myers <joseph@codesourcery.com>
15464
15465 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15466
58639409
DM
154672012-02-21 David S. Miller <davem@davemloft.net>
15468
15469 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15470 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15471
c0e70b25
DM
154722012-02-20 David S. Miller <davem@davemloft.net>
15473
15474 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15475 using a normal save/restore sequence, rather than allocating a
15476 dummy stack frame just to store a frame pointer and restore.
15477 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15478
fb06851d
JM
154792012-02-21 Joseph Myers <joseph@codesourcery.com>
15480
15481 * manual/install.texi: Fix stray word in line-wrapped comment.
15482
7a8b71c3
DM
154832012-02-20 David S. Miller <davem@davemloft.net>
15484
d510c123
DM
15485 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15486 both binutils and gcc support GOTDATA.
15487
0722d7c2
DM
15488 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15489 "rd %pc" in the PIC register setup sequences.
15490
3d2b3019
DM
15491 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15492 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15493 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15494 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15495 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15496 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15497 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15498 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15499 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15500 (SYSCALL_ERROR_HANDLER): Likewise.
15501 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15502 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15503 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15504 (SYSCALL_ERROR_HANDLER): Likewise.
15505
c80098a9
DM
15506 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15507 (HAVE_GCC_GOTDATA): New.
15508 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15509 relocation support in both binutils and gcc.
15510 * sysdeps/sparc/elf/configure: Regenerate.
15511
3a2545a0
DM
15512 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15513 * sysdeps/sparc/sparc32/elf/configure: Delete.
15514 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15515 * sysdeps/sparc/sparc64/elf/configure: Delete.
15516 * sysdeps/sparc/elf/configure.in: New file.
15517 * sysdeps/sparc/elf/configure: Generate.
15518
7a8b71c3
DM
15519 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15520 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15521 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15522 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15523 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15524
f1e86fca
JM
155252012-02-21 Joseph Myers <joseph@codesourcery.com>
15526
15527 * manual/install.texi: Do not mention specific glibc version
15528 numbers.
15529 * manual/libc.texinfo (VERSION, UPDATED): Update.
15530 (@copying): Use @copyright{} and range of years.
15531
0e7dfaef
JM
155322012-02-21 Joseph Myers <joseph@codesourcery.com>
15533
15534 [BZ #13695]
15535 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15536 [crti.S not in sysdirs] (generated): Do not append.
15537 [crti.S not in sysdirs] (omit-deps): Likewise.
15538 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15539 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15540 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15541 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15542 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15543 Likewise.
15544 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15545 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15546 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15547 * csu/defs.awk: Remove file.
15548 * sysdeps/generic/initfini.c: Likewise.
15549 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15550 variable.
15551 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15552 Likewise.
15553
599af3ca
JM
155542012-02-20 Joseph Myers <joseph@codesourcery.com>
15555
15556 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15557 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15558 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15559 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15560 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15561 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15562 <bits/epoll.h>.
15563 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15564 (__EPOLL_PACKED): Define to empty if not defined by
15565 <bits/epoll.h>.
15566 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15567 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15568 bits/epoll.h.
15569
0e499750
JM
155702012-02-20 Joseph Myers <joseph@codesourcery.com>
15571
15572 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15573 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15574 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15575 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15576 <bits/timerfd.h>.
15577 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15578 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15579 bits/timerfd.h.
15580
5ad91f6e
JM
155812012-02-20 Joseph Myers <joseph@codesourcery.com>
15582
15583 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15584 in C locale.
15585 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15586 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15587 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15589
06b99b02
AJ
155902012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15591
15592 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15593 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15594
7638c0fd
AS
155952012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15596
15597 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15598 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15599 defined.
15600 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15601 Likewise.
15602 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15603 entry for 2.16.
15604
92221550
AJ
156052012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15606
15607 * math/w_acos.c: Use non-signaling floating-point comparisons.
15608 * math/w_acosf.c: Likewise.
15609 * math/w_acosh.c: Likewise.
15610 * math/w_acoshf.c: Likewise.
15611 * math/w_acoshl.c: Likewise.
15612 * math/w_acosl.c: Likewise.
15613 * math/w_asin.c: Likewise.
15614 * math/w_asinf.c: Likewise.
15615 * math/w_asinl.c: Likewise.
15616 * math/w_atanh.c: Likewise.
15617 * math/w_atanhf.c: Likewise.
15618 * math/w_atanhl.c: Likewise.
15619 * math/w_exp2.c: Likewise.
15620 * math/w_exp2f.c: Likewise.
15621 * math/w_exp2l.c: Likewise.
15622 * math/w_j0.c: Likewise.
15623 * math/w_j0f.c: Likewise.
15624 * math/w_j0l.c: Likewise.
15625 * math/w_j1.c: Likewise.
15626 * math/w_j1f.c: Likewise.
15627 * math/w_j1l.c: Likewise.
15628 * math/w_jn.c: Likewise.
15629 * math/w_jnf.c: Likewise.
15630 * math/w_log.c: Likewise.
15631 * math/w_log10.c: Likewise.
15632 * math/w_log10f.c: Likewise.
15633 * math/w_log10l.c: Likewise.
15634 * math/w_log2.c: Likewise.
15635 * math/w_log2f.c: Likewise.
15636 * math/w_log2l.c: Likewise.
15637 * math/w_logf.c: Likewise.
15638 * math/w_logl.c: Likewise.
15639 * math/w_sqrt.c: Likewise.
15640 * math/w_sqrtf.c: Likewise.
15641 * math/w_sqrtl.c: Likewise.
15642 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15643 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15644 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15645 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15646 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15647
ebaf36eb
JM
156482012-02-19 Joseph Myers <joseph@codesourcery.com>
15649
15650 [BZ #9739]
15651 * manual/string.texi (strnlen): Use correct parameter name in
15652 equivalent expression.
15653
71c254a6
JM
156542012-02-19 Joseph Myers <joseph@codesourcery.com>
15655
15656 [BZ #11174]
15657 * manual/users.texi (seteuid): Consistently use neweuid for
15658 argument name.
15659
16d2c631
JM
156602012-02-19 Joseph Myers <joseph@codesourcery.com>
15661
15662 [BZ #13704]
15663 * manual/nss.texi (Services in the NSS configuration): Correct
15664 list of services in example configuration file.
15665
cd837b09
NB
156662012-02-19 Nick Bowler <nbowler@draconx.ca>
15667
15668 [BZ #11322]
15669 * manual/arith.texi: Remove statements about negative zero
15670 behaving identically to zero.
15671
02c4bbad
JM
156722012-02-18 Joseph Myers <joseph@codesourcery.com>
15673
15674 [BZ #5993]
15675 * manual/install.texi: Do not document upgrading from libc5.
15676
366842e7
JM
156772012-02-18 Joseph Myers <joseph@codesourcery.com>
15678
15679 [BZ #4596]
15680 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15681
dd54084d
DM
156822012-02-18 David S. Miller <davem@davemloft.net>
15683
15684 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15685 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15686 %o7 across the call.
15687 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15688 instead.
15689 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15690 SETUP_PIC_REG_LEAF.
15691 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15692 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15693 * sysdeps/sparc/crtn.S: Likewise.
15694
2bcc53a3
UD
156952012-02-17 Ulrich Drepper <drepper@gmail.com>
15696
15697 * aout/Makefile: Remove.
15698
09c093b5
RK
156992012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15700
15701 [BZ #13058]
15702 * manual/examples/argp-ex1.c (main): Format definition in GNU
15703 style.
15704 * manual/examples/argp-ex2.c (main): Likewise.
15705 * manual/examples/argp-ex3.c (main): Likewise.
15706 * manual/examples/argp-ex4.c (main): Likewise.
15707 * manual/examples/longopt.c (main): Use new-style prototype
15708 definition.
15709 * manual/examples/strncat.c (main): Specify return type and use
15710 (void) for arguments.
15711 * manual/examples/subopt.c (main): Use char **argv argument.
15712
2ee633a2
JM
157132012-02-17 Joseph Myers <joseph@codesourcery.com>
15714
15715 [BZ #5077]
15716 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15717 rounding modes.
15718
0520adde
FB
157192012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15720
15721 [BZ #6907]
15722 * manual/string.texi (strchr): Change when strchrnul is
15723 recommended.
15724
3f4081cd
DGM
157252012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15726
15727 [BZ #174]
15728 * manual/locale.texi (setlocale): Document LOCPATH.
15729
d1b10e78
JM
157302012-02-17 Joseph Myers <joseph@codesourcery.com>
15731
15732 [BZ #10210]
15733 * manual/process.texi (execle): Move @dots{} before last argument.
15734
79c6869c
PB
157352012-02-17 Paul Bolle <pebolle@tiscali.nl>
15736
15737 [BZ #12047]
15738 * manual/charset.texi (Generic Charset Conversion): Fix typo
15739 (LC_TYPE -> LC_CTYPE).
15740
cc6e48bc
NB
157412012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15742
15743 [BZ #5805]
15744 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15745 (scalbnf): Likewise.
15746 (scalbnl): Likewise.
15747 (scalbln): Likewise.
15748 (scalblnf): Likewise.
15749 (scalblnl): Likewise.
15750 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15751 (vwarnx): Likewise.
15752 (verr): Likewise.
15753 (verrx): Likewise.
15754 * manual/filesys.texi (telldir): Use braces around return type.
15755 * manual/llio.texi (mmap): Add space after comma.
15756 (mmap64): Likewise.
15757 * manual/math.texi (jn): Use @var{} on parameter names.
15758 (jnf): Likewise.
15759 (jnl): Likewise.
15760 (yn): Likewise.
15761 (ynf): Likewise.
15762 (ynl): Likewise.
15763 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15764 line.
15765 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15766 "...".
15767 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15768 (sched_get_priority_max): Likewise.
15769 * manual/signal.texi (sigvec): Add space after comma.
15770 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15771 names.
15772 (if_indextoname): Likewise.
15773 (if_freenameindex): Likewise.
15774 (sendto): Use ',' instead of '.' in prototype.
15775 * manual/startup.texi (syscall): Use @dots{} instead of literal
15776 "...".
15777 * manual/stdio.texi (__fpending): Separate initial words of
15778 paragraph from @deftypefun line.
15779 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15780 "...".
15781 (vsyslog): Use @var{} on parameter names.
15782 * manual/terminal.texi (stty): Use @var{} on parameter names.
15783 * manual/users.texi (getutmp): Use @var{} on parameter names.
15784 (getutmpx): Likewise.
15785
5b23062f
JM
157862012-02-17 Joseph Myers <joseph@codesourcery.com>
15787
15788 [BZ #6884]
15789 * manual/stdio.texi (fopen): Fix typos in description of
15790 ",ccs=STRING".
15791
8dee4833
AJ
157922012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15793
15794 [BZ #4026]
15795 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15796 get clock_id definition.
15797
9078ce93
TS
157982012-02-17 Thomas Schwinge <thomas@schwinge.name>
15799
15800 [BZ #4822]
15801 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15802 (madvise): Cast every argument to void on its own.
15803
3835c55f
JM
158042012-02-17 Joseph Myers <joseph@codesourcery.com>
15805
15806 [BZ #9902]
15807 * manual/startup.texi (Exit Status): Fix typo.
15808
35c47e37
JM
158092012-02-17 Joseph Myers <joseph@codesourcery.com>
15810
15811 [BZ #10140]
15812 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15813 * manual/examples/argp-ex2.c: Likewise.
15814 * manual/examples/argp-ex3.c: Likewise.
15815
e3b69ca7
RH
158162012-02-16 Richard Henderson <rth@redhat.com>
15817
15818 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15819 * sysdeps/s390/s390-32/initfini.c: Remove.
15820 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15821 * sysdeps/s390/s390-64/initfini.c: Remove.
15822
df83af67
KK
158232012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15824
15825 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15826 compiler output for sysdeps/generic/initfini.c.
15827 * sysdeps/sh/elf/initfini.c: Remove file.
15828
f63f3380
DM
158292012-02-16 David S. Miller <davem@davemloft.net>
15830
fb59b3a4
DM
15831 [BZ #11494]
15832 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15833
f63f3380
DM
15834 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15835 * sysdeps/sparc/crti.S: New file.
15836 * sysdeps/sparc/crtn.S: New file.
15837 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15838 * sysdeps/sparc/sparc64/Makefile: Likewise.
15839
df6a4a4a
MF
158402012-02-15 Mike Frysinger <vapier@gentoo.org>
15841
6dd8f3dc 15842 [BZ #3335]
df6a4a4a
MF
15843 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15844
1cac7236
RM
158452012-02-15 Roland McGrath <roland@hack.frob.com>
15846
d2c736f8
RM
15847 [BZ #4822]
15848 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15849
1cac7236
RM
15850 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15851 (write, read, close): Likewise.
15852 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15853
8e475601
JM
158542012-02-15 Joseph Myers <joseph@codesourcery.com>
15855
15856 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15857 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15858 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15859 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15860 <bits/signalfd.h>.
15861 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15862 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15863 bits/signalfd.h.
15864
ed656b40
MP
158652012-02-14 Marek Polacek <polacek@redhat.com>
15866
15867 * sysdeps/x86_64/crti.S: New file.
15868 * sysdeps/x86_64/crtn.S: New file.
15869 * sysdeps/x86_64/elf/initfini.c: Remove file.
15870
2a979d3a
JM
158712012-02-13 Joseph Myers <joseph@codesourcery.com>
15872
15873 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15874 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15875 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15876 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15877 <bits/inotify.h>.
15878 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15879 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15880 bits/inotify.h.
15881
2a418ac3
JM
158822012-02-13 Joseph Myers <joseph@codesourcery.com>
15883
15884 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15885 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15886 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15887 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15888 <bits/eventfd.h>.
15889 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15891 bits/eventfd.h.
15892
fb779be7
TS
158932012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15894
e19e83c5
RM
15895 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15896 __feraiseexcept instead of feraiseexcept.
7c35ffed 15897
fb779be7
TS
15898 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15899 nanosleep invocations.
15900 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15901 strings, and add error checking for a nanosleep invocations.
15902
59ba27a6
PE
159032012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15904
15905 Replace FSF snail mail address with URLs, as per GNU coding standards.
15906 Most of the snail mail addresses were wrong anyway, and omitting
15907 them makes the source code easier to maintain. Almost all of the
15908 changes are to license notices and to locale LC_IDENTIFICATION
15909 addresses, except for this one:
15910 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15911 not its snail mail address.
15912
57b957eb
RH
159132012-02-09 Richard Henderson <rth@twiddle.net>
15914
af850b1c
RH
15915 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15916 of kernel-features.h.
15917
57b957eb
RH
15918 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15919
6b73181a
MP
159202012-02-08 Marek Polacek <polacek@redhat.com>
15921
15922 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15923 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15924 * sysdeps/gnu/_G_config.h: Likewise.
15925 * sysdeps/generic/_G_config.h: Likewise.
15926
26ecc33a
AS
159272012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15928
6c6dbc63
AS
15929 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15930 tests.
15931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15932
e216c012
AS
15933 * sysdeps/powerpc/powerpc32/crti.S: New file.
15934 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15935 * sysdeps/powerpc/powerpc64/crti.S: New file.
15936 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15937
26ecc33a
AS
15938 * Makeconfig (have-initfini): Don't set.
15939 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15940 * configure.in (nopic_initfini): Don't substitute.
15941 * config.h.in (HAVE_INITFINI): Don't #undef.
15942 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15943 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15944
3add8e13
JM
159452012-02-08 Joseph Myers <joseph@codesourcery.com>
15946
15947 Support crti.S and crtn.S provided directly by architectures.
15948 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15949 [crti.S in sysdirs] (omit-deps): Likewise.
15950 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15951 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15952 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15953 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15954 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15955 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15956 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15957 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15958 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15959 compiler output for sysdeps/generic/initfini.c.
15960 * sysdeps/i386/elf/Makefile: Remove file.
15961 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15962
a22f12b4
MP
159632012-02-07 Marek Polacek <polacek@redhat.com>
15964
15965 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15966 * sysdeps/gnu/_G_config.h: Likewise.
15967 * sysdeps/mach/hurd/_G_config.h: Likewise.
15968
148cf100
MP
159692012-02-07 Marek Polacek <polacek@redhat.com>
15970
15971 * math/Makefile (tests): Add tst-CMPLX2.
15972 * math/tst-CMPLX2.c: New file.
15973
cfdc0dd7
AS
159742012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15975
84ba42c4
AS
15976 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15977
cfdc0dd7
AS
15978 * math/libm-test.inc (jn_test): Add missing L suffix.
15979
622c86f4
MP
159802012-02-06 Marek Polacek <polacek@redhat.com>
15981
15982 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15983 * sysdeps/i386/fpu/e_powf.S: Likewise.
15984 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15985 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15986 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15987 * sysdeps/i386/fpu/e_pow.S: Likewise.
15988 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15989 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15990 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15991 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15992 * sysdeps/i386/fpu/e_log2.S: Likewise.
15993 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15994 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15995 * sysdeps/i386/fpu/e_powl.S: Likewise.
15996 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15997 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15998 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15999 * sysdeps/i386/fpu/e_logl.S: Likewise.
16000 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16001 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16002 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16003 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16004 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16005 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16006 * sysdeps/i386/fpu/e_log.S: Likewise.
16007 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16008 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16009 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16010 * sysdeps/i386/fpu/e_logf.S: Likewise.
16011 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16012 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16013 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16014 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16015 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16016 * sysdeps/i386/fpu/e_log10.S: Likewise.
16017 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16018 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16019 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16020 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16021 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16022 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16023 * sysdeps/i386/asm-syntax.h: Likewise.
16024 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16025 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16026 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16027 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16028 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16029 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16030 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16031 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16032 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16033 * sysdeps/powerpc/sysdep.h: Likewise.
16034 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16035 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16036
d4a54ac6
JM
160372012-02-06 Joseph Myers <joseph@codesourcery.com>
16038
16039 [BZ #411]
16040 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16041
314054ea
JM
160422012-02-06 Joseph Myers <joseph@codesourcery.com>
16043
16044 * sysdeps/i386/sysdep.h: Include <features.h>.
16045 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16046 version.
16047
d8e0ca50
JM
160482012-02-05 Joseph Myers <joseph@codesourcery.com>
16049
16050 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16051 Define.
16052 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16053 LOAD_PIC_REG_STR.
16054
b1da7dd9
JM
160552012-02-03 Joseph Myers <joseph@codesourcery.com>
16056
16057 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16058 (SETUP_PIC_REG): Use GET_PC_THUNK.
16059 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16060 macro.
16061
9a1d9254
JM
160622012-02-03 Joseph Myers <joseph@codesourcery.com>
16063
16064 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16065 for non-PIC compilation.
16066 (SETUP_PIC_REG): Add .p2align directive.
16067 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16068 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16069 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16070 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16071 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16072 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16073 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16074 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16075 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16076 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16077 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16078 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16079 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16080 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16081 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16082 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16083 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16084 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16085 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16086 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16087 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16088 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16089 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16090 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16091 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16092 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16093 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16094 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16095 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16096 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16097 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16098 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16099 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16100 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16101 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16102 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16103 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16104 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16105 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16106 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16107 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16108
65dc3b75
JM
161092012-02-03 Joseph Myers <joseph@codesourcery.com>
16110
16111 * math/tst-CMPLX.c: Include <stdio.h>.
16112
d55bf177
JM
161132012-01-31 Joseph Myers <joseph@codesourcery.com>
16114
16115 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16116 float.
16117 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16118 * sysdeps/sparc/bits/mathdef.h: Likewise.
16119
69db4f8f
MP
161202012-01-31 Marek Polacek <polacek@redhat.com>
16121
16122 * libio/libio.h: Don't define _PARAMS.
16123 * locale/programs/config.h: Don't define PARAMS.
16124 * stdlib/strtol_l.c: Likewise.
16125 (__strtol_l): Remove PARAMS from the prototype.
16126
41b81892
UD
161272012-01-31 Ulrich Drepper <drepper@gmail.com>
16128
3b49edc0
UD
16129 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16130 names. Just use the correct names. Remove unnecessary wrapper
16131 functions.
16132 * malloc/arena.c: Likewise.
16133 * malloc/hooks.c: Likewise.
16134
41b81892
UD
16135 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16136 ARENA_TEST says not to. Simplify test for creation of a new arena.
16137 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16138
27a25b6e
UD
161392012-01-30 Ulrich Drepper <drepper@gmail.com>
16140
16141 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16142 into tail calls.
16143 (update_get_addr): New function.
16144 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16145 GET_ADDR_MODULE parameter.
16146
c8a89e7d
JM
161472012-01-30 Joseph Myers <joseph@codesourcery.com>
16148
16149 * crypt/cert.c: Remove __STDC__ conditionals.
16150 * crypt/crypt-entry.c: Likewise.
16151 * crypt/crypt_util.c: Likewise.
16152 * libio/filedoalloc.c: Likewise.
16153 * libio/fileops.c: Likewise.
16154 * libio/genops.c: Likewise.
16155 * libio/iofclose.c: Likewise.
16156 * libio/iofdopen.c: Likewise.
16157 * libio/iofopen.c: Likewise.
16158 * libio/iofopen64.c: Likewise.
16159 * libio/iogetdelim.c: Likewise.
16160 * libio/iopopen.c: Likewise.
16161 * libio/obprintf.c: Likewise.
16162 * libio/oldfileops.c: Likewise.
16163 * libio/oldiofclose.c: Likewise.
16164 * libio/oldiofdopen.c: Likewise.
16165 * libio/oldiofopen.c: Likewise.
16166 * libio/oldiopopen.c: Likewise.
16167 * libio/wfiledoalloc.c: Likewise.
16168 * libio/wgenops.c: Likewise.
16169 * locale/programs/xmalloc.c: Likewise.
16170 * misc/syslog.c: Likewise.
16171 * stdio-common/xbug.c: Likewise.
16172 * string/memchr.c: Likewise.
16173 * string/memcmp.c: Likewise.
16174 * string/memrchr.c: Likewise.
16175 * string/rawmemchr.c: Likewise.
16176 * sysdeps/posix/getcwd.c: Likewise.
16177 * time/strftime_l.c: Likewise.
16178
3b100462
JM
161792012-01-30 Joseph Myers <joseph@codesourcery.com>
16180
16181 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
16182 * config.make.in (config-cflags-sse2avx): Define.
16183 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16184 Fix typo.
16185
607998af
CM
161862012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16187
16188 * scripts/config.guess: Update from upstream config git repository.
16189 * scripts/config.sub: Likewise.
16190
3601428f
CM
161912012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16192
3ac8b282
CM
16193 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16194 (EM_NUM): Update.
16195 (R_TILEPRO_*, R_TILEGX_*): New macros.
16196
e034841e
CM
16197 * scripts/firstversions.awk: Fix bug in version range handling.
16198
540d7568
CM
16199 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16200
3601428f
CM
16201 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16202
463de862
CM
16203 * include/sys/epoll.h: New file.
16204 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16205 libc_hidden_def.
16206
73139a76
UD
162072012-01-28 Ulrich Drepper <drepper@gmail.com>
16208
96bc5b45
UD
16209 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16210 Avoid unnecessary __WORDSIZE == 64 test.
16211 (fmaxf): Use VEX format if possible.
16212 (fmax): Likewise.
16213 (fminf): Likewise.
16214 (fmin): Likewise.
16215
56f6f6a2
UD
16216 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16217 * math/math_private.h: Remove libc_fegetround* and
16218 libc_fesetround*.
16219 * sysdeps/i386/configure.in: Check for -msse2avx.
16220 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16221 also if SSE2AVX is defined.
16222 Remove libc_fegetround* and libc_fesetround*.
16223 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16224 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16225 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16226 of HAS_YMM_USABLE.
16227 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16228 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16229 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16230 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16231 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16232
73139a76
UD
16233 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16234
d73f93a4
AZ
162352012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16236
16237 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16238 size is not set.
16239 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16240
6ee65ed6
UD
162412012-01-27 Ulrich Drepper <drepper@gmail.com>
16242
16243 [BZ #13618]
16244 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16245 relocation.
16246 * Makeconfig (libm): Define.
16247 * elf/Makefile: Add rules to build and run tst-relsort1.
16248 * elf/tst-relsort1.c: New file.
16249 * elf/tst-relsort1mod1.c: New file.
16250 * elf/tst-relsort1mod2.c: New file.
16251
8db21882
JM
162522012-01-27 Joseph Myers <joseph@codesourcery.com>
16253
16254 * math/s_ldexp.c: Remove __STDC__ conditionals.
16255 * math/s_ldexpf.c: Likewise.
16256 * math/s_ldexpl.c: Likewise.
16257 * math/s_nextafter.c: Likewise.
16258 * math/s_nexttowardf.c: Likewise.
16259 * math/s_significand.c: Likewise.
16260 * math/s_significandf.c: Likewise.
16261 * math/s_significandl.c: Likewise.
16262 * math/w_jnl.c: Likewise.
16263 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16264 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16265 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16266 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16267 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16268 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16269 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16270 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16271 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16272 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16273 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16274 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16275 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16276 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16277 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16278 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16279 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16280 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16281 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16282 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16283 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16284 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16285 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16286 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16287 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16288 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16289 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16290 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16291 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16292 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16293 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16294 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16295 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16296 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16297 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16298 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16299 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16300 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16301 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16302 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16303 * sysdeps/ieee754/k_standard.c: Likewise.
16304 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16305 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16306 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16307 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16308 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16309 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16310 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16311 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16312 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16313 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16314 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16315 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16316 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16317 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16318 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16319 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16320 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16321 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16322 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16323 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16324 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16325 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16326 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16327 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16328 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16329 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16330 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16331 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16332 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16333 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16334 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16335 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16336 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16337 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16338 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16339 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16340 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16341 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16342 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16343 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16344 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16345 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16346 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16347 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16348 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16349 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16350 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16351 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16352 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16353 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16354 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16355 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16356 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16357 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16358 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16359 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16360 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16361 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16362 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16363 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16364 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16365 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16366 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16367 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16368 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16369 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16370 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16371 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16372 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16373 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16374 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16375 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16376 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16377 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16378 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16379 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16380 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16381 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16382 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16383 * sysdeps/ieee754/s_matherr.c: Likewise.
16384 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16385 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16386 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16387 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16388
965a54a4
JM
163892012-01-26 Joseph Myers <joseph@codesourcery.com>
16390
16391 * crypt/md5.h: Remove __STDC__ conditionals.
16392 * libio/libioP.h: Likewise.
16393 * locale/programs/config.h: Likewise.
16394 * sysdeps/generic/sysdep.h: Likewise.
16395 * sysdeps/i386/asm-syntax.h: Likewise.
16396 * sysdeps/s390/asm-syntax.h: Likewise.
16397 * sysdeps/unix/sysdep.h: Likewise.
16398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16400
7071ad79
JM
164012012-01-26 Joseph Myers <joseph@codesourcery.com>
16402
16403 * libio/libio.h: Remove __STDC__ conditionals.
16404 * malloc/obstack.h: Likewise.
16405 * math/complex.h: Likewise.
16406 * math/math.h: Likewise.
16407 * sysdeps/generic/_G_config.h: Likewise.
16408 * sysdeps/gnu/_G_config.h: Likewise.
16409 * sysdeps/mach/hurd/_G_config.h: Likewise.
16410 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16411 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16412 * sysdeps/sparc/bits/mathdef.h: Likewise.
16413
afc5ed09
UD
164142012-01-26 Ulrich Drepper <drepper@gmail.com>
16415
16416 [BZ #13583]
16417 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 16418 Clean up HAS_* macros.
afc5ed09 16419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
16420 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16421 possible.
16422 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16423 HAS_AVX.
16424 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16425 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16426 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16427 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16428 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 16429
bdb6de1d
JM
164302012-01-25 Joseph Myers <joseph@codesourcery.com>
16431
16432 * elf/tst-unique3.cc (gets): Remove declaration.
16433 * elf/tst-unique3lib.cc (gets): Likewise.
16434 * elf/tst-unique3lib2.cc (gets): Likewise.
16435 * elf/tst-unique4.cc (gets): Likewise.
16436
b15549e6
UD
164372012-01-24 Ulrich Drepper <drepper@gmail.com>
16438
16439 * include/stdio.h: Add C++ protection. Add gets declarations and
16440 definitions.
16441 * debug/tst-chk1.c: Don't declare gets here.
16442 * stdio-common/tst-gets.c: Likewise.
16443
a037381f
JM
164442012-01-24 Joseph Myers <joseph@codesourcery.com>
16445
16446 * posix/glob: Remove directory.
16447
f1d4aa75
JM
164482012-01-24 Joseph Myers <joseph@codesourcery.com>
16449
16450 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16451
81c0c964
PT
164522012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16453
16454 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16455 of the non-standard EPFNOSUPPORT.
16456
0ea698ae
ST
164572011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16458
16459 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16460 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16461 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16462
d220b117
UD
164632012-01-21 Ulrich Drepper <drepper@gmail.com>
16464
16465 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16466
3e1aa84e
UD
164672012-01-20 Ulrich Drepper <drepper@gmail.com>
16468
16469 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16470 transient errors.
16471 * nscd/grpcache.c (cache_addgr): Likewise.
16472 * nscd/hstcache.c (cache_addhst): Likewise.
16473 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16474 * nscd/pwdcache.c (cache_addpw): Likewise.
16475 * nscd/servicescache.c (cache_addserv): Likewise.
16476
400aa020
UD
164772012-01-16 Ulrich Drepper <drepper@gmail.com>
16478
d77e7869
UD
16479 * malloc/malloc.c: Various cleanups.
16480 * malloc/hooks.c: Likewise.
16481
400aa020
UD
16482 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16483 * stdlib/bug-fmtmsg1.c: New file.
16484
16485 * stdlib/fmtmsg.c (init): Add missing unlock.
16486 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16487
e0a309cf
MP
164882012-01-12 Marek Polacek <polacek@redhat.com>
16489
16490 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16491 and _GNU_SOURCE.
16492
929d11c7
WS
164932012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16494
16495 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16496 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16497 macro to ensure uniqueness of label name.
16498 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16499 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16500
41d0e869
UD
165012012-01-11 Ulrich Drepper <drepper@gmail.com>
16502
0cc5ed3b
UD
16503 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16504
41d0e869
UD
16505 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16506 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16507 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16508 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16509
a47a831a
UD
165102012-01-10 Ulrich Drepper <drepper@gmail.com>
16511
daa891c0
UD
16512 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16513
16514 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16515 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16516 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16517
e58ef0f2
UD
16518 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16519
a47a831a 16520 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
16521 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16522 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 16523 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
16524
16525 * math/bits/math-finite.h: Add ldexp support.
16526
a0bfc9c7
MP
165272012-01-10 Marek Polacek <polacek@redhat.com>
16528
16529 * locale/programs/localedef.h (show_archive_content): Add noreturn
16530 attribute.
16531
d6e97a1d
UD
165322012-01-09 Ulrich Drepper <drepper@gmail.com>
16533
16534 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16535
d5835c26
UD
165362012-01-08 Ulrich Drepper <drepper@gmail.com>
16537
e5f484c6
UD
16538 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16539
d5835c26
UD
16540 * io/Makefile (headers): Add bits/poll2.h.
16541
d1f741e9
WS
165422011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16543
16544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16545 typo #include statement.
16546
ec09c1c4
UD
165472012-01-08 Ulrich Drepper <drepper@gmail.com>
16548
16549 * include/sys/cdefs.h: Define __attribute_alloc_size.
16550 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16551 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16552 * elf/pldd.c: Likewise.
16553 * iconv/iconv_charmap.c: Likewise.
16554 * iconv/iconvconfig.c: Likewise.
16555 * iconv/strtab.c: Likewise.
16556 * locale/programs/locale.c: Likewise.
16557 * locale/programs/localedef.h: Likewise.
16558 * locale/programs/simple-hash.c: Likewise.
16559 * nscd/nscd.h: Likewise.
16560 * nss/makedb.c: Likewise.
16561 * sysdeps/generic/ldconfig.h: Likewise.
16562 * locale/programs/localedef.c: Remove xmalloc prototype.
16563 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16564
20b38e03
PP
165652012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16566
16567 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16568 appropriate.
16569
a0da5fe1
UD
165702012-01-08 Ulrich Drepper <drepper@gmail.com>
16571
1d5a644a 16572 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16573 * math/tst-CMPLX.c: New file.
1d5a644a 16574
8784a6db
UD
16575 * math/complex.h (CMPLXL): Fix typo.
16576
d9a216c0
UD
16577 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16578 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16579 GLIBC_2.16.
16580 * debug/tst-chk1.c: Add poll and ppoll tests.
16581 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16582 * include/sys/poll.h: Add hidden proto for ppoll.
16583 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16584 * sysdeps/mach/hurd/ppoll.c: Likewise.
16585 * io/ppoll.c: Likewise.
16586 * debug/poll_chk.c: New file.
16587 * debug/ppoll_chk.c: New file.
16588 * include/bits/poll2.h: New file.
16589 * io/bits/poll2.h: New file.
16590
ac097f5c
UD
16591 [BZ #1350]
16592 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16593
2119dcfa
UD
16594 * configure.in: static is always set to yes. Remove.
16595 * config.make.in: Don't set build-static.
16596 * Makeconfig: Remove use of build-static.
16597 * dlfcn/Makefile: Likewise.
16598 * elf/Makefile: Likewise.
16599 * math/Makefile: Likewise.
16600 * misc/Makefile: Likewise.
16601 * nptl/Makefile: Likewise.
16602 * sysdeps/mach/hurd/Makefile: Likewise.
16603
121766a9
UD
16604 * configure.in: PWD_P is not used anymore.
16605 * config.make.in: Remove PWD_P entry.
16606
51a1d39c 16607 * configure.in: Remove last remnants of RANLIB.
8720d066 16608 No need to check for signed size_t anymore.
215f4bdc
UD
16609 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16610 and IA-64.
3857022a 16611 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16612 * aclocal.m4: Likewise.
16613
d3ed7225
UD
16614 * wcsmbs/mbrtoc16.c: Implement using towc function.
16615 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16616 * wcsmbs/wcsmbsload.c: Likewise.
16617 * iconv/gconv_simple.c: Likewise.
16618 * iconv/gconv_int.h: Likewise.
16619 * iconv/gconv_builtin.h: Likewise.
16620 * iconv/iconv_prog.c: Remove CHAR16 handling.
16621
16622 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16623
16624 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16625
a0da5fe1
UD
16626 * configure.in: Remove --with-elf and --enable-bounded options.
16627 Dont set base_machine for ia64. More non-ELF conditions removed.
16628 Remove testing and setting of leading underscore information.
16629 * config.make.in (build-bounded): Set to no.
16630 * config.h.in: Remove NO_UNDERSCORES entry.
16631 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16632 them.
16633 * csu/start.c: Remove !NO_UNDERSCORE code.
16634 * locale/localeinfo.h: Likewise.
16635 * sysdeps/generic/machine-gmon.h: Likewise.
16636 * sysdeps/generic/sysdep.h: Likewise.
16637 * sysdeps/i386/sysdep.h: Likewise.
16638 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16639 * sysdeps/mach/sysdep.h: Likewise.
16640 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16641 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16642 * sysdeps/sh/sysdep.h: Likewise.
16643 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16644 * sysdeps/unix/i386/sysdep.S: Likewise.
16645 * sysdeps/unix/sparc/start.c: Likewise.
16646 * sysdeps/unix/sparc/sysdep.S: Likewise.
16647 * sysdeps/unix/sparc/sysdep.h: Likewise.
16648 * sysdeps/unix/start.c: Likewise.
16649 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16650 * sysdeps/x86_64/sysdep.h: Likewise.
16651
df78418a
UD
166522012-01-07 Ulrich Drepper <drepper@gmail.com>
16653
a784e502
UD
16654 [BZ #13553]
16655 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16656 for non-gcc.
16657 * argp/argp-fmtstream.h: Use const instead __const.
16658 * argp/argp.h: Likewise.
16659 * assert/assert.h: Likewise.
16660 * bits/fenv.h: Likewise.
16661 * bits/sched.h: Likewise.
16662 * bits/sigset.h: Likewise.
16663 * bits/sigthread.h: Likewise.
16664 * catgets/nl_types.h: Likewise.
16665 * conform/data/pthread.h-data: Likewise.
16666 * crypt/crypt-private.h: Likewise.
16667 * crypt/crypt.h: Likewise.
16668 * crypt/crypt_util.c: Likewise.
16669 * ctype/ctype.h: Likewise.
16670 * debug/execinfo.h: Likewise.
16671 * debug/mbsnrtowcs_chk.c: Likewise.
16672 * debug/mbsrtowcs_chk.c: Likewise.
16673 * debug/wcsnrtombs_chk.c: Likewise.
16674 * debug/wcsrtombs_chk.c: Likewise.
16675 * debug/wcstombs_chk.c: Likewise.
16676 * dirent/dirent.h: Likewise.
16677 * dlfcn/dlfcn.h: Likewise.
16678 * elf/neededtest4.c: Likewise.
16679 * grp/grp.h: Likewise.
16680 * gshadow/gshadow.h: Likewise.
16681 * iconv/gconv.h: Likewise.
16682 * iconv/gconv_int.h: Likewise.
16683 * iconv/gconv_simple.c: Likewise.
16684 * iconv/iconv.h: Likewise.
16685 * iconv/loop.c: Likewise.
16686 * iconv/skeleton.c: Likewise.
16687 * include/aio.h: Likewise.
16688 * include/aliases.h: Likewise.
16689 * include/argz.h: Likewise.
16690 * include/arpa/inet.h: Likewise.
16691 * include/assert.h: Likewise.
16692 * include/dirent.h: Likewise.
16693 * include/dlfcn.h: Likewise.
16694 * include/execinfo.h: Likewise.
16695 * include/fcntl.h: Likewise.
16696 * include/fenv.h: Likewise.
16697 * include/glob.h: Likewise.
16698 * include/grp.h: Likewise.
16699 * include/libintl.h: Likewise.
16700 * include/mntent.h: Likewise.
16701 * include/netdb.h: Likewise.
16702 * include/pwd.h: Likewise.
16703 * include/rpc/netdb.h: Likewise.
16704 * include/sched.h: Likewise.
16705 * include/search.h: Likewise.
16706 * include/shadow.h: Likewise.
16707 * include/signal.h: Likewise.
16708 * include/stdio.h: Likewise.
16709 * include/stdlib.h: Likewise.
16710 * include/string.h: Likewise.
16711 * include/sys/socket.h: Likewise.
16712 * include/sys/stat.h: Likewise.
16713 * include/sys/statfs.h: Likewise.
16714 * include/sys/statvfs.h: Likewise.
16715 * include/sys/syslog.h: Likewise.
16716 * include/sys/time.h: Likewise.
16717 * include/sys/uio.h: Likewise.
16718 * include/time.h: Likewise.
16719 * include/unistd.h: Likewise.
16720 * include/utmp.h: Likewise.
16721 * include/wchar.h: Likewise.
16722 * include/wctype.h: Likewise.
16723 * inet/aliases.h: Likewise.
16724 * inet/arpa/inet.h: Likewise.
16725 * inet/netinet/ether.h: Likewise.
16726 * inet/netinet/in.h: Likewise.
16727 * intl/libintl.h: Likewise.
16728 * io/bits/fcntl2.h: Likewise.
16729 * io/fcntl.h: Likewise.
16730 * io/ftw.h: Likewise.
16731 * io/sys/poll.h: Likewise.
16732 * io/sys/stat.h: Likewise.
16733 * io/sys/statfs.h: Likewise.
16734 * io/sys/statvfs.h: Likewise.
16735 * io/utime.h: Likewise.
16736 * libio/bits/stdio.h: Likewise.
16737 * libio/bits/stdio2.h: Likewise.
16738 * libio/libio.h: Likewise.
16739 * libio/libioP.h: Likewise.
16740 * libio/stdio.h: Likewise.
16741 * locale/lc-ctype.c: Likewise.
16742 * locale/locale.h: Likewise.
16743 * login/utmp.h: Likewise.
16744 * malloc/arena.c: Likewise.
16745 * malloc/malloc.c: Likewise.
16746 * malloc/malloc.h: Likewise.
16747 * malloc/mcheck.c: Likewise.
16748 * malloc/mtrace.c: Likewise.
16749 * math/bits/mathcalls.h: Likewise.
16750 * math/fenv.h: Likewise.
16751 * math/math_private.h: Likewise.
16752 * misc/bits/error.h: Likewise.
16753 * misc/bits/syslog.h: Likewise.
16754 * misc/err.h: Likewise.
16755 * misc/error.h: Likewise.
16756 * misc/fstab.h: Likewise.
16757 * misc/mntent.h: Likewise.
16758 * misc/regexp.h: Likewise.
16759 * misc/search.h: Likewise.
16760 * misc/sgtty.h: Likewise.
16761 * misc/sys/mman.h: Likewise.
16762 * misc/sys/syslog.h: Likewise.
16763 * misc/sys/uio.h: Likewise.
16764 * misc/sys/xattr.h: Likewise.
16765 * misc/ttyent.h: Likewise.
16766 * nis/rpcsvc/ypclnt.h: Likewise.
16767 * nss/nss.h: Likewise.
16768 * posix/bits/unistd.h: Likewise.
16769 * posix/fnmatch.h: Likewise.
16770 * posix/glob.h: Likewise.
16771 * posix/sched.h: Likewise.
16772 * posix/spawn.h: Likewise.
16773 * posix/sys/wait.h: Likewise.
16774 * posix/unistd.h: Likewise.
16775 * posix/wordexp.h: Likewise.
16776 * pwd/pwd.h: Likewise.
16777 * resolv/netdb.h: Likewise.
16778 * resource/sys/resource.h: Likewise.
16779 * rt/aio.h: Likewise.
16780 * rt/bits/mqueue2.h: Likewise.
16781 * rt/mqueue.h: Likewise.
16782 * shadow/shadow.h: Likewise.
16783 * signal/signal.h: Likewise.
16784 * socket/send.c: Likewise.
16785 * socket/sendto.c: Likewise.
16786 * socket/sys/socket.h: Likewise.
16787 * stdio-common/printf.h: Likewise.
16788 * stdlib/bits/stdlib.h: Likewise.
16789 * stdlib/fmtmsg.h: Likewise.
16790 * stdlib/monetary.h: Likewise.
16791 * stdlib/stdlib.h: Likewise.
16792 * stdlib/ucontext.h: Likewise.
16793 * streams/stropts.h: Likewise.
16794 * string/argz.h: Likewise.
16795 * string/bits/string2.h: Likewise.
16796 * string/string.h: Likewise.
16797 * string/strings.h: Likewise.
16798 * sunrpc/rpc/auth.h: Likewise.
16799 * sunrpc/rpc/auth_des.h: Likewise.
16800 * sunrpc/rpc/clnt.h: Likewise.
16801 * sunrpc/rpc/netdb.h: Likewise.
16802 * sunrpc/rpc/pmap_clnt.h: Likewise.
16803 * sunrpc/rpc/xdr.h: Likewise.
16804 * sysdeps/generic/inttypes.h: Likewise.
16805 * sysdeps/generic/net/if.h: Likewise.
16806 * sysdeps/generic/sys/swap.h: Likewise.
16807 * sysdeps/gnu/net/if.h: Likewise.
16808 * sysdeps/gnu/utmpx.h: Likewise.
16809 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16810 * sysdeps/i386/i486/bits/string.h: Likewise.
16811 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16812 * sysdeps/s390/bits/string.h: Likewise.
16813 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16814 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16815 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16816 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16817 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16818 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16819 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16820 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16821 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16822 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16823 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16824 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16825 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16826 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16827 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16828 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16829 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16830 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16831 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16832 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16833 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16834 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16835 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16836 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16837 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16838 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16839 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16840 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16841 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16842 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16843 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16844 * sysvipc/sys/ipc.h: Likewise.
16845 * sysvipc/sys/msg.h: Likewise.
16846 * sysvipc/sys/sem.h: Likewise.
16847 * sysvipc/sys/shm.h: Likewise.
16848 * termios/termios.h: Likewise.
16849 * time/sys/time.h: Likewise.
16850 * time/time.h: Likewise.
16851 * wcsmbs/bits/wchar2.h: Likewise.
16852 * wcsmbs/uchar.h: Likewise.
16853 * wcsmbs/wchar.h: Likewise.
16854 * wctype/wctype.h: Likewise.
16855
0269750c
UD
16856 [BZ #13551]
16857 * Makeconfig: Remove all but ELF support including AIX support.
16858 * Makerules: Likewise.
16859 * config.h.in: Likewise.
16860 * config.make.in: Likewise.
16861 * configure: Likewise.
16862 * configure.in: Likewise.
16863 * csu/Makefile: Likewise.
16864 * csu/version.c: Likewise.
16865 * debug/Makefile: Likewise.
16866 * dlfcn/Makefile: Likewise.
16867 * elf/Makefile: Likewise.
16868 * extra-lib.mk: Likewise.
16869 * iconv/Makefile: Likewise.
16870 * include/libc-symbols.h: Likewise.
16871 * include/shlib-compat.h: Likewise.
16872 * resolv/Makefile: Likewise.
16873 * resolv/res_libc.c: Likewise.
16874 * rt/Makefile: Likewise.
16875 * sysdeps/i386/asm-syntax.h: Likewise.
16876 * sysdeps/i386/sysdep.h: Likewise.
16877 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16878 * sysdeps/mach/sysdep.h: Likewise.
16879 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16880 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16881 * sysdeps/s390/asm-syntax.h: Likewise.
16882 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16883 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16884 * sysdeps/sh/sysdep.h: Likewise.
16885 * sysdeps/unix/sparc/sysdep.h: Likewise.
16886 * sysdeps/wordsize-32/divdi3.c: Likewise.
16887 * sysdeps/x86_64/sysdep.h: Likewise.
16888
00bbd29b
UD
16889 * argp/Versions: Remove _argp_unlock_xxx.
16890
16891 [BZ #13559]
16892 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16893 * abilist/libBrokenLocale.abilist: Likewise.
16894 * abilist/libanl.abilist: Likewise.
16895 * abilist/libc.abilist: Likewise.
16896 * abilist/libcrypt.abilist: Likewise.
16897 * abilist/libdl.abilist: Likewise.
16898 * abilist/libm.abilist: Likewise.
16899 * abilist/libnsl.abilist: Likewise.
16900 * abilist/libpthread.abilist: Likewise.
16901 * abilist/libresolv.abilist: Likewise.
16902 * abilist/librt.abilist: Likewise.
16903 * abilist/libthread_db.abilist: Likewise.
16904 * abilist/libutil.abilist: Likewise.
16905 * abilist/libnss_db.abilist: New file.
16906
16907 * scripts/abilist.awk: Add support for indirect functions.
16908
a2693a0e
UD
16909 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16910
3f05895f
UD
16911 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16912
ecb6fb48
UD
16913 * shlib-versions: Remove entries for ports architectures.
16914
664f8cb9
UD
16915 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16916 files in ports.
16917 * elf/stackguard-macros.h: Remove support for IA-64.
16918 * elf/tst-auditmod1.c: Likewise.
16919 * sysdeps/generic/ldsodefs.h: Likewise.
16920
7ae81d88
UD
16921 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16922 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16923 configure files.
16924
bdeba135
UD
16925 [BZ #13552]
16926 * configure.in: Remove --enable-omitfp support.
16927 * FAQ.in: Adjust.
16928 * config.make.in: Likewise.
16929 * Makeconfig: Likewise.
16930 * manual/install.texi: Likewise.
16931
d75a0a62
UD
16932 In case anyone cares, the IA-64 architecture could move to ports.
16933 * sysdeps/ia64/*: Removed.
16934 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16935 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16936
dcc9756b
UD
16937 [BZ #13555]
16938 * configure.in: Remove entries for unsupported architectures.
16939
d3761ebc 16940 [BZ #13533]
9954432e
UD
16941 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16942 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16943 routines.
16944 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16945 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16946 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16947 fall back to using wcrtomb.
16948 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16949 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16950 renaming.
16951 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16952 * wcsmbs/tst-c16c32-1.c: New file.
16953
16954 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16955 local variable.
16956
c3a87236
UD
16957 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16958
28926a1b
UD
16959 * elf/tst-unique3.cc: Add explicit declaration of gets.
16960 * elf/tst-unique3lib.cc: Likewise.
16961 * elf/tst-unique3lib2.cc: Likewise.
16962 * elf/tst-unique4.cc: Likewise.
16963
df78418a
UD
16964 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16965
8ecd6b2a
JM
169662012-01-06 Joseph Myers <joseph@codesourcery.com>
16967
16968 [BZ #13566]
16969 * assert/assert.h (static_assert): Don't define for C++.
16970 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16971 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16972
9f115170
UD
169732012-01-03 Ulrich Drepper <drepper@gmail.com>
16974
5e0d0300
UD
16975 * iconv/loop.c (single loop): Fix assertion in storing of
16976 remaining bytes.
16977
9f115170
UD
16978 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16979
81fb02b0
UD
169802012-01-01 Ulrich Drepper <drepper@gmail.com>
16981
16982 * posix/getconf.c: Update copyright year.
16983 * nss/getent.c: Likewise.
a316c1f6 16984 * nss/makedb.c: Likewise.
81fb02b0
UD
16985 * iconv/iconvconfig.c: Likewise.
16986 * iconv/iconv_prog.c: Likewise.
16987 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16988 * elf/pldd.c: Likewise.
16989 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16990 * catgets/gencat.c: Likewise.
16991 * csu/version.c: Likewise.
16992 * elf/ldd.bash.in: Likewise.
16993 * elf/sprof.c (print_version): Likewise.
16994 * locale/programs/locale.c: Likewise.
16995 * locale/programs/localedef.c: Likewise.
a316c1f6 16996 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16997 * nscd/nscd.c (print_version): Likewise.
16998 * debug/xtrace.sh: Likewise.
16999 * malloc/memusage.sh: Likewise.
17000 * malloc/mtrace.pl: Likewise.
17001 * debug/catchsegv.sh: Likewise.
17002
2ba92745
JJ
170032011-12-30 Jakub Jelinek <jakub@redhat.com>
17004
17005 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17006 pure attribute.
17007
dadebdae
UD
170082011-12-24 Ulrich Drepper <drepper@gmail.com>
17009
d3761ebc 17010 [BZ #13533]
db6af3eb
UD
17011 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17012 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17013 transformations.
17014 * iconv/gconv_int.h: Likewise.
17015 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17016 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17017 from libc for GLIBC_2.16.
17018 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17019 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17020 * wcsmbs/uchar.h: Really define mbstate_t.
17021 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17022 * wcsmbs/c16rtomb.c: New file.
17023 * wcsmbs/mbrtoc16.c: New file.
17024 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17025 for C/POSIX locale.
17026 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17027 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17028
dadebdae
UD
17029 * wcsmbs/wchar.h: Add missing __restrict.
17030
67371b56
UD
170312011-12-23 Ulrich Drepper <drepper@gmail.com>
17032
74033a25
UD
17033 [BZ #13532]
17034 * time/Makefile (routines): Add timespec_get.
17035 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17036 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17037 timespec for ISO C11.
17038 * time/timespec_get.c: New file.
17039 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17040 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17041
380d7e87
UD
17042 [BZ #13531]
17043 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17044 * stdlib/stdlib.h: Declare aligned_alloc.
17045 * Versions.def: Add GLIBC_2.16 for libc.
17046 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17047
4e9e7a35
UD
17048 [BZ 13527]
17049 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17050 ISO C11.
17051
380d7e87 17052 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
17053 code.
17054
03a71829
UD
17055 [BZ #13528]
17056 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17057
839e283e
UD
17058 [BZ #13529]
17059 * assert/assert.h (static_assert): Define.
17060
ce5294e2 17061 * version.h: Update for 2.16 development version.
90fa7312 17062
8d44e150 17063 [BZ #13526]
d7809905
UD
17064 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17065 _ISOC11_SOURCE.
17066
c0da14cd
UD
17067 * version.h (RELEASE): Bump for 2.15 release.
17068 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17069
530a3249
MP
17070 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17071 Patch by Marek Polacek <mpolacek@redhat.com>.
17072
67371b56
UD
17073 * bits/byteswap.h: Protect long long constants with __extension__.
17074 * sysdeps/i386/bits/byteswap.h: Likewise.
17075 * sysdeps/ia64/bits/byteswap.h: Likewise.
17076 * sysdeps/s390/bits/byteswap.h: Likewise.
17077 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17078
15db4de1
LD
170792011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17080
17081 [BZ #13540]
bbe315ea
LD
17082 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17083 destination buffer.
15db4de1
LD
17084 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17085
2b2596b1
MP
170862011-12-23 Marek Polacek <polacek@redhat.com>
17087
17088 * elf/dl-addr.c (determine_info): Add inline keyword.
17089 * elf/tst-auditmod4b.c (check_avx): Likewise.
17090 * elf/tst-auditmod6b.c (check_avx): Likewise.
17091 * elf/tst-auditmod6c.c (check_avx): Likewise.
17092 * elf/tst-auditmod7b.c (check_avx): Likewise.
17093
70c6c246
UD
170942011-12-23 Ulrich Drepper <drepper@gmail.com>
17095
17096 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17097 !__SSE_MATH__.
17098
c044cf14
LD
170992011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17100
15db4de1 17101 [BZ #13540]
c044cf14
LD
17102 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17103 processing for last bytes.
17104
6b13d9d9
BH
171052011-08-06 Bruno Haible <bruno@clisp.org>
17106
d455f537
BH
17107 [BZ #13061]
17108 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17109 U+0385, not to U+1FEE.
17110
6b13d9d9
BH
17111 [BZ #13062]
17112 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17113 entry for U+00A5 U+0301.
17114
db910efd
UD
171152011-12-22 Ulrich Drepper <drepper@gmail.com>
17116
27deeafc
UD
17117 [BZ #13166]
17118 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17119 buffer for the output is too small.
17120
aed9d171
UD
17121 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17122 optimization.
17123
db910efd
UD
17124 [BZ #13185]
17125 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17126 SSE flags if possible.
17127
2bd779ae
LD
171282011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17129
e7f9dac3 17130 [BZ #13540]
2bd779ae
LD
17131 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17132 processing for last bytes.
17133
154bfc16
JM
171342011-12-22 Joseph Myers <joseph@codesourcery.com>
17135
17136 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17137 (syscall-list-default-options, syscall-list-default-condition)
17138 (syscall-list-includes): Define.
17139 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17140 list of ABIs and options and #if conditions for each ABI. Do not
17141 handle common syscalls between ABIs specially.
17142 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17143 Remove.
17144 (syscall-list-variants, syscall-list-32bit-options)
17145 (syscall-list-32bit-condition, syscall-list-64bit-options)
17146 (syscall-list-64bit-condition): Define.
17147 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17148 (syscall-list-variants, syscall-list-32bit-options)
17149 (syscall-list-32bit-condition, syscall-list-64bit-options)
17150 (syscall-list-64bit-condition): Define.
17151 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17152 Remove.
17153 (syscall-list-variants, syscall-list-32bit-options)
17154 (syscall-list-32bit-condition, syscall-list-64bit-options)
17155 (syscall-list-64bit-condition): Define.
17156 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17157 Remove.
17158 (syscall-list-variants, syscall-list-32bit-options)
17159 (syscall-list-32bit-condition, syscall-list-64bit-options)
17160 (syscall-list-64bit-condition): Define.
17161
21eaf3a5
UD
171622011-12-22 Ulrich Drepper <drepper@gmail.com>
17163
16c6f992
UD
17164 * locale/iso-639.def: Add brx entry.
17165
41043168
UD
17166 [BZ #13328]
17167 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17168 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17169
21eaf3a5
UD
17170 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17171 __feraiseexcept_renamed.
17172
e3a851a2
UD
171732011-12-21 Ulrich Drepper <drepper@gmail.com>
17174
4920765e
UD
17175 [BZ #13538]
17176 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17177 EPOLLET with unsigned values.
17178 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17179 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17180
e3a851a2
UD
17181 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17182 to large cancellation.
17183 * math/s_cacoshf.c: Likewise.
17184 * math/s_cacoshl.c: Likewise.
17185
b27e24b8
RK
171862011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17187
17188 [BZ #13305]
aebefeee 17189 [BZ #12786]
b27e24b8
RK
17190 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17191 * math/s_cacoshf.c: Likewise.
17192 * math/s_cacoshl.c: Likewise.
17193
ee190f67
UD
171942011-12-21 Ulrich Drepper <drepper@gmail.com>
17195
17196 [BZ #13439]
17197 * iconv/gconv.h: Define __GCONV_SWAP.
17198 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17199 * iconvdata/utf-16.c: Likewise.
17200 * iconvdata/utf-32.c: Likewise.
17201
707f25df
AS
172022011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17203
17204 [BZ #13524]
17205 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17206 numerator after shifting it by one limb.
17207
d2daaa1e
RÁE
172082011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17209
17210 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17211 under [__USE_EXTERN_INLINES].
17212
a4647e72
UD
172132011-12-17 Ulrich Drepper <drepper@gmail.com>
17214
17215 [BZ #13446]
17216 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17217
f0b264f1
AZ
172182011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17219
17220 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17221 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17222 optimized code.
17223 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17224 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17225 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17226 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17227 for strncasecmp/strncasecmp_l compilation.
17228 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17229 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17230
8ef4f244
MP
172312011-12-08 Marek Polacek <mpolacek@redhat.com>
17232
17233 [BZ #13484]
17234 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17235 of __asm__.
17236
97ac2654
UD
172372011-12-17 Ulrich Drepper <drepper@gmail.com>
17238
17239 [BZ #13506]
17240 * time/tzfile.c (__tzfile_read): Check values from file header.
17241
91d2a845
WS
172422011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17243
17244 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17245 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17246 * powerpc/powerpc32/dl-start.S: Likewise.
17247 * powerpc/powerpc32/elf/start.S: Likewise.
17248 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17249 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17250 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17251 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17252 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17253 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17254 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17255 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17256 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17257 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17258 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17259 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17260 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17261 * powerpc/powerpc32/memset.S: Likewise.
17262 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17263 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17264 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17265 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17266 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17267 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17268 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17269 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17270 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17271 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17272 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17273 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17274 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17275
a1267ba1
AZ
172762011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17277
17278 * math/libm-test.inc: Added more nearbyint tests.
17279 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17280 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17281 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17282 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17283
ad8ac1bd
RL
172842011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17285
17286 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17287 FD_CLOEXEC.
17288
1d3e4b61
UD
172892011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17290
17291 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17292 Add wcscpy-ssse3 wcscpy-c.
17293 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17294 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17295 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17296 * sysdeps/x86_64/wcschr.S: New file.
17297 * sysdeps/x86_64/wcsrchr.S: New file.
17298 * string/test-strcmp.c: Remove checking of wcscmp function for
17299 wrong alignments.
17300 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17301 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17302 wcsrchr-sse2 wcsrchr-c.
17303 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17304 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17305 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17306 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17307 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17308 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17309 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17310 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17311 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17312 * wcsmbc/wcschr.c (WCSCHR): New macro.
17313
5b330a2d
UD
173142011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17315
17316 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17317 * wcsmbs/test-wcsrchr.c: New file.
17318 * string/test-strrchr.c: Add wcsrchr support.
17319 (WIDE): New macro.
17320 * wcsmbs/test-wcscpy.c: New file.
17321 * string/test-strcpy.c: Add wcscpy support.
17322 (WIDE): New macro.
26428b7c 17323
f039c043
UD
173242011-12-10 Ulrich Drepper <drepper@gmail.com>
17325
17326 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17327 the inner loop.
17328
850fb039
AS
173292011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17330
17331 [BZ #13472]
17332 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17333
4efbd5cb
UD
173342011-12-04 Ulrich Drepper <drepper@gmail.com>
17335
52ff5dd0 17336 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 17337 Minor optimizations.
52ff5dd0 17338
4efbd5cb
UD
17339 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17340 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17341 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17342
8a426e12
UD
173432011-12-03 Ulrich Drepper <drepper@gmail.com>
17344
aff2453d
UD
17345 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17346 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17347 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17348 for gcc to avoid warnings.
17349 * inet/Makefile (tests): Add tst-checks.
17350 * inet/tst-checks.c: New file.
17351
17352 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17353 warning.
17354
17355 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17356 __wmemcmp_sse2.
17357
17358 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17359 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17360
8a426e12
UD
17361 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17362
9bea3473
UD
173632011-12-02 Ulrich Drepper <drepper@gmail.com>
17364
3a965496
UD
17365 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17366 problem.
17367
9bea3473
UD
17368 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17369
f101631b
UD
173702011-11-29 Joseph Myers <joseph@codesourcery.com>
17371
17372 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17373 conditional on GCC version.
17374 (__arch_compare_and_exchange_val_8_acq)
17375 (__arch_compare_and_exchange_val_16_acq)
17376 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17377 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17378 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17379
a98275aa
UD
173802011-12-02 Joseph Myers <joseph@codesourcery.com>
17381
17382 * sysdeps/sh/backtrace.c: New file.
17383
d4cc29a2
AS
173842011-12-02 Andreas Schwab <schwab@redhat.com>
17385
17386 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17387 parenthesis.
17388
6257af2d
AS
173892011-12-01 Andreas Schwab <schwab@redhat.com>
17390
17391 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17392 falling back to utime.
17393
b5f44c1a
AS
173942011-11-30 Andreas Schwab <schwab@redhat.com>
17395
17396 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17397 expectations for float.
17398
f3a6cc0a
AS
173992011-11-29 Andreas Schwab <schwab@redhat.com>
17400
17401 * locale/weight.h (findidx): Add parameter len.
17402 * locale/weightwc.h (findidx): Likewise.
17403 * posix/fnmatch_loop.c (FCT): Adjust caller.
17404 * posix/regcomp.c (build_equiv_class): Likewise.
17405 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17406 * posix/regexec.c (check_node_accept_bytes): Likewise.
17407 * string/strcoll_l.c (STRCOLL): Likewise.
17408 * string/strxfrm_l.c (STRXFRM): Likewise.
17409
9d65ea3a
UD
174102011-11-17 Ulrich Drepper <drepper@gmail.com>
17411
17412 * Makefile.in: Remove CVSOPT handling.
17413 * configure.in: Remove use of AC_REVISION.
17414 * iconvdata/Makefile (distribute): No need to filter out CVS.
17415 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17416 handling.
17417
5583a086
AS
174182011-11-16 Andreas Schwab <schwab@redhat.com>
17419
17420 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17421 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17422 [USE_AS_STRNCASECMP_L]: Likewise.
17423 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17424 NO_TLS_DIRECT_SEG_REFS.
17425 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17426 Fix argument offsets for non-PIC.
17427 [USE_AS_STRNCASECMP_L]: Likewise.
17428 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17429 NO_TLS_DIRECT_SEG_REFS.
17430
d62a8200
UD
174312011-11-15 Ulrich Drepper <drepper@gmail.com>
17432
9d65ea3a 17433 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
17434 O_CLOEXEC.
17435 * locale/loadlocale.c (_nl_load_locale): Likewise.
17436
09f93bd3
AS
174372011-11-15 Andreas Schwab <schwab@redhat.com>
17438
446514f9
AS
17439 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17440 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17441 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17442 (SYSCALL_GETTIME): Set errno on error.
17443
09f93bd3
AS
17444 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17445 count references to noai6ai_cached.
17446
312be3f9
UD
174472011-11-15 Ulrich Drepper <drepper@gmail.com>
17448
17449 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17450
17451 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17452 FD_CLOEXEC for /proc/self/maps.
17453
17454 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17455 FD_CLOEXEC for /proc/meminfo.
17456
17457 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17458 gai.conf.
17459
17460 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17461 FD_CLOEXEC for given file.
17462
17463 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17464
17465 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17466 FD_CLOEXEC for /etc/hosts.
17467 (_gethtent): Likewise.
17468
17469 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17470
17471 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17472 cancellation and set FD_CLOEXEC for /etc/netgroup.
17473
17474 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17475 reading /etc/publickey.
17476
17477 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17478 allow cancellation when reading /etc/group.
17479
17480 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17481 cancellation.
17482 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17483
17484 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17485 when using data file.
17486
17487 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17488
17489 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17490 (write_nis_obj): Use "c" and "e" in fopen.
17491
17492 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17493
17494 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17495
17496 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17497
17498 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17499
17500 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17501 locale.alias.
17502
17503 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17504
17505 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17506
17507 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17508
17509 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17510 file parsing and set FD_CLOEXEC.
17511
82af0fa8
UD
175122011-11-14 Ulrich Drepper <drepper@gmail.com>
17513
17514 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17515
a5fb313c
AS
175162011-11-14 Andreas Schwab <schwab@redhat.com>
17517
17518 * malloc/arena.c (arena_get2): Don't call reused_arena when
17519 _int_new_arena failed.
17520
6abf3465
UD
175212011-11-14 Ulrich Drepper <drepper@gmail.com>
17522
17523 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17524 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17525 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17526 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17527 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17528 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17529 to compile strcasecmp and strncasecmp.
17530 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17531 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17532
17533 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17534
76e3966e
UD
175352011-11-13 Ulrich Drepper <drepper@gmail.com>
17536
17537 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17538 locale-defines.sym to gen-as-const-headers.
17539 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17540 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17541 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17542 to compile strcasecmp and strncasecmp.
17543 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17544 strcasecmp_l and strncasecmp_l.
17545 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17546 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17547 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17548 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17549 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17550 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17551 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17552 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17553 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17554 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17555 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17556
ab26144e
UD
175572011-11-12 Ulrich Drepper <drepper@gmail.com>
17558
7edb22ef
UD
17559 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17560 result of SYSDEP_GETTIME_CPU to retval.
17561 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17562 parameter list to macro. Remove trailing semicolon. Adjust users.
17563
9694fc44
UD
17564 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17565 variable.
17566
8ad89ef8
UD
17567 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17568 mantissa words.
17569 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17570
0c822ef9
UD
17571 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17572 from unused variable.
17573
874e0564
UD
17574 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17575 DWARF definitions.
17576 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17577 for assembling.
17578
3a2edc79
UD
17579 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17580 over namespaces.
17581
f3c2577f
UD
17582 * sunrpc/rpc_prot.c (rejected): Fix case value.
17583
294ce126
UD
17584 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17585 unsigned long long int to avoid warnings in shift.
17586
5e2b63c6
UD
17587 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17588 of use of trans.
17589 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17590 variable tmp.
17591
e7f4b08e
UD
17592 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17593 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17594 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17595
ab26144e
UD
17596 * nis/nis_table.c (nis_list): Use variable of correct type for
17597 result of __follow_path call.
17598
8a6d5255
AZ
175992011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17600
17601 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17602 of math functions ceil, trunc, floor, round, and sqrt, when
17603 avaliable on the platform.
17604 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17605 name clash.
17606 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17607 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17608 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17609
aaddc98c
MP
176102011-10-30 Marek Polacek <mpolacek@redhat.com>
17611
17612 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17613 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17614
95b7042b
RM
176152011-11-11 Roland McGrath <roland@hack.frob.com>
17616
17617 * include/unistd.h: Fix __readlink return type.
17618 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17619
57769839
UD
176202011-11-11 Ulrich Drepper <drepper@gmail.com>
17621
17622 * stdlib/ucontext.h: Undo last change for makecontext.
17623
edc5984d
AS
176242011-11-11 Andreas Schwab <schwab@redhat.com>
17625
98591e58
AS
17626 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17627
edc5984d
AS
17628 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17629 * setjmp/setjmp.h: Mark functions as non-leaf.
17630 * setjmp/bits/setjmp2.h: Likewise.
17631 * stdlib/ucontext.h: Likewise.
17632
77cdc054
AS
176332011-11-10 Andreas Schwab <schwab@redhat.com>
17634
17635 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17636 (reused_arena): Don't check arena limit.
17637 (arena_get2): Atomically check arena limit.
17638
fe72eebd
UD
176392011-11-08 Ulrich Drepper <drepper@gmail.com>
17640
5f078c32
UD
17641 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17642 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17643
fe72eebd
UD
17644 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17645 instructions.
17646
ae1bc2fa
AS
176472011-11-07 Andreas Schwab <schwab@redhat.com>
17648
7583a88d
AS
17649 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17650 handler when locking.
17651
ae1bc2fa
AS
17652 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17653 Fix size of allocated buffer.
17654
10fb0bfa
AS
176552011-11-04 Andreas Schwab <schwab@redhat.com>
17656
998832a4
AS
17657 [BZ #10103]
17658 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17659 declarations for long double functions.
17660 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17661
10fb0bfa
AS
17662 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17663
3d7ba52b
AS
176642011-11-03 Andreas Schwab <schwab@redhat.com>
17665
a9ae54a1
AS
17666 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17667 installed.
17668
3d7ba52b
AS
17669 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17670 is disabled.
17671
bc8db248
ST
176722011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17673
17674 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17675
45b96dd6
AS
176762011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17677
647776f6
AS
17678 * include/alloca.h (stackinfo_alloca_round): Define.
17679 (extend_alloca): Use it.
17680 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17681 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17682 here.
17683
d91a8b93
AS
17684 * scripts/check-local-headers.sh: Ignore libaudit.h.
17685
45b96dd6
AS
17686 * nscd/Makefile (extra-objs): Make recursively expanded.
17687
432d41ce
UD
176882011-11-01 Ulrich Drepper <drepper@gmail.com>
17689
34372fc6
UD
17690 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17691 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17692
fadb59f8
UD
17693 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17694 * posix/tst-rfc3484-2.c: Likewise.
17695 * posix/tst-rfc3484-3.c: Likewise.
17696
78239589
UD
17697 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17698 process_vm_writev.
17699 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17700 process_vm_writev.
17701 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17702 process_vm_writev from libc using GLIBC_2.15 version.
17703
432d41ce
UD
17704 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17705
02f9c6cf
PP
177062011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17707
17708 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17709 stack usage.
17710
3a2c0242
UD
177112011-10-31 Ulrich Drepper <drepper@gmail.com>
17712
f4ec4833
UD
17713 [BZ #13367]
17714 * nss/getent.c (initgroups_keys): Show error message in case no group
17715 names are given.
17716
3a2c0242
UD
17717 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17718 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17719 __bump_nl_timestamp.
17720 * nscd/connections (nscd_init): When host database is served open
17721 netlink socket and request notification about configuration changes.
17722 (main_loop_poll): Track netlink file descriptor and bump timestamp
17723 in case data becomes available.
17724 (main_loop_epoll): Likewise.
17725 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17726 (database_pers_head): Add extra_data fileds.
17727 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17728 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17729 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17730 Adjust caller.
17731 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17732 in6ai data, call __free_in6ai.
17733 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17734 Add -DHAVE_NETLINK.
17735 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17736 interface information. Reuse previous data if netlink timestamp
17737 is not changed.
17738 (__bump_nl_timestamp): New function.
17739 (__free_in6ai): New function.
17740
636064eb
UD
177412011-10-30 Ulrich Drepper <drepper@gmail.com>
17742
17743 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17744 close_not_cancel_no_status here.
17745 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17746
9beb2334
UD
177472011-10-29 Ulrich Drepper <drepper@gmail.com>
17748
6ef76f3b
UD
17749 [BZ #13276]
17750 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17751 return value.
17752
0ffc4f3e 17753 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17754 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17755 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17756
cb95113e
UD
177572011-07-03 Andreas Jaeger <aj@suse.de>
17758
17759 [BZ #10709]
17760 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17761 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17762 * math/libm-test.inc (sin_test): Add test case.
17763
a1b560ff
UD
177642011-10-29 Ulrich Drepper <drepper@gmail.com>
17765
c9aaface
UD
17766 [BZ #13337]
17767 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17768 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17769
d272e7f1
UD
17770 * elf/chroot_canon.c (chroot_canon): Cleanups.
17771
1bc33071
UD
17772 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17773
1760874d
TJ
17774 [BZ #13335]
17775 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17776 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17777
51d91b18
UD
17778 * string/test-strchr.c: Make usable for strchrnul testing.
17779 * string/test-strchrnul.c: New file.
17780 * string/Makefile (strop-tests): Add strchrnul.
17781
a1b560ff 17782 * po/it.po: Update from translation team.
b611fb81 17783 * po/es.po: Likewise.
a1b560ff 17784
a5b81e1f
UD
177852011-10-28 Ulrich Drepper <drepper@gmail.com>
17786
fd52bc6d
UD
17787 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17788 the three constants needed as parameters. Drop the others.
17789 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17790 __m128i_strloadu_tolower.
52e4b9eb
UD
17791 Create and initialize variable zero and use it in all the places
17792 where _mm_setzero_si128 was used.
fd52bc6d 17793
a5b81e1f
UD
17794 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17795 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17796 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17797 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17798 anymore.
17799 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17800 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17801 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17802 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17803 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17804 __mpranred, __mptan.
17805 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17806 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17807 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17808 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17809 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17810 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17811 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17812 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17813 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17814
b4343346
AS
178152011-10-28 Andreas Schwab <schwab@redhat.com>
17816
0c92d8a8
AS
17817 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17818 redefine if SHARED.
17819 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17820
b4343346
AS
17821 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17822 wide char related routines to wcsmbs subdir.
17823
3871f58f
AS
178242011-10-27 Andreas Schwab <schwab@redhat.com>
17825
17826 [BZ #13344]
17827 * misc/sys/cdefs.h (__THROWNL): Define.
17828 * posix/unistd.h: Use __THREADNL instead of __THREAD
17829 for memory synchronization functions.
17830
94d44d9f
RM
178312011-10-26 Roland McGrath <roland@hack.frob.com>
17832
21b64b15 17833 [BZ #13349]
94d44d9f
RM
17834 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17835 doesn't exist.
17836 * manual/stdio.texi (Obstack Streams): Node removed.
17837
f6ce9294
AS
178382011-10-26 Andreas Schwab <schwab@redhat.com>
17839
80479147
AS
17840 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17841 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17842 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17843
f6ce9294
AS
17844 * math/math_private.h (math_force_eval): Allow non-addressable
17845 arguments.
17846 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17847
618280a1
UD
178482011-10-25 Ulrich Drepper <drepper@gmail.com>
17849
e0016b11
UD
17850 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17851 file is not needed.
17852
17853 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17854 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17855 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17856 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17857 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17858 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17859 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17860 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17861 Add AVX variants.
17862 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17863 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17864 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17865 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17866 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17867 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17868 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17869 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17870 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17871 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17872 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17873 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17874 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17875 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17876 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17877 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17878 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17879 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17880 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17881
17882 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17883 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17884
618280a1
UD
17885 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17886 place. Use VEX encoding when compiling for AVX.
17887
37822576
AS
178882011-10-25 Andreas Schwab <schwab@redhat.com>
17889
1f1e1947
AS
17890 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17891 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17892
37822576
AS
17893 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17894
31ea014d
UD
178952011-10-25 Ulrich Drepper <drepper@gmail.com>
17896
d7826aa1 17897 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17898 useless if() expression.
d7826aa1
UD
17899 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17900 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17901 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17902 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17903 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17904 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17905 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17906 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17907 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17908 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17909 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17910 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17911 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17912 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17913 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17914 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17915 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17916 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17917 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17918
31ea014d
UD
17919 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17920
16437fec
AS
179212011-10-25 Andreas Schwab <schwab@redhat.com>
17922
17923 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17924 condition.
17925 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17926
31d3cc00
UD
179272011-10-25 Ulrich Drepper <drepper@gmail.com>
17928
17929 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17930 .text section. Avoid duplicate constants.
17931 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17932 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17933 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17934 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17935 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17936 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17937 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17938 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17939 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17940 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17941 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17942 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17943 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17944 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17945 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17946 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17947 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17948 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17949 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17950 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17951 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17952 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17953 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17954 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17955 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17956 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17957 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17958 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17959 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17960 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17961 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17962 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17963 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17964 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17965 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17966 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17967 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17968 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17969 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17970 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17971 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17972 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17973 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17974 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17975 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17976
58985aa9
UD
179772011-10-24 Ulrich Drepper <drepper@gmail.com>
17978
202c9deb
UD
17979 * sysdeps/x86_64/dla.h: Move to ...
17980 * sysdeps/x86_64/fpu/dla.h: ...here.
17981 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17982 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17983
af968f62
UD
17984 * config.make.in: Add have-mfma4 entry.
17985 * configure.in: Substitute libc_cv_cc_fma4.
17986 * math/Makefile (dbl-only-routines): Add sincostab.
17987 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17988 Use __sincostab not sincos.
17989 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17990 name is a macro.
17991 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17992 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17993 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17994 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17995 using __copysign.
17996 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17997 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17998 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17999 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18000 and __inv.
18001 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18002 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18003 __copysign.
18004 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18005 define aliases when function name is a macro.
18006 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18007 sysdeps/ieee754/dbl-64/sincos.tbl.
18008 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18009 fma4-enabled routines.
18010 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18011 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18012 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18013 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18014 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18015 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18016 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18017 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18018 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18019 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18020 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18021 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18022 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18023 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18024 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18025 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18026 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18027 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18028 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18029 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18030 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18031 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18032 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18033 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18034 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18035 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18036 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18037 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18038 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18039 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18040
58985aa9
UD
18041 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18042 rename.
18043 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18044 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18045 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18046 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18047 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18048 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18049 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18050 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18051
a201fbcf
AS
180522011-10-24 Andreas Schwab <schwab@redhat.com>
18053
18054 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18055
fc2ee42a
LD
180562011-10-23 Ulrich Drepper <drepper@gmail.com>
18057
bb3129bd
UD
18058 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18059
0275fff8
UD
18060 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18061 prediction.
18062 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18063
2fa2ae85
UD
18064 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18065 Remove unused variable magic_bits.
18066 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18067
fc2ee42a
LD
18068 * string/strnlen.c: Define and use STRNLEN macro.
18069 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18070 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18071 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18072 * wcsmbs/wcslen.c: Define and use WCSLEN.
18073 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18074 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18075 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18076 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18077 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18078 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18079 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18080
ce7dd29f
LD
180812011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18082
18083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18084 strnlen-sse2-no-bsf.
18085 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18086 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18087 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18088 Add strnlen support.
18089 (USE_AS_STRNLEN): New macro.
18090 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18091 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18092 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18093 * sysdeps/x86_64/wcslen.S: New file.
18094
979c70a3
MZ
180952011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18096
18097 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18098 XMM-moves are used for copying on small sizes.
18099
2d09f82f
LD
181002011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18101
18102 * wcsmbs/Makefile (strop-tests): Add wcschr.
18103 * wcsmbs/test-wcschr.c: New file.
18104 * string/test-strchr.c: Update.
18105 Add wcschr support.
18106 (WIDE): New macro.
18107
619fccca
LD
181082011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18109
2d09f82f 18110 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
18111 * wcsmbs/test-wcslen.c: New file.
18112 * string/test-strlen.c: Update.
18113 Add wcslen support.
18114 (WIDE): New macro.
18115
09f699ea
UD
181162011-10-23 Ulrich Drepper <drepper@gmail.com>
18117
18118 * po/it.po: Update from translation team.
18119
95584d3b
LD
181202011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18121
18122 * sysdeps/x86_64/wcscmp.S: Update.
18123 Fix wrong comparison semantics.
18124 wcscmp shall use signed comparison not unsigned.
18125 Don't use substraction to avoid overflow bug.
18126 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18127 * wcsmbc/wcscmp.c: Likewise.
18128 * string/test-strcmp.c: Likewise.
18129 Add new tests to check cases with negative values.
18130
c8b3296b
UD
181312011-10-23 Ulrich Drepper <drepper@gmail.com>
18132
18133 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18134 * sysdeps/x86_64/dla.h: ...here. New file.
18135 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18136 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18137 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18138 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18139 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18140 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18141 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18142 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18143 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18144
246ad57a
AS
181452011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18146
18147 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18148 __ynl_finite aliases.
18149
a1a87169
UD
181502011-10-22 Ulrich Drepper <drepper@gmail.com>
18151
0d355eb7
UD
18152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18153
a1a87169
UD
18154 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18155 define DLA_FMA.
18156 [DLA_FMA] (EMULV): Use DLA_FMA.
18157 [DLA_FMA] (MUL12): Use EMULV.
18158 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18159 that are not needed.
18160 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18161 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18162 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18163 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18164 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18165 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18166 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18167
ee2aafe0
AS
181682011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18169
18170 * math/s_nan.c: Undef __nan.
18171 * math/s_nanf.c: Undef __nanf.
18172 * math/s_nanl.c: Undef __nanl.
18173 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18174 "math_private.h".
18175
bc62c2fb
UD
181762011-10-22 Ulrich Drepper <drepper@gmail.com>
18177
77425c63
UD
18178 * math/s_catan.c: Add branch predictions.
18179 * math/s_catanf.c: Likewise.
18180 * math/s_catanh.c: Likewise.
18181 * math/s_catanhf.c: Likewise.
18182 * math/s_catanhl.c: Likewise.
18183 * math/s_catanl.c: Likewise.
18184 * math/s_cexp.c: Likewise.
18185 * math/s_cexpf.c: Likewise.
18186 * math/s_cexpl.c: Likewise.
18187 * math/s_clog.c: Likewise.
18188 * math/s_clog10.c: Likewise.
18189 * math/s_clog10f.c: Likewise.
18190 * math/s_clog10l.c: Likewise.
18191 * math/s_clogf.c: Likewise.
18192 * math/s_clogl.c: Likewise.
18193 * math/s_csqrt.c: Likewise.
18194 * math/s_csqrtf.c: Likewise.
18195 * math/s_csqrtl.c: Likewise.
18196 * math/s_ctanf.c: Likewise.
18197 * math/s_ctanh.c: Likewise.
18198 * math/s_ctanhf.c: Likewise.
18199 * math/s_ctanhl.c: Likewise.
18200 * math/s_ctanl.c: Likewise.
18201
bc62c2fb
UD
18202 * math/math_private.h: Define __nan, __nanf, __nanl.
18203 * math/s_cacosh.c: Include <math_private.h>.
18204 * math/s_cacoshl.c: Likewise.
18205 * math/s_casinh.c: Likewise.
18206 * math/s_casinhf.c: Likewise.
18207 * math/s_casinhl.c: Likewise.
18208 * math/s_ccos.c: Rely entire on ccosh.
18209 * math/s_ccosf.c: Rely entire on ccoshf.
18210 * math/s_ccosl.c: Rely entirely on ccoshl.
18211 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18212 Remove tests for FE_INVALID.
18213 * math/s_ccoshf.c: Likewise.
18214 * math/s_ccoshl.c: Likewise.
18215 * math/s_csin.c: Likewise.
18216 * math/s_csinf.c: Likewise.
18217 * math/s_csinh.c Likewise.
18218 * math/s_csinhf.c: Likewise.
18219 * math/s_csinhl.c: Likewise.
18220 * math/s_csinl.c: Likewise.
18221 * math/s_ctan.c: Likewise.
18222 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18223 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18224 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18225
8ec250a4
UD
182262011-10-21 Ulrich Drepper <drepper@gmail.com>
18227
c196fed8
UD
18228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18229 compilation problems.
18230
8ec250a4
UD
18231 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18232 __builtin_expect.
18233
8d4f46c6
UD
182342011-10-20 Ulrich Drepper <drepper@gmail.com>
18235
ed72b654
UD
18236 * sysdeps/i386/configure.in: Test for -mfma4 option.
18237 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18238 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18239 COMMON_CPUID_INDEX_80000001.
18240 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18241 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18242 use it if FMA3 is not supported.
18243 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18244
8d4f46c6
UD
18245 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18246 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18247
d45c60c2
AS
182482011-10-20 Andreas Schwab <schwab@redhat.com>
18249
18250 [BZ #12892]
18251 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18252 it would create a cycle with a link time dependency.
18253
d9a4d2ab
UD
182542011-10-19 Ulrich Drepper <drepper@gmail.com>
18255
855d1560
UD
18256 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18257 instruction.
18258 * string/Makefile (strop-tests): Add rawmemchr.
18259 * string/test-rawmemchr.c: New file.
18260
d9a4d2ab
UD
18261 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18262 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18263 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18264 when compiling str{,n}casecmp and when AVX is available. Hook up
18265 new optimized code in initializers.
18266
8f3b1ffe
AS
182672011-10-19 Andreas Schwab <schwab@redhat.com>
18268
18269 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18270 __feraiseexcept instead of feraiseexcept.
18271
d38f1dba
UD
182722011-10-18 Ulrich Drepper <drepper@gmail.com>
18273
d9a8d0ab
UD
18274 * math/math_private.h: Define defaults for libc_fetestexcept and
18275 libc_feupdateenv.
18276 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18277 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18278 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18279 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18280 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18281 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18282 libc_fetestexcept and libc_feupdateenv.
18283
4855e3dd
UD
18284 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18285 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18286 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18287 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18288 libc_feholdexcept_setround.
18289
581d30e3
UD
18290 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18291 Add s_nearbyint-c and s_nearbyintf-c.
18292 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18293 nearbyintf inlines.
18294 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18295 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18296 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18297 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18298
d38f1dba
UD
18299 * math/math_private.h: Define defaults for libc_fegetround,
18300 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18301 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18302 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18303 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18304 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18305 standard functions.
18306 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18307 Remove comments and hacks for old compiler versions.
18308 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18309 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18310 libc_feholdexceptl.
18311
caa6c9d8
AS
183122011-10-18 Andreas Schwab <schwab@redhat.com>
18313
18314 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
18315 (__feraiseexcept_renamed): Add __NTH.
18316 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
18317 namespace violations.
18318
97c066e6
UD
183192011-10-17 Ulrich Drepper <drepper@gmail.com>
18320
99ce7b04
UD
18321 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18322
1004d182
UD
18323 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18324
228a984d
UD
18325 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18326 recently added interfaces.
18327 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18328
c8553a6a
UD
18329 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18330 about macro parameter expansion.
18331
ed22dcf6
UD
18332 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18333 __NO_MATH_INLINES is defined. Cleanups.
18334
18335 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18336 and __floorf is target has SSE4.1.
18337 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18338 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18339 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18340 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18341
b171c137
UD
18342 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18343 name.
18344 (floorf): Likewise.
18345
97c066e6
UD
18346 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18347
629f62ef
AS
183482011-10-17 Andreas Schwab <schwab@redhat.com>
18349
49a43d80
AS
18350 * misc/sys/cdefs.h: Fix last change.
18351
629f62ef
AS
18352 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18353 database lookup.
18354
e453f6cd
UD
183552011-10-16 Ulrich Drepper <drepper@gmail.com>
18356
aa78043a
UD
18357 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18358
ad0f5cad
UD
18359 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18360 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18361 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18362 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18363 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18364 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18365 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18366 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18367 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18368 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18369 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18370 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18371 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18372 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18373 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18374 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18375 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18376 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18377 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18378 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18379 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18380 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18381
18382 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18383 ceil, ceilf, floor, floorf.
18384
18385 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18386 Perform IRELATIVE relocations last.
18387
e453f6cd
UD
18388 * elf/do-rel.h: Add another parameter nrelative, replacing the
18389 local variable with the same name. Change name of the function
18390 to end in Rel or Rela (uppercase).
18391 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18392 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18393 elf_dynamic_do_##reloc function.
18394
fd5bdc09
UD
183952011-10-15 Ulrich Drepper <drepper@gmail.com>
18396
79b195b5
UD
18397 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18398 is sufficient, at least on modern CPUs.
18399
d4a28569
UD
18400 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18401
b61099b5
UD
18402 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18403 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18404
bcf01e6d
UD
18405 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18406 __expl_finite.
18407 * math/bits/math-finite.h: Add entries for exp.
18408 * math/e_expl.c: Add __*_finite alias.
18409 * sysdeps/i386/fpu/e_exp.S: Likewise.
18410 * sysdeps/i386/fpu/e_expf.S: Likewise.
18411 * sysdeps/i386/fpu/e_expl.c: Likewise.
18412 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18413 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18414 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18415 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18416 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18417 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18418 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18419
ba1a0d59
UD
18420 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18421 is sufficient, at least on modern CPUs.
18422
fd5bdc09
UD
18423 * ctype/ctype-info.c (__ctype_init): Define.
18424 * include/ctype.h (__ctype_init): Declare.
18425 (__ctype_b_loc): The variable is always initialized.
18426 (__ctype_toupper_loc): Likewise.
18427 (__ctype_tolower_loc): Likewise.
18428 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18429 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18430
7872cfb0
AS
184312011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18432
b468825a
AS
18433 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18434
7872cfb0
AS
18435 * configure.in: Also look in $cxxmachine/include for C++ system
18436 headers.
18437
be13f7bf
LD
184382011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18439
18440 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18441 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18442 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18443 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18444 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18445 (USE_AS_WMEMCMP): New macro.
18446 Fixing indents.
18447 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18448 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18449 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18450 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18451 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18452 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18453 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18454 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18455 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18456 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18457 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18458 (USE_AS_WMEMCMP): New macro.
18459 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18460 * sysdeps/string/test-memcmp.c: Update.
18461 Fix simple_wmemcmp.
18462 Add new tests.
18463 * wcsmbs/wmemcmp.c: Update.
18464 (WMEMCMP): New macro.
18465 Fix overflow bug.
18466
556a2007
AJ
184672011-10-12 Andreas Jaeger <aj@suse.de>
18468
18469 [BZ #13268]
18470 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18471
538faaa7
UD
184722011-10-15 Ulrich Drepper <drepper@gmail.com>
18473
ab6737ff
UD
18474 * libio/iofwide.c (do_length): Avoid warning.
18475
538faaa7
UD
18476 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18477
396a21b1
UD
184782011-10-14 Ulrich Drepper <drepper@gmail.com>
18479
cdf2901f
UD
18480 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18481
38ad40ce
UD
18482 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18483 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18484 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18485 * sysdeps/i386/i686/fpu/e_log.S: New file.
18486 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18487 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18488
396a21b1
UD
18489 * ctype/ctype.h: Add support for inlined isXXX functions when
18490 compiling C++ code.
18491
6b1f68c9
AS
184922011-10-14 Andreas Schwab <schwab@redhat.com>
18493
349290c0
AS
18494 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18495
6b1f68c9
AS
18496 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18497
f2282d42
RM
184982011-10-13 Roland McGrath <roland@hack.frob.com>
18499
18500 [BZ #13291]
18501 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18502
5298ffa8
AS
185032011-10-13 Andreas Schwab <schwab@redhat.com>
18504
714fad23
AS
18505 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18506 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18507 feraiseexcept.
18508
81dcc7fb
AS
18509 * sysdeps/x86_64/memrchr.S: Check for zero size.
18510
5298ffa8
AS
18511 * string/stratcliff.c: Add memrchr tests.
18512
951fbcec
LD
185132011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18514
18515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18516 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18517 rawmemchr-sse2 rawmemchr-sse2-bsf.
18518 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18519 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18520 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18521 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18522 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18523 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18524 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18525 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18526 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18527 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18528 * string/memrchr.c (MEMRCHR): New macro.
18529
0ac5ae23
UD
185302011-10-12 Ulrich Drepper <drepper@gmail.com>
18531
18532 Add integration with gcc's -ffinite-math-only and optimize wrapper
18533 functions in libm.
18534 * Versions.def: Define GLIBC_2.15 version for libm.
18535 * math/Makefile (headers): Add bits/math-finite.h.
18536 * math/bits/math-finite.h: New file.
18537 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18538 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18539 * math/e_acoshl.c: Add __*_finite alias.
18540 * math/e_acosl.c: Likewise.
18541 * math/e_asinl.c: Likewise.
18542 * math/e_atan2l.c: Likewise.
18543 * math/e_atanhl.c: Likewise.
18544 * math/e_coshl.c: Likewise.
18545 * math/e_exp10.c: Likewise.
18546 * math/e_exp10f.c: Likewise.
18547 * math/e_exp10l.c: Likewise.
18548 * math/e_exp2l.c: Likewise.
18549 * math/e_fmodl.c: Likewise.
18550 * math/e_gammal_r.c: Likewise.
18551 * math/e_hypotl.c: Likewise.
18552 * math/e_j0l.c: Likewise.
18553 * math/e_j1l.c: Likewise.
18554 * math/e_jnl.c: Likewise.
18555 * math/e_lgammal_r.c: Likewise.
18556 * math/e_log10l.c: Likewise.
18557 * math/e_log2l.c: Likewise.
18558 * math/e_logl.c: Likewise.
18559 * math/e_powl.c: Likewise.
18560 * math/e_sinhl.c: Likewise.
18561 * math/e_sqrtl.c: Likewise.
18562 * math/e_scalb.c: Completely rewritten and optimized.
18563 * math/e_scalbf.c: Likewise.
18564 * math/e_scalbl.c: Likewise.
18565 * math/w_acos.c: Likewise.
18566 * math/w_acosf.c: Likewise.
18567 * math/w_acosl.c: Likewise.
18568 * math/w_acosh.c: Likewise.
18569 * math/w_acoshf.c: Likewise.
18570 * math/w_acoshl.c: Likewise.
18571 * math/w_asin.c: Likewise.
18572 * math/w_asinf.c: Likewise.
18573 * math/w_asinl.c: Likewise.
18574 * math/w_atan2.c: Likewise.
18575 * math/w_atan2f.c: Likewise.
18576 * math/w_atan2l.c: Likewise.
18577 * math/w_atanh.c: Likewise.
18578 * math/w_atanhf.c: Likewise.
18579 * math/w_atanhl.c: Likewise.
18580 * math/w_exp10.c: Likewise.
18581 * math/w_exp10f.c: Likewise.
18582 * math/w_exp10l.c: Likewise.
18583 * math/w_fmod.c: Likewise.
18584 * math/w_fmodf.c: Likewise.
18585 * math/w_fmodl.c: Likewise.
18586 * math/w_j0.c: Likewise.
18587 * math/w_j0f.c: Likewise.
18588 * math/w_j0l.c: Likewise.
18589 * math/w_j1.c: Likewise.
18590 * math/w_j1f.c: Likewise.
18591 * math/w_j1l.c: Likewise.
18592 * math/w_jn.c: Likewise.
18593 * math/w_jnf.c: Likewise.
18594 * math/w_log.c: Likewise.
18595 * math/w_logf.c: Likewise.
18596 * math/w_logl.c: Likewise.
18597 * math/w_log10.c: Likewise.
18598 * math/w_log10f.c: Likewise.
18599 * math/w_log10l.c: Likewise.
18600 * math/w_log2.c: Likewise.
18601 * math/w_log2f.c: Likewise.
18602 * math/w_log2l.c: Likewise.
18603 * math/w_pow.c: Likewise.
18604 * math/w_powf.c: Likewise.
18605 * math/w_powl.c: Likewise.
18606 * math/w_remainder.c: Likewise.
18607 * math/w_remainderf.c: Likewise.
18608 * math/w_remainderl.c: Likewise.
18609 * math/w_scalb.c: Likewise.
18610 * math/w_scalbf.c: Likewise.
18611 * math/w_scalbl.c: Likewise.
18612 * math/w_sqrt.c: Likewise.
18613 * math/w_sqrtf.c: Likewise.
18614 * math/w_sqrtl.c: Likewise.
18615 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18616 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18617 used.
18618 * math/math_private.h: Declare __kernel_standard_f.
18619 * math/w_cosh.c: Remove cruft and optimize a bit.
18620 * math/w_coshf.c: Likewise.
18621 * math/w_coshl.c: Likewise.
18622 * math/w_exp2.c: Likewise.
18623 * math/w_exp2f.c: Likewise.
18624 * math/w_exp2l.c: Likewise.
18625 * math/w_hypot.c: Likewise.
18626 * math/w_hypotf.c: Likewise.
18627 * math/w_hypotl.c: Likewise.
18628 * math/w_lgamma.c: Likewise.
18629 * math/w_lgamma_r.c: Likewise.
18630 * math/w_lgammaf.c: Likewise.
18631 * math/w_lgammaf_r.c: Likewise.
18632 * math/w_lgammal.c: Likewise.
18633 * math/w_lgammal_r.c: Likewise.
18634 * math/w_sinh.c: Likewise.
18635 * math/w_sinhf.c: Likewise.
18636 * math/w_sinhl.c: Likewise.
18637 * math/w_tgamma.c: Likewise.
18638 * math/w_tgammaf.c: Likewise.
18639 * math/w_tgammal.c: Likewise.
18640 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18641 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18642 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18643 Minor optimizations. Pretty printing. Remove cruft.
18644 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18645 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18646 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18647 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18648 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18649 * sysdeps/i386/fpu/e_asin.S: Likewise.
18650 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18651 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18652 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18653 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18654 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18655 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18656 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18657 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18658 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18659 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18660 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18661 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18662 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18663 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18664 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18665 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18666 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18667 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18668 * sysdeps/i386/fpu/e_log.S: Likewise.
18669 * sysdeps/i386/fpu/e_log10.S: Likewise.
18670 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18671 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18672 * sysdeps/i386/fpu/e_log2.S: Likewise.
18673 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18674 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18675 * sysdeps/i386/fpu/e_logf.S: Likewise.
18676 * sysdeps/i386/fpu/e_logl.S: Likewise.
18677 * sysdeps/i386/fpu/e_pow.S: Likewise.
18678 * sysdeps/i386/fpu/e_powf.S: Likewise.
18679 * sysdeps/i386/fpu/e_powl.S: Likewise.
18680 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18681 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18682 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18683 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18684 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18685 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18686 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18687 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18688 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18689 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18690 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18692 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18693 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18694 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18695 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18696 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18697 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18698 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18699 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18700 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18701 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18702 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18703 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18704 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18705 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18706 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18707 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18708 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18709 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18710 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18711 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18712 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18713 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18714 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18715 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18716 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18717 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18718 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18719 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18720 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18721 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18722 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18723 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18724 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18725 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18726 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18727 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18728 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18729 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18730 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18731 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18732 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18733 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18734 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18735 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18736 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18737 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18738 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18739 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18740 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18741 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18742 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18743 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18744 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18745 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18746 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18747 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18748 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18749 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18750 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18751 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18752 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18753 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18754 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18755 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18756 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18757 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18758 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18759 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18760 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18761 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18762 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18763 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18764 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18765 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18766 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18767 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18768 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18769 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18770 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18771 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18772 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18773 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18774 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18775 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18776 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18777 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18778 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18779 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18780 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18781 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18782 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18783 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18784 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18785 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18786 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18787 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18788 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18789 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18790 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18791 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18792 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18793 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18794 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18795 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18796 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18797 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18798 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18799 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18800 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18801 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18802 (__isnanf): Likewise.
18803 (__isinf_ns): Likewise.
18804 (__isinf_nsf): Likewise.
18805 (__finite): Likewise.
18806 (__finitef): Likewise.
18807 (__ieee754_sqrt): Define as macro.
18808 (__ieee754_sqrtf): Define as macro.
18809 (__ieee754_sqrtl): Define as macro.
18810 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18811 inlined copy.
18812 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18813 __FINITE_MATH_ONLY__ consistent.
18814 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18815
12cc2fcd
AS
188162011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18817
a843a204
AS
18818 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18819 of rawmemchr.
18820
12cc2fcd
AS
18821 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18822
c853acd5
UD
188232011-10-09 Ulrich Drepper <drepper@gmail.com>
18824
18825 * po/ja.po: Update from translation team.
18826
c658d255
RM
188272011-10-08 Roland McGrath <roland@hack.frob.com>
18828
110946e4
RM
18829 * locale/programs/locarchive.c (prepare_address_space): New function.
18830 (create_archive, enlarge_archive, open_archive): Use it.
18831
50604220
RM
18832 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18833 inside [SHARED], where it is used.
18834
c658d255
RM
18835 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18836
18837 * nss/getent.c (netgroup_keys): Remove unused variable.
18838 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18839
6a621eb7
UD
188402011-10-08 Ulrich Drepper <drepper@gmail.com>
18841
7edb55ce
UD
18842 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18843 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18844 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18845 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18846 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18847 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18848 * math/Makefile (libm-calls): Add s_isinf_ns.
18849 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18850 * math/multc3.c: Likewise.
18851 * math/s_casin.c: Likewise.
18852 * math/s_casinf.c: Likewise.
18853 * math/s_casinl.c: Likewise.
18854 * math/s_ccos.c: Likewise.
18855 * math/s_ccosf.c: Likewise.
18856 * math/s_ccosl.c: Likewise.
18857 * math/s_ctan.c: Likewise.
18858 * math/s_ctanf.c: Likewise.
18859 * math/s_ctanh.c: Likewise.
18860 * math/s_ctanhf.c: Likewise.
18861 * math/s_ctanhl.c: Likewise.
18862 * math/s_ctanl.c: Likewise.
18863 * math/w_fmod.c: Likewise.
18864 * math/w_fmodf.c: Likewise.
18865 * math/w_fmodl.c: Likewise.
18866 * math/w_remainder.c: Likewise.
18867 * math/w_remainderf.c: Likewise.
18868 * math/w_remainderl.c: Likewise.
18869 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18870 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18871 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18872 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18873 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18874 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18875 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18876 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18877
187da0ae
UD
18878 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18879 of the number.
18880 * stdio-common/printf_fphex.c: Likewise.
18881 * stdio-common/printf_size.c: Likewise.
18882
9277c064
UD
18883 * math/e_exp10.c: Include math_private.h using <...> not "...".
18884 * math/e_exp10f.c: Likewise.
18885 * math/e_exp10l.c: Likewise.
18886 * math/e_exp2l.c: Likewise.
18887 * math/e_j0l.c: Likewise.
18888 * math/e_j1l.c: Likewise.
18889 * math/e_jnl.c: Likewise.
18890 * math/e_lgammal_r.c: Likewise.
18891 * math/e_rem_pio2l.c: Likewise.
18892 * math/e_scalb.c: Likewise.
18893 * math/e_scalbf.c: Likewise.
18894 * math/e_scalbl.c: Likewise.
18895 * math/k_cosl.c: Likewise.
18896 * math/k_sinl.c: Likewise.
18897 * math/k_tanl.c: Likewise.
18898 * math/s_cacoshf.c: Likewise.
18899 * math/s_catan.c: Likewise.
18900 * math/s_catanf.c: Likewise.
18901 * math/s_catanh.c: Likewise.
18902 * math/s_catanhf.c: Likewise.
18903 * math/s_catanhl.c: Likewise.
18904 * math/s_catanl.c: Likewise.
18905 * math/s_ccosh.c: Likewise.
18906 * math/s_ccoshf.c: Likewise.
18907 * math/s_ccoshl.c: Likewise.
18908 * math/s_cexp.c: Likewise.
18909 * math/s_cexpf.c: Likewise.
18910 * math/s_cexpl.c: Likewise.
18911 * math/s_clog.c: Likewise.
18912 * math/s_clog10.c: Likewise.
18913 * math/s_clog10f.c: Likewise.
18914 * math/s_clog10l.c: Likewise.
18915 * math/s_clogf.c: Likewise.
18916 * math/s_clogl.c: Likewise.
18917 * math/s_csin.c: Likewise.
18918 * math/s_csinf.c: Likewise.
18919 * math/s_csinh.c: Likewise.
18920 * math/s_csinhf.c: Likewise.
18921 * math/s_csinhl.c: Likewise.
18922 * math/s_csinl.c: Likewise.
18923 * math/s_csqrt.c: Likewise.
18924 * math/s_csqrtf.c: Likewise.
18925 * math/s_csqrtl.c: Likewise.
18926 * math/s_ctan.c: Likewise.
18927 * math/s_ctanf.c: Likewise.
18928 * math/s_ctanh.c: Likewise.
18929 * math/s_ctanhf.c: Likewise.
18930 * math/s_ctanhl.c: Likewise.
18931 * math/s_ctanl.c: Likewise.
18932 * math/s_ldexp.c: Likewise.
18933 * math/s_ldexpf.c: Likewise.
18934 * math/s_ldexpl.c: Likewise.
18935 * math/s_significand.c: Likewise.
18936 * math/s_significandf.c: Likewise.
18937 * math/s_significandl.c: Likewise.
18938 * math/w_acos.c: Likewise.
18939 * math/w_acosf.c: Likewise.
18940 * math/w_acosh.c: Likewise.
18941 * math/w_acoshf.c: Likewise.
18942 * math/w_acoshl.c: Likewise.
18943 * math/w_acosl.c: Likewise.
18944 * math/w_asin.c: Likewise.
18945 * math/w_asinf.c: Likewise.
18946 * math/w_asinl.c: Likewise.
18947 * math/w_atan2.c: Likewise.
18948 * math/w_atan2f.c: Likewise.
18949 * math/w_atan2l.c: Likewise.
18950 * math/w_atanh.c: Likewise.
18951 * math/w_atanhf.c: Likewise.
18952 * math/w_atanhl.c: Likewise.
18953 * math/w_cosh.c: Likewise.
18954 * math/w_coshf.c: Likewise.
18955 * math/w_coshl.c: Likewise.
18956 * math/w_dremf.c: Likewise.
18957 * math/w_exp10.c: Likewise.
18958 * math/w_exp10f.c: Likewise.
18959 * math/w_exp10l.c: Likewise.
18960 * math/w_exp2.c: Likewise.
18961 * math/w_exp2f.c: Likewise.
18962 * math/w_fmod.c: Likewise.
18963 * math/w_fmodf.c: Likewise.
18964 * math/w_fmodl.c: Likewise.
18965 * math/w_hypot.c: Likewise.
18966 * math/w_hypotf.c: Likewise.
18967 * math/w_hypotl.c: Likewise.
18968 * math/w_j0.c: Likewise.
18969 * math/w_j0f.c: Likewise.
18970 * math/w_j0l.c: Likewise.
18971 * math/w_j1.c: Likewise.
18972 * math/w_j1f.c: Likewise.
18973 * math/w_j1l.c: Likewise.
18974 * math/w_jn.c: Likewise.
18975 * math/w_jnf.c: Likewise.
18976 * math/w_jnl.c: Likewise.
18977 * math/w_lgamma.c: Likewise.
18978 * math/w_lgamma_r.c: Likewise.
18979 * math/w_lgammaf.c: Likewise.
18980 * math/w_lgammaf_r.c: Likewise.
18981 * math/w_lgammal.c: Likewise.
18982 * math/w_lgammal_r.c: Likewise.
18983 * math/w_log.c: Likewise.
18984 * math/w_log10.c: Likewise.
18985 * math/w_log10f.c: Likewise.
18986 * math/w_log10l.c: Likewise.
18987 * math/w_log2.c: Likewise.
18988 * math/w_log2f.c: Likewise.
18989 * math/w_log2l.c: Likewise.
18990 * math/w_logf.c: Likewise.
18991 * math/w_logl.c: Likewise.
18992 * math/w_pow.c: Likewise.
18993 * math/w_powf.c: Likewise.
18994 * math/w_powl.c: Likewise.
18995 * math/w_remainder.c: Likewise.
18996 * math/w_remainderf.c: Likewise.
18997 * math/w_remainderl.c: Likewise.
18998 * math/w_scalb.c: Likewise.
18999 * math/w_scalbf.c: Likewise.
19000 * math/w_scalbl.c: Likewise.
19001 * math/w_sinh.c: Likewise.
19002 * math/w_sinhf.c: Likewise.
19003 * math/w_sinhl.c: Likewise.
19004 * math/w_sqrt.c: Likewise.
19005 * math/w_sqrtf.c: Likewise.
19006 * math/w_sqrtl.c: Likewise.
19007 * math/w_tgamma.c: Likewise.
19008 * math/w_tgammaf.c: Likewise.
19009 * math/w_tgammal.c: Likewise.
19010
6a621eb7
UD
19011 * po/ja.po: Update from translation team.
19012
bf582445
AJ
190132011-09-29 Andreas Jaeger <aj@suse.de>
19014
f9efbf3a
AJ
19015 [BZ #13179]
19016 * sunrpc/netname.c (netname2host): Fix logic.
19017
bf582445
AJ
19018 [BZ #6779]
19019 [BZ #6783]
19020 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19021 correctly.
19022 * math/w_remainder.c (__remainder): Likewise.
19023 * math/w_remainderf.c (__remainderf): Likewise.
19024 * math/libm-test.inc (remainder_test): Add test cases.
19025
48693bea
AK
190262011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19027
19028 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19029 sdiv_qrnnd.
19030
42622229
LD
190312011-10-07 Ulrich Drepper <drepper@gmail.com>
19032
19033 * string/test-memcmp.c: Avoid unncessary #defines.
19034 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19035
093ecf92
LD
190362011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19037
19038 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19039 Use new sse2 version for core i3 - i7 as it's faster
19040 than sse42 version.
19041 (bit_Prefer_PMINUB_for_stringop): New.
19042 * sysdeps/x86_64/rawmemchr.S: Update.
19043 Replace with faster SSE2 version.
19044 * sysdeps/x86_64/memrchr.S: New file.
19045 * sysdeps/x86_64/memchr.S: Update.
19046 Replace with faster SSE2 version.
19047
fde56e5c
MP
190482011-09-12 Marek Polacek <mpolacek@redhat.com>
19049
19050 * elf/dl-load.c (lose): Add cast to avoid warning.
19051
21fd49a9
UD
190522011-10-07 Ulrich Drepper <drepper@gmail.com>
19053
5a06e643
UD
19054 * po/ca.po: Update from translation team.
19055
684ae515
UD
19056 * inet/getnetgrent_r.c: Hook up nscd.
19057 * nscd/Makefile (routines): Add nscd_netgroup.
19058 (nscd-modules): Add netgroupcache.
19059 (CFLAGS-netgroupcache.c): Define.
19060 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19061 (cache_search): Add const to second parameter.
19062 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19063 INNETGR.
19064 (dbs): Add netgrdb entry.
19065 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19066 (verify_persistent_db): Handle netgrdb.
19067 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19068 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19069 GETFDNETGR.
19070 (netgroup_response_header): Define.
19071 (innetgroup_response_header): Define.
19072 (datahead): Add netgroup_response_header and innetgroup_response_header
19073 elements.
19074 * nscd/nscd.conf: Add entries for netgroup cache.
19075 * nscd/nscd.h (dbtype): Add netgrdb.
19076 (_PATH_NSCD_NETGROUP_DB): Define.
19077 (netgroup_iov_disabled): Declare.
19078 (xmalloc, xcalloc, xrealloc): Move declarations here.
19079 (cache_search): Adjust prototype.
19080 Add netgroup-related prototypes.
19081 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19082 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19083 (__nscd_innetgr): Declare.
19084 * nscd/selinux.c (perms): Use access_vector_t as element type and
19085 add netgroup-related initializers.
19086 * nscd/netgroupcache.c: New file.
19087 * nscd/nscd_netgroup.c: New file.
19088 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19089 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19090 For four parameters use innetgr.
19091 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19092 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19093 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19094 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19095
21fd49a9
UD
19096 * nscd/connections.c (register_traced_file): Don't register file
19097 for disabled databases.
19098
054c0457
UD
190992011-10-06 Ulrich Drepper <drepper@gmail.com>
19100
32b63198
UD
19101 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19102
054c0457
UD
19103 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19104 from tree and freeing node.
19105
64031225
JO
191062011-09-25 Jiri Olsa <jolsa@redhat.com>
19107
19108 * nss/nsswitch.c (__nss_database_lookup): Handle
19109 nss_parse_service_list out of memory case.
19110
0490345c
JO
191112011-09-15 Jiri Olsa <jolsa@redhat.com>
19112
19113 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19114 out of memory case.
19115
3a62d00d
AS
191162011-10-04 Andreas Schwab <schwab@redhat.com>
19117
19118 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19119 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19120 pass it down.
19121 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19122 elf_machine_rela, elf_machine_lazy_rel.
19123 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19124 (ELF_DYNAMIC_DO_REL): Likewise.
19125 (ELF_DYNAMIC_DO_RELA): Likewise.
19126 (ELF_DYNAMIC_RELOCATE): Likewise.
19127 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19128 to ELF_DYNAMIC_DO_REL.
19129 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19130 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19131 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19132 elf_machine_rela.
19133 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19134 skip_ifunc, don't call ifunc function if non-zero.
19135 (elf_machine_rela): Likewise.
19136 (elf_machine_lazy_rel): Likewise.
19137 (elf_machine_lazy_rela): Likewise.
19138 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19139 (elf_machine_lazy_rel): Likewise.
19140 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19141 Likewise.
19142 (elf_machine_lazy_rel): Likewise.
19143 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19144 Likewise.
19145 (elf_machine_lazy_rel): Likewise.
19146 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19147 (elf_machine_lazy_rel): Likewise.
19148 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19149 (elf_machine_lazy_rel): Likewise.
19150 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19151 (elf_machine_lazy_rel): Likewise.
19152 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19153 (elf_machine_lazy_rel): Likewise.
19154 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19155 (elf_machine_lazy_rel): Likewise.
19156 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19157 (elf_machine_lazy_rel): Likewise.
19158
68577918
UD
191592011-09-28 Ulrich Drepper <drepper@gmail.com>
19160
19161 * nss/nss_files/files-init.c (_nss_files_init): Use static
19162 initialization for all the *_traced_file variables.
19163
68822d74
AS
191642011-09-28 Andreas Schwab <schwab@redhat.com>
19165
19166 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19167
2056100b
RM
191682011-09-27 Roland McGrath <roland@hack.frob.com>
19169
19170 [BZ #13226]
19171 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19172
32c76b63
AS
191732011-09-27 Andreas Schwab <schwab@redhat.com>
19174
19175 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19176 Reread the line before reparsing it.
19177
bf972c9d
AS
191782011-09-26 Andreas Schwab <schwab@redhat.com>
19179
19180 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19181
e057a1b5
JM
191822011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19183 Maxim Kuvyrkov <maxim@codesourcery.com>
19184 Joseph Myers <joseph@codesourcery.com>
19185
19186 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19187 if needed for __stack_chk_guard.
19188
bc7e1c36
RM
191892011-09-19 Roland McGrath <roland@hack.frob.com>
19190
ecb1482f
RM
19191 * sysdeps/posix/spawni.c (script_execute): Always define it.
19192 It will be optimized away if unused.
19193 (maybe_script_execute): New function.
19194 (__spawni): Call it.
19195
bc7e1c36
RM
19196 * Makerules: Don't include tls.make.
19197 (config-tls): Always set to thread.
19198 * tls.make.c: File removed.
19199
1c3b002b
MF
192002011-09-19 Mike Frysinger <vapier@gentoo.org>
19201
19202 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19203 * config.make.in (CPPFLAGS-config): New substituted variable.
19204
2840865d
UD
192052011-09-15 Ulrich Drepper <drepper@gmail.com>
19206
88738eb6
UD
19207 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19208
cbf645a6 19209 [BZ #13192]
2840865d
UD
19210 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19211 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19212
b402e91a
RM
192132011-09-15 Roland McGrath <roland@hack.frob.com>
19214
19215 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19216 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19217 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19218 (CALL_FAIL): Likewise.
19219 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19220 (CALL_FAIL): Macro removed.
19221 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19222
4c1a1f71
UD
192232011-09-15 Ulrich Drepper <drepper@gmail.com>
19224
19225 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19226 for __FINITE_MATH_ONLY__ == 1.
19227
edc121be
AS
192282011-09-15 Andreas Schwab <schwab@redhat.com>
19229
19230 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19231 __ieee754_sqrt instead of sqrt.
19232 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19233 __ieee754_sqrtf instead of sqrtf.
19234 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19235 __floorf instead of floorf.
19236 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19237 __floorf, __truncf instead of floorf, truncf.
19238
cd205654
UD
192392011-09-14 Ulrich Drepper <drepper@gmail.com>
19240
ee4d0315
UD
19241 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19242
cd205654
UD
19243 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19244 __extern_always_inline.
19245 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19246 32-bit.
19247
48b67d71
AS
192482011-09-14 Andreas Schwab <schwab@redhat.com>
19249
19250 * elf/rtld.c (dl_main): Also relocate in dependency order when
19251 doing symbol dependency testing.
19252
1ae12c75
AS
192532011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19254
19255 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19256 Always define `refsym'.
19257
995a80df
AS
192582011-09-13 Andreas Schwab <schwab@redhat.com>
19259
e529793b
AS
19260 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19261 (__FD_ELT): Renamed from __FDELT.
19262 * misc/bits/select2.h (__FD_ELT): Likewise.
19263 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19264 __FD_MASK instead of __FDELT, __FDMASK.
19265 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19266 Likewise.
19267 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19268 Likewise.
19269
52d4fef8
AS
19270 * elf/Makefile (gen-ldd): Fix pattern.
19271
995a80df
AS
19272 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19273 (init_tls): Likewise.
19274
8682f8b0
UD
192752011-09-12 Ulrich Drepper <drepper@gmail.com>
19276
19277 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19278
de82006d
AS
192792011-09-12 Andreas Schwab <schwab@redhat.com>
19280
a7c8e6a1
AS
19281 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19282 `struct cmsghdr *' instead of `void *'.
19283 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19284 Likewise.
19285
0f31fe77
AS
192862011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19287
19288 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19289 if non-absolute.
19290 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19291 ldd_rewrite_script.
0f31fe77 19292
32b4c839
UD
192932011-09-11 Ulrich Drepper <drepper@gmail.com>
19294
83cd1420
UD
19295 * configure.in: Remove --with-tls option.
19296 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19297 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19298 out in case it is missing.
19299 * sysdeps/ia64/elf/configure.in: Likewise.
19300 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19301 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19302 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19303 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19304 * sysdeps/sh/elf/configure.in: Likewise.
19305 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19306 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19307 * sysdeps/x86_64/elf/configure.in: Likewise.
19308 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19309 * sysdeps/mach/hurd/tls.h: Likewise.
19310
633f745d
UD
19311 [BZ #13067]
19312 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19313
f318beb8
UD
19314 [BZ #13090]
19315 * configure.in: Fix use of AC_INIT.
19316
32b4c839
UD
19317 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19318
3ce1f295
UD
193192011-09-10 Ulrich Drepper <drepper@gmail.com>
19320
bb016596
UD
19321 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19322 __set_errno.
8e58439c
UD
19323 * malloc/hooks.c: Likewise.
19324
aebae053 19325 [BZ #11929]
02d46fc4
UD
19326 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19327 variables statically.
19328 (narenas): Initialize.
19329 (list_lock): Initialize.
bb016596
UD
19330 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19331 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
19332 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19333 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19334 Add initializers to main_arena and mp_.
19335 (malloc_state): Remove pagesize member. Change all users to use
19336 GLRO(dl_pagesize).
19337
19338 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19339 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19340 is always initialized.
19341
22a89187
UD
19342 * malloc/malloc.c: Removed unused configurations and dead code.
19343 * malloc/arena.c: Likewise.
19344 * malloc/hooks.c: Likewise.
02d46fc4 19345 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 19346
d063d164
UD
19347 * include/tls.h: Removed. USE___THREAD must always be defined.
19348 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19349 * elf/dl-libc.c: Likewise.
19350 * elf/dl-tsd.c: Likewise.
19351 * include/errno.h: Likewise.
19352 * include/netdb.h: Likewise.
19353 * include/resolv.h: Likewise.
19354 * inet/herrno-loc.c: Likewise.
19355 * inet/herrno.c: Likewise.
19356 * malloc/arena.c: Likewise.
19357 * malloc/hooks.c: Likewise.
19358 * malloc/malloc.c: Likewise.
19359 * resolv/res-state.c: Likewise.
19360 * resolv/res_libc.c: Likewise.
19361 * sysdeps/i386/dl-machine.h: Likewise.
19362 * sysdeps/ia64/dl-machine.h: Likewise.
19363 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19364 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19365 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19366 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19367 * sysdeps/sh/dl-machine.h: Likewise.
19368 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19369 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19370 * sysdeps/unix/i386/sysdep.S: Likewise.
19371 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19372 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19373 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19374 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19375 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19376 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19377 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19378 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19379 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19380 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19381 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19382 * sysdeps/x86_64/dl-machine.h: Likewise.
19383 * tls.make.c: Likewise.
19384
3ce1f295
UD
19385 * configure.in: Remove --with-__thread option. Make tests for
19386 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19387 tls_model attribute fail if no support is available. Remove
19388 USE_IN_LIBIO.
19389 * Makeconfig: Adjust for dropped configure option. All features are
19390 now mandatory.
19391 * Makerules: Likewise.
19392 * Versions.def: Likewise.
19393 * argp/argp-fmtstream.c: Likewise.
19394 * argp/argp-fmtstream.h: Likewise.
19395 * argp/argp-help.c: Likewise.
19396 * assert/assert.c: Likewise.
19397 * config.h.in: Likewise.
19398 * config.make.in: Likewise.
19399 * configure: Likewise.
19400 * configure.in: Likewise.
19401 * csu/Versions: Likewise.
19402 * csu/init.c: Likewise.
19403 * elf/tst-audit2.c: Likewise.
19404 * elf/tst-tls10.c: Likewise.
19405 * elf/tst-tls10.h: Likewise.
19406 * elf/tst-tls11.c: Likewise.
19407 * elf/tst-tls12.c: Likewise.
19408 * elf/tst-tls14.c: Likewise.
19409 * elf/tst-tlsmod11.c: Likewise.
19410 * elf/tst-tlsmod12.c: Likewise.
19411 * elf/tst-tlsmod13.c: Likewise.
19412 * elf/tst-tlsmod13a.c: Likewise.
19413 * elf/tst-tlsmod14a.c: Likewise.
19414 * elf/tst-tlsmod15b.c: Likewise.
19415 * elf/tst-tlsmod16a.c: Likewise.
19416 * elf/tst-tlsmod16b.c: Likewise.
19417 * elf/tst-tlsmod7.c: Likewise.
19418 * elf/tst-tlsmod8.c: Likewise.
19419 * elf/tst-tlsmod9.c: Likewise.
19420 * gmon/gmon.c: Likewise.
19421 * grp/fgetgrent_r.c: Likewise.
19422 * grp/putgrent.c: Likewise.
19423 * hurd/fopenport.c: Likewise.
19424 * include/libc-symbols.h: Likewise.
19425 * include/tls.h: Likewise.
19426 * intl/gettextP.h: Likewise.
19427 * intl/loadinfo.h: Likewise.
19428 * locale/global-locale.c: Likewise.
19429 * locale/localeinfo.h: Likewise.
19430 * mach/devstream.c: Likewise.
19431 * malloc/arena.c: Likewise.
19432 * malloc/set-freeres.c: Likewise.
19433 * misc/err.c: Likewise.
19434 * misc/getttyent.c: Likewise.
19435 * misc/mntent_r.c: Likewise.
19436 * posix/getopt.c: Likewise.
19437 * posix/wordexp.c: Likewise.
19438 * pwd/fgetpwent_r.c: Likewise.
19439 * resolv/Versions: Likewise.
19440 * resolv/res_hconf.c: Likewise.
19441 * shadow/fgetspent_r.c: Likewise.
19442 * shadow/putspent.c: Likewise.
19443 * stdio-common/printf_fphex.c: Likewise.
19444 * stdio-common/tmpfile.c: Likewise.
19445 * stdlib/abort.c: Likewise.
19446 * stdlib/fmtmsg.c: Likewise.
19447 * sunrpc/auth_unix.c: Likewise.
19448 * sunrpc/clnt_perr.c: Likewise.
19449 * sunrpc/clnt_tcp.c: Likewise.
19450 * sunrpc/clnt_udp.c: Likewise.
19451 * sunrpc/clnt_unix.c: Likewise.
19452 * sunrpc/openchild.c: Likewise.
19453 * sunrpc/svc_simple.c: Likewise.
19454 * sunrpc/svc_tcp.c: Likewise.
19455 * sunrpc/svc_udp.c: Likewise.
19456 * sunrpc/svc_unix.c: Likewise.
19457 * sunrpc/xdr.c: Likewise.
19458 * sunrpc/xdr_array.c: Likewise.
19459 * sunrpc/xdr_rec.c: Likewise.
19460 * sunrpc/xdr_ref.c: Likewise.
19461 * sunrpc/xdr_stdio.c: Likewise.
19462
1248c1c4
PB
194632011-09-09 Ulrich Drepper <drepper@gmail.com>
19464
19465 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19466
194672011-07-03 Andreas Jaeger <aj@suse.de>
19468
19469 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19470 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19471 regenerate with gen-libm-tests.pl.
19472
194732010-05-12 Petr Baudis <pasky@suse.cz>
19474
19475 [BZ #11589]
19476 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19477 around j0() zero points by switching to j1().
19478 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19479 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19480 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19481 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19482
f22e1074
UD
194832011-09-09 Ulrich Drepper <drepper@gmail.com>
19484
f19009c1
UD
19485 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19486 instead of 0.
19487 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 19488 instead of 0.
f19009c1
UD
19489 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19490 Patch in part by Pavel Roskin <proski@gnu.org>.
19491
3f8cc204
UD
19492 [BZ #13138]
19493 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19494 realloc.
19495 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19496 Free memory block if necessary.
19497
f22e1074
UD
19498 [BZ #12847]
19499 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19500 be NULL. Don't lock in this case.
19501
0a2349f9
RM
195022011-09-09 Roland McGrath <roland@hack.frob.com>
19503
19504 * elf/elf.h (ELFOSABI_GNU): New macro.
19505 (ELFOSABI_LINUX): Define to that.
19506
f3cdd467
DZ
195072011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19508
19509 * string/strncat.c (strncat): Undef the symbol in case it has been
19510 defined in bits/string.h.
19511
74718d13
UD
195122011-09-09 Ulrich Drepper <drepper@gmail.com>
19513
633e9e0f
UD
19514 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19515
0a2349f9 19516 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
19517 link map.
19518
f9924780
AJ
195192011-08-17 Andreas Jaeger <aj@suse.de>
19520
19521 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19522
7f5517aa
PP
195232011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19524 Ian Lance Taylor <iant@google.com>
19525
19526 * math/libm-test.inc (lround_test): New testcase.
19527 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19528
762011fe
UD
195292011-09-08 Ulrich Drepper <drepper@gmail.com>
19530
92963737
UD
19531 * Makefile: Remove support for automatic cvs check-ins.
19532 * Makerules: Likewise.
19533 * config.make.in: Likewise.
19534 * configure.in: Likewise.
19535 * intl/Makefile: Likewise.
19536 * locale/Makefile: Likewise.
19537 * po/Makefile: Likewise.
19538 * posix/Makefile: Likewise.
19539 * sysdeps/gnu/Makefile: Likewise.
19540 * sysdeps/mach/hurd/Makefile: Likewise.
19541 * sysdeps/sparc/sparc32/Makefile: Likewise.
19542
b0727fd8
JS
19543 [BZ #13118]
19544 * posix/Makefile (bug-regex32-ENV): Define.
19545 Patch by John Stanley <jpsinthemix@verizon.net>.
19546
a0f33f99
UD
19547 * misc/Makefile (headers): Add bits/select2.h.
19548 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19549 * misc/bits/select2.h: New file.
19550 * include/bits/select2.h: New file.
19551 * debug/Makefile (routines): Add fdelt_chk.
19552 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19553 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19554 FD_ISSET.
19555 * debug/fdelt_chk.c: New file.
19556
762011fe
UD
19557 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19558 * wcsmbs/test-wmemcmp.c: Likewise.
19559 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19560 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19561
195622011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19563
19564 * string/Makefile (strop-tests): Add memcmp.
19565 * string/test-wmemcmp.c: New file.
19566 * string/test-memcmp.c: Add wmemcmp support.
19567
7f513ec8
RM
195682011-09-08 Roland McGrath <roland@hack.frob.com>
19569
0442afb4
RM
19570 [BZ #13153]
19571 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19572 2011-07-19 change.
19573
7f513ec8
RM
19574 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19575 garbage value in a __mach_port_mod_refs call in the cases of the
19576 task-self and thread-self ports.
19577
a12b2239
ST
195782011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19579
19580 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19581
610f9ab4
AS
195822011-09-08 Andreas Schwab <schwab@redhat.com>
19583
7f513ec8 19584 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19585
48882a1a
LD
195862011-09-07 Ulrich Drepper <drepper@gmail.com>
19587
b49865be
UD
19588 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19589
fdc86bc9
UD
19590 * elf/dl-libc.c (dlerror_run): Pass back error code from
19591 dl_catch_error.
19592
c966526a
UD
19593 [BZ #13123]
19594 * elf/dl-load.c (lose): Free l_origin if it is valid.
19595
48882a1a
LD
19596 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19597 names.
19598 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19599 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19600 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19601 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19602 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19603 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19604
77a2a8b4
AZ
196052011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19606
19607 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19608 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19609 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19610 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19611 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19612 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19613 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19614 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19615 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19616 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19617
24f579d8
AM
196182011-08-15 Alan Modra <amodra@gmail.com>
19619
19620 [BZ #13092]
19621 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19622 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19623 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19624 ppc_mcount to static-only-routines.
19625 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19626 __mcount_internal.
19627 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19628 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19629
3d4837df
UD
196302011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19631
19632 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19633 for finite and infinity parameters.
19634
22700377
WS
196352011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19636
19637 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19638 and add nop instructions for throughput optimization.
19639 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19640
5025581e
WS
196412011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19642
19643 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19644 aligned copy for power7 with vector-scalar instructions.
19645 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19646
08a300c9
L
196472011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19648
19649 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19650 AVX check.
19651
59178ef9
AS
196522011-09-07 Andreas Schwab <schwab@redhat.com>
19653
19654 [BZ #13144]
19655 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19656 last change.
19657
e38ba7ab
UD
196582011-09-07 Ulrich Drepper <drepper@gmail.com>
19659
19660 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19661 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19662 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19663 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19664 clock_gettime.
19665
d53a73ac
UD
196662011-09-06 Ulrich Drepper <drepper@gmail.com>
19667
fc8bffcc
UD
19668 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19669 Forgot to demangle the pointer.
19670
ceaa0c5d
UD
19671 * sysdeps/i386/sysdep.h: Define atom_text_section.
19672 * sysdeps/x86_64/sysdep.h: Likewise.
19673 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19674 section with atom_text_section.
19675 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19676 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19677 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19678 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19679 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19680
a77d3c17
UD
19681 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19682 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19683 already be defined. Change to take two parameters and don't assign
19684 result to variable. Adjust all users.
19685 Define INTERNAL_GETTIME if not already defined.
19686 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19687 call.
19688 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19689 HAVE_CLOCK_GETTIME_VSYSCALL.
19690 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19691
d53a73ac
UD
19692 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19693 gettimeofday vsyscall, just use time.
19694
a8f84144
AS
196952011-09-06 Andreas Schwab <schwab@redhat.com>
19696
19697 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19698 <errno.h>.
19699
ef606249
UD
197002011-09-06 Ulrich Drepper <drepper@gmail.com>
19701
19702 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19703 syscall on x86-64.
19704 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19705 syscall.
19706 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19707 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19708 syscall if possible.
19709
6585cb60
UD
197102011-09-05 Ulrich Drepper <drepper@gmail.com>
19711
19712 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19713 e_ident. Don't pass to find_mapsXX.
19714 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19715
a5f524e4
LD
197162011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19717
19718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19719 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19720 * sysdeps/x86_64/multiarch/strchr.S: Update.
19721 Check bit_slow_BSF bit.
19722 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19723 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19724 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19725
554881ef
UD
197262011-09-05 Ulrich Drepper <drepper@gmail.com>
19727
d96de963
UD
19728 [BZ #13134]
19729 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19730 before glibc 2.15.
19731 (tryshell): Define.
19732 (__spawni): Change last parameter to be flag. Test
19733 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19734 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19735 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19736 * posix/spawni.c: Likewise.
19737 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19738 * posix/spawnp.c: Likewise. Change normal version to use
19739 SPAWN_XFLAGS_USE_PATH.
19740 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19741 SPAWN_XFLAGS_TRY_SHELL.
19742
d48e5868
UD
19743 [BZ #13150]
19744 * posix/glob.h: Remove gcc 1.x support.
19745
554881ef
UD
19746 [BZ #13068]
19747 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19748
693fb948
LD
197492011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19750
19751 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19752 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19753 strrchr-sse2-bsf
19754 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19755 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19756 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19757 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19758 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19759 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19760
1b48c537
UD
197612011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19762
49d42c37
UD
19763 * sysdeps/x86_64/wcscmp.S: New file.
19764
1b48c537
UD
19765 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19766 wcscmp-c wcscmp-sse2
19767 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19768 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19769 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19770 * wcsmbs/wcscmp.c: Allow renaming.
19771
15c95c5d
DM
197722011-09-05 David S. Miller <davem@davemloft.net>
19773
19774 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19775 stack slot, rather than the struct return pointer slot.
19776 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19777 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19779 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19780
2f0ad8f3
UD
197812011-09-05 Ulrich Drepper <drepper@gmail.com>
19782
d88ae418
UD
19783 * po/ja.po: Update from translation team.
19784
2f0ad8f3
UD
19785 [BZ #13144]
19786 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19787 kernel in 64-bit binaries.
19788
5f4318d1
DM
197892011-09-01 David S. Miller <davem@davemloft.net>
19790
19791 * elf/elf.h (HWCAP_SPARC_*): Move to..
19792 * sysdeps/sparc/sysdep.h: this new file and add new values.
19793 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19794 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19795 _DL_HWCAP_COUNT to 24.
19796 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19797 entries.
19798 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19799 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19800 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19801 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19802 instead of magic constants.
19803 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19804
3ba57516
DM
198052011-08-31 David S. Miller <davem@davemloft.net>
19806
19807 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19808 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19809 Reimplement to do errno handling inline.
19810 (SYSCALL_ERROR_HANDLER): New macro.
19811 (__SYSCALL_STRING): Do not do errno handling in asm.
19812 (__CLONE_SYSCALL_STRING): Delete.
19813 (__INTERNAL_SYSCALL_STRING): Delete.
19814 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19815 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19816 (PSEUDO): Reimplement to do errno handling inline.
19817 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19818 (SYSCALL_ERROR_HANDLER): New macro.
19819 (__SYSCALL_STRING): Do not do errno handling in asm.
19820 (__CLONE_SYSCALL_STRING): Delete.
19821 (__INTERNAL_SYSCALL_STRING): Delete.
19822 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19823 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19824 i386.
19825 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19826 (inline_syscall*): Add 'err' argument.
19827 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19828 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19829 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19830 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19831
19832 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19833 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19834
2bc17433
AS
198352011-08-30 Andreas Schwab <schwab@redhat.com>
19836
19837 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19838
fbeb5f4d
JO
198392011-08-29 Jiri Olsa <jolsa@redhat.com>
19840
19841 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19842 directive.
19843
ad69cc26
DM
198442011-08-24 David S. Miller <davem@davemloft.net>
19845
19846 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19847
39dd69df
AS
198482011-08-24 Andreas Schwab <schwab@redhat.com>
19849
19850 * elf/Makefile: Add rules to build and run unload8 test.
19851 * elf/unload8.c: New file.
19852 * elf/unload8mod1.c: New file.
19853 * elf/unload8mod1x.c: New file.
19854 * elf/unload8mod2.c: New file.
19855 * elf/unload8mod3.c: New file.
19856
19857 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19858 it wasn't used.
19859
2c0b250a
DM
198602011-08-23 David S. Miller <davem@davemloft.net>
19861
19862 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19863 subtract stack bias.
19864 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19865 %sp not %fp in calculations.
19866 (_JMPBUF_UNWINDS_ADJ): Likewise.
19867
22044b48
DM
19868 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19869 (aio_suspend): Call it to force an exception region around the
19870 AIO_MISC_WAIT() invocation.
19871
2cae4995
AS
198722011-08-23 Andreas Schwab <schwab@redhat.com>
19873
19874 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19875 backslash.
19876
873a772e
AJ
198772011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19878
19879 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19880 protection macro.
19881 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19882 and <dl-machine.h>.
19883 (Elf64_FuncDesc): Remove.
19884
25ad0df1
DM
198852011-08-22 David S. Miller <davem@davemloft.net>
19886
19887 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19888 sigaltstack check, add missing cfi directives.
19889 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19890 missing cfi directives, and sigaltstack handling.
19891
e888bcbe
AS
198922011-08-16 Andreas Schwab <schwab@redhat.com>
19893
19894 [BZ #11724]
19895 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19896 object is seen twice.
19897 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19898
19899 * elf/Makefile (distribute): Add tst-initorder2.c.
19900 (tests): Add tst-initorder2.
19901 (modules-names): Add tst-initorder2a tst-initorder2b
19902 tst-initorder2c tst-initorder2d. Add rules to build them.
19903 ($(objpfx)tst-initorder2.out): New rule.
19904 * elf/tst-initorder2.c: New file.
19905 * elf/tst-initorder2.exp: New file.
19906
87162f46
AS
199072011-08-22 Andreas Schwab <schwab@redhat.com>
19908
70538b7f
AS
19909 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19910
f55ffe58
AS
19911 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19912 dependencies back to end of function.
19913
87162f46
AS
19914 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19915 $(elfobjdir)/ld.so.
19916
91b392a4
UD
199172011-08-21 Ulrich Drepper <drepper@gmail.com>
19918
19919 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19920 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19921 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19922 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19923 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19924 of __vdso_gettimeofday.
19925 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19926 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19927 attribute_hidden.
19928 (_libc_vdso_platform_setup): Remove initialization of
19929 __vdso_gettimeofday and __vdso_time.
19930
5c43483f
UD
199312011-08-20 Ulrich Drepper <drepper@gmail.com>
19932
775a77e7
UD
19933 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19934 and fgetc_unlocked.
19935 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19936 getc_unlocked.
89f447ed 19937
49c74ba9
UD
19938 * elf/dl-open.c (add_to_global): Report additions to the global scope
19939 for LD_DEBUG=scopes.
19940 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19941 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19942
5c43483f
UD
19943 [BZ #13114]
19944 * stdio-common/Makefile (tests): Add bug24.
19945 * stdio-common/bug24.c: New file.
19946
a101b025
AJ
199472011-08-19 Andreas Jaeger <aj@suse.de>
19948
19949 [BZ #13114]
19950 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19951 non-existant file when using close-on-exec mode.
19952
c88f1766
UD
199532011-08-20 Ulrich Drepper <drepper@gmail.com>
19954
0276a718
UD
19955 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19956 the very first instruction.
19957
c88f1766
UD
19958 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19959 the CFI state in the end.
19960 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19961 inclusion of dl-trampoline.h.
19962 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19963
51ccffa0
AS
199642011-08-19 Andreas Schwab <schwab@redhat.com>
19965
94d7165f
AS
19966 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19967 expectations for long double.
19968
51ccffa0
AS
19969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19970 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19971
fd708658 199722011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19973
19974 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19975 artificual limit depends upon the system page size.
19976
44f0a71e
UD
199772011-08-17 Ulrich Drepper <drepper@gmail.com>
19978
19979 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19980 * resolv/Makefile: Define CFLAGS-libresolv.
19981
8de79a24
AS
199822011-08-17 Andreas Schwab <schwab@redhat.com>
19983
19984 * nss/makedb.c (compute_tables): Make variables used in nested
19985 function static.
19986
27724598
UD
199872011-08-17 Ulrich Drepper <drepper@gmail.com>
19988
c5305d88
UD
19989 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19990 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19991 if buffer was too small.
19992
27724598
UD
19993 * elf/pldd.c (main): Attach to all threads in the process.
19994 Rewrite /proc handling to use *at functions.
19995
076fe015
UD
199962011-08-16 Ulrich Drepper <drepper@gmail.com>
19997
174baab3
UD
19998 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19999 specifies first scope to show.
20000 (dl_open_worker): Update callers. Move printing scope of new
20001 object to before the relocation.
44f0a71e 20002 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
20003 * sysdeps/generic/ldsodefs.h: Update declaration.
20004
076fe015
UD
20005 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20006 string for the scope number.
20007
a60df2c3
UD
200082011-08-14 Ulrich Drepper <drepper@gmail.com>
20009
20010 * nscd/servicescache.c (cache_addserv): Make sure written is always
20011 initialized.
20012
5e4287d1
RM
200132011-08-14 Roland McGrath <roland@hack.frob.com>
20014
85ae0589
RM
20015 * sysdeps/i386/i486/bits/atomic.h
20016 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20017 statement expression, so as to suppress "set but not used" warning.
20018 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20019
69f63097
RM
20020 * string/strncat.c (STRNCAT): Use prototype definition.
20021
675456ef
RM
20022 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20023 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20024 -Iprograms here.
20025 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20026 (localedef-modules): Add localedef.
20027 (locale-modules): Add locale.
20028
5e4287d1
RM
20029 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20030 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20031 to avoid a warning.
20032
9c96ff23
DM
200332011-08-14 David S. Miller <davem@davemloft.net>
20034
20035 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20036 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20037
f9ddf089
UD
200382011-08-13 Ulrich Drepper <drepper@gmail.com>
20039
44f0a71e 20040 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
20041 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20042 * elf/rtld.c (dl_main): Set l_name of vDSO.
20043 Call _dl_show_scope when DL_DEBUG_SCOPES.
20044 (process_dl_debug): Recognize scopes flag and also set it for all.
20045 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20046 Declare _dl_show_scope.
20047
1dc27704
UD
20048 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20049 (do_dlopen): Pass caller_dlopen to dl_open.
20050 (__libc_dlopen_mode): Initialize caller_dlopen.
20051
f9ddf089
UD
20052 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20053 of libc. Make tolower call locale-independent. Optimize a bit by
20054 using isdigit instead of isalnum.
20055 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20056
9ac533d3
UD
200572011-08-12 Ulrich Drepper <drepper@gmail.com>
20058
20059 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20060 was a dependency or dynamically loaded.
20061
89edf2e9
UD
200622011-08-11 Ulrich Drepper <drepper@gmail.com>
20063
8e999d29
UD
20064 * intl/l10nflist.c: Allow architecture-specific pop function.
20065 * sysdeps/x86_64/l10nflist.c: New file.
20066
89edf2e9
UD
20067 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20068 classification.
20069
14d96785
AS
200702011-08-10 Andreas Schwab <schwab@redhat.com>
20071
20072 * include/dirent.h: Add libc_hidden_proto for scandirat and
20073 scandirat64. Don't declare __scandirat64.
20074 * dirent/scandirat.c: Add libc_hidden_def.
20075 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20076 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20077
6761ac04
DM
200782011-08-10 David S. Miller <davem@davemloft.net>
20079
20080 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20081 enum.
20082 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20083 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20084 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20085
c55fbd1e
UD
200862011-08-09 Ulrich Drepper <drepper@gmail.com>
20087
20088 * Versions.def [libc]: Add GLIBC_2.15.
20089 * dirent/Makefile (routines): Add scandirat and scandirat64.
20090 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20091 GLIBC_2.15.
20092 * dirent/dirent.h: Declare scandirat and scandirat64.
20093 * dirent/scandirat.c: New file.
20094 * dirent/scandirat64.c: New file.
20095 * sysdeps/wordsize-64/scandirat.c: New file.
20096 * sysdeps/wordsize-64/scandirat64.c: New file.
20097 * dirent/opendir.c: Define opendirat.
20098 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20099 using scandirat.
20100 * dirent/scandir64.c: Adjust for scandir.c change.
20101 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20102 __scandirat64, and __scandir_cancel_handler.
20103 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20104 additional parameter and use openat instead of open (outside of ld.so).
20105 Add new __opendir as wrapper around __opendirat.
20106 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20107 here without requiring old scandirat implementation.
20108
879165f2
UD
201092011-08-08 Ulrich Drepper <drepper@gmail.com>
20110
20111 * dirent/scandir.c (cancel_handler): Renamed to
20112 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20113 defined. Adjust users.
20114 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20115 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20116
cb7e923b
UD
201172011-08-04 Ulrich Drepper <drepper@gmail.com>
20118
16292edd
UD
20119 * string/test-string.h (IMPL): Use __STRING to expand name and then
20120 stringify it.
20121
cb7e923b
UD
20122 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20123 of cleanups.
20124
cff82933
LD
201252011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20126
20127 * string/Makefile: Update.
20128 (strop-tests): Append strncat.
20129 * string/test-wcscmp.c: New file.
20130 New comprehensive test for wcscmp.
20131 * string/test-strcmp.c: Update.
20132 (WIDE): New define.
20133
9be9bfcc
AS
201342011-07-22 Andreas Schwab <schwab@redhat.com>
20135
20136 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20137 line.
20138
2e96f1c7
AS
201392011-07-26 Andreas Schwab <schwab@redhat.com>
20140
20141 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20142 encoding to ACE if AI_IDN.
20143
85188888
JJ
201442011-08-01 Jakub Jelinek <jakub@redhat.com>
20145
20146 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20147 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20148
5fa16e9b
LD
201492011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20150
20151 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20152 Fix overflow bug in strncat.
20153 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20154
20155 * string/test-strncat.c: Update.
20156 Add new tests for checking overflow bugs.
20157
201582011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20159
20160 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20161 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20162 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20163 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20164 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20165 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20166 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20167 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20168 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20169
20170 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20171 (USE_AS_STRCAT): Define.
20172 Add strcat and strncat support.
20173 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20174
8c1a459f
AS
201752011-07-25 Andreas Schwab <schwab@redhat.com>
20176
20177 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20178 __n bigger than INT_MAX+1.
20179 (__strncmp_g): Likewise.
20180
bba33c28
UD
201812011-07-23 Ulrich Drepper <drepper@gmail.com>
20182
798be72d
UD
20183 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20184 * libio/stido.h: Likewise.
20185
8accd4dc
UD
20186 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20187 (AF_NFC): Define.
20188 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20189 (AF_NFC): Define.
20190
cbff0d96
UD
20191 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20192 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20193 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20194 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20195 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20196
9191c04a
UD
20197 [BZ #13021]
20198 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20199 installed.
20200
bba33c28
UD
20201 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20202 typo.
20203 (_dl_x86_64_save_sse): Likewise.
20204
90f139dd
UD
202052011-07-22 Ulrich Drepper <drepper@gmail.com>
20206
1aae088a
UD
20207 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20208 OSXSAVE.
20209 (_dl_x86_64_save_sse): Likewise.
20210
8e2045f5
UD
20211 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20212
90f139dd
UD
20213 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20214
1d002f25
AS
202152011-07-21 Andreas Schwab <schwab@redhat.com>
20216
20217 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20218 change.
20219 (_dl_x86_64_save_sse): Use correct AVX check.
20220
21137f89
UD
202212011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20222
20223 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20224 bug in strncpy/strncat.
20225 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20226
a65c0b7a
UD
202272011-07-21 Ulrich Drepper <drepper@gmail.com>
20228
20229 * string/tester.c (test_strcat): Add tests for different alignments
20230 of source and destination.
20231 (test_strncat): Likewise.
20232
6986b98a
UD
202332011-07-20 Ulrich Drepper <drepper@gmail.com>
20234
90bb2039
UD
20235 [BZ #12852]
20236 * posix/glob.c (glob): Check passed in values before using them in
20237 expressions to avoid some overflows.
20238 (glob_in_dir): Likewise.
20239
5644ef54
UD
20240 [BZ #13007]
20241 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20242 check for AVX enablement so that we don't crash with old kernels and
20243 new hardware.
20244 * elf/tst-audit4.c: Add same checks here.
20245 * elf/tst-audit6.c: Likewise.
20246
20247 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 20248
bfc9dc9b
AS
202492011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20250
20251 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20252
702e64bb
UD
202532011-07-20 Ulrich Drepper <drepper@gmail.com>
20254
20255 * po/cs.po: Update from translation team.
20256 * po/bg.po: Likewise.
20257
295e904f
MP
202582011-07-12 Marek Polacek <mpolacek@redhat.com>
20259
20260 * misc/sys/cdefs.h: Add support for const attribute.
20261 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20262 to gnu_dev_{major,minor,makedev} functions.
20263
3ff94596
MP
202642011-07-20 Marek Polacek <mpolacek@redhat.com>
20265
20266 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20267
28b59fca
AS
202682011-07-20 Andreas Schwab <schwab@redhat.com>
20269
20270 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20271 strlen results.
20272
19df733e
AK
202732011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20274
20275 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20276 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20277 register in order to avoid conflicts with the soft frame pointer
20278 being held in r11 when necessary.
20279 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20280 (INTERNAL_VSYSCALL_NCS): Likewise.
20281
c8835729
MP
202822011-07-14 Marek Polacek <mpolacek@redhat.com>
20283
20284 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20285 * elf/dl-fini.c (_dl_fini): Adjust caller.
20286 * elf/dl-close.c (_dl_close_worker): Likewise.
20287 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20288
b902330c
MP
202892011-07-15 Marek Polacek <mpolacek@redhat.com>
20290
8991e135
MP
20291 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20292 "aux_cache->nlibs < 0".
20293
b902330c
MP
20294 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20295 in the reload-count case.
20296
99710781
LD
202972011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20298
20299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20300 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20301 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20302 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20303 * sysdeps/x86_64/multiarch/strcat.S: New file.
20304 * sysdeps/x86_64/multiarch/strncat.S: New file.
20305 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20306 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20307 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20308 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20309 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20310 (USE_AS_STRCAT): Define.
20311 Add strcat and strncat support.
20312 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20313 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20314 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20315 * string/strncat.c: Update.
20316 (USE_AS_STRNCAT): Define.
20317 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20318 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20319 and i7.
20320 * sysdeps/x86_64/multiarch/init-arch.h
20321 (bit_Prefer_PMINUB_for_stringop): New.
20322 (index_Prefer_PMINUB_for_stringop): Likewise.
20323 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20324 bit_Prefer_PMINUB_for_stringop.
20325
7dc6bd90
UD
203262011-07-19 Ulrich Drepper <drepper@gmail.com>
20327
20328 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20329 buffer64.
20330 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20331 of casting of buffer.
20332 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20333 buffer32 and buffer64.
20334 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20335 writes instead of casting of buffer.
20336 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20337 buffer32.
20338 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20339 casting of buffer.
20340
e0e72284
AS
203412011-07-19 Andreas Schwab <schwab@redhat.com>
20342
20343 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20344
feb1eb0b
UD
203452011-07-19 Ulrich Drepper <drepper@gmail.com>
20346
20347 * nscd/nscd.c (termination_handler): Don't do anything for a database
20348 if it has not yet been initialized.
20349
298711ff
UD
203502011-07-18 Ulrich Drepper <drepper@gmail.com>
20351
20352 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20353
203542011-07-15 Marek Polacek <mpolacek@redhat.com>
20355
20356 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20357
f9d68389
UD
203582011-07-18 Ulrich Drepper <drepper@gmail.com>
20359
20360 * po/nl.po: Update from translation team.
20361 * po/sv.po: Likewise.
20362
db290cf5
RM
203632011-07-16 Roland McGrath <roland@hack.frob.com>
20364
20365 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20366 now disallowed by GCC.
5c550700 20367
fd5e21c7
RM
20368 * configure.in (use-default-link): Default to yes if a test -shared
20369 link meets our qualifications.
20370 * configure: Regenerated.
20371
5c550700
RM
20372 * config.make.in (output-format): New variable.
20373 * configure.in: Check for ld --print-output-format support.
20374 * configure: Regenerated.
20375 * Makerules ($(common-objpfx)format.lds)
20376 [$(output-format) != unknown]: Just use $(output-format),
20377 instead of the linker-script munging.
20378
9fa2c032
RM
203792011-07-14 Roland McGrath <roland@hack.frob.com>
20380
a6928d51
RM
20381 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20382 of $(common-objpfx)shlib.lds.
20383 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20384
661607b3
RM
20385 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20386 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20387
9fa2c032
RM
20388 * configure.in (-z relro check): Adjust test code to add a large
20389 writable data section after it.
20390 * configure: Regenerated.
20391
defe9061
RM
203922011-07-11 Roland McGrath <roland@hack.frob.com>
20393
20394 * configure.in (-z relro check): Fix test code to make the variable
20395 truly const.
20396 * configure: Regenerated.
20397
319b9ad4
UD
203982011-07-11 Ulrich Drepper <drepper@gmail.com>
20399
20400 * nscd/nscd.h (struct traced_file): Define.
20401 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20402 elements. Add traced_files.
20403 (inotify_fd): Declare.
20404 (register_traced_file): Declare.
20405 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20406 (inotify_fd): Export.
20407 (resolv_conf_descr): Remove.
20408 (nscd_init): Move inotify descriptor creation to main.
20409 Don't register files for notification here.
20410 (register_traced_file): New function.
20411 (invalidate_cache): Don't use reset_res to determine whether to call
20412 res_init, go through the list of registered files.
20413 (main_loop_poll): The inotify descriptors are now stored in the
20414 structures for the traced files.
20415 (main_loop_epoll): Likewise
20416 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20417 to __nss_disable_nscd.
20418 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20419 for a database anymore. Check the records for all the registered
20420 files instead.
20421 * nss/Makefile (libnss_files-routines): Add files-init.
20422 (libnss_db-routines): Add db-init.
20423 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20424 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20425 * nss/nss_db/db-init.c: New file.
20426 * nss/nss_files/files-init.c: New file.
20427 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20428 __nss_lookup_function.
20429 (__nss_lookup_function): Call nss_load_library.
20430 (nss_load_all_libraries): New function.
20431 (__nss_disable_nscd): Take parameter with callback function for files
20432 to register. Set is_nscd. Load all the DSOs for the NSS modules
20433 used for the cached services.
20434 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20435 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20436 options for features to all the files in nscd.
20437
20438 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20439
23bee3e8
RM
204402011-07-10 Roland McGrath <roland@hack.frob.com>
20441
20442 * csu/elf-init.c (__libc_csu_init): Comment typo.
20443
46a5b7f0
UD
204442011-07-09 Ulrich Drepper <drepper@gmail.com>
20445
20446 * po/pl.po: Update from translation team.
20447 * po/ja.po: Likewise.
20448 * po/ru.po: Likewise.
20449 * po/ko.po: Likewise.
20450 * po/fr.po: Likewise.
20451
d30cf5bb
RM
204522011-07-09 Roland McGrath <roland@hack.frob.com>
20453
113ddea4
RM
20454 * configure.in (.ctors/.dtors header and trailer check):
20455 Use an empirical test on a built program.
20456 * configure: Regenerated.
20457
574920b4
RM
20458 * configure.in (-z relro check): Use an empirical test on a built DSO.
20459 Detect, but do not require, on ia64.
20460 * configure: Regenerated.
20461
d30cf5bb
RM
20462 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20463 Update tests that use readelf to use $READELF instead.
20464 * configure: Regenerated.
20465
8538fdb3
UD
204662011-07-08 Ulrich Drepper <drepper@gmail.com>
20467
20468 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20469 if the result is not used.
20470
04d08991
AJ
204712011-07-05 Andreas Jaeger <aj@suse.de>
20472
20473 [BZ#9696]
20474 * stdlib/tst-strtod.c: Add testcase.
20475
de283087
AD
204762011-07-07 Ulrich Drepper <drepper@gmail.com>
20477
4e5f31c8 20478 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 20479 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
20480 The latter has a higher limit. Take additional parameter to pass to
20481 the new function.
20482 (__pathconf): Pass file to __statfs_link_max.
20483 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20484 __statfs_link_max.
20485 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20486 __statfs_link_max.
20487
de283087
AD
20488 [BZ #12868]
20489 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20490 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20491 Handle Lustre.
20492 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20493 (__statfs_filesize_max): Likewise.
20494 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20495
c75fa153
AJ
204962011-07-05 Andreas Jaeger <aj@suse.de>
20497
20498 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20499
1a544854
UD
205002011-07-06 Marek Polacek <mpolacek@redhat.com>
20501
20502 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20503 `status' variable.
20504 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20505 Likewise.
20506
6f0eec67
UD
205072011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20508
20509 * Makefile (strop-tests): Add strncat.
20510 * string/test-strncat.c: New file.
20511
aae30307
UD
205122011-06-30 Marek Polacek <mpolacek@redhat.com>
20513
20514 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20515
c0cfb5eb
UD
205162011-06-21 Andreas Jaeger <aj@suse.de>
20517
20518 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20519 Copy rule from iconvdata/Makefile.
20520
01636b21
UD
205212011-07-06 Ulrich Drepper <drepper@gmail.com>
20522
20523 [BZ #12922]
20524 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20525 but no long options are defined, just return 'W'.
20526
9895c8bc
UD
205272011-06-22 Marek Polacek <mpolacek@redhat.com>
20528
20529 [BZ #9696]
20530 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20531
5d4cf042
UD
205322011-07-06 Ulrich Drepper <drepper@gmail.com>
20533
20534 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20535 netgroups to read.
960e5535 20536 (innetgr): Likewise.
5d4cf042 20537
751eb97e
RM
205382011-07-05 Roland McGrath <roland@hack.frob.com>
20539
20540 * config.make.in (install_root): Default to $(DESTDIR).
20541
f15f1e45
UD
205422011-07-05 Ulrich Drepper <drepper@gmail.com>
20543
20544 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20545
4e34ac6a
RM
205462011-07-02 Roland McGrath <roland@hack.frob.com>
20547
5e9b6af4
RM
20548 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20549
84f9ea0f
RM
20550 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20551 containing directory rather than embedding absolute directory names.
20552
ea5ee9f7
RM
20553 * scripts/check-local-headers.sh: Rewritten using awk.
20554 Match by word, not by line. Print error messages for matches.
20555 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20556
1b74661a
RM
20557 * Makerules [shlib-lds-flags empty]:
20558 ($(common-objpfx)libc_pic.opts): New target.
20559 ($(common-objpfx)libc_pic.os.clean): New target.
20560 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20561
20562 * config.make.in (OBJCOPY): New variable.
20563 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20564 * configure: Regenerated.
20565
f781ef40
RM
20566 * config.make.in (use-default-link): New variable.
20567 * configure.in (use_default_link): Grok --with-default-link to set it.
20568 * configure: Regenerated.
20569 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20570 (shlib-lds, shlib-lds-flags): Define to empty.
20571
2d4fa81e
RM
20572 * Makerules (shlib-lds): New variable.
20573 (shlib-lds-flags): New variable.
20574 (build-shlib, build-moduile, build-module-asneeded): Use it.
20575 ($(common-objpfx)libc.so): Use $(shlib-lds).
20576 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20577 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20578
31fffa6b
RM
20579 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20580 DT_FLAGS/DT_FLAGS_1 with zero flags.
20581
4e34ac6a
RM
20582 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20583 linker script munging.
20584
fcfc776b
UD
205852011-07-02 Ulrich Drepper <drepper@gmail.com>
20586
20587 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20588 as 128-bit value.
20589 * crypt/sha512.c (sha512_process_block): Perform total addition using
20590 128-bit if possible.
20591 (__sha512_finish_ctx): Likewise.
20592 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20593 as 64-bit value.
20594 * crypt/sha256.c (SWAP64): Define.
20595 (sha256_process_block): Perform total addition using 64-bit if
20596 possible.
20597 (__sha256_finish_ctx): Likewise.
20598
99231d9a
UD
205992011-07-01 Ulrich Drepper <drepper@gmail.com>
20600
20601 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20602 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20603 * nscd/hstcache.c (cache_addhst): Likewise.
20604 * nscd/grpcache.c (cache_addgr): Likewise.
20605 * nscd/aicache.c (addhstaiX): Likewise
20606 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20607
445b4a53
TK
206082011-07-01 Thorsten Kukuk <kukuk@suse.de>
20609
20610 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20611 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20612 * nscd/hstcache.c (cache_addhst): Likewise.
20613 * nscd/grpcache.c (cache_addgr): Likewise.
20614 * nscd/aicache.c (addhstaiX): Likewise
20615
6d4d8e8e
AS
206162011-07-01 Andreas Schwab <schwab@redhat.com>
20617
20618 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20619 domain only when needed.
20620
89f654c5
AS
206212011-06-30 Andreas Schwab <schwab@redhat.com>
20622
20623 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20624 is always restored.
20625
cf3b23ff
UD
206262011-06-29 Ulrich Drepper <drepper@gmail.com>
20627
20628 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20629 are re-adding the entry.
20630 * nscd/servicescache.c (cache_addserv): Likewise.
20631
751626f9
AJ
206322011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20633
20634 * sysdeps/generic/dl-irel.h: fix protection against multiple
20635 inclusions.
20636 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20637
9113ea1f
UD
206382011-06-28 Ulrich Drepper <drepper@gmail.com>
20639
5c0b8d90
UD
20640 [BZ #12935]
20641 * malloc/memusage.sh: Fix quoting in message.
20642 * debug/xtrace.sh: Likewise.
20643
9113ea1f
UD
20644 * configure.in: Remove support for --experimental-malloc option, make
20645 it the default.
20646 * config.make.in: Likewise.
20647 * malloc/Makefile: Likewise.
20648
a4172181
AS
206492011-06-27 Andreas Schwab <schwab@redhat.com>
20650
20651 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20652 two-byte characters.
20653
78a7eee7
RM
206542011-06-27 Roland McGrath <roland@hack.frob.com>
20655
62bede13
RM
20656 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20657 AC_CACHE_CHECK invocation.
20658 * configure: Regenerated.
20659
78a7eee7
RM
20660 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20661
5ce33a62
UD
206622011-06-27 Ulrich Drepper <drepper@gmail.com>
20663
034807a9
UD
20664 [BZ #12350]
20665 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20666 bit from old_res_options.
20667
4902da17
UD
20668 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20669
5ce33a62
UD
20670 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20671 value type for setfct.
20672
c2344f56
L
206732011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20674
20675 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20676 __gettimeofday instead of gettimeofday.
20677
68468076
UD
206782011-06-26 Ulrich Drepper <drepper@gmail.com>
20679
20680 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20681
acb0d739
L
206822011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20683
20684 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20685
20686 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20687 info.
20688
8912479f
L
206892011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20690
20691 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20692 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20693 strcpy-sse2-unaligned strncpy-sse2-unaligned
20694 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20695 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20696 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20697 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20698 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20699 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20700 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20701 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20702 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20703 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20704 (STRCPY): Support SSE2 and SSSE3 versions.
20705
d5495a11
UD
207062011-06-24 Ulrich Drepper <drepper@gmail.com>
20707
20708 [BZ #12874]
20709 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20710 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20711 kernels which artificially limit size of requests.
20712
0b1cbaae
L
207132011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20714
20715 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20716 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20717 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20718 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20719 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20720 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20721 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20722 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20723 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20724 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20725 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20726 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20727 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20728 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20729 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20731 Enable unaligned load optimization for Intel Core i3, i5 and i7
20732 processors.
20733 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20734 Define.
20735 (index_Fast_Unaligned_Load): Define.
20736 (HAS_FAST_UNALIGNED_LOAD): Define.
20737
07f494a0
MP
207382011-06-23 Marek Polacek <mpolacek@redhat.com>
20739
20740 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20741
fa3fc0fe
UD
207422011-06-22 Ulrich Drepper <drepper@gmail.com>
20743
20744 [BZ #12907]
20745 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20746 until it is clear that the information is realy needed.
20747 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20748
e12df166
AS
207492011-06-22 Andreas Schwab <schwab@redhat.com>
20750
20751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20752
852eb34d
UD
207532011-06-22 Ulrich Drepper <drepper@gmail.com>
20754
84e2a551
UD
20755 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20756 /sys/devices/system/cpu/online if it is usable.
20757
852eb34d
UD
20758 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20759 reading the information from the /proc filesystem to once a second.
20760
6e502e19
UD
207612011-06-21 Andreas Jaeger <aj@suse.de>
20762
20763 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20764 NULL after inclusion of kernel headers.
20765
75d39ff2
UD
207662011-06-21 Ulrich Drepper <drepper@gmail.com>
20767
51f9aa6a
UD
20768 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20769 calls to internal_setent.
20770
c0244a9d
UD
20771 [BZ #12885]
20772 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20773 addresses using gethostbyname4_r ignore IPv4 addresses.
20774
c5e3c2ae
UD
20775 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20776 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20777
75d39ff2
UD
20778 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20779
42675c6f
DM
207802011-06-20 David S. Miller <davem@davemloft.net>
20781
20782 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20783 inclusions.
20784 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20785
20786 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20787 (elf_irel): Use it.
20788 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20789 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20790 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20791 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20792 * sysdeps/x86_64/dl-irel.h: Likewise.
20793
20794 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20795 * elf/dl-sym.c: Likewise.
20796
57912a71
UD
207972011-06-15 Ulrich Drepper <drepper@gmail.com>
20798
20799 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20800 need to dereference resplen2.
20801
ee22793d
AS
208022011-06-14 Andreas Schwab <schwab@redhat.com>
20803
20804 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20805
a9e836b0
UD
208062011-06-15 Ulrich Drepper <drepper@gmail.com>
20807
77fb9117
UD
20808 * Makeconfig: Define vardbdir and inst_vardbdir.
20809 * nss/Makefile: Add rules to install db-Makefile.
20810
40c1b22c
UD
20811 * nss/nss_db/db-XXX.c: Cleanup.
20812
9f2da732
UD
20813 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20814 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20815 GLIBC_PRIVATE.
20816 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20817 * nss/makedb.c: Implement -g option to specify that value strings
20818 are generated and should not be added to table iterated over for
20819 get*ent calls.
20820 * nss/nss_db/db-initgroups.c: New file.
20821
82e9a1f7
UD
20822 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20823 interface.
20824
c41af17e
UD
20825 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20826 (internal_getgrouplist): Adjust to name change.
20827 Update use_initgroups_entry if this is not the first call.
20828 * nss/databases.def: Add initgroups entry.
20829
a9e836b0
UD
20830 * nss/makedb.c (compute_tables): Check result of multiple hash table
20831 sizes to minimize maximum chain length.
20832
2666d441
UD
208332011-06-14 Ulrich Drepper <drepper@gmail.com>
20834
20835 * Versions.def: Add entry for libnss_db.
20836 * shlib-versions: Likewise.
20837 * nss/Makefile: Add rules to build libnss_db.
20838 * nss/Versions: Add libnss_db information. Organize libnss_files
20839 entries better.
20840 * nss/db-Makefile: Add gshadow support. Change rules for the new
20841 makedb progra. Some minor improvements to generate smaller files.
20842 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20843 here from...
20844 * nss/makedb.c: ...here.
20845 Improve database format to be smaller and require less memory at
20846 runtime.
20847 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20848 db anymore.
20849 * nss/nss_db/db-netgrp.c: Likewise.
20850 * nss/nss_db/db-open.c: Likewise.
20851 * nss/nss_files/flies-XXX.x: Adjust comments.
20852 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20853 * nss/nss_files/files-grp.c: Likewise.
20854 * nss/nss_files/files-hosts.c: Likewise.
20855 * nss/nss_files/files-network.c: Likewise.
20856 * nss/nss_files/files-proto.c: Likewise.
20857 * nss/nss_files/files-pwd.c: Likewise.
20858 * nss/nss_files/files-rpc.c: Likewise.
20859 * nss/nss_files/files-service.c: Likewise.
20860 * nss/nss_files/files-sgrp.c: Likewise.
20861 * nss/nss_files/files-spwd.c: Likewise.
20862 * nss/nss_db/db-alias.c: Removed.
20863 * nss/nss_db/dummy-db.h: Removed.
20864
9ee76b5a
UD
208652011-06-02 Ulrich Drepper <drepper@gmail.com>
20866
20867 * nss/makedb.c: Rewritten to not use database library.
20868 * nss/Makefile: Update to build new makedb program.
20869
c71ca1f8
AJ
208702011-06-14 Andreas Jaeger <aj@suse.de>
20871
20872 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20873 memset declaration.
20874
3154bfb8
UD
208752011-06-10 Andreas Schwab <schwab@redhat.com>
20876
20877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20878 tmpbuf.
20879
b350afab
RM
208802011-06-10 Roland McGrath <roland@hack.frob.com>
20881
decd4e50
RM
20882 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20883 * elf/Makefile ($(objpfx)ld.so): Likewise.
20884
5615eaf2
RM
20885 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20886 Don't list ld.so twice in dependencies.
20887
20888 * posix/bug-regex31.c: Include <stdlib.h>.
20889
20890 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20891
20892 * nis/nss_compat/compat-spwd.c
20893 (getspent_next_nss_netgr): Remove unused variable.
20894 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20895
20896 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20897 nonmembers" output to use the right array.
20898
20899 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20900
20901 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20902
20903 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20904 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20905 * catgets/gencat.c (read_input_file): Likewise.
20906 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20907
20908 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20909 variable definition inside #if's controlling its use.
20910
20911 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20912
20913 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20914
20915 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20916
20917 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20918 unreachable code.
20919
20920 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20921
b68e08db
RM
20922 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20923 * configure: Regenerated.
20924
b350afab
RM
20925 * Makerules: Revert last change.
20926 * elf/Makefile: Likewise.
20927
28368601
RM
209282011-06-09 Roland McGrath <roland@hack.frob.com>
20929
20930 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20931 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20932 (reloc-link): Likewise.
20933
11988f8f
UD
209342011-06-09 Ulrich Drepper <drepper@gmail.com>
20935
20936 * elf/Makefile: Add rules to build pldd.
20937 * elf/pldd.c: New file.
20938 * elf/pldd-xx.c: New file.
20939
e80fab37
UD
209402011-06-07 Ulrich Drepper <drepper@gmail.com>
20941
20942 * version.h: Update for 2.15 development version.
20943
9b849836
DM
209442011-06-07 David S. Miller <davem@davemloft.net>
20945
20946 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20947 ifuncs.
20948 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20949 elf_machine_lazy_rel): Likewise.
20950 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20951 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20952 elf_machine_lazy_rel): Likewise.
20953 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20954 dl_hwcap via passed in argument.
20955 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20956 Likewise.
20957
5a31b283
AK
209582011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20959
20960 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20961
069e52f8
RM
209622011-06-06 Roland McGrath <roland@hack.frob.com>
20963
20964 [BZ #12849]
20965 * manual/fdl-1.1.texi: New file, verbatim from:
20966 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20967 * manual/lgpl-2.1.texi: New file, verbatim from:
20968 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20969 * manual/Makefile (licenses): New variable, list those new file names.
20970 (texis): Use it.
20971 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20972
20973 * manual/fdl.texi: File removed.
20974 * manual/lesser.texi: File removed.
20975 * manual/libc.texinfo (Copying, Documentation License):
20976 Use new @include file names, put @appendix directive before @include.
20977
f16846a5
JJ
209782011-06-04 Jakub Jelinek <jakub@redhat.com>
20979
20980 [BZ #12841]
20981 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20982 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20983 (mq_open): Add __NTH.
20984
3d29045b
L
209852011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20986
20987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20988 Assume Intel Core i3/i5/i7 processor if AVX is available.
20989
8c297311
UD
209902011-05-31 Ulrich Drepper <drepper@gmail.com>
20991
20992 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20993 typo.
20994
c8fc0c91
UD
209952011-05-31 Andreas Schwab <schwab@redhat.com>
20996
20997 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20998 memory. Use alloca_account. Fix memory leak when retrying.
20999
5b27a807
UD
210002011-05-31 Ulrich Drepper <drepper@gmail.com>
21001
356f8bc6
UD
21002 * version.h (RELEASE): Bump for 2.14 release.
21003 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21004
5b27a807
UD
21005 * config.make.in (RANLIB): Remove entry.
21006
01f16ab0
UD
210072011-05-30 Ulrich Drepper <drepper@gmail.com>
21008
41fce8bd
UD
21009 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21010 (libc.pot): Work around missing support for .ksh extension in xgettext.
21011
4769ae77
UD
21012 [BZ #12684]
21013 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21014 if both request failed.
21015 (send_dg): In case of server errors clear resplen or *resplen2.
21016
6b1e7d19
UD
21017 [BZ #12454]
21018 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21019 when there are multiple maps.
21020 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21021 (_dl_fini): Remove test here.
21022
01f16ab0
UD
21023 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21024
b1ebd700
UD
210252011-05-29 Ulrich Drepper <drepper@gmail.com>
21026
7ae22829
UD
21027 [BZ #12350]
21028 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21029 bit from old_res_options.
21030 (gaih_inet): Likewise.
21031
553149f6 21032 [BZ #11099]
18a84741 21033 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
21034 as signed.
21035
652ffab1
UD
21036 * resolv/res_init.c (res_setoptions): Make the code more compact.
21037
16985fd0
UD
21038 [BZ #11558]
21039 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21040 set RES_USEVC.
21041
0464f746
UD
21042 [BZ #11634]
21043 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21044
7d17596c
UD
21045 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21046
cf6bbbd7
UD
21047 [BZ #11781]
21048 * malloc/malloc.h: Declare malloc hook variables as volatile.
21049
13f1ab36
UD
21050 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21051 in last patch.
21052
b1ebd700
UD
21053 [BZ #11799]
21054 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 21055 raise in the comment.
80e2212d
UD
21056 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21057 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21058 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 21059
ce67228d
UD
210602011-05-28 Ulrich Drepper <drepper@gmail.com>
21061
8887a920
UD
21062 [BZ #12811]
21063 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21064 grow the buffers more if it already has to be sufficient.
21065 (build_wcs_upper_buffer): Likewise.
21066 * posix/regexec.c (check_matching): Likewise.
21067 (clean_state_log_if_needed): Likewise.
21068 (extend_buffers): Don't enlarge buffers beyond size of the input
21069 buffer.
21070 Patches mostly by Emil Wojak <emil@wojak.eu>.
21071 * posix/bug-regex32.c: New file.
21072 * posix/Makefile (tests): Add bug-regex32.
21073
4f031072
UD
21074 * locale/findlocale.c (_nl_find_locale): Return right away if
21075 _nl_explode_name failed.
21076 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21077
d0478f0c
UD
21078 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21079
de81b246
UD
21080 * debug/xtrace.sh: Unify messages.
21081 * malloc/memusage.sh: Likewise.
21082
c738465a
UD
21083 [BZ #12813]
21084 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21085 time symbol from vDSO. Substitute with vsyscall if not available.
21086 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21087 __vdso_time.
21088
f1f929d7
UD
21089 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21090 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21091 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21092 Add sendmmsg and internal_sendmmsg.
21093 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21094 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21095 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21096
ce67228d
UD
21097 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21098 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21099 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21100
e57420c6
UD
211012011-05-27 Ulrich Drepper <drepper@gmail.com>
21102
a8509ca5
UD
21103 [BZ #12813]
21104 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21105 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21106 available.
21107 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21108 __vdso_getcpu.
21109
e57420c6
UD
21110 [BZ #12814]
21111 * iconvdata/Makefile (tests): Add bug-iconv9.
21112 * iconvdata/bug-iconv9.c: New file.
21113
4d07db15
AS
211142011-05-27 Andreas Schwab <schwab@redhat.com>
21115
21116 [BZ #12814]
21117 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21118
ea486f69
JJ
211192011-05-25 Jakub Jelinek <jakub@redhat.com>
21120
21121 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21122 (struct user_regs_struct): Change intcs field back to cs.
21123
6f038433
UD
211242011-05-25 Ulrich Drepper <drepper@gmail.com>
21125
21126 * po/ja.po: Update from translation team.
21127
67f86a25
UD
211282011-05-23 Ulrich Drepper <drepper@gmail.com>
21129
21130 [BZ #12795]
21131 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21132 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21133
def7fbd6
AS
211342011-05-20 Andreas Schwab <schwab@redhat.com>
21135
21136 * stdlib/longlong.h: Update from GCC.
21137
f50ef8f1
AS
211382011-05-23 Andreas Schwab <schwab@redhat.com>
21139
21140 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21141 parameter name.
21142 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21143 Add parameter name.
21144 (__sysconf): Pass it down.
21145
de7ce8f1
UD
211462011-05-22 Ulrich Drepper <drepper@gmail.com>
21147
f2962a71
UD
21148 [BZ #12671]
21149 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21150 some situations.
21151 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21152 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21153 add in in __libc_use_alloca calls. Adjust callers.
21154 (glob): Use malloc in some situations.
21155
de7ce8f1
UD
21156 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21157 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21158 pltexit.
21159
aec84f53
UD
211602011-05-21 Ulrich Drepper <drepper@gmail.com>
21161
05bb4a68
UD
21162 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21163 and CLOCK_BOOTTIME_ALARM.
21164
7ea72f99
UD
21165 [BZ #12782]
21166 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21167 is returned.
21168
7e4afad5
UD
21169 * string/_strerror.c (__strerror_r): Print negative errors as signed
21170 numbers.
21171
8e211fec
UD
21172 [BZ #12777]
21173 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21174 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21175 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21176
f7d82dc9
UD
21177 * configure.in: Fix typo in redirection and correct removal of test
21178 files in two cases.
21179
cc9e536d
UD
21180 [BZ #12788]
21181 * locale/setlocale.c (new_composite_name): Fix test to check for
21182 identical name of all categories.
21183
aec84f53
UD
21184 [BZ #12792]
21185 * libio/filedoalloc.c (local_isatty): New function.
21186 (_IO_file_doallocate): Use local_isatty.
21187 * stdio-common/perror.c (perror): In case a new stream is used
21188 forward the stream error.
21189 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21190 error flag.
21191
78e64fdc
RT
211922011-05-20 Ulrich Drepper <drepper@gmail.com>
21193
34a9094f
UD
21194 [BZ #11869]
21195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21196 alloca.
21197 * include/alloca.h (extend_alloca_account): Define.
21198
78e64fdc
RT
21199 [BZ #11857]
21200 * posix/regex.h: Fix comments with documentation of user-accessible
21201 fields after compilation and describe correct free'ing of pattern
21202 after re_compile_pattern.
21203 Patch by Reuben Thomas <rrt@sc3d.org>.
21204
457bddfc
RA
212052011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21206
21207 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21208 and -mno-altivec to prevent the compiler from using Altivec and/or
21209 VSX instructions when the corresponding registers are not available.
21210
a4527b51
AS
212112011-05-19 Andreas Schwab <schwab@redhat.com>
21212
21213 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21214
ed690b2f
UD
212152011-05-19 Ulrich Drepper <drepper@gmail.com>
21216
21217 * libio/freopen.c (freopen): Use __dup2, not dup2.
21218 * libio/freopen64.c (freopen64): Likewise.
21219
8db73634
L
212202011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21221
21222 [BZ #12775]
21223 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21224 * math/Makefile (tests): Add test-powl.
21225 (CFLAGS-test-powl.c): Define.
21226 * math/test-powl.c: New file.
21227
0a197a9d
L
212282011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21229
21230 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21231
ee30c380
UD
212322011-05-17 Ulrich Drepper <drepper@gmail.com>
21233
21234 [BZ #11837]
21235 * iconvdata/gb18030.c: Update to GB18020-2005.
21236
6ce75379
UD
212372011-05-16 Ulrich Drepper <drepper@gmail.com>
21238
a4b89fd8
AR
21239 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21240 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21241 Patch by Aharon Robbins <arnold@skeeve.com>.
21242
ea389b12
UD
21243 [BZ #11892]
21244 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21245 on the stack.
21246
68a3f91f
UD
21247 [BZ #11895]
21248 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21249 through underflows.
21250
15cc7dd1
UD
21251 [BZ #12766]
21252 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21253 point to strings before performing equality test for error_one_per_line
21254 mode.
21255
f3799213
UD
21256 [BZ #11697]
21257 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21258
d79a9c94
UD
21259 [BZ #11820]
21260 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21261 (struct user_fpregs_struct): Avoid __uint*_t types.
21262
56e5eb46
UD
21263 [BZ #6420]
21264 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21265 symbol info. Use it instead of calling _dl_addr locally.
21266 (lock_and_info): New function.
21267 (tr_freehook): Call lock_and_info and pass symbol info as additional
21268 parameter to tr_where.
21269 (tr_mallochook): Likewise.
21270 (tr_reallochook): Likewise.
21271 (tr_memalignhook): Likewise.
21272
6ce75379
UD
21273 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21274 used and couldn't be at all thread-safe.
21275
f8a3b5bf
UD
212762011-05-15 Ulrich Drepper <drepper@gmail.com>
21277
94b7cc37
UD
21278 * libio/freopen.c (freopen): Don't close old file descriptor
21279 before the new one is opened. Instead dup the new file descriptor
21280 to the old one after the new stream is created.
21281 * libio/freopen64.c (freopen64): Likewise.
21282 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21283 * libio/fileops.c (_IO_new_file_close_it): Handle new
21284 _IO_FLAGS2_NOCLOSE flag.
21285 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21286 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21287 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21288 _IO_FLAGS2_NOCLOSE flag.
21289 * include/unistd.h: Add hidden_proto for dup3.
21290 Define __have_dup3.
21291 * io/dup3.c: Define hidden symbol.
21292 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21293
bd25564e
UD
21294 [BZ #7101]
21295 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21296 when an incomplete long option is used.
21297 * posix/tst-getopt_long1.c: New file.
21298 * posix/Makefile (tests): Add tst-getopt_long1.
21299
c84cfef4
UD
21300 [BZ #10138]
21301 * scripts/config.guess: Update from autoconf-2.68.
21302 * scripts/config.sub: Likewise.
21303
3b85df27
UD
21304 [BZ #10157]
21305 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21306 tests into ...
21307 (has_cpuclock): ...this. New function.
21308 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21309 macro here based on has_cpuclock code.
21310
15a856b1
UD
21311 [BZ #10149]
21312 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21313 First byte (not low byte) is now always NUL.
21314 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21315
05f399e6
UD
21316 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21317 Use non-cancelable interfaces.
21318
10a52685 21319 [BZ #9809]
94ecc67d
UD
21320 * locale/iso-639.def: Add entry for Sorani.
21321
f8a3b5bf
UD
21322 [BZ #11901]
21323 * include/stdlib.h: Move include protection to the right place.
21324 Define abort_msg_s. Declare __abort_msg with it.
21325 * stdlib/abort.c (__abort_msg): Adjust type.
21326 * assert/assert.c (__assert_fail_base): New function. Majority
21327 of code from __assert_fail. Allocate memory for __abort_msg with
21328 mmap.
21329 (__assert_fail): Now call __assert_fail_base.
21330 * assert/assert-perr.c: Remove bulk of implementation. Use
21331 __assert_fail_base.
21332 * include/assert.hL Declare __assert_fail_base.
21333 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21334 mmap.
21335 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21336
1af4e298
UD
213372011-05-14 Ulrich Drepper <drepper@gmail.com>
21338
f8a3b5bf 21339 [BZ #11952]
d26dfc60
MG
21340 [BZ #12453]
21341 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21342 until all modules are registered in the DTV.
21343 * elf/Makefile: Add rules to build and run tst-tls19.
21344 * elf/tst-tls19.c: New file.
21345 * elf/tst-tls19mod1.c: New file.
21346 * elf/tst-tls19mod2.c: New file.
21347 * elf/tst-tls19mod3.c: New file.
21348 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21349
2fc54d6f
UD
21350 [BZ #12083]
21351 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21352 correctly.
21353
98d76b46
UD
21354 [BZ #12601]
21355 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21356 two-byte sequence errors.
21357 * iconvdata/Makefile (tests): Add bug-iconv8.
21358 * iconvdata/bug-iconv8.c: New file.
21359
da3c19ef
UD
21360 [BZ #12626]
21361 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21362 buf2 definition.
21363
ca408c15
UD
21364 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21365
d6f67f7d
UD
21366 [BZ #12432]
21367 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21368 (dummy_getcfa): New function.
21369 (init): Get _Unwind_GetCFA address, use dummy if not found.
21370 (backtrace_helper): In recursion check, also check whether CFA changes.
21371 (__backtrace): Completely initialize arg.
21372
1af4e298 21373 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
21374 storing incomplete byte sequence in state object. Avoid testing for
21375 guaranteed too small input if we know there is enough data available.
1af4e298 21376
da62f81b
AS
213772011-05-11 Andreas Schwab <schwab@redhat.com>
21378
21379 * Makeconfig (+link-pie): Indent.
21380 * Rules (binaries-pie): Define if $(have-fpie) and
21381 $(build-shared).
21382 (binaries-shared): Also filter out $(binaries-pie).
21383 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21384 * nscd/Makefile (others-pie): Add nscd.
21385 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21386 ($(objpfx)nscd): Remove command override.
21387 * login/Makefile (others-pie): Add pt_chown.
21388 ($(objpfx)pt_chown): Remove command override.
21389 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21390 remove command overrides.
21391
fcabc0f8
UD
213922011-05-13 Ulrich Drepper <drepper@gmail.com>
21393
20030ae6
UD
21394 * libio/tst_putwc.c: Fix error messages.
21395
fcabc0f8
UD
21396 [BZ #12724]
21397 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21398 currently writing and seek to current position when not.
21399 * libio/Makefile (tests): Add bug-fclose1.
21400 * libio/bug-fclose1.c: New file.
21401
320a5dc0
PB
214022011-05-12 Ulrich Drepper <drepper@gmail.com>
21403
21404 [BZ #12511]
21405 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21406 don't set DF_1_NODELETE here.
21407 (do_lookup_x): When entering new entry test for copy relocation
21408 and if necessary set DF_1_NODELETE flag.
21409 * elf/tst-unique4.cc: New file.
21410 * elf/tst-unique4.h: New file.
21411 * elf/tst-unique4lib.cc: New file.
21412 * elf/Makefile: Add rules to build and run tst-unique4.
21413 Patch by Piotr Bury <pbury@goahead.com>.
21414
22836f52
UD
214152011-05-11 Ulrich Drepper <drepper@gmail.com>
21416
f574184a
UD
21417 [BZ #12052]
21418 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21419
e1fb097f
UD
21420 [BZ #12625]
21421 * misc/mntent_r.c (addmntent): Flush the stream after the output
21422
22836f52
UD
21423 [BZ #12393]
21424 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21425 (is_trusted_path_normalize): Skip initial colon. Append slash
21426 to empty buffer. Duplicate is_trusted_path code but allow
21427 constructed patch to be prefix.
21428 (is_dst): Allow $ORIGIN followed by /.
21429 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21430 Correct testing of result of is_trusted_path_normalize
21431 (decompose_rpath): Fix warning.
21432
7b3b0b2a
UD
214332011-05-10 Ulrich Drepper <drepper@gmail.com>
21434
21435 [BZ #11257]
21436 * grp/initgroups.c (internal_getgrouplist): When we found the service
21437 list through the initgroups entry in nsswitch.conf do not always
21438 continue on a successful lookup. Don't always use the
eac80ce2 21439 __nss_group_database value if it is set.
7b3b0b2a
UD
21440 * nss/nsswitch.conf (initgroups): Change action for successful db
21441 lookup to continue for compatibility.
21442
2a81eaa5
UD
214432011-05-09 Ulrich Drepper <drepper@gmail.com>
21444
be97a69e
UD
21445 [BZ #11532]
21446 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21447 and CP774 modules.
21448 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21449 and CP774 modules.
21450 * iconvdata/tst-tables.sh: Likewise.
21451 * iconvdata/cp770.c: New file.
21452 * iconvdata/cp771.c: New file.
21453 * iconvdata/cp772.c: New file.
21454 * iconvdata/cp773.c: New file.
21455 * iconvdata/cp774.c: New file.
21456 * iconvdata/testdata/CP770: New file.
21457 * iconvdata/testdata/CP770..UTF8: New file.
21458 * iconvdata/testdata/CP771: New file.
21459 * iconvdata/testdata/CP771..UTF8: New file.
21460 * iconvdata/testdata/CP772: New file.
21461 * iconvdata/testdata/CP772..UTF8: New file.
21462 * iconvdata/testdata/CP773: New file.
21463 * iconvdata/testdata/CP773..UTF8: New file.
21464 * iconvdata/testdata/CP774: New file.
21465 * iconvdata/testdata/CP774..UTF8: New file.
21466
21467 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21468 END CHARMAP line.
21469 * iconvdata/gen-8bit-gap.sh: Likewise.
21470 * iconvdata/gen-8bit.sh: Likewise.
21471
c1e9e399
UD
21472 * locale/iso-639.def: Add ary entry.
21473
24c55fb3 21474 [BZ #11258]
96b4b1b0
UD
21475 * locale/C-translit.h.in: Add U20A1 transliteration.
21476
bdc2f971
KB
21477 [BZ #12178]
21478 * locale/iso-639.def: Add wae entry.
21479 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21480
2952b117
UD
21481 [BZ #12545]
21482 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21483 for n.
21484
2a81eaa5
UD
21485 [BZ #12711]
21486 * locale/C-translit.h.in: Add entry for U20B9.
21487 Patch by pravin.d.s@gmail.com.
21488
28377d1b
UD
214892011-05-08 Ulrich Drepper <drepper@gmail.com>
21490
7fb90fb8
UD
21491 [BZ #12713]
21492 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21493 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
21494 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21495 in rtld. Use *stat64.
7fb90fb8 21496 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 21497 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 21498 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
21499 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21500 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21501 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21502 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21503 __fstatat64 macros.
7fb90fb8
UD
21504 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21505 * dirent/rewinddir.c: Add libc_hidden_def.
21506 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 21507 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 21508
28377d1b
UD
21509 * include/dirent.h (__alloc_dir): Add flags parameter.
21510 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21511 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21512 __alloc_dir.
21513 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21514 from fdopendir if O_CLOEXEC is already set.
21515
66bdbaa4
AM
215162011-03-15 Alan Modra <amodra@gmail.com>
21517
21518 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21519 l_tls_firstbyte_offset non-zero. Save padding offset in
21520 l_tls_firstbyte_offset for later use.
21521 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21522 freeing static tls block.
21523
95721191
JN
215242011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21525
21526 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21527 where #ifdef was intended. The intent is to prevent ARG_MAX from
21528 being defined by the kernel headers.
21529
f87dfb1f
UD
215302011-05-07 Ulrich Drepper <drepper@gmail.com>
21531
21532 [BZ #12734]
21533 * resolv/resolv.h: Define RES_NOTLDQUERY.
21534 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21535 no-tld-query and set RES_NOTLDQUERY.
21536 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21537 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21538 modern BIND to search name as TLD unless forbidden.
21539
47c3cd7a
UD
215402011-05-07 Petr Baudis <pasky@suse.cz>
21541 Ulrich Drepper <drepper@gmail.com>
21542
21543 [BZ #12393]
21544 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21545 (is_trusted_path): ...to here.
c1e9ea35 21546 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 21547 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 21548 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 21549
8a35c912
PP
215502011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21551
21552 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21553 __BEGIN/__END_DECLS.
21554
acd41f47
UD
215552011-05-06 Ulrich Drepper <drepper@gmail.com>
21556
21557 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21558 NSS_STATUS_NOTFOUND if no record was found.
21559
597df647
AS
215602011-05-05 Andreas Schwab <schwab@redhat.com>
21561
21562 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21563 (headers-not-in-tirpc): Remove rpc/netdb.h
21564 * resolv/netdb.h: Revert last change.
21565
b9af1301
PP
215662011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21567
21568 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21569 circular dependency between libgcc.a and libc.a.
21570
4e34d5f5
AS
215712011-05-05 Andreas Schwab <schwab@redhat.com>
21572
21573 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21574 * nis/Makefile: Don't install rpcsvc/*.
21575 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21576 instead of <rpc/types.h>.
21577 (MAXHOSTNAMELEN): Define.
21578
00ee369c
AS
215792011-05-03 Andreas Schwab <schwab@redhat.com>
21580
21581 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21582
0b592a30
MB
215832011-04-28 Maciej Babinski <mbabinski@google.com>
21584
21585 [BZ #12714]
21586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21587 gethostbyname4_r when IPv6 results are possible.
21588
6e04cbbe
UD
215892011-05-02 Ulrich Drepper <drepper@gmail.com>
21590
21591 [BZ #12723]
21592 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21593 _PC_PIPE_BUF handling.
21594
e4ecafe0
BH
215952011-04-30 Bruno Haible <bruno@clisp.org>
21596
21597 [BZ #12717]
21598 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21599 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21600 to 'int'.
21601 * inet/getnameinfo.c (getnameinfo): Likewise.
21602
125ee683
UD
216032011-04-29 Ulrich Drepper <drepper@gmail.com>
21604
21605 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21606 to groups setting in database lookup.
21607 * nss/nsswitch.conf: Add initgroups entry.
21608
b722481a
EB
216092011-04-22 Ulrich Drepper <drepper@gmail.com>
21610
21611 [BZ #12685]
21612 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21613 mode string.
21614 Patch by Eric Blake <eblake@redhat.com>.
21615
4df46dbd
L
216162011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21617
21618 * sunrpc/Makefile (need-export-routines): Add svc_run.
21619 (routines): Remove svc_run.
21620 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21621 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21622 * sunrpc/svc_run.c (svc_run): Likewise.
21623 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21624
e84142d2
UD
216252011-04-21 Ulrich Drepper <drepper@gmail.com>
21626
21627 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21628 problem in reallocation in last patch.
21629
877175d8
UD
216302011-04-20 Ulrich Drepper <drepper@gmail.com>
21631
21632 * sunrpc/Makefile: Move inclusion of Rules.
21633
ab8eed78
UD
216342011-04-19 Ulrich Drepper <drepper@gmail.com>
21635
21636 * nss/nss_files/files-initgroups.c: New file.
21637 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21638 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21639 _nss_files_initgroups_dyn.
21640
e3d8f584
RS
216412011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21642
21643 * elf/elf.h (R_ARM_IRELATIVE): Define.
21644
af190f45
UD
216452011-04-19 Ulrich Drepper <drepper@gmail.com>
21646
21647 * po/ru.po: Update from translation team.
21648
53cf59ef
UD
216492011-04-17 Ulrich Drepper <drepper@gmail.com>
21650
21651 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21652 dependencies.
21653
4c559bcd
MF
216542011-02-06 Mike Frysinger <vapier@gentoo.org>
21655
21656 [BZ #12653]
21657 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21658 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21659 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21660 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21661 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21662
4420675c
AS
216632011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21664
21665 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21666 differing bytes.
21667 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21668 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21669 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21670
75ea32ab
UD
216712011-04-17 Ulrich Drepper <drepper@gmail.com>
21672
21673 [BZ #12420]
21674 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21675 storing it.
21676 * stdlib/bug-getcontext.c: New file.
21677 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21678
27390476
AK
216792011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21680
21681 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21682 instructions into .machine "z9-109".
21683 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21684 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21685
10442705
AK
216862011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21687
21688 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21689 between environment variables and auxiliary vector.
21690
7b57bfe5
UD
216912011-04-16 Ulrich Drepper <drepper@gmail.com>
21692
21693 * Makefile: Add rules to build linkobj/libc.so.
21694 * include/libc-symbols.h: Define libc_hidden_nolink.
21695 * include/rpc/auth.h: Mark functions which are to be hidden.
21696 * include/rpc/auth_des.h: Likewise.
21697 * include/rpc/auth_unix.h: Likewise.
21698 * include/rpc/clnt.h: Likewise.
21699 * include/rpc/des_crypt.h: Likewise.
21700 * include/rpc/key_prot.h: Likewise.
21701 * include/rpc/pmap_clnt.h: Likewise.
21702 * include/rpc/pmap_prot.h: Likewise.
21703 * include/rpc/pmap_rmt.h: Likewise.
21704 * include/rpc/rpc_msg.h: Likewise.
21705 * include/rpc/svc.h: Likewise.
21706 * include/rpc/svc_auth.h: Likewise.
21707 * include/rpc/xdr.h: Likewise.
21708 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21709 * nss/Makefile: Likewise.
21710 * sunrpc/Makefile: Don't install headers. Build library with normal
21711 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21712 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21713 for the compat linking library. Remove use of INTDEF/INTUSE.
21714 * sunrpc/auth_none.c: Likewise.
21715 * sunrpc/auth_unix.c: Likewise.
21716 * sunrpc/authdes_prot.c: Likewise.
21717 * sunrpc/authuxprot.c: Likewise.
21718 * sunrpc/clnt_gen.c: Likewise.
21719 * sunrpc/clnt_perr.c: Likewise.
21720 * sunrpc/clnt_raw.c: Likewise.
21721 * sunrpc/clnt_simp.c: Likewise.
21722 * sunrpc/clnt_tcp.c: Likewise.
21723 * sunrpc/clnt_udp.c: Likewise.
21724 * sunrpc/clnt_unix.c: Likewise.
21725 * sunrpc/des_crypt.c: Likewise.
21726 * sunrpc/des_soft.c: Likewise.
21727 * sunrpc/get_myaddr.c: Likewise.
21728 * sunrpc/key_call.c: Likewise.
21729 * sunrpc/key_prot.c: Likewise.
21730 * sunrpc/netname.c: Likewise.
21731 * sunrpc/pm_getmaps.c: Likewise.
21732 * sunrpc/pm_getport.c: Likewise.
21733 * sunrpc/pmap_clnt.c: Likewise.
21734 * sunrpc/pmap_prot.c: Likewise.
21735 * sunrpc/pmap_prot2.c: Likewise.
21736 * sunrpc/pmap_rmt.c: Likewise.
21737 * sunrpc/publickey.c: Likewise.
21738 * sunrpc/rpc_cmsg.c: Likewise.
21739 * sunrpc/rpc_common.c: Likewise.
21740 * sunrpc/rpc_dtable.c: Likewise.
21741 * sunrpc/rpc_prot.c: Likewise.
21742 * sunrpc/rpc_thread.c: Likewise.
21743 * sunrpc/rtime.c: Likewise.
21744 * sunrpc/svc.c: Likewise.
21745 * sunrpc/svc_auth.c: Likewise.
21746 * sunrpc/svc_authux.c: Likewise.
21747 * sunrpc/svc_raw.c: Likewise.
21748 * sunrpc/svc_run.c: Likewise.
21749 * sunrpc/svc_simple.c: Likewise.
21750 * sunrpc/svc_tcp.c: Likewise.
21751 * sunrpc/svc_udp.c: Likewise.
21752 * sunrpc/svc_unix.c: Likewise.
21753 * sunrpc/svcauth_des.c: Likewise.
21754 * sunrpc/xcrypt.c: Likewise.
21755 * sunrpc/xdr.c: Likewise.
21756 * sunrpc/xdr_array.c: Likewise.
21757 * sunrpc/xdr_float.c: Likewise.
21758 * sunrpc/xdr_intXX_t.c: Likewise.
21759 * sunrpc/xdr_mem.c: Likewise.
21760 * sunrpc/xdr_rec.c: Likewise.
21761 * sunrpc/xdr_ref.c: Likewise.
21762 * sunrpc/xdr_sizeof.c: Likewise.
21763 * sunrpc/xdr_stdio.c: Likewise.
21764
e6c61494
UD
217652011-04-10 Ulrich Drepper <drepper@gmail.com>
21766
21767 [BZ #12650]
21768 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21769 * sysdeps/ia64/dl-tls.h: Likewise.
21770 * sysdeps/powerpc/dl-tls.h: Likewise.
21771 * sysdeps/s390/dl-tls.h: Likewise.
21772 * sysdeps/sh/dl-tls.h: Likewise.
21773 * sysdeps/sparc/dl-tls.h: Likewise.
21774 * sysdeps/x86_64/dl-tls.h: Likewise.
21775 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21776
34fe483e
AS
217772011-03-14 Andreas Schwab <schwab@redhat.com>
21778
21779 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21780 rpath element also skip the following colon.
21781 (expand_dynamic_string_token): Add is_path parameter and pass
21782 down to DL_DST_REQUIRED and _dl_dst_substitute.
21783 (decompose_rpath): Call expand_dynamic_string_token with
21784 non-zero is_path. Ignore empty rpaths.
21785 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21786 with zero is_path.
21787
f12a32e6
AS
217882011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21789
21790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21791 Make cancelable.
21792
38a7d692
UD
217932011-04-09 Ulrich Drepper <drepper@gmail.com>
21794
21795 [BZ #12655]
21796 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21797 Patch by Filipe David Manana <fdmanana@apache.org>.
21798
e451d22b
AS
217992011-04-07 Andreas Schwab <schwab@redhat.com>
21800
21801 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21802 Maintain aligned stack.
21803 (CHECK_RSP): Remove unused macro.
21804
dedc7c7b
UD
218052011-04-03 Ulrich Drepper <drepper@gmail.com>
21806
21807 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21808 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21809
94521213
UD
218102011-04-02 Ulrich Drepper <drepper@gmail.com>
21811
21812 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21813
8cb700c0 21814 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21815
0354e355
L
218162011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21817
21818 [BZ #12518]
21819 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21820 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21821 * sysdeps/x86_64/memmove.c: New file.
21822 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21823 (memcpy): Renamed to ...
21824 (__new_memcpy): This.
21825 (memcpy): Provide GLIBC_2_14 memcpy.
21826 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21827 (memcpy): Provide GLIBC_2_2_5 memcpy.
21828
8593482f
UD
218292011-04-01 Ulrich Drepper <drepper@gmail.com>
21830
21831 [BZ #12631]
21832 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21833
81a5726b
AS
218342011-03-30 Andreas Schwab <schwab@redhat.com>
21835
21836 * misc/syncfs.c: New file.
21837 * misc/Makefile (routines): Add syncfs.
21838 * posix/unistd.h: Declare syncfs.
21839 * sysdeps/unix/syscalls.list: Add syncfs.
21840
00e5419f
AS
218412011-04-01 Andreas Schwab <schwab@redhat.com>
21842
21843 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21844 open_by_handle_at.
21845 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21846 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21847 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21848 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21849 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21850 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21851 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21852
748876bf
UD
218532011-04-01 Ulrich Drepper <drepper@gmail.com>
21854
658e451d
UD
21855 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21856 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21857 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21858 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21859 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21860 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21861 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21862
748876bf
UD
21863 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21864 sync_file_range.c with -fexceptions.
21865 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21866 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21867 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21868 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21869 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21870 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21871 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21872 sync_file_range as cancellation point
21873 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21874 now a wrapper around __call_sync_file_range with cancellation handling.
21875 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21876 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21877 function name to __call_sync_file_range.
21878 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21879 Add call_sync_file_range.
748876bf 21880
6e63d5e1
AS
218812011-04-01 Andreas Schwab <schwab@redhat.com>
21882
21883 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21884 bits/timex.h.
6e63d5e1 21885
46998f74
UD
218862011-04-01 Ulrich Drepper <drepper@gmail.com>
21887
4c1423ed
UD
21888 * iconv/iconv.h: Fix typo in comment.
21889 * io/fcntl.h: Likewise.
21890 * libio/stdio.h: Likewise.
21891 * posix/spawn.h: Likewise.
21892 * posix/unistd.h: Likewise.
21893 * stdlib/stdlib.h: Likewise.
21894 * time/time.h: Likewise.
21895 * wcsmbs/wchar.h: Likewise.
21896
158648c0
UD
21897 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21898 open_by_handle): Add.
21899 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21900 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21901 Augment a few comments.
21902 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21903 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21904 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21905 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21906 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21907 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21908 open_by_handle.
21909
46998f74
UD
21910 * io/fcntl.h (AT_EMPTY_PATH): Define.
21911
83fe108b
UD
219122011-03-30 Ulrich Drepper <drepper@gmail.com>
21913
21914 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21915 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21916 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21917 to...
21918 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21919 * Versions.def: Add GLIBC_2.14.
21920 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21921 Export.
83fe108b 21922
bb242059
UD
219232011-03-22 Ulrich Drepper <drepper@gmail.com>
21924
21925 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21926 round counter.
21927 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21928
c97a1282
L
219292011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21930
21931 [BZ #12597]
21932 * string/test-strncmp.c (do_page_test): New function.
21933 (check2): Likewise.
21934 (test_main): Call check2.
21935 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21936
2a115601
UD
219372011-03-20 Ulrich Drepper <drepper@gmail.com>
21938
21939 [BZ #12587]
21940 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21941 Handle cache information in CPU leaf 4.
21942 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21943
8126d904
UD
219442011-03-18 Ulrich Drepper <drepper@gmail.com>
21945
042c49c6 21946 [BZ #12583]
8126d904
UD
21947 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21948 character representation.
21949 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21950
ccfe366e
RA
219512011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21952
21953 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21954 END(__isnan) to END(__isnanf) to match function entry point/label
21955 EALIGN(__isnanf,...).
21956
c6e13027
JJ
219572011-03-10 Jakub Jelinek <jakub@redhat.com>
21958
21959 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21960
33f85a3f
UD
219612011-03-10 Ulrich Drepper <drepper@gmail.com>
21962
028478fa
UD
21963 [BZ #12510]
21964 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21965 copy from the symbol referenced in the relocation to initialize the
21966 used variable.
21967 Patch by Piotr Bury <pbury@goahead.com>.
21968 * elf/Makefile: Add rules to build and tst-unique3.
21969 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21970 * elf/tst-unique3.cc: New file.
21971 * elf/tst-unique3.h: New file.
21972 * elf/tst-unique3lib.cc: New file.
21973 * elf/tst-unique3lib2.cc: New file.
21974
33f85a3f
UD
21975 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21976
03592fc7
MF
219772011-03-10 Mike Frysinger <vapier@gentoo.org>
21978
21979 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21980 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21981 to _start.
03592fc7 21982
6a5ee102
UD
219832011-03-06 Ulrich Drepper <drepper@gmail.com>
21984
21985 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21986 to-be-loaded object along a path to loader is ld.so.
21987
7e4ba49c
HJ
219882011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21989 Ulrich Drepper <drepper@gmail.com>
21990
21991 * sysdeps/x86_64/memset.S: After aligning destination, code
21992 branches to different locations depending on the value of
21993 misalignment, when multiarch is enabled. Fix this.
21994
219952011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21996
21997 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21998 Set _x86_64_preferred_memory_instruction for AMD processsors.
21999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22000 Set bit_Prefer_SSE_for_memop for AMD processors.
22001
13a804de
UD
220022011-03-04 Ulrich Drepper <drepper@gmail.com>
22003
22004 * libio/fmemopen.c (fmemopen): Optimize a bit.
22005
9d25c392
AS
220062011-03-03 Andreas Schwab <schwab@redhat.com>
22007
22008 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22009
a5543c6a
RM
220102011-03-03 Roland McGrath <roland@redhat.com>
22011
22012 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22013
012d35f7
DM
220142011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22015
7e4ba49c 22016 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
22017 __bzero_ultra1 instead of __memset_ultra1.
22018
4bff6e01
AS
220192011-02-23 Andreas Schwab <schwab@redhat.com>
22020 Ulrich Drepper <drepper@gmail.com>
22021
22022 [BZ #12509]
22023 * include/link.h (struct link_map): Add l_orig_initfini.
22024 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22025 returning unsuccessfully.
22026 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22027 close of a file loaded at startup, restore the original l_initfini
22028 list.
22029 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22030 list, store the pointer.
22031 * elf/Makefile ($(objpfx)noload-mem): New rule.
22032 (noload-ENV): Define.
22033 (tests): Add $(objpfx)noload-mem.
22034 * elf/noload.c: Include <memcheck.h>.
22035 (main): Call mtrace. Close all opened handles.
22036
f2092faf
AS
220372011-02-17 Andreas Schwab <schwab@redhat.com>
22038
22039 [BZ #12454]
22040 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22041 dependencies are missing.
22042
6c8a2e88
ST
220432011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22044
f2092faf 22045 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
22046 Hurd needs munmap.
22047 * sysdeps/mach/hurd/ifreq.h: New file.
22048
84a42118
PB
220492011-01-27 Petr Baudis <pasky@suse.cz>
22050 Ulrich Drepper <drepper@gmail.com>
22051
071f805e 22052 [BZ 12445]#
84a42118
PB
22053 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22054 to extend_alloca().
22055 * stdio-common/bug23.c: New file.
22056 * stdio-common/Makefile (tests): Add bug23.
22057
e23fe25b
AS
220582010-09-28 Andreas Schwab <schwab@redhat.com>
22059 Ulrich Drepper <drepper@gmail.com>
22060
22061 [BZ #12489]
22062 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22063 before performing relro protection. At old place add assertion
22064 to make sure nothing changed.
22065
d3f02e10
NS
220662011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22067 Glauber de Oliveira Costa <glommer@gmail.com>
22068
22069 * elf/elf.h: Add new ARM TLS relocs.
22070
d55fd7a5
RA
220712011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22072
22073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22074 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22075 cast from r3.
22076 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22077 'tests' variable.
22078 * sysdeps/wordsize-64/tst-writev.c: New file.
22079
2206397e
RA
220802011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22081
22082 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22083 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22084 insns in _dl_start to prevent a TOC reference before relocs are
22085 resolved.
22086
e9433893
UD
220872011-02-15 Ulrich Drepper <drepper@gmail.com>
22088
22089 [BZ #12469]
22090 * Makeconfig: Remove RANLIB definition.
22091 * Makerules: Don't use RANLIB.
22092 * aclocal.m4: Remove ranlib test.
22093 * configure.in: No need to check for ranlib.
22094 * elf/rtld-Rules: Don't use RANLIB.
22095
f75286c6
ST
220962011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22097
8e31c82d
ST
22098 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22099 protection macro.
22100 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22101 inclusion protection macro.
22102
f75286c6
ST
22103 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22104 SIGRTMIN and SIGRTMAX and print information in that case only when
22105 SIGRTMIN is defined.
22106
c1d0e639
JJ
221072011-02-11 Jakub Jelinek <jakub@redhat.com>
22108
22109 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22110 arginfo fn returning -1.
22111
22112 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22113 and thousands string is zero terminated.
22114
edf9294e
AS
221152011-02-03 Andreas Schwab <schwab@redhat.com>
22116
22117 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22118 sysdeps/unix/sysv/linux/bits/socket.h.
22119
2b7e92df
ST
221202011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22121
edf9294e
AS
22122 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22123 (__CPU_COUNT): Remove old macros.
22124 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22125 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22126 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
22127 (__sched_cpualloc, __sched_cpufree): Add declarations.
22128
a4c7ea7b
UD
221292011-02-05 Ulrich Drepper <drepper@gmail.com>
22130
22131 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22132 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22133 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22134 (readdhstai): Return value of addhstaiX call.
22135 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22136 (addgrbyX): Return value returned by cache_addgr.
22137 (readdgrbyname): Return value returned by addgrbyX.
22138 (readdgrbygid): Likewise.
22139 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22140 (addpwbyX): Return value returned by cache_addpw.
22141 (readdpwbyname): Return value returned by addhstbyX.
22142 (readdpwbyuid): Likewise.
22143 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22144 (addservbyX): Return value returned by cache_addserv.
22145 (readdservbyname): Return value returned by addservbyX:
22146 (readdservbyport): Likewise.
22147 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22148 (addhstbyX): Return value returned by cache_addhst.
22149 (readdhstbyname): Return value returned by addhstbyX.
22150 (readdhstbyaddr): Likewise.
22151 (readdhstbynamev6): Likewise.
22152 (readdhstbyaddrv6): Likewise.
22153 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22154 (readdinitgroups): Return value returned by addinitgroupsX.
22155 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22156 (prune_cache): Keep track of timeout value of re-added entries.
22157 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22158 * nscd/nscd.h: Adjust prototypes of readd* functions.
22159
a0bf67cc
RM
221602011-02-04 Roland McGrath <roland@redhat.com>
22161
22162 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22163 (nis_stats): Likewise.
22164 * nis/nis_modify.c (nis_modify): Likewise.
22165 * nis/nis_remove.c (nis_remove): Likewise.
22166 * nis/nis_add.c (nis_add): Likewise.
22167
22168 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22169
22170 * posix/fnmatch_loop.c: Add some consts.
22171
22172 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22173
435b95eb
L
221742011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22175
22176 [BZ #12460]
22177 * config.make.in (config-cflags-novzeroupper): Define.
22178 * configure.in: Substitute libc_cv_cc_novzeroupper.
22179 * elf/Makefile (AVX-CFLAGS): Define.
22180 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22181 (CFLAGS-tst-auditmod4a.c): Likewise.
22182 (CFLAGS-tst-auditmod4b.c): Likewise.
22183 (CFLAGS-tst-auditmod6b.c): Likewise.
22184 (CFLAGS-tst-auditmod6c.c): Likewise.
22185 (CFLAGS-tst-auditmod7b.c): Likewise.
22186 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22187
8517b15e
UD
221882011-02-02 Ulrich Drepper <drepper@gmail.com>
22189
22190 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22191 function to the callback.
22192 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22193
10a656fe
AS
221942011-02-02 Andreas Schwab <schwab@redhat.com>
22195
22196 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22197 of errno.
22198
968dad0a
UD
221992011-01-19 Ulrich Drepper <drepper@gmail.com>
22200
9f94d2ea 22201 [BZ #11724]
968dad0a
UD
22202 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22203 of constructors.
22204 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22205 of destructors.
22206 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22207
22208 [BZ #11724]
22209 * elf/Makefile: Add rules to build and run new test.
22210 * elf/tst-initorder.c: New file.
22211 * elf/tst-initorder.exp: New file.
22212 * elf/tst-initordera1.c: New file.
22213 * elf/tst-initordera2.c: New file.
22214 * elf/tst-initordera3.c: New file.
22215 * elf/tst-initordera4.c: New file.
22216 * elf/tst-initorderb1.c: New file.
22217 * elf/tst-initorderb2.c: New file.
22218 * elf/tst-order-a1.c: New file.
22219 * elf/tst-order-a2.c: New file.
22220 * elf/tst-order-a3.c: New file.
22221 * elf/tst-order-a4.c: New file.
22222 * elf/tst-order-b1.c: New file.
22223 * elf/tst-order-b2.c: New file.
22224 * elf/tst-order-main.c: New file.
22225 New test case by George Gensure <werkt0@gmail.com>.
22226
86e92359
UD
222272010-10-01 Andreas Schwab <schwab@redhat.com>
22228
22229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22230 decoding ACE if AI_CANONIDN.
22231
5d5732b0
UD
222322011-01-18 Ulrich Drepper <drepper@gmail.com>
22233
22234 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22235
a77e8cbc
UD
222362011-01-17 Ulrich Drepper <drepper@gmail.com>
22237
6392473f
UD
22238 * version.h (RELEASE): Bump for 2.13 release.
22239 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22240
620a0529
UD
22241 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22242
18ba70a5
UD
22243 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22244 MADV_NOHUGEPAGE.
32465c3e
UD
22245 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22246 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22247 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22248 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22249 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22250 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22251
c0dafcf1
UD
22252 * posix/getconf.c: Update copyright year.
22253 * catgets/gencat.c: Likewise.
22254 * csu/version.c: Likewise.
22255 * debug/catchsegv.sh: Likewise.
22256 * debug/xtrace.sh: Likewise.
22257 * elf/ldconfig.c: Likewise.
22258 * elf/ldd.bash.in: Likewise.
22259 * elf/sprof.c (print_version): Likewise.
22260 * iconv/iconv_prog.c: Likewise.
22261 * iconv/iconvconfig.c: Likewise.
22262 * locale/programs/locale.c: Likewise.
22263 * locale/programs/localedef.c: Likewise.
22264 * malloc/memusage.sh: Likewise.
22265 * malloc/mtrace.pl: Likewise.
22266 * nscd/nscd.c (print_version): Likewise.
22267 * nss/getent.c: Likewise.
22268
a77e8cbc
UD
22269 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22270 PF_CAIF, and PF_ALG.
22271 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22272
77e8bddf
AS
222732011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22274
1f20b93a
AS
22275 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22276 (modules-names): Use them.
22277 (ifunc-test-modules, ifunc-pie-tests): Define.
22278 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22279 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22280 (test-extras): Likewise.
22281 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22282 $(compile-command.c).
22283 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22284 (all-built-dso): Define.
22285 (check-textrel.out, check-execstack.out): Depend on it.
22286
77e8bddf
AS
22287 * configure.in: Don't override --enable-multi-arch.
22288
bc425b33
UD
222892011-01-15 Ulrich Drepper <drepper@gmail.com>
22290
22291 [BZ #6812]
22292 * nscd/hstcache.c (tryagain): Define.
22293 (cache_addhst): Return tryagain not notfound for temporary errors.
22294 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22295 failed.
22296
794c3ad3
UD
222972011-01-14 Ulrich Drepper <drepper@gmail.com>
22298
70181fdd
UD
22299 [BZ #10563]
22300 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22301 to make the syscall.
22302 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22303
794c3ad3
UD
22304 [BZ #12378]
22305 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22306 and fall back to matching as normal character if the string ends before
22307 the matching ']' is found. This is what POSIX requires.
22308 * posix/testfnm.c: Adjust test result.
22309 * posix/globtest.sh: Adjust test result. Add new test.
22310 * posix/tst-fnmatch.input: Likewise.
22311 * posix/tst-fnmatch2.c: Add new test.
22312
68dc9497
AS
223132010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22314
22315 * elf/Makefile (check-execstack): Revert last change. Depend on
22316 check-execstack.h.
22317 (check-execstack.h): New target.
22318 (generated): Add check-execstack.h.
22319 * elf/check-execstack.c: Include "check-execstack.h".
22320 (main): Revert last change.
22321 (handle_file): Return zero if GNU_STACK is absent and
22322 DEFAULT_STACK_PERMS doesn't include PF_X.
22323
451f001b
UD
223242011-01-13 Ulrich Drepper <drepper@gmail.com>
22325
cfa28e56
UD
22326 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22327 in child fails because the descriptor is already closed.
8cf8ce17
UD
22328 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22329 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22330 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 22331
1086d70d
UD
22332 [BZ #12397]
22333 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22334 syscall.
22335
451f001b
UD
22336 [BZ #10484]
22337 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22338 temporary buffer used to handle multi lookups locally.
a85b5cb4 22339 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 22340
08769175
UD
223412011-01-12 Ulrich Drepper <drepper@gmail.com>
22342
22343 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22344 loader is ld.so.
22345
5e49c52e
UD
223462011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22347
22348 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22349 alignment for SSE2.
22350
60522a5f
UD
223512011-01-12 Ulrich Drepper <drepper@gmail.com>
22352
22353 [BZ #12394]
22354 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22355 characters. When rounding increased number of integer digits recompute
22356 number of groups.
22357 * stdio-common/tst-grouping.c: New file.
22358 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22359
f257bbd7
UD
223602011-01-09 Ulrich Drepper <drepper@gmail.com>
22361
22362 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22363 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22364
22365 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22366 void.
22367 * bits/select.h: Likewise.
22368
fa9c15cb
UD
223692011-01-08 Ulrich Drepper <drepper@gmail.com>
22370
22371 * po/ja.po: Update from translation team.
22372
16c2895f
DM
223732011-01-04 David S. Miller <davem@sunset.davemloft.net>
22374
22375 [BZ #11155]
22376 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22377 implementation just like for lxstat, fxstatat, et al.
22378
2543fef2
JM
223792010-12-27 Jim Meyering <meyering@redhat.com>
22380
22381 [BZ #12348]
22382 * posix/regexec.c (build_trtable): Return failure indication upon
22383 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22384
98727dbe
UD
223852010-12-25 Ulrich Drepper <drepper@gmail.com>
22386
5bd6dc5c
UD
22387 [BZ #12201]
22388 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22389 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22390 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22391 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22392
97983464
UD
22393 [BZ #12207]
22394 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22395
98727dbe
UD
22396 [BZ #12204]
22397 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22398 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22399
4a531bb0
L
224002010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22401
22402 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22403 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22404 script has SORT_BY_INIT_PRIORITY.
22405 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22406 NO_CTORS_DTORS_SECTIONS is defined.
22407 * elf/soinit.c: Likewise.
22408 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22409 NO_CTORS_DTORS_SECTIONS is defined.
22410 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22411 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22412 * sysdeps/sh/init-first.c: Likewise.
22413 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22414
07eb4b71
UD
224152010-12-24 Ulrich Drepper <drepper@gmail.com>
22416
22417 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22418 always use the slow path.
22419
30950a5f
RA
224202010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22421
22422 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22423 similar rule which adds the sysdep directories to the header search in
22424 order to pick up the correct platform stackinfo.h.
22425 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22426 perform test if it is, otherwise return successfully without testing.
22427 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22428 DEFAULT_STACK_PERMS define in stackinfo.h.
22429 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22430 defined in stackinfo.h.
22431 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22432 DEFAULT_STACK_PERMS defined in stackinfo.h.
22433 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22434 * sysdeps/ia64/stackinfo.h: Likewise.
22435 * sysdeps/s390/stackinfo.h: Likewise.
22436 * sysdeps/sh/stackinfo.h: Likewise.
22437 * sysdeps/sparc/stackinfo.h: Likewise.
22438 * sysdeps/x86_64/stackinfo.h: Likewise.
22439 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22440 PF_X for powerpc64. Retain PF_X for powerpc32.
22441
db753e2c
UD
224422010-12-19 Ulrich Drepper <drepper@gmail.com>
22443
14b697f7
UD
22444 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22445 accurately.
db753e2c
UD
22446 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22447 GETDENTS_64BIT_ALIGNED.
22448
28300719
UD
224492010-12-14 Ulrich Drepper <dreper@gmail.com>
22450
14b697f7 22451 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 22452
4f197237
AS
224532010-12-10 Andreas Schwab <schwab@redhat.com>
22454
dbb0472f
AS
22455 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22456 _GNU_SOURCE.
22457
4f197237
AS
22458 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22459 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22460 Remove __restrict.
22461 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22462 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22463
fb88ac72
UD
224642010-12-09 Ulrich Drepper <drepper@gmail.com>
22465
22466 [BZ #11655]
22467 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22468 are initialized.
22469
42acbb92
JJ
224702010-12-09 Jakub Jelinek <jakub@redhat.com>
22471
22472 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22473
c038d98d
UD
224742010-12-03 Ulrich Drepper <drepper@gmail.com>
22475
22476 * po/it.po: Update from translation team.
22477
3a4a2499
L
224782010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22479
22480 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22481 unused codes.
22482
1e24cf6e
UD
224832010-11-30 Ulrich Drepper <drepper@gmail.com>
22484
22485 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22486
a7690819
AS
224872010-11-24 Andreas Schwab <schwab@redhat.com>
22488
22489 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22490 specially.
22491 (gaih_getanswer_slice): Likewise.
22492
3bf8d1b1
JJ
224932010-10-20 Jakub Jelinek <jakub@redhat.com>
22494
22495 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22496
6db52fbb
PB
224972010-05-31 Petr Baudis <pasky@suse.cz>
22498
22499 [BZ #11149]
22500 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22501 silently even in the chroot mode.
22502
eaca7569
UD
225032010-11-22 Ulrich Drepper <drepper@gmail.com>
22504
22505 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22506 last patch a bit. Pretty printing
22507
3056dcdb
UD
225082010-05-31 Petr Baudis <pasky@suse.cz>
22509
22510 [BZ #10085]
22511 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22512 initialization of skip_initgroups_dyn.
22513
cf7c9078
UD
225142010-11-19 Ulrich Drepper <drepper@gmail.com>
22515
22516 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22517 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22518
a1fb5e3e
UD
225192010-11-16 Ulrich Drepper <drepper@gmail.com>
22520
22521 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22522
3540d66b
AS
225232010-11-11 Andreas Schwab <schwab@redhat.com>
22524
22525 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22526 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22527 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22528 ($(objpfx)tst-fnmatch-mem): New rule.
22529 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22530 * posix/tst-fnmatch.c (main): Call mtrace.
22531
13b69574
L
225322010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22533
22534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22535 Support Intel processor model 6 and model 0x2c.
22536
da93d214
LM
225372010-11-10 Luis Machado <luisgpm@br.ibm.com>
22538
22539 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22540 signed comparison.
22541
8ca52c6e
L
225422010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22543
22544 [BZ #12205]
22545 * string/test-strncasecmp.c (check_result): New function.
22546 (do_one_test): Use it.
22547 (check1): New function.
22548 (test_main): Use it.
22549 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22550 Support strcasecmp and strncasecmp.
22551
69da074d
UD
225522010-11-08 Ulrich Drepper <drepper@gmail.com>
22553
22554 [BZ #12194]
22555 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22556 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22557
ff02d528
L
225582010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22559
22560 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22561 IFUNC support.
22562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22563 memset-x86-64.
22564 * sysdeps/x86_64/multiarch/bzero.S: New file.
22565 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22566 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22567 * sysdeps/x86_64/multiarch/memset.S: New file.
22568 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22570 Set bit_Prefer_SSE_for_memop for Intel processors.
22571 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22572 Define.
22573 (index_Prefer_SSE_for_memop): Define.
22574 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22575
344d0b54
LM
225762010-11-04 Luis Machado <luisgpm@br.ibm.com>
22577
22578 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22579 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22580
c0dde15b
UD
225812010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22582
22583 [BZ #12191]
22584 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22585 (__x86_64_raw_data_cache_size_half): Likewise.
22586 (__x86_64_raw_shared_cache_size): Likewise.
22587 (__x86_64_raw_shared_cache_size_half): Likewise.
22588
22589 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22590 (__x86_64_raw_data_cache_size_half): Likewise.
22591 (__x86_64_raw_shared_cache_size): Likewise.
22592 (__x86_64_raw_shared_cache_size_half): Likewise.
22593 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22594 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22595 and __x86_64_raw_shared_cache_size_half. Round
22596 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22597 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22598 to multiple of 256 bytes.
22599
0e516e0e
MS
226002010-11-03 Ulrich Drepper <drepper@gmail.com>
22601
22602 [BZ #12167]
22603 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22604 of inacessible symlinks. Verify result of symlink before returning it.
22605 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22606 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22607
0e012e87
ER
226082010-10-28 Erich Ritz <erichritz@gmail.com>
22609
22610 * math/math.h (isinf): Fix typo in comment.
22611
de0ff7bc
UD
226122010-11-01 Ulrich Drepper <drepper@gmail.com>
22613
22614 * po/da.po: Update from translation team.
22615
fa41c84d
UD
226162010-10-26 Ulrich Drepper <drepper@gmail.com>
22617
22618 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22619 is added to the list.
22620
f0967738
AK
226212010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22622 Ulrich Drepper <drepper@gmail.com>
22623
22624 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22625 the global list here. Move code to...
22626 (_dl_add_to_namespace_list): ...here. New function.
22627 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22628 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22629 * elf/dl-load.c (lose): Don't remove the element from the list.
22630 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22631 (_dl_map_object): Likewise.
22632
226332010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22634
22635 [BZ #12159]
22636 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22637 into all bytes of SSE register.
22638 Patch by Richard Li <richardpku@gmail.com>.
22639
f0967738 226402010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22641
22642 [BZ #12140]
22643 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22644 perturbing.
22645
d0b9e94f
MB
226462010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22647
22648 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22649 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22650 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22651 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22653 submachine.
22654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22655
8e9f92e9
AS
226562010-10-22 Andreas Schwab <schwab@redhat.com>
22657
22658 * include/dlfcn.h (__RTLD_SECURE): Define.
22659 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22660 mode & __RTLD_SECURE instead.
22661 (open_path): Rename preloaded parameter to secure.
22662 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22663 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22664 * elf/dl-deps.c (openaux): Likewise.
22665 * elf/rtld.c (struct map_args): Remove is_preloaded.
22666 (map_doit): Don't use it.
22667 (dl_main): Likewise.
22668 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22669 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22670
bc96fbda
AS
226712010-09-09 Andreas Schwab <schwab@redhat.com>
22672
22673 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22674 (sysd-rules-targets): Remove duplicates.
22675 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22676 rtld-%.$o dependency.
22677
22cd1c9b
AS
226782010-10-18 Andreas Schwab <schwab@redhat.com>
22679
22680 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22681 _dl_map_object do it.
22682
18edac48
UD
226832010-10-19 Ulrich Drepper <drepper@gmail.com>
22684
22685 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22686 fast fma builtins, define the macros in the C99 standard.
22687 (FP_FAST_FMAF): Likewise.
22688 (FP_FAST_FMAL): Likewise.
22689 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22690
22691 * bits/mathdef.h: Update copyright year.
22692 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22693
d2050124
MM
226942010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22695
22696 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22697 builtins, define the macros in the C99 standard.
22698 (FP_FAST_FMAF): Likewise.
22699 (FP_FAST_FMAL): Likewise.
22700 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22701 multiply/add.
22702 (FP_FAST_FMAF): Likewise.
22703
475facd1
JJ
227042010-10-15 Jakub Jelinek <jakub@redhat.com>
22705
22706 [BZ #3268]
22707 * math/libm-test.inc (fma_test): Some new testcases.
22708 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22709 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22710 y and infinite z. Do multiplication by C already in long double.
22711 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22712 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22713 y and infinite z. Do bitwise or of inexact bit into u.d.
22714 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22715 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22716 * sysdeps/i386/fpu/s_fma.S: Removed.
22717 * sysdeps/i386/fpu/s_fmal.S: Removed.
22718
7c08a05c
JJ
227192010-10-16 Jakub Jelinek <jakub@redhat.com>
22720
22721 [BZ #3268]
22722 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22723 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22724 computation is not scheduled after fetestexcept. Fix value
22725 of minimum denormal long double.
22726
f3f7372d
JJ
227272010-10-14 Jakub Jelinek <jakub@redhat.com>
22728
22729 [BZ #3268]
22730 * math/libm-test.inc (fma_test): Add some more tests.
22731 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22732 correctly.
22733
14d43591
AS
227342010-10-15 Andreas Schwab <schwab@redhat.com>
22735
22736 * scripts/data/localplt-s390-linux-gnu.data: New file.
22737 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22738
5e908464
JJ
227392010-10-13 Jakub Jelinek <jakub@redhat.com>
22740
22741 [BZ #3268]
22742 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22743 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22744 instead of dbl-64.
22745 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22746 inlines.
22747 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22749 if one of x and y is very large and the other is subnormal.
22750 * sysdeps/s390/fpu/s_fmaf.c: New file.
22751 * sysdeps/s390/fpu/s_fma.c: New file.
22752 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22753 * sysdeps/powerpc/fpu/s_fma.S: New file.
22754 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22755 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22756 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22757
227582010-10-12 Jakub Jelinek <jakub@redhat.com>
22759
22760 [BZ #3268]
22761 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22762 fma tests.
22763 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22764 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22765 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22766 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22767 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22768 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22769 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22770
b833d51f
UD
227712010-10-12 Ulrich Drepper <drepper@redhat.com>
22772
22773 [BZ #12078]
22774 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22775 * posix/bug-regex31.input: Add test case.
22776
1751705d
UD
227772010-10-11 Ulrich Drepper <drepper@gmail.com>
22778
e9b9cbf5
UD
22779 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22780 * posix/bug-regex31.input: New file.
22781
22782 [BZ #12078]
22783 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22784 (parse_sub_exp): Fix last change, use postorder.
22785
ef06edbe
UD
22786 * posix/bug-regex31.c: New file.
22787 * posix/Makefile: Add rules to build and run bug-regex31.
22788
a129c80d
UD
22789 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22790
22791 [BZ #12078]
22792 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22793
b76b818e
UD
22794 [BZ #12108]
22795 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22796 to have entries in sys_siglist.
22797
1751705d
UD
22798 [BZ #12093]
22799 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22800 be NULL.
22801
9ff8d36f
JJ
228022010-10-07 Jakub Jelinek <jakub@redhat.com>
22803
22804 [BZ #3268]
22805 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22806 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22807 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22808 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22809 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22810 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22811 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22812 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22813 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22814 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22815 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22816 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22817 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22818 * math/ftestexcept.c (fetestexcept): Likewise.
22819 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22820 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22821 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22822 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22823 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22824 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22825 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22826
af325969
UD
228272010-10-11 Ulrich Drepper <drepper@gmail.com>
22828
c579b202 22829 [BZ #12107]
af325969
UD
22830 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22831 newline.
22832
67a67b95
UD
228332010-10-06 Ulrich Drepper <drepper@gmail.com>
22834
22835 * string/bug-strstr1.c: New file.
22836 * string/Makefile: Add rules to build and run bug-strstr1.
22837
5fb308bc
EB
228382010-10-05 Eric Blake <eblake@redhat.com>
22839
22840 [BZ #12092]
22841 * string/str-two-way.h (two_way_long_needle): Always clear memory
22842 when skipping input due to the shift table.
22843
45db99c7
UD
228442010-10-03 Ulrich Drepper <drepper@gmail.com>
22845
3b111893
UD
22846 [BZ #12005]
22847 * malloc/mcheck.c: Handle large requests.
22848
45db99c7
UD
22849 [BZ #12077]
22850 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22851 for strncmp and strncasecmp.
22852 * string/stratcliff.c: Add tests for strcmp and strncmp.
22853 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22854
cf7a1eb8
NI
228552010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22856
22857 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22858 __set_fpscr.
22859
6484ba5e
AJ
228602010-09-30 Andreas Jaeger <aj@suse.de>
22861
22862 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22863 (CGROUP_SUPER_MAGIC): Define.
22864 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22865 Handle btrfs and cgroup file systems.
22866 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22867 Likewise.
22868
91c42559
LM
228692010-09-27 Luis Machado <luisgpm@br.ibm.com>
22870
22871 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22872 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22873
87a97932
AK
228742010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22875
22876 [BZ #12067]
22877 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22878 trying to locate the ELF header.
22879
c21cc9bc
AS
228802010-09-27 Andreas Schwab <schwab@redhat.com>
22881
22882 [BZ #11611]
22883 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22884 Mask out sign-bit copies when constructing f_fsid.
22885
315970f6
PB
228862010-09-24 Petr Baudis <pasky@suse.cz>
22887
22888 * debug/stack_chk_fail_local.c: Add missing licence exception.
22889 * debug/warning-nop.c: Likewise.
22890
1ac7a2c7
JM
228912010-09-15 Joseph Myers <joseph@codesourcery.com>
22892
22893 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22894 implementing getdents64 using getdents syscall, set d_type if
22895 __ASSUME_GETDENTS32_D_TYPE.
22896
56801c50
AS
228972010-09-16 Andreas Schwab <schwab@redhat.com>
22898
22899 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22900 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22901
dda51327
UD
229022010-09-21 Ulrich Drepper <drepper@redhat.com>
22903
22904 [BZ #12037]
22905 * posix/unistd.h: Undo change of feature selection for ftruncate from
22906 2010-01-11.
22907
8ffcee4a
UD
229082010-09-20 Ulrich Drepper <drepper@redhat.com>
22909
a545ecd9 22910 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22911 detection.
22912
e24f0a8b
AS
229132010-09-20 Andreas Schwab <schwab@redhat.com>
22914
22915 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22916 fanotify_mark.
22917 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22918
7291c56f
AS
229192010-09-14 Andreas Schwab <schwab@redhat.com>
22920
22921 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22922 variables after CHECK_SP call.
22923 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22924
bc5fb037
AS
229252010-09-13 Andreas Schwab <schwab@redhat.com>
22926 Ulrich Drepper <drepper@redhat.com>
22927
22928 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22929 re-relocationg ld.so.
22930 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22931 _dl_init_paths call.
22932 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22933 here anymore.
22934
e66e7419
UD
229352010-09-14 Ulrich Drepper <drepper@redhat.com>
22936
22937 * resolv/res_init.c (__res_vinit): Count the default server we added.
22938
c044aa75
CLT
229392010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22940 Ulrich Drepper <drepper@redhat.com>
22941
22942 [BZ #11968]
22943 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22944 (____longjmp_chk): Use %ebx for saving value across system call.
22945 Add unwind info.
22946
32cf4069
AS
229472010-09-06 Andreas Schwab <schwab@redhat.com>
22948
22949 * manual/Makefile: Don't mix pattern rules with normal rules.
22950
817328ee
AS
229512010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22952
22953 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22954 operation.
22955 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22956 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22957 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22958 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22959 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22960 Likewise.
22961
29fddf61
UD
229622010-09-04 Ulrich Drepper <drepper@redhat.com>
22963
22964 [BZ #11979]
22965 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22966 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22967
0959ffc9
UD
229682010-09-02 Ulrich Drepper <drepper@redhat.com>
22969
22970 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22971 * sysdeps/x86_64/addmul_1.S: Likewise.
22972 * sysdeps/x86_64/lshift.S: Likewise.
22973 * sysdeps/x86_64/mul_1.S: Likewise.
22974 * sysdeps/x86_64/rshift.S: Likewise.
22975 * sysdeps/x86_64/sub_n.S: Likewise.
22976 * sysdeps/x86_64/submul_1.S: Likewise.
22977
ece29840
ST
229782010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22979
0959ffc9
UD
22980 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22981 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22982 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22983 * bits/sched.h [__need_schedparam]
ece29840 22984 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22985 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22986 (__defined_schedparam): Define to 1.
ece29840
ST
22987 (__sched_param): New structure, identical to sched_param.
22988 (__need_schedparam): Undefine.
22989
e53a31fe
MF
229902010-08-31 Mike Frysinger <vapier@gentoo.org>
22991
fdc0c10d
MF
22992 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22993 (epoll_create1): Declare.
22994
e53a31fe
MF
22995 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22996
a726d796
AS
229972010-08-31 Andreas Schwab <schwab@redhat.com>
22998
22999 [BZ #7066]
23000 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23001 shifting retval into place.
23002
2f3e3dc7
UD
230032010-09-01 Ulrich Drepper <drepper@redhat.com>
23004
f2933da9
UD
23005 * nis/rpcsvc/nis.h: Update copyright notice.
23006 * nis/rpcsvc/nis.x: Likewise.
23007 * nis/rpcsvc/nis_callback.h: Likewise.
23008 * nis/rpcsvc/nis_callback.x: Likewise.
23009 * nis/rpcsvc/nis_object.x: Likewise.
23010 * nis/rpcsvc/nis_tags.h: Likewise.
23011 * nis/rpcsvc/yp.h: Likewise.
23012 * nis/rpcsvc/yp.x: Likewise.
23013 * nis/rpcsvc/ypupd.h: Likewise.
23014 * nis/yp_xdr.c: Likewise.
23015 * nis/ypupdate_xdr.c: Likewise.
23016
2f3e3dc7
UD
23017 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23018 mainly the body of pmap_getport. Add parameters to specify timeouts.
23019 (pmap_getport): Use __libc_rpc_getport.
23020 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23021 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23022 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23023
f3dcc2f9
AS
230242010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23025
23026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23027 fanotify_mark.
23028
6d34eb5b
RM
230292010-08-27 Roland McGrath <roland@redhat.com>
23030
23031 * sysdeps/i386/i686/multiarch/Makefile
23032 (CFLAGS-varshift.c): New variable.
23033
9ea3de11
UD
230342010-08-27 Ulrich Drepper <drepper@redhat.com>
23035
c96d23fc
UD
23036 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23037 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23038
9ea3de11
UD
23039 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23040
23041 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23042
623aac7f
L
230432010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23044
23045 * sysdeps/x86_64/strlen.S: Unroll the loop.
23046 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23047 strlen-sse2 strlen-sse2-bsf.
23048 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23049 __strlen_no_bsf if bit_Slow_BSF is set.
23050 (__strlen_sse42): Removed.
23051 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23052 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23053
8b2b7715
RM
230542010-08-25 Roland McGrath <roland@redhat.com>
23055
23056 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23057 * sysdeps/x86_64/multiarch/varshift.c: New file.
23058 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23059 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23060 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23061 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23062
e73015f2
L
230632010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23064
23065 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23066 strlen-sse2 strlen-sse2-bsf.
23067 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23068 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23069 (__strlen_sse2): Removed.
23070 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23071 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23073 bit_Slow_BSF for Atom.
23074 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23075 (index_Slow_BSF): Define.
23076 (HAS_SLOW_BSF): Define.
23077
df24a73e
UD
230782010-08-25 Ulrich Drepper <drepper@redhat.com>
23079
23080 [BZ #10851]
23081 * resolv/res_init.c (__res_vinit): When no server address at all
23082 is given default to loopback.
23083
f2ac4868
RM
230842010-08-24 Roland McGrath <roland@redhat.com>
23085
09055553
RM
23086 * configure.in: Remove config-name.h generation.
23087 * configure: Regenerated.
23088 * config-name.in: File removed.
23089 * scripts/config-uname.sh: New file.
23090 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23091 ($(objdir)config-name.h): New target.
23092
f2ac4868
RM
23093 * sunrpc/rpc_parse.h: Avoid nested comment.
23094
73f27d5e
RH
230952010-08-24 Richard Henderson <rth@redhat.com>
23096 Ulrich Drepper <drepper@redhat.com>
23097 H.J. Lu <hongjiu.lu@intel.com>
23098
23099 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23101 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23102 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23103 _mm_alignr_epi8 with _mm_loadu_si128.
23104 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23105 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23106 (__m128i_shift_right): Removed.
23107 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23108 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23109 * sysdeps/x86_64/multiarch/varshift.h: New file.
23110 * sysdeps/x86_64/multiarch/varshift.S: New file.
23111
84b9230c
MF
231122010-08-21 Mike Frysinger <vapier@gentoo.org>
23113
23114 * configure.in: Move assembler checks to before sysdep dir checking.
23115
9bbd0ddc
PB
231162010-08-20 Petr Baudis <pasky@suse.cz>
23117
23118 * LICENSES: Sync the sunrpc license.
23119
9da4bb31
UD
231202010-08-19 Ulrich Drepper <drepper@redhat.com>
23121
a7ab6ec8
UD
23122 * sunrpc/auth_des.c: Update copyright notice once again.
23123 * sunrpc/auth_none.c: Likewise.
23124 * sunrpc/auth_unix.c: Likewise.
23125 * sunrpc/authdes_prot.c: Likewise.
23126 * sunrpc/authuxprot.c: Likewise.
23127 * sunrpc/bindrsvprt.c: Likewise.
23128 * sunrpc/clnt_gen.c: Likewise.
23129 * sunrpc/clnt_perr.c: Likewise.
23130 * sunrpc/clnt_raw.c: Likewise.
23131 * sunrpc/clnt_simp.c: Likewise.
23132 * sunrpc/clnt_tcp.c: Likewise.
23133 * sunrpc/clnt_udp.c: Likewise.
23134 * sunrpc/clnt_unix.c: Likewise.
23135 * sunrpc/des_crypt.c: Likewise.
23136 * sunrpc/des_soft.c: Likewise.
23137 * sunrpc/get_myaddr.c: Likewise.
23138 * sunrpc/getrpcport.c: Likewise.
23139 * sunrpc/key_call.c: Likewise.
23140 * sunrpc/key_prot.c: Likewise.
23141 * sunrpc/openchild.c: Likewise.
23142 * sunrpc/pm_getmaps.c: Likewise.
23143 * sunrpc/pm_getport.c: Likewise.
23144 * sunrpc/pmap_clnt.c: Likewise.
23145 * sunrpc/pmap_prot.c: Likewise.
23146 * sunrpc/pmap_prot2.c: Likewise.
23147 * sunrpc/pmap_rmt.c: Likewise.
23148 * sunrpc/rpc/auth.h: Likewise.
23149 * sunrpc/rpc/auth_unix.h: Likewise.
23150 * sunrpc/rpc/clnt.h: Likewise.
23151 * sunrpc/rpc/des_crypt.h: Likewise.
23152 * sunrpc/rpc/key_prot.h: Likewise.
23153 * sunrpc/rpc/netdb.h: Likewise.
23154 * sunrpc/rpc/pmap_clnt.h: Likewise.
23155 * sunrpc/rpc/pmap_prot.h: Likewise.
23156 * sunrpc/rpc/pmap_rmt.h: Likewise.
23157 * sunrpc/rpc/rpc.h: Likewise.
23158 * sunrpc/rpc/rpc_des.h: Likewise.
23159 * sunrpc/rpc/rpc_msg.h: Likewise.
23160 * sunrpc/rpc/svc.h: Likewise.
23161 * sunrpc/rpc/svc_auth.h: Likewise.
23162 * sunrpc/rpc/types.h: Likewise.
23163 * sunrpc/rpc/xdr.h: Likewise.
23164 * sunrpc/rpc_clntout.c: Likewise.
23165 * sunrpc/rpc_cmsg.c: Likewise.
23166 * sunrpc/rpc_common.c: Likewise.
23167 * sunrpc/rpc_cout.c: Likewise.
23168 * sunrpc/rpc_dtable.c: Likewise.
23169 * sunrpc/rpc_hout.c: Likewise.
23170 * sunrpc/rpc_main.c: Likewise.
23171 * sunrpc/rpc_parse.c: Likewise.
23172 * sunrpc/rpc_parse.h: Likewise.
23173 * sunrpc/rpc_prot.c: Likewise.
23174 * sunrpc/rpc_sample.c: Likewise.
23175 * sunrpc/rpc_scan.c: Likewise.
23176 * sunrpc/rpc_scan.h: Likewise.
23177 * sunrpc/rpc_svcout.c: Likewise.
23178 * sunrpc/rpc_tblout.c: Likewise.
23179 * sunrpc/rpc_util.c: Likewise.
23180 * sunrpc/rpc_util.h: Likewise.
23181 * sunrpc/rpcinfo.c: Likewise.
23182 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23183 * sunrpc/rpcsvc/key_prot.x: Likewise.
23184 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23185 * sunrpc/rpcsvc/mount.x: Likewise.
23186 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23187 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23188 * sunrpc/rpcsvc/rex.x: Likewise.
23189 * sunrpc/rpcsvc/rstat.x: Likewise.
23190 * sunrpc/rpcsvc/rusers.x: Likewise.
23191 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23192 * sunrpc/rpcsvc/spray.x: Likewise.
23193 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23194 * sunrpc/rtime.c: Likewise.
23195 * sunrpc/svc.c: Likewise.
23196 * sunrpc/svc_auth.c: Likewise.
23197 * sunrpc/svc_authux.c: Likewise.
23198 * sunrpc/svc_raw.c: Likewise.
23199 * sunrpc/svc_run.c: Likewise.
23200 * sunrpc/svc_simple.c: Likewise.
23201 * sunrpc/svc_tcp.c: Likewise.
23202 * sunrpc/svc_udp.c: Likewise.
23203 * sunrpc/svc_unix.c: Likewise.
23204 * sunrpc/svcauth_des.c: Likewise.
23205 * sunrpc/xcrypt.c: Likewise.
23206 * sunrpc/xdr.c: Likewise.
23207 * sunrpc/xdr_array.c: Likewise.
23208 * sunrpc/xdr_float.c: Likewise.
23209 * sunrpc/xdr_mem.c: Likewise.
23210 * sunrpc/xdr_rec.c: Likewise.
23211 * sunrpc/xdr_ref.c: Likewise.
23212 * sunrpc/xdr_sizeof.c: Likewise.
23213 * sunrpc/xdr_stdio.c: Likewise.
23214
9da4bb31
UD
23215 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23216 handling.
23217
bdaa77bc
AS
232182010-08-19 Andreas Schwab <schwab@redhat.com>
23219
23220 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23221
fe2f79db
LM
232222010-08-19 Luis Machado <luisgpm@br.ibm.com>
23223
23224 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23225 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23226 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23227 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23228 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23229 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23230 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23231 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23232 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23233 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23234 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23235 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23236 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23237 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23238
b9b42ee0
AB
232392010-07-26 Anton Blanchard <anton@samba.org>
23240
23241 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23242 * malloc/arena.c (heap_trim): Likewise.
23243
1c06ba31
UD
232442010-08-16 Ulrich Drepper <drepper@redhat.com>
23245
23246 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23247 here. Not...
23248 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23249 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23250
f8392f40
L
232512010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23252
23253 * sysdeps/i386/elf/Makefile: New file.
23254
3162f12e
AS
232552010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23256
23257 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23258 from fanotify_init.
23259 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23260 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23261
28c90b2c
UD
232622010-08-15 Ulrich Drepper <drepper@redhat.com>
23263
23264 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23265 of strncasecmp_l.
1feccb6c 23266 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23267
ca6bb004
UD
232682010-08-14 Ulrich Drepper <drepper@redhat.com>
23269
e9f82e0d
UD
23270 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23271 strncase_l-nonascii.
23272 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23273 Add strncase_l-ssse3.
23274 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23275 * sysdeps/x86_64/strcmp.S: Likewise.
23276 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23277 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23278 * sysdeps/x86_64/strncase.S: New file.
23279 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23280 * sysdeps/x86_64/strncase_l.S: New file.
23281 * string/Makefile (strop-tests): Add strncasecmp.
23282 * string/test-strncasecmp.c: New file.
23283
23284 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23285 warning.
23286
ca6bb004
UD
23287 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23288 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23289
052fa7b3
AS
232902010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23291
23292 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23293
962dba78
UD
232942010-08-12 Ulrich Drepper <drepper@redhat.com>
23295
23296 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23297 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23298 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23299
bebff237
AM
233002010-05-01 Alan Modra <amodra@gmail.com>
23301
23302 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23303 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23304 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23305 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23306 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23307 tidying. Don't tail-call __sigjmp_save for static lib.
23308 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23309 save location.
23310 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23311 (CALL_MCOUNT): Add eh info, and nop after bl.
23312 (TAIL_CALL_SYSCALL_ERROR): New macro.
23313 (PSEUDO_RET): Use it.
23314 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23315 Correct save location of integer regs and cr.
23316 (_dl_profile_resolve): Correct cr save location. Delete nops
23317 after bl when SHARED. Reduce cfi size a little by better
23318 placement of cfi directives.
23319 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23320 make a stack frame. Instead use parm save area as a temp.
23321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23322 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23324 Don't make a stack frame for parent, use parm save area.
23325 Increase child stack frame to 112 bytes. Don't save unused reg,
23326 and adjust reg usage. Set up cfi on error recovery and
23327 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23329 (__makecontext): Add dummy nop after jump to exit.
23330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23331 Use correct parm save area and cr save, reduce stack frame.
23332 Correct cfi for possible PSEUDO_RET frame setup.
23333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23334 Branch to local label emitted by PSEUDO_RET rather than
23335 __syscall_error.
23336
02637374
AS
233372010-08-12 Andreas Schwab <schwab@redhat.com>
23338
23339 [BZ #11904]
23340 * locale/programs/locale.c (print_assignment): New function.
23341 (show_locale_vars): Use it.
23342
c3e2f19b
UD
233432010-08-11 Ulrich Drepper <drepper@redhat.com>
23344
3cdaa6ad
UD
23345 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23346 field.
23347 (struct statfs64): Likewise.
23348 (_STATFS_F_FLAGS): Define.
23349 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23350 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23351 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23352 (ST_VALID): Define locally.
23353 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23354 __statvfs_getflags, use the provided value.
23355 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23356 __ASSUME_STATFS_F_FLAGS.
23357
754f7da3
UD
23358 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23359
10b3bedc
UD
23360 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23361 Add sys/fanotify.h.
23362 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23363 fanotify_mask for GLIBC_2.13.
23364 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23365 fanotify_init and fanotify_mark.
23366 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23367 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23368
c08fb0d7
UD
23369 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23370 Add prlimit.
23371 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23372 prlimit64 for GLIBC_2.13.
23373 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23374 prlimit64.
23375 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23376 syscall.
23377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23378 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23379 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23380 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23381 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23382 add prlimit alias.
23383 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23384
15bac72b
UD
23385 [BZ #11903]
23386 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23387 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23388
c3e2f19b
UD
23389 * nss/Makefile: Add rules to build and run tst-nss-test1.
23390 * shlib-versions: Add entry for libnss_test1.
23391 * nss/nss_test1.c: New file.
23392 * nss/tst-nss-test1.c: New file.
23393
23394 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23395 (__nss_configure_lookup): Set appropriate entry in
23396 __nss_configure_lookup to true.
23397 * nss/nsswitch.h: Define enum with indeces of databases in
23398 databases and __nss_database_custom arrays. Declare
23399 __nss_database_custom.
23400 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23401 to avoid using nscd when custom rules are installed.
23402 * nss/getXXbyYY_r.c: Likewise.
23403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23404
23405 * nss/nss_files/files-parse.c: Whitespace fixes.
23406
f15ce4d8
UD
234072010-08-09 Ulrich Drepper <drepper@redhat.com>
23408
23409 [BZ #11883]
23410 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23411 * posix/fnmatch_loop.c: Likewise.
23412
d22e4cc9
AK
234132010-07-17 Andi Kleen <ak@linux.intel.com>
23414
23415 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23416 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23417 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23418 * Versions.def [GLIBC_2.13]: Add.
23419
805bc17d
UD
234202010-08-06 Ulrich Drepper <drepper@redhat.com>
23421
23422 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23423 Also fail if tpwd after pwuid call is NULL.
23424
5a42321d
ST
234252010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23426
23427 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23428 when converting to ms.
23429
fd3ebeda
ST
234302010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23431
23432 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23433 EOPNOTSUPP errors with ENOTTY.
23434 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23435 EOPNOTSUPP errors with ENOTTY.
23436
73507d3a
UD
234372010-07-31 Ulrich Drepper <drepper@redhat.com>
23438
23439 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23440 Add strcasecmp_l-ssse3.
23441 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23442 strcasecmp.
23443 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23444 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23445 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23446
fe36dd02
UD
234472010-07-30 Ulrich Drepper <drepper@redhat.com>
23448
66f6765a
UD
23449 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23450
42e08a54
UD
23451 * string/Makefile (strop-tests): Add strcasecmp.
23452 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23453 strcasecmp_l-nonascii.
23454 (gen-as-const-headers): Add locale-defines.sym.
23455 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23456 * sysdeps/x86_64/strcasecmp.S: New file.
23457 * sysdeps/x86_64/strcasecmp_l.S: New file.
23458 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23459 * sysdeps/x86_64/locale-defines.sym: New file.
23460 * string/test-strcasecmp.c: New file.
23461
fe36dd02
UD
23462 * string/test-strcasestr.c: Test both ends of the range of characters.
23463 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23464
48cbc0d6
RM
234652010-07-29 Roland McGrath <roland@redhat.com>
23466
76e6d6bc 23467 [BZ #11856]
48cbc0d6
RM
23468 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23469
880113d9
UD
234702010-07-27 Ulrich Drepper <drepper@redhat.com>
23471
23472 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23473 for ld.so.
23474
deb9cabb
AS
234752010-07-27 Andreas Schwab <schwab@redhat.com>
23476
23477 * manual/memory.texi (Malloc Tunable Parameters): Document
23478 M_PERTURB.
23479
1c7570ff
RM
234802010-07-26 Roland McGrath <roland@redhat.com>
23481
23482 [BZ #11840]
23483 * configure.in (-fgnu89-inline check): Set and substitute
23484 gnu89_inline, not libc_cv_gnu89_inline.
23485 * configure: Regenerated.
23486 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23487
24fb0f88
UD
234882010-07-26 Ulrich Drepper <drepper@redhat.com>
23489
23490 * string/test-strnlen.c: New file.
23491 * string/Makefile (strop-tests): Add strnlen.
23492 * string/tester.c (test_strnlen): Add a few more test cases.
23493 * string/tst-strlen.c: Better error reporting.
23494
23495 * sysdeps/x86_64/strnlen.S: New file.
23496
8e96b93a
UD
234972010-07-24 Ulrich Drepper <drepper@redhat.com>
23498
23499 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23500 lower-latency instructions.
23501
dbc676d4
UD
235022010-07-23 Ulrich Drepper <drepper@redhat.com>
23503
23504 * string/test-strcasestr.c: New file.
23505 * string/test-strstr.c: New file.
23506 * string/Makefile (strop-tests): Add strstr and strcasestr.
23507 * string/str-two-way.h: Don't undefine MAX.
23508 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23509
f6a31e0e
AS
235102010-07-21 Andreas Schwab <schwab@redhat.com>
23511
23512 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23513 strcasestr-nonascii.
23514 (CFLAGS-strcasestr-nonascii.c): Define.
23515 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23516 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23517 Remove unused attribute.
23518
5dbc3b6c
RM
235192010-07-20 Roland McGrath <roland@redhat.com>
23520
23521 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23522 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23523 ld.so.cache was broken. With it, there is no way to disable dsocaps
23524 like LD_HWCAP_MASK can disable hwcaps.
23525
23d101d8
EPM
235262010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23527
23528 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23529
cc9f2e47
UD
235302010-07-16 Ulrich Drepper <drepper@redhat.com>
23531
23532 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23533 call in strcasestr.
23534 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23535 __strcasestr_sse42_nonascii.
23536 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23537 strcasestr-nonascii.c.
23538 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23539
77c1b069
LM
235402010-06-15 Luis Machado <luisgpm@br.ibm.com>
23541
23542 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23543 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23544 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23545 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23546
440566c3
UD
235472010-07-09 Ulrich Drepper <drepper@redhat.com>
23548
23549 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23550 fcntl.
23551
5be9d05d
AS
235522010-07-06 Andreas Schwab <schwab@redhat.com>
23553
c30b7ee2 23554 [BZ #11577]
5be9d05d
AS
23555 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23556 dl_signal_cerror.
23557
8a492a67
UD
235582010-07-06 Ulrich Drepper <drepper@redhat.com>
23559
23560 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23561 _PC_PIPE_BUF using F_GETPIPE_SZ.
23562
713df3d5
RM
235632010-07-05 Roland McGrath <roland@redhat.com>
23564
23565 * manual/arith.texi (Rounding Functions): Fix rint description
23566 implicit in round description.
23567
702e8f14
UD
235682010-07-02 Ulrich Drepper <drepper@redhat.com>
23569
23570 * elf/Makefile: Fix linking for a few tests to make recent linker
23571 happy.
23572
52ed8be9
AS
235732010-06-30 Andreas Schwab <schwab@redhat.com>
23574
23575 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23576 $(common-objpfx)libc_nonshared.a.
23577
f47c9a11
LM
235782010-06-21 Luis Machado <luisgpm@br.ibm.com>
23579
23580 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23581 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23582 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23583 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23584 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23585 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23586 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23587 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23602 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23603 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23604 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23605 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23606 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23607 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23608 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23609 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23610 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23611 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23612 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23613 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23628
6fb8cbcb
L
236292010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23630
23631 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23632 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23633 * string/memmove.c (memmove): Renamed to ...
23634 (MEMMOVE): ...this. Default to memmove.
23635 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23636 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23637 (END_CHK): Define.
23638 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23639 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23640 mempcpy-ssse3-back memmove-ssse3-back.
23641 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23642 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23643 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23644 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23645 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23646 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23647 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23648 * sysdeps/x86_64/multiarch/memmove.c: New file.
23649 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23650 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23651 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23652 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23653 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23654 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23655 Define.
23656 (index_Fast_Copy_Backward): Define.
23657 (HAS_ARCH_FEATURE): Define.
23658 (HAS_FAST_REP_STRING): Define.
23659 (HAS_FAST_COPY_BACKWARD): Define.
23660
4e733bac 236612010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23662
23663 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23664 Restore proper fallback handling.
23665
63c4ed22
UD
236662010-06-19 Ulrich Drepper <drepper@redhat.com>
23667
ac2b484c
UD
23668 [BZ #11701]
23669 * posix/group_member.c (__group_member): Correct checking loop.
23670
63c4ed22
UD
23671 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23672 OOM in getpwuid_r correctly. Return error number when the caller
23673 should return, otherwise -1.
23674 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23675 call returning > 0 value.
23676 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23677
765ade4b
AS
236782010-06-07 Andreas Schwab <schwab@redhat.com>
23679
23680 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23681 libc_nonshared.a from targets in modules-names.
23682
80da2e09
KS
236832010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23684
23685 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23686 requires it.
23687
158db122
LM
236882010-06-10 Luis Machado <luisgpm@br.ibm.com>
23689
23690 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23691 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23692 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23693 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23694
caa78cf8
AS
236952010-06-02 Andreas Schwab <schwab@redhat.com>
23696
23697 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23698
b2ef2c01
UD
236992010-06-14 Ulrich Drepper <drepper@redhat.com>
23700
23701 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23702 and F_GETPIPE_SZ.
23703 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23704 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23705 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23706 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23707 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23708 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23709
fbd643b6
RM
237102010-06-14 Roland McGrath <roland@redhat.com>
23711
23712 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23713
f32f2869
JJ
237142010-06-07 Jakub Jelinek <jakub@redhat.com>
23715
23716 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23717 __REDIRECT followed by __THROW.
23718 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23719 * posix/getopt.h (getopt): Likewise.
23720
2a50c078
EPM
237212010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23722
23723 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23724 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23725 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23726 in AT_FLAGS.
23727 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23728 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23729
eb5ad2eb
LM
237302010-05-28 Luis Machado <luisgpm@br.ibm.com>
23731
23732 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23733
3c88fe1e
L
237342010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23735
23736 [BZ #11640]
23737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23738 Properly check family and model.
23739
d2f73151
TY
237402010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23741
23742 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23743
ebd2e13d
LM
237442010-05-24 Luis Machado <luisgpm@br.ibm.com>
23745
23746 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23747
b32b8b45
UD
237482010-05-21 Ulrich Drepper <drepper@redhat.com>
23749
23750 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23751 symbol reference.
23752
9acbe24d
AS
237532010-05-19 Andreas Schwab <schwab@redhat.com>
23754
23755 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23756 symbol reference.
23757
f0ccf6ea
AS
237582010-05-21 Andreas Schwab <schwab@redhat.com>
23759
3d04ff3a
AS
23760 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23761 and internal_recvmmsg.
23762 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23763 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23764 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23765 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23766
f0ccf6ea
AS
23767 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23768 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23769 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23770
5b08ac57
AS
237712010-05-20 Andreas Schwab <schwab@redhat.com>
23772
23773 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23774
4828935d
LM
237752010-05-17 Luis Machado <luisgpm@br.ibm.com>
23776
23777 POWER7 optimizations.
23778 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23779 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23780
373d545e
UD
237812010-05-19 Ulrich Drepper <drepper@redhat.com>
23782
23783 * version.h: Update for 2.13 development version.
23784
21a2b1ae
AS
237852010-05-12 Andrew Stubbs <ams@codesourcery.com>
23786
23787 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23788 exceptions. Return 0.
23789
3f7dcb2b
RM
237902010-05-07 Roland McGrath <roland@redhat.com>
23791
23792 * elf/ldconfig.c (main): Add a const.
23793
5f24d53a 237942010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23795
a160f8d8
UD
23796 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23797 (args_options): Add no-idn option.
23798 (ahosts_keys_int): Add idn_flags to ai_flags.
23799 (parse_option): Handle 'i' option to clear idn_flags.
23800
5f24d53a
UD
23801 * malloc/malloc.c (_int_free): Possible race in the most recently
23802 added check. Only act on the data if no current modification
23803 happened.
265bb1ce
UD
23804
23805See ChangeLog.17 for earlier changes.
This page took 3.293034 seconds and 5 git commands to generate.