]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix spelling errors in sysdeps/powerpc files.
[glibc.git] / ChangeLog
CommitLineData
2ccdea26
AB
12013-01-07 Anton Blanchard <anton@samba.org>
2
3 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
42 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
44 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46
a9708fed
JM
472013-01-07 Joseph Myers <joseph@codesourcery.com>
48
375607b9
JM
49 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
50 (__MALLOC_PMT): Likewise.
51 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
52 [__GNUC__], only on [_LIBC].
53 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
55 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
57 forward declaration.
58 (realloc_hook_ini): Likewise.
59 (memalign_hook_ini): Likewise.
60 (__libc_memalign): Do not use __MALLOC_PMT in variable
61 declaration.
62 (__libc_valloc): Likewise.
63 (__libc_pvalloc): Likewise.
64 (__libc_calloc): Likewise.
65 (__posix_memalign): Likewise.
66
a9708fed
JM
67 [BZ #14996]
68 * math/s_casinh.c: Include <float.h>.
69 (__casinh): Do not do computation with squaring and square root
70 for large arguments.
71 * math/s_casinhf.c: Include <float.h>.
72 (__casinhf): Do not do computation with squaring and square root
73 for large arguments.
74 * math/s_casinhl.c: Include <float.h>.
75 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
76 (__casinhl): Do not do computation with squaring and square root
77 for large arguments.
78 * math/libm-test.inc (casin_test): Add more tests.
79 (casinh_test): Likewise.
80 * sysdeps/i386/fpu/libm-test-ulps: Update.
81 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82
afec409a
L
832013-01-04 H.J. Lu <hongjiu.lu@intel.com>
84
85 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
86 (__x86_64_raw_data_cache_size): Likewise.
87 (__x86_64_data_cache_size_half): Likewise.
88 (__x86_64_raw_data_cache_size_half): Likewise.
89 (__x86_64_shared_cache_size): Likewise.
90 (__x86_64_raw_shared_cache_size): Likewise.
91 (__x86_64_shared_cache_size_half): Likewise.
92 (__x86_64_raw_shared_cache_size_half): Likewise.
93 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
94 to ...
95 (__x86_data_cache_size): This.
96 (__x86_64_raw_data_cache_size): Renamed to ...
97 (__x86_raw_data_cache_size): This.
98 (__x86_64_data_cache_size_half): Renamed to ...
99 (__x86_data_cache_size_half): This.
100 (__x86_64_raw_data_cache_size_half): Renamed to ...
101 (__x86_raw_data_cache_size_half): This.
102 (__x86_64_shared_cache_size): Renamed to ...
103 (__x86_shared_cache_size): This.
104 (__x86_64_raw_shared_cache_size): Renamed to ...
105 (__x86_raw_shared_cache_size): This.
106 (__x86_64_shared_cache_size_half): Renamed to ...
107 (__x86_shared_cache_size_half): This.
108 (__x86_64_raw_shared_cache_size_half): Renamed to ...
109 (__x86_raw_shared_cache_size_half): This.
110 * sysdeps/x86_64/memcpy.S: Updated.
111 * sysdeps/x86_64/memset.S: Likewise.
112 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
113 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
114 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
115
0b3986d0
DM
1162013-01-04 David S. Miller <davem@davemloft.net>
117
118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
119
e47686e9
AS
1202013-01-04 Andreas Schwab <schwab@linux-m68k.org>
121
d643bac1
AS
122 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
123 1 to avoid redefinition warning.
124 (__USE_GNU): Don't define.
125 (init_signaling_nan): Protoize.
126
e47686e9
AS
127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
128
b18decba
SP
1292013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
130
fffb407f
SP
131 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
132 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
133 (__cpymn): Likewise.
134 (norm): Remove commented code.
135 (denorm): Likewise.
136 (__mp_dbl): Likewise.
137 (__inv): Likewise.
138 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
139 (__cpymn): Likewise.
140 (norm): Remove commented code.
141 (denorm): Likewise.
142 (__mp_dbl): Likewise.
143 (__inv): Likewise.
144
b18decba
SP
145 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
146 mp_no value for 1.0 and 2.0.
147 (norm): Use RADIXI instead of radixi.d.
148 (denorm): Likewise.
149 (__mul): Use 0.0 instead of zero.d.
150 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
151 mp_no value for 1.0 and 2.0.
152 (norm): Use RADIXI instead of radixi.d.
153 (denorm): Likewise.
154 (__mul): Use 0.0 instead of zero.d.
155
cdc1c96f
JM
1562013-01-04 Joseph Myers <joseph@codesourcery.com>
157
158 [BZ #14994]
159 * math/s_casinh.c (__casinh): Reduce finite argument to first
160 quadrant then set signs of results at the end.
161 * math/s_casinhf.c (__casinhf): Likewise.
162 * math/s_casinhl.c (__casinhl): Likewise.
163 * math/libm-test.inc (casin_test): Add more tests.
164 (casinh_test): Likewise.
165 * sysdeps/i386/fpu/libm-test-ulps: Update.
166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
167
302913e1
SP
1682013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
169
6420d207
SP
170 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
171
a9e48ab4
SP
172 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
173
b7837264
SP
174 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
175 declarations.
176 (denorm): Likewise.
177 (__mp_dbl): Likewise.
178 (__inv): Likewise.
179
f8af25d2
SP
180 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
181 and adjust the header comment.
182
302913e1
SP
183 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
184 variable name from declaration.
185
5d7dd1ca
L
1862013-01-03 H.J. Lu <hongjiu.lu@intel.com>
187
188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
189 Initialize COMMON_CPUID_INDEX_7 element.
190 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
191 (CPUID_RTM): Likewise.
192 (HAS_RTM): Likewise.
193 (COMMON_CPUID_INDEX_7): New enum.
194
2f5f40f4
AS
1952013-01-03 Andreas Schwab <schwab@linux-m68k.org>
196
197 [BZ #14981]
198 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
199 size is zero, record memory as freed.
200
4056f4a0
AJ
2012013-01-03 Andreas Jaeger <aj@suse.de>
202
203 * po/ia.po: Add new Interlingua translation.
204
ab15736f 2052012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
206
207 * locale/programs/localedef.c: Fix description of '--posix' flag.
208
568035b7
JM
2092013-01-02 Joseph Myers <joseph@codesourcery.com>
210
e6898b8d
JM
211 * NEWS: Update dates in second copyright notice.
212 * README: Update copyright dates in example.
213 * manual/libc.texinfo: Update copyright dates.
214 * scripts/test-installation.pl: Update copyright date in --version
215 output.
216
0e2f9562
JM
217 * hurd/ctty-input.c: Fix copyright notice formatting.
218 * hurd/ctty-output.c: Likewise.
219 * hurd/dtable.c: Likewise.
220 * hurd/hurd-raise.c: Likewise.
221 * hurd/hurdprio.c: Likewise.
222 * hurd/msgportdemux.c: Likewise.
223 * misc/sys/file.h: Likewise.
224 * misc/sys/ioctl.h: Likewise.
225 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
226 * sysdeps/mach/hurd/chdir.c: Likewise.
227 * sysdeps/mach/hurd/fchdir.c: Likewise.
228 * sysdeps/mach/hurd/rename.c: Likewise.
229 * sysdeps/mach/hurd/rmdir.c: Likewise.
230 * sysdeps/mach/hurd/seekdir.c: Likewise.
231 * sysdeps/mach/hurd/setsid.c: Likewise.
232 * sysdeps/posix/wait3.c: Likewise.
233
568035b7
JM
234 * All files with FSF copyright notices: Update copyright dates
235 using scripts/update-copyrights.
236 * intl/plural.c: Regenerated.
237 * locale/programs/charmap-kw.h: Likewise.
238 * locale/programs/locfile-kw.h: Likewise.
239
da08f647
SP
2402013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
241
0f5477af
SP
242 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
243 four values.
244
44e0d4c2
SP
245 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
246 calculation loop and add branch prediction.
247
4d55b4e5
SP
248 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
249 check access beyond bounds of m1np.
250
da08f647
SP
251 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
252 MPTWO.
253 (__inv): Remove local variable MPTWO to use the global
254 constant.
255 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
256 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
257 variable MPTWO.
258 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
259 MP3HALFS static const.
260
8e051029
DM
2612013-01-01 David S. Miller <davem@davemloft.net>
262
263 * po/ca.po: Update from translation team.
264
f4cf5f2d
JM
2652013-01-01 Joseph Myers <joseph@codesourcery.com>
266
267 * scripts/update-copyrights: New file.
268 * Makeconfig: Reformat copyright notice.
269 * ctype/ctype.h: Likewise.
270 * debug/swprintf_chk.c: Likewise.
271 * elf/dl-cache.c: Likewise.
272 * elf/dl-debug.c: Likewise.
273 * elf/dl-object.c: Likewise.
274 * grp/initgroups.c: Likewise.
275 * hurd/Makefile: Likewise.
276 * hurd/hurd/signal.h: Likewise.
277 * hurd/hurdfault.c: Likewise.
278 * hurd/hurdioctl.c: Likewise.
279 * hurd/hurdlookup.c: Likewise.
280 * hurd/intr-msg.c: Likewise.
281 * iconv/gconv_open.c: Likewise.
282 * libio/swprintf.c: Likewise.
283 * locale/lc-ctype.c: Likewise.
284 * locale/nl_langinfo.c: Likewise.
285 * mach/Machrules: Likewise.
286 * mach/Makefile: Likewise.
287 * malloc/obstack.h: Likewise.
288 * manual/Makefile: Likewise.
289 * manual/tsort.awk: Likewise.
290 * misc/bits/stab.def: Likewise.
291 * nis/nis_print_group_entry.c: Likewise.
292 * nis/nis_table.c: Likewise.
293 * nis/nss_compat/compat-pwd.c: Likewise.
294 * nis/nss_compat/compat-spwd.c: Likewise.
295 * po/Makefile: Likewise.
296 * posix/fnmatch.c: Likewise.
297 * posix/regex.h: Likewise.
298 * resolv/Makefile: Likewise.
299 * resolv/nss_dns/dns-network.c: Likewise.
300 * resolv/res_hconf.c: Likewise.
301 * scripts/gen-sorted.awk: Likewise.
302 * soft-fp/soft-fp.h: Likewise.
303 * stdio-common/printf.h: Likewise.
304 * stdlib/monetary.h: Likewise.
305 * stdlib/random.c: Likewise.
306 * stdlib/random_r.c: Likewise.
307 * sysdeps/generic/Makefile: Likewise.
308 * sysdeps/gnu/Makefile: Likewise.
309 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
310 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
311 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
312 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
313 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
314 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
316 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
317 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
318 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
319 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
320 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
321 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
322 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
323 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
324 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
325 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
326 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
327 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
328 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
329 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
330 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
331 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
332 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
333 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
334 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
335 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
336 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
337 * sysdeps/mach/hurd/errnos.awk: Likewise.
338 * sysdeps/mach/hurd/fork.c: Likewise.
339 * sysdeps/mach/hurd/getcwd.c: Likewise.
340 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
341 * sysdeps/mach/hurd/mmap.c: Likewise.
342 * sysdeps/mach/hurd/utimes.c: Likewise.
343 * sysdeps/mach/hurd/xmknod.c: Likewise.
344 * sysdeps/posix/profil.c: Likewise.
345 * sysdeps/posix/readdir_r.c: Likewise.
346 * sysdeps/powerpc/bits/mathdef.h: Likewise.
347 * sysdeps/powerpc/bits/setjmp.h: Likewise.
348 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
349 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
351 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
352 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
353 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
354 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
355 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
356 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
357 * sysdeps/pthread/lio_listio.c: Likewise.
358 * sysdeps/sparc/dl-procinfo.h: Likewise.
359 * sysdeps/unix/i386/sysdep.S: Likewise.
360 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
361 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
362 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
363 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
365 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
366 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
367 * sysdeps/unix/sysv/linux/speed.c: Likewise.
368 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
369 * sysdeps/wordsize-32/divdi3.c: Likewise.
370 * time/sys/time.h: Likewise.
371 * wcsmbs/Makefile: Likewise.
372
0549fbba
DM
3732013-01-01 David S. Miller <davem@davemloft.net>
374
a141f1a7
DM
375 * po/fr.po: Update from translation team.
376
0549fbba
DM
377 * catgets/gencat.c: Update copyright year.
378 * csu/version.c: Likewise.
379 * debug/catchsegv.sh: Likewise.
380 * debug/pcprofiledump.c: Likewise.
381 * debug/xtrace.sh: Likewise.
382 * elf/ldconfig.c: Likewise.
383 * elf/ldd.bash.in: Likewise.
384 * elf/pldd.c: Likewise.
385 * elf/sotruss.ksh: Likewise.
386 * elf/sprof.c: Likewise.
387 * iconv/iconv_prog.c: Likewise.
388 * iconv/iconvconfig.c: Likewise.
389 * locale/programs/locale.c: Likewise.
390 * locale/programs/localedef.c: Likewise.
391 * login/programs/pt_chown.c: Likewise.
392 * malloc/memusage.sh: Likewise.
393 * malloc/memusagestat.c: Likewise.
394 * malloc/mtrace.pl: Likewise.
395 * nscd/nscd.c: Likewise.
396 * nss/getent.c: Likewise.
397 * nss/makedb.c: Likewise.
398 * posix/getconf.c: Likewise.
399
18ea052c
SP
4002012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
401
402 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
403 numbers.
404
9c89fca6
MF
4052012-12-30 Mike Frysinger <vapier@gentoo.org>
406
407 * math/bits/mathcalls.h (modf): Use __nonnull.
408
085ec079
SP
4092012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
410
411 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
412 (split): Use macro CN instead of the bare value.
413 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
414 could be used.
415 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
416 instead of the bare value.
417 (power1): Likewise.
418
6d9f97e1
SP
4192012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
420
d63f73be
SP
421 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
422 __ATAN_TWOM.
423 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
424
6d9f97e1
SP
425 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
426 their values.
427 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
428 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
429 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
430 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
431
4c4febf5
AJ
4322012-12-28 Andreas Jaeger <aj@suse.de>
433
af5843ef
AJ
434 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
435 values are from Linux 3.7.
436
4c4febf5
AJ
437 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
438 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
439
99136f82
SP
4402012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
441
2f216c3c 442 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
443 TRUE case.
444
99136f82
SP
445 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
446 (norm): Likewise.
447 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
448 variables with preprocessor constants.
449 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
450 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
451 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
452
7fffbdff
BH
4532012-12-27 Bruno Haible <bruno@clisp.org>
454
455 [BZ #14317]
456 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
457 only if needed.
458
b76eb5f0
SP
4592012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
460
31a7fe5c
SP
461 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
462 and use variable directly.
463 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
464
b76eb5f0
SP
465 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
466 MPONE.
467 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
468 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
469 variable MPONE.
470 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
471 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
472 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
473 include directive. Remove local variable MPONE.
474 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
475 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
476 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
477
2c8bfe7d
DM
4782012-12-25 David S. Miller <davem@davemloft.net>
479
480 * version.h (RELEASE): Set to "development".
481 (VERSION): Set to "2.17.90".
482 * NEWS: Add 2.18 section.
483
147d03b0
DM
4842012-12-21 David S. Miller <davem@davemloft.net>
485
486 * po/hr.po: Update from translation team.
487
a8ebb2b9
AK
4882012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
489
490 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
491
95b4f1b6
SE
4922012-12-19 Steve Ellcey <sellcey@mips.com>
493
b2d94007 494 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 495
cedb2a90
MS
4962012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
497
498 * manual/contrib.texi (Contributors): Spelling correction.
499
bbf527d6
DM
5002012-12-15 David S. Miller <davem@davemloft.net>
501
502 * po/ru.po: Update from translation team.
503
bc38c906
DM
5042012-12-13 David S. Miller <davem@davemloft.net>
505
85429b1a
DM
506 * NEWS: Mention IFUNC testsuite enhancements.
507
d283e353
DM
508 * po/pl.po: Update from translation team.
509 * po/bg.po: Likewise.
510
bc38c906
DM
511 * manual/contrib.texi (Contributors): Update entries for Hongjiu
512 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
513
a181b0d7
DM
5142012-12-11 David S. Miller <davem@davemloft.net>
515
4641d57e
DM
516 * po/sv.po: Update from translation team.
517
f7bc6495
DM
518 * po/vi.po: Update from translation team.
519
6fc9048f
DM
520 * po/cs.po: Update from translation team.
521
a181b0d7
DM
522 * po/de.po: Update from translation team.
523 * po/eo.po: Likewise.
524 * po/nl.po: Likewise.
525
f70bfe80
SP
5262012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
527
3c8b4190
SP
528 [BZ #14246]
529 * manual/argp.texi (Argp Helper Functions): Move node to follow
530 Argp Parsing State.
531
f70bfe80
SP
532 [BZ #14872]
533 * manual/conf.texi (Limits on File System Capacity): Mention if
534 terminating null is included in the max size.
535
188f0adf
AJ
5362012-12-10 Andreas Jaeger <aj@suse.de>
537
538 * po/cs.po: Update from translation team.
539
56e7d3ad
SP
5402012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
541
542 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
543 void pointer and cast to uintptr_t.
544 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
545 path.
546 * sysdeps/s390/s390-64/memcpy.S: Likewise.
547 * sysdeps/s390/s390-64/memset.S: Likewise.
548
76f2d2ea 5492012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
550
551 [BZ #14833]
552 * menual/message.texi (Message Translation): Fix typos.
553 (Helper programs for gettext): Likewise.
554
67cbf9a2
AS
5552012-12-07 Andreas Schwab <schwab@linux-m68k.org>
556
557 [BZ #14898]
558 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
559 Change to -1.
560
682d0e9a
DM
5612012-12-07 David S. Miller <davem@davemloft.net>
562
563 * po/libc.pot: Update.
564
573cd484
RH
5652012-12-07 Richard Henderson <rth@redhat.com>
566
7e9da188 567 [BZ #10114]
573cd484
RH
568 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
569 normal/normal case to before the switch.
570 (_FP_DIV): Likewise.
571
e933a943
MF
5722012-12-06 Carlos O'Donell <carlos@systemhalted.org>
573 Mike Frysinger <vapier@gentoo.org>
574
575 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
576 check for __NR_fadvise64_64.
577
82123268
CM
5782012-12-06 Chris Metcalf <cmetcalf@tilera.com>
579
580 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
581 0, not just to plain "0" as a statement.
582 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
583 with cw.
584
d9814526
JM
5852012-12-06 Joseph Myers <joseph@codesourcery.com>
586
587 * NEWS: Use sourceware.org in Bugzilla URL.
588
7728c574
SP
5892012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
590
f16946dd
SP
591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
592 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
593
5704bbcb
SP
594 * stdio-common/tst-put-error.c (do_test): Add newline to the
595 padded test to ensure flush.
596
17aa0516
JL
5972012-12-05 Jeff Law <law@redhat.com>
598
599 * sunrpc/etc.rpc (fedfs_admin): Add entry.
600
363313b5
JM
6012012-12-05 Joseph Myers <joseph@codesourcery.com>
602
effbd42a
JM
603 * README: Don't refer to ports add-on as distributed separately.
604 Mention AArch64 in list of systems supported in the ports add-on.
605
87600365
JM
606 * LICENSES: Add more non-FSF copyright and license notices.
607
a0d7066a
JM
608 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
609 ((unused)).
610
66ca5a5b
JM
611 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
612
363313b5
JM
613 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
614 10000 as width of padded output.
615
b37984ad
JM
6162012-12-04 Joseph Myers <joseph@codesourcery.com>
617
9003570a
JM
618 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
619
b37984ad
JM
620 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
621 variable LX with __attribute__ ((unused)).
622 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
623 Likewise.
624 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
625 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
626 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
627 with __attribute__ ((unused)).
628
c8df52ec
DM
6292012-12-04 David S. Miller <davem@abraco.davemloft.net>
630
631 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
632
b3b099af
JM
6332012-12-04 Joseph Myers <joseph@codesourcery.com>
634
c33aa6e3
JM
635 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
636 (CFLAGS-nldbl-acos.c): New variable.
637 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
638 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
639 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
640 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
641 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
642 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
643 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
644 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
645 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
646 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
647 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
648 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
649 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
650 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
651 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
652 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
653 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
654 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
655 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
656 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
657 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
658 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
659 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
660 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
661 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
662 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
663 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
664 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
665 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
666 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
667 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
668 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
669 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
670 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
671 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
672 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
673 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
674 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
675 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
676 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
677 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
678 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
679 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
680 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
681 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
682 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
683 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
684 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
685 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
686 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
687 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
688 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
689 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
690 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
691 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
692 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
693 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
694 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
695 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
696 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
697 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
698 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
699 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
700 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
701 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
702 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
703 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
704 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
705 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
706 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
707 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
708 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
709 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
710 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
711 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
712 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
713 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
714 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
715 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
716 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
717 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
718 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
719 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
720 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
721 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
722 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
723 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
724 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
725 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
726 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
727 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
728 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
729 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
730 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
731 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
732 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
733 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
734
20f0018d
JM
735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
736 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
737
b3b099af
JM
738 [BZ #14914]
739 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
740 whole low double instead of just low 47 bits when splitting values
741 into two parts.
742
029264d1
AM
7432012-12-03 Allan McRae <allan@archlinux.org>
744
745 * manual/stdio.texi (Predefined Printf Handlers): Remove
746 @hsep and @vsep usage.
747
c9d6789e
MF
7482012-12-03 Mike Frysinger <vapier@gentoo.org>
749
750 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
751 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
752
4b7634a5
JL
7532012-12-03 Jeff Law <law@redhat.com>
754
755 * time/sys/time.h (settimeofday): Do not mark TV argument
756 as __nonnull.
757
eb6cbd24
MF
7582012-12-01 Mike Frysinger <vapier@gentoo.org>
759
760 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
761 when currently writing and seek to current position when not.
762 * libio/Makefile (tests): Remove bug-fclose1.
763 * libio/bug-fclose1.c: Delete.
764
f638872a
JM
7652012-12-01 Joseph Myers <joseph@codesourcery.com>
766
767 * manual/arith.texi (feenableexcept): Fix typo.
768 (fedisableexcept): Likewise.
769
48085d14
RM
7702012-11-30 Roland McGrath <roland@hack.frob.com>
771
772 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
773 second, differently-typed declaration, rather than a cast.
774
1a538b9f
SP
7752012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
776
777 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
778 * include/rpc/svc.h: ... here.
779
d07f2ff1 7802012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
781
782 [BZ #13013]
783 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
784 depending n and resplen2 to catch cases where answer
785 equals answerp2.
786
c93ec1f0
CD
7872012-11-29 Carlos O'Donell <carlos@systemhalted.org>
788
789 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
790 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
791
37db69de
MF
7922012-11-29 Mike Frysinger <vapier@gentoo.org>
793
794 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
795
e10c4e4f
RM
7962012-11-29 Roland McGrath <roland@hack.frob.com>
797
798 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
799
2af1b328
JL
8002012-11-28 Jeff Law <law@redhat.com>
801
802 [BZ #13761]
803 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
804 dataset_temporary. Track alloca usage into alloca_used.
805 If dataset is large allocate and release it via malloc/free.
806
111db5b1
FW
8072012-06-04 Florian Weimer <fweimer@redhat.com>
808
f06cc227 809 [BZ #14197]
111db5b1
FW
810 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
811
dd694abd
DM
8122012-11-28 David S. Miller <davem@davemloft.net>
813
814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
815
9984dd01
JM
8162012-11-28 Joseph Myers <joseph@codesourcery.com>
817
818 [BZ #14803]
819 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
820 of pi/2 rounded to nearest to 64 bits.
821 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
822 nearest to 64 bits.
823 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
824 bits.
825
14bc93a9
JL
8262012-11-28 Jeff Law <law@redhat.com>
827 Martin Osvald <mosvald@redhat.com>
828
829 [BZ #14889]
830 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
831 * sunrpc/svc.c: Include time.h.
832 (__svc_accept_failed): New function.
833 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
834 any reason other than EINTR, call __svc_accept_failed.
835 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
836 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
837
e3c6aa3a
AS
8382012-11-28 Andreas Schwab <schwab@suse.de>
839
840 * scripts/abilist.awk: Also handle indirect functions in .opd
841 section.
842
1bead169
JM
8432012-11-28 Joseph Myers <joseph@codesourcery.com>
844
845 [BZ #13881]
846 * sysdeps/x86/fpu/powl_helper.c: New file.
847 * sysdeps/x86/fpu/Makefile: Likewise.
848 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
849 (p3): New object.
850 (__ieee754_powl): Use __powl_helper for finite arguments except
851 integer exponents below 8.
852 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
853 (p3): New object.
854 (__ieee754_powl): Use __powl_helper for finite arguments except
855 integer exponents below 8.
856 * math/libm-test.inc (pow_test): Add more tests and enable some
857 previously disabled tests.
858 * sysdeps/i386/fpu/libm-test-ulps: Update.
859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
860
0817d63d
SP
8612012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
862 Carlos O'Donell <carlos_odonell@mentor.com>
863
864 * nss/makedb.c (is_prime): Assert that input is odd and greater
865 than 4. Note that fact in a comment too.
866 (next_prime): Add 4 to input.
867
de2fd463
SP
8682012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
869
870 [BZ #11741]
871 * libio/Makefile (tests): Add test case tst-fwrite-error.
872 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
873 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
874 * libio/tst-fwrite-error.c: New test case.
875
c515fb51
L
8762012-11-26 H.J. Lu <hongjiu.lu@intel.com>
877
878 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
879 before casting to void *.
880 * include/libc-internal.h (__pointer_type): New macro.
881 (__integer_if_pointer_type_sub): Likewise.
882 (__integer_if_pointer_type): Likewise.
883 (cast_to_integer): Likewise.
884 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
885 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
886 before casting to atomic64_t.
887 (atomic_exchange_acq): Likewise.
888 (__arch_exchange_and_add_body): Likewise.
889 (__arch_add_body): Likewise.
890 (atomic_add_negative): Likewise.
891 (atomic_add_zero): Likewise.
892
4cf77aa9
JM
8932012-11-26 Joseph Myers <joseph@codesourcery.com>
894
895 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
896 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
897 (add_fdes): Likewise.
898 (linear_search_fdes): Likewise.
899 (binary_search_unencoded_fdes): Likewise.
900
d260b3b4
AS
9012012-11-26 Andreas Schwab <schwab@linux-m68k.org>
902
903 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
904
67060746
AC
9052012-11-24 Adam Conrad <adconrad@0c3.net>
906
907 * configure.in: Autodetect C++ header directories.
908 * configure: Regenerated.
909
800938a1
MF
9102012-11-23 Mike Frysinger <vapier@gentoo.org>
911
912 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
913
4e6e34e6
AS
9142012-11-23 Andreas Schwab <schwab@linux-m68k.org>
915
916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
917
7c7feb47
JM
9182012-11-22 Joseph Myers <joseph@codesourcery.com>
919
7184dcdf
JM
920 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
921 LDBL_MANT_DIG == 106]: Disable some tests.
922 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
923 Likewise.
924 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
925 Likewise.
926
0a42601f
JM
927 [BZ #14871]
928 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
929 input for small inputs. Return +/- pi/2 for large inputs.
930 * math/libm-test.inc (atan_test): Add more tests.
931
79c9b9fe
JM
932 * sysdeps/generic/unwind-dw2-fde-glibc.c
933 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
934 __attribute__ ((unused)).
935
c60d3bf2
JM
936 [BZ #14645]
937 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
938 x * y if x and y are nonzero and z is zero.
939
ef1e0867
JM
940 [BZ #14811]
941 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
942 nonzero exponents with absolute value below 0x1p-117 to +/-
943 0x1p-117.
944
1468ded3
JM
945 [BZ #14869]
946 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
947 up arguments below 2**-450, not just those below 2**-500.
948 * math/libm-test.inc (hypot_test): Add another test.
949
8e27e3cc
JM
950 [BZ #14868]
951 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
952 Return a+b for ratio over 2**120, not 2**60.
953 * math/libm-test.inc (hypot_test): Add another test.
954
c9c0279b
JM
955 * math/libm-test.inc (clog_test): Use
956 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
957 (clog10_test): Likewise.
958
7c7feb47
JM
959 [BZ #6778]
960 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
961
fff1530e
AS
9622012-11-22 Andreas Schwab <schwab@suse.de>
963
964 * sysdeps/i386/fpu/libm-test-ulps: Update.
965
94558d30
PT
9662012-11-22 Pino Toscano <toscano.pino@tiscali.it>
967
968 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
969 printf output with newline.
970
7e1be741
L
9712012-11-21 H.J. Lu <hongjiu.lu@intel.com>
972
6bfea974
L
973 [BZ #14865]
974 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
975 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
976 -z nodlopen, -z initfirst and -z execstack support.
977 * configure: Regenerated.
978
7e1be741
L
979 * elf/elf.h (DF_1_NODIRECT): New macro.
980 (DF_1_IGNMULDEF): Likewise.
981 (DF_1_NOKSYMS): Likewise.
982 (DF_1_NOHDR): Likewise.
983 (DF_1_EDITED): Likewise.
984 (DF_1_NORELOC): Likewise.
985 (DF_1_SYMINTPOSE): Likewise.
986 (DF_1_GLOBAUDIT): Likewise.
987 (DF_1_SINGLETON): Likewise.
988 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
989 DT_1_SUPPORTED_MASK bits.
990 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
991
105ce2ce
CD
9922012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
993
994 * sysdeps/unix/make-syscalls.sh: Document prefixes.
995
123be9de
TS
9962012-11-20 Thomas Schwinge <thomas@codesourcery.com>
997
d072f3f7
TS
998 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
999 macro.
1000
123be9de
TS
1001 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1002 (sendmmsg): Move declarations...
1003 * socket/sys/socket.h: ... here.
1004 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1005 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1006 include it from...
1007 * socket/recvmmsg.c: ... this new file.
1008 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1009 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1010 definition of __sendmmsg hidden.
1011 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1012 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1013 Move ENOSYS stub into and include it from...
1014 * socket/sendmmsg.c: ... this new file.
1015 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1016 (sysdep_routines): Move recvmmsg and sendmmsg...
1017 * socket/Makefile (routines): ... here.
1018 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1019 (GLIBC_PRIVATE): Add __sendmmsg.
1020 * include/sys/socket.h (__sendmmsg): Add declarations.
1021 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1022 sendmmsg.
1023
cf9a5d18
JM
10242012-11-20 Joseph Myers <joseph@codesourcery.com>
1025
1026 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1027 variable I1 with __attribute__ ((unused)).
1028 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1029
ecd4caf9
JM
10302012-11-19 Joseph Myers <joseph@codesourcery.com>
1031
be14d48f
JM
1032 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1033 DUMMY variables with __attribute__ ((unused)).
1034
ecd4caf9
JM
1035 * bits/byteswap.h: Include <bits/types.h>.
1036 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1037
986cab95
PT
10382012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1039
1040 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1041 string_t. Do not manually set errno.
1042 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1043 length with __strnlen. Make sure to both set errno and return it on
1044 failure.
1045
6d33cc9d
DM
10462012-11-19 David S. Miller <davem@davemloft.net>
1047
1048 With help from Joseph Myers.
1049 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1050 very large arguments properly.
1051 * math/libm-test.inc (atan_test): New tests.
1052 (atan2_test): New tests.
1053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1055
ee663277
JM
10562012-11-19 Joseph Myers <joseph@codesourcery.com>
1057
877f2d8e
JM
1058 [BZ #14856]
1059 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1060 Define to 3.
1061
116fc08a
JM
1062 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1063 [POSIX] (EADDRNOTAVAIL): Likewise.
1064 [POSIX] (EAFNOSUPPORT): Likewise.
1065 [POSIX] (EALREADY): Likewise.
1066 [POSIX] (ECONNABORTED): Likewise.
1067 [POSIX] (ECONNREFUSED): Likewise.
1068 [POSIX] (ECONNRESET): Likewise.
1069 [POSIX] (EDESTADDRREQ): Likewise.
1070 [POSIX] (EDQUOT): Likewise.
1071 [POSIX] (EHOSTUNREACH): Likewise.
1072 [POSIX] (EIDRM): Likewise.
1073 [POSIX] (EISCONN): Likewise.
1074 [POSIX] (ELOOP): Likewise.
1075 [POSIX] (EMULTIHOP): Likewise.
1076 [POSIX] (ENETDOWN): Likewise.
1077 [POSIX] (ENETUNREACH): Likewise.
1078 [POSIX] (ENOBUFS): Likewise.
1079 [POSIX] (ENODATA): Likewise.
1080 [POSIX] (ENOLINK): Likewise.
1081 [POSIX] (ENOMSG): Likewise.
1082 [POSIX] (ENOPROTOOPT): Likewise.
1083 [POSIX] (ENOSR): Likewise.
1084 [POSIX] (ENOSTR): Likewise.
1085 [POSIX] (ENOTCONN): Likewise.
1086 [POSIX] (ENOTSOCK): Likewise.
1087 [POSIX] (EOPNOTSUPP): Likewise.
1088 [POSIX] (EOVERFLOW): Likewise.
1089 [POSIX] (EPROTO): Likewise.
1090 [POSIX] (EPROTONOSUPPORT): Likewise.
1091 [POSIX] (EPROTOTYPE): Likewise.
1092 [POSIX] (ESTALE): Likewise.
1093 [POSIX] (ETIME): Likewise.
1094 [POSIX] (ETXTBSY): Likewise.
1095 [POSIX] (EWOULDBLOCK): Likewise.
1096 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1097 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1098 [POSIX] (SEEK_CUR): Likewise.
1099 [POSIX] (SEEK_END): Likewise.
1100 [POSIX || UNIX98] (mode_t): Do not require.
1101 [POSIX] (off_t): Likewise.
1102 [POSIX] (pid_t): Likewise.
1103 [POSIX] (sys/stat.h): Do not allow header.
1104 [POSIX] (unistd.h): Likewise.
1105 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1106 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1107 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1108 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1109 require.
1110 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1111 sigevent): Specify elements.
1112 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1113 entry.
1114 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1115 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1116
a483863f
JM
1117 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1118 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1119 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1120 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1121 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1122 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1123 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1124 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1125 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1126 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1127 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1128 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1129 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1130 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1131 Likewise.
1132 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1133 Likewise.
1134 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1135 Likewise.
1136 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1137 Likewise.
1138 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1139 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1140 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1141 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1142 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1143 Specify lower bound on value.
1144 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1145 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1146 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1147 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1148 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1149 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1150 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1151 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1152 value.
1153 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1154 as optional.
1155 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1156 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1157 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1158 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1159 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1160 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1161 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1162 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1163 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1164 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1165 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1166 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1167 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1168 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1169 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1170 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1171 entry.
1172 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1173 optional.
1174 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1175 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1176 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1177 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1178 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1179 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1180 Likewise.
1181 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1182 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1183 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1184 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1185 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1186 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1187 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1188 as optional.
1189 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1190 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1191 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1192 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1193 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1194 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1195 specify as optional.
1196 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1197 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1198 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1199 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1200 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1201 [XPG3] (NL_LANGMAX): Likewise.
1202 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1203 [POSIX || XPG3] (NL_NMAX): Likewise.
1204 [POSIX || XPG3] (NL_SETMAX): Likewise.
1205 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1206 [XPG3] (NZERO): Likewise.
1207 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1208 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1209 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1210 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1211 (REG_ERANGE): Expect.
1212 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1213 optional-constant.
1214 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1215 Use (void) in prototype.
1216 [POSIX] (*_t): Allow.
1217 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1218 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1219 (WRDE_BADVAL): Expect.
1220
5ba924e3
JM
1221 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1222 expect.
1223 [XPG3 || XPG4] (O_RSYNC): Likewise.
1224 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1225 Likewise.
1226 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1227 [XPG3 || XPG4] (sigqueue): Likewise.
1228 [XPG3 || XPG4] (sigtimedwait): Likewise.
1229 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1230 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1231 [XPG3 || XPG4] (vsnprintf): Likewise.
1232 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1233 Likewise.
1234 [XPG3 || XPG4] (blksize_t): Likewise.
1235 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1236 Likewise.
1237 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1238 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1239 [XPG3 || XPG4] (struct itimerspec): Likewise.
1240 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1241 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1242 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1243 [XPG3 || XPG4] (clockid_t): Likewise.
1244 [XPG3 || XPG4] (timer_t): Likewise.
1245 [XPG3 || XPG4] (clock_getres): Likewise.
1246 [XPG3 || XPG4] (clock_gettime): Likewise.
1247 [XPG3 || XPG4] (clock_settime): Likewise.
1248 [XPG3 || XPG4] (nanosleep): Likewise.
1249 [XPG3 || XPG4] (timer_create): Likewise.
1250 [XPG3 || XPG4] (timer_delete): Likewise.
1251 [XPG3 || XPG4] (timer_gettime): Likewise.
1252 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1253 [XPG3 || XPG4] (timer_settime): Likewise.
1254 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1255 [XPG3 || XPG4] (getlogin_r): Likewise.
1256 [XPG3 || XPG4] (pread): Likewise.
1257 [XPG3 || XPG4] (pthread_atfork): Likewise.
1258 [XPG3 || XPG4] (pwrite): Likewise.
1259
ee663277
JM
1260 [BZ #14835]
1261 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1262 <bits/siginfo.h>.
1263
942caa16
PT
12642012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1265
e19af380
PT
1266 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1267 finalizing MALLSTREAM.
1268
942caa16
PT
1269 * sysdeps/mach/hurd/syncfs.c: New file.
1270
cfde9b46
SP
12712012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1272
1273 [BZ #14719]
1274 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1275 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1276 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1277 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1278 (_nss_dns_gethostbyname4_r): Likewise.
1279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1280 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1281
f6da27e5
PH
12822012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1283
1284 [BZ #13763]
1285 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1286
6665d4a2
SM
12872012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1288
1f51ee92
SM
1289 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1290 * elf/cache.c (print_entry): Print ",AArch64" for
1291 FLAG_AARCH64_LIB64
1292
6665d4a2
SM
1293 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1294 * elf/cache.c (print_entry): Print ",hard-float" for
1295 FLAG_ARM_LIBHF.
1296
05b227bd
DM
12972012-11-18 David S. Miller <davem@davemloft.net>
1298
1299 With help from Joseph Myers.
1300 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1301 cutoff to 2**-13.
1302 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1303 cutoff to 2**-25.
1304 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1305 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1306 small.
1307 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1308 * math/libm-test.inc (y0_test): New tests.
1309 (y1_test): New tests.
1310 * sysdeps/i386/fpu/libm-test-ulps: Update.
1311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1313
786b0b67
AS
13142012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1315
1316 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1317 64-bit targets.
1318 * configure: Regenerated.
1319
8e18b86d
DM
13202012-11-17 David S. Miller <davem@davemloft.net>
1321
1322 [BZ #14811]
1323 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1324 nonzero exponents with absolute value below 0x1p-128 to +/-
1325 0x1p-128.
1326
531f1ae0
JM
13272012-11-17 Joseph Myers <joseph@codesourcery.com>
1328
12df29e2
JM
1329 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1330
150dc1a0
JM
1331 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1332
531f1ae0
JM
1333 * posix/getconf-speclist.c: New file.
1334 * posix/posix-envs.def: Likewise.
1335 * posix/confstr.c (START_ENV_GROUP): New macro.
1336 (END_ENV_GROUP): Likewise.
1337 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1338 (KNOWN_PRESENT_ENV_STRING): Likewise.
1339 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1340 (UNKNOWN_ENVIRONMENT): Likewise.
1341 (confstr): Include posix-envs.def instead of handling
1342 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1343 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1344 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1345 (END_ENV_GROUP): Likewise.
1346 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1347 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1348 (UNKNOWN_ENVIRONMENT): Likewise.
1349 (__sysconf): Include posix-envs.def instead of handling associated
1350 cases directly here.
1351 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1352 preprocessing getconf-speclist.c rather than running getconf or
1353 generating empty file.
1354
a93f9cbc
PT
13552012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1356
1357 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1358
d64d9f87
AL
13592012-11-16 Andrej Lajovic <natrij@gmail.com>
1360
1361 [BZ #14672]
1362 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1363
447885eb
DM
13642012-11-16 David S. Miller <davem@davemloft.net>
1365
1366 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1367 smaller than LDBL_EPSILON/2.0L, just return xm1.
1368
bcbf9830
L
13692012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1370
1371 * elf/tst-array1.c (init): Set constructor priority to 1000.
1372 (fini): Set destructor priority to 1000.
1373 * elf/tst-array2dep.c: Likewise.
1374
2b766585
SP
13752012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1376
1377 [BZ #11741]
1378 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1379 (_IO_new_file_xsputn): Also return EOF if none of the input
1380 data was written when overflow failed.
1381 * libio/iopadn.c (_IO_padn): Likewise.
1382 * libio/iowpadn.c (_IO_wpadn): Likewise.
1383 * stdio-common/tst-put-error.c: Add copyright notice.
1384 (do_test): Add case for printing padded string.
1385 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1386 _IO_padn returned error.
1387 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1388 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1389 return EOF.
1390
b1848fde
SP
13912012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1392
1393 * libio/libioP.h: Add comment note that the references to C++
1394 bits are now obsolete.
1395
2fd89785
MS
13962012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1397
1398 * math/libm-test.inc (check_complex): Use asprintf.
1399
e3ea5409
JM
14002012-11-14 Joseph Myers <joseph@codesourcery.com>
1401
1402 * debug/pcprofiledump.c (print_version): Update copyright year.
1403 * malloc/memusagestat.c (print_version): Likewise.
1404
2e64d265
L
14052012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1406
1407 [BZ #14831]
1408 * elf/Makefile (tests): Add tst-audit8.
1409 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1410 ($(objpfx)tst-audit8.out): New target.
1411 (tst-audit8-ENV): New variable.
1412 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1413 audit if l_reloc_result is NULL.
1414 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1415 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1416 * elf/tst-audit8.c: New file.
1417
c485e4d2
MS
14182012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1419
1420 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1421 * misc/Makefile (CFLAGS-select.c): Define.
1422 * posix/Makefile (CFLAGS-pause.c): Define.
1423
3a0d900a
DM
14242012-11-13 David S. Miller <davem@davemloft.net>
1425
1426 * crypt/Makefile: Move test targets after toplevel Rules
1427 inclusion. Grab any necessary sysdep routines when linking.
1428 * crypt/md5.c (md5_process_block): Remove define, we will always
1429 name it __md5_process_block.
1430 (md5_finish_ctx): Update md5_process_block call.
1431 (md5_stream): Likewise.
1432 (md5_process_bytes): Likewise.
1433 (md5_process_block): Rename to __md5_process_block and move to ...
1434 * crypt/md5-block.c: ... here.
1435 * crypt/sha256.c (sha256_process_block): Move to ...
1436 * crypt/sha256-block.c: ... here.
1437 * crypt/sha512.c (sha512_process_block): Move to ...
1438 * crypt/sha512-block.c: ... here.
1439 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1440 path.
1441 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1442 * sysdeps/sparc/sparc64/multiarch/Makefile
1443 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1444 crypt subdir.
1445 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1446 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1447 multiarch changes.
1448 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1449 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1450 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1451 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1452 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1453 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1454 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1455 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1456 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1457 file.
1458 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1459 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1460 file.
1461 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1462
8ca89318
JM
14632012-11-13 Joseph Myers <joseph@codesourcery.com>
1464
e27d476a
JM
1465 * timezone/tzselect.ksh: Update from tzcode git revision
1466 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1467 * timezone/zdump.c: Likewise.
1468 * timezone/zic.c: Likewise.
1469 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1470 in TZVERSION setting, not $(PKGVERSION).
1471 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1472 REPORT_BUGS_TO settings.
1473
8ca89318
JM
1474 [BZ #14838]
1475 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1476 macro.
1477
47594329
MS
14782012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1479
1480 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1481 detection to immediately after _FP_ROUND().
1482 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1483 bits are 0.
1484
640ac3f1
DM
14852012-11-11 David S. Miller <davem@davemloft.net>
1486
1487 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1488 inttypes.h
1489 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1490 __close rather than their public counterparts.
1491
3d2577bb
JM
14922012-11-10 Joseph Myers <joseph@codesourcery.com>
1493
1494 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1495 file.
1496 [UNIX98] (sem_timedwait): Do not expect.
1497 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1498 [XPG4 || UNIX98] (sockatmark): Do not expect.
1499 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1500 (clock_getcpuclockid): Do not expect.
1501 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1502 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1503 Do not expect.
1504 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1505 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1506 [UNIX98] (vwscanf): Likewise.
1507 [UNIX98] (vswscanf): Likewise.
1508
fb1ae1ee
JM
15092012-11-09 Joseph Myers <joseph@codesourcery.com>
1510
9ec6f8bd
JM
1511 * timezone/version.h: Remove file.
1512 * timezone/README: Do not refer to version.h.
1513 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1514 $(objpfx)version.h.
1515 ($(objpfx)zdump.o): Likewise.
c3f81911 1516 ($(objpfx)version.h): New target.
9ec6f8bd 1517
0aa8f8a1
JM
1518 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1519 2012i.
1520 * timezone/README: Don't mention modification to tzselect.ksh.
1521 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1522 work on unmodified tzselect.ksh. Substitute version numbers in
1523 tzselect.ksh.
1524
4e87147f
JM
1525 * Makefile (format-me): Remove.
1526 (INSTALL): Adjust indentation. Use commands directly instead of
1527 using $(format-me).
1528
8b748aed
JM
1529 * aclocal.m4 (ACX_PKGVERSION): New macro.
1530 (ACX_BUGURL): Likewise.
1531 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1532 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1533 (REPORT_BUGS_TO): Likewise.
1534 * configure: Regenerated.
1535 * config.h.in (PKGVERSION): New macro.
1536 (REPORT_BUGS_TO): Likewise.
1537 * config.make.in (PKGVERSION): New variable.
1538 (PKGVERSION_TEXI): Likewise.
1539 (REPORT_BUGS_TO): Likewise.
1540 (REPORT_BUGS_TEXI): Likewise.
1541 * Makefile (format-me): Use -I$(common-objpfx)manual.
1542 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1543 ($(common-objpfx)manual/%): New target.
1544 (manual/%): Remove target.
1545 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1546 (print_version): Use PKGVERSION.
1547 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1548 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1549 and REPORT_BUGS_TO.
1550 ($(objpfx)xtrace): Likewise.
1551 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1552 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1553 (print_version): Use PKGVERSION.
1554 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1555 (do_version): Use PKGVERSION.
1556 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1557 REPORT_BUGS_TO.
1558 (common-ldd-rewrite): Likewise.
1559 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1560 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1561 (print_version): Use PKGVERSION.
1562 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1563 * elf/pldd.c (argp_program_bug_address): Remove variable.
1564 (more_help): New function.
1565 (argp): Use more_help.
1566 (print_version): Use PKGVERSION.
1567 * elf/sln.c (main): Use PKGVERSION.
1568 (usage): Use REPORT_BUGS_TO.
1569 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1570 (top level): Use PKGVERSION.
1571 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1572 (print_version): Use PKGVERSION.
1573 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1574 (print_version): Use PKGVERSION.
1575 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1576 (print_version): Use PKGVERSION.
1577 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1578 (print_version): Use PKGVERSION.
1579 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1580 (print_version): Use PKGVERSION.
1581 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1582 (print_version): Use PKGVERSION.
1583 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1584 and BUGURL.
1585 ($(objpfx)memusage): Likewise.
1586 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1587 (do_version): Use PKGVERSION.
1588 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1589 (print_version): Use PKGVERSION.
1590 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1591 ($PKGVERSION): New variable.
1592 ($REPORT_BUGS_TO): Likewise.
1593 (usage): Use $REPORT_BUGS_TO.
1594 (top level): Use $PKGVERSION.
1595 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1596 ($(objpfx)pkgvers.texi): New rule.
1597 ($(objpfx)stamp-pkgvers): Likewise.
1598 * manual/install.texi: Include pkgvers.texi.
1599 (--with-pkgversion): Document new configure option.
1600 (--with-bugurl): Likewise.
1601 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1602 than necessarily for this particular distribution. Use
1603 REPORT_BUGS_TO for where to report bugs.
1604 * INSTALL: Regenerated.
1605 * manual/libc.texinfo: Include pkgvers.texi.
1606 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1607 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1608 (print_version): Use PKGVERSION.
1609 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1610 (print_version): Use PKGVERSION.
1611 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1612 (print_version): Use PKGVERSION.
1613 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1614 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1615 macro.
1616 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1617 (print_version): Use PKGVERSION.
1618 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1619 (print_version): Use PKGVERSION.
1620 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1621 and PKGVERSION.
1622
92e4b6a9
JM
1623 * timezone/checktab.awk: Update from tzcode 2012i.
1624 * timezone/ialloc.c: Likewise.
1625 * timezone/private.h: Likewise.
1626 * timezone/scheck.c: Likewise.
1627 * timezone/tzfile.h: Likewise.
1628 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1629 (TZVERSION): Hardcode tzcode version number.
1630 * timezone/zdump.c: Update from tzcode 2012i.
1631 * timezone/zic.c: Likewise.
1632 * timezone/version.h: New file.
1633 * timezone/README: Describe version.h. Update upstream location.
1634
9bde902c
JM
1635 [BZ #14824]
1636 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1637 (mktemp): Enable declaration.
1638 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1639 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1640 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1641 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1642 Likewise.
1643 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1644 Likewise.
1645 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1646 Likewise.
1647 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1648 Likewise.
1649 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1650 Likewise.
1651 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1652 Likewise.
1653
fb1ae1ee
JM
1654 [BZ #14821]
1655 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1656 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1657 for copies of such integer values.
1658 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1659 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1660
2c1adbcb
AJ
16612012-11-09 Andreas Jaeger <aj@suse.de>
1662
1663 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1664 definitions and declarations that are provided by
1665 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1666
d0f8457e
AK
16672012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1668
1669 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1670 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1671 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1672 definition.
1673
57241e26
MS
16742012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1675
1676 * elf/elf.h: Update comment before AArch64 relocations.
1677
60e8270d
DM
16782012-11-07 David S. Miller <davem@davemloft.net>
1679
1680 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1681 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1682 (__start_context): Declare.
1683 (__makecontext_ret): Delete.
1684 (__makecontext): Hook up __start_context instead of
1685 __makecontext_ret.
1686 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1687 (sysdep_routines): Add __start_context when in stdlib.
1688
0fbb0fbc
JM
16892012-11-07 Joseph Myers <joseph@codesourcery.com>
1690
1691 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1692 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1693 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1694 hardcoded "nm".
1695 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1696 (READELF): New variable. Use it instead of hardcoded "readelf".
1697
eb48db7e
L
16982012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1699
1700 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1701 * sysdeps/x86/Makefile: Here.
1702 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1703 * sysdeps/x86/tst-xmmymm.sh: This.
1704
05bcf62a
JM
17052012-11-07 Joseph Myers <joseph@codesourcery.com>
1706
c4b6cf53
JM
1707 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1708 expectations.
1709 [UNIX98] (pthread_barrier_t): Do not expect.
1710 [UNIX98] (pthread_barrierattr_t): Likewise.
1711 [UNIX98] (pthread_spinlock_t): Likewise.
1712 [UNIX98] (pthread_barrier_destroy): Likewise.
1713 [UNIX98] (pthread_barrier_init): Likewise.
1714 [UNIX98] (pthread_barrier_wait): Likewise.
1715 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1716 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1717 [UNIX98] (pthread_barrierattr_init): Likewise.
1718 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1719 [UNIX98] (pthread_getcpuclockid): Likewise.
1720 [UNIX98] (pthread_mutex_timedlock): Likewise.
1721 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1722 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1723 [UNIX98] (pthread_sigmask): Likewise.
1724 [UNIX98] (pthread_spin_destroy): Likewise.
1725 [UNIX98] (pthread_spin_init): Likewise.
1726 [UNIX98] (pthread_spin_lock): Likewise.
1727 [UNIX98] (pthread_spin_trylock): Likewise.
1728 [UNIX98] (pthread_spin_unlock): Likewise.
1729 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1730 Do not expect.
1731 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1732 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1733 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1734 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1735 [XPG3 || XPG4] (pthread_key_t): Likewise.
1736 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1737 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1738 [XPG3 || XPG4] (pthread_once_t): Likewise.
1739 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1740 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1741 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1742 [XPG3 || XPG4] (pthread_t): Likewise.
1743
cbe6e120
JM
1744 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1745 not expect.
1746 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1747
1b126443
JM
1748 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1749 Change function return type to int.
1750
b961a573
JM
1751 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1752 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1753 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1754 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1755 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1756 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1757 [!POSIX] (posix_madvise): Likewise.
1758 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1759 && !UNIX98].
1760 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1761 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1762 (mode_t): Likewise.
1763 (posix_mem_offset): Likewise.
1764 (posix_typed_mem_get_info): Likewise.
1765 (posix_typed_mem_open): Likewise.
1766
9e188909
JM
1767 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1768 Change condition to [XOPEN2K8].
1769
05bcf62a
JM
1770 * conform/conformtest.pl: Preprocess allow-header data with -x c
1771 instead of from stdin.
1772 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1773 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1774 [C99-based standards] (cerfc): Likewise.
1775 [C99-based standards] (cexp2): Likewise.
1776 [C99-based standards] (cexpm1): Likewise.
1777 [C99-based standards] (clog10): Likewise.
1778 [C99-based standards] (clog1p): Likewise.
1779 [C99-based standards] (clog2): Likewise.
1780 [C99-based standards] (clgamma): Likewise.
1781 [C99-based standards] (ctgamma): Likewise.
1782 [C99-based standards] (cerff): Likewise.
1783 [C99-based standards] (cerfcf): Likewise.
1784 [C99-based standards] (cexp2f): Likewise.
1785 [C99-based standards] (cexpm1f): Likewise.
1786 [C99-based standards] (clog10f): Likewise.
1787 [C99-based standards] (clog1pf): Likewise.
1788 [C99-based standards] (clog2f): Likewise.
1789 [C99-based standards] (clgammaf): Likewise.
1790 [C99-based standards] (ctgammaf): Likewise.
1791 [C99-based standards] (cerfl): Likewise.
1792 [C99-based standards] (cerfcl): Likewise.
1793 [C99-based standards] (cexp2l): Likewise.
1794 [C99-based standards] (cexpm1l): Likewise.
1795 [C99-based standards] (clog10l): Likewise.
1796 [C99-based standards] (clog1pl): Likewise.
1797 [C99-based standards] (clog2l): Likewise.
1798 [C99-based standards] (clgammal): Likewise.
1799 [C99-based standards] (ctgammal): Likewise.
1800 * conform/data/inttypes.h-data [C99-based standards]: Include
1801 stdint.h-data. Remove all expectations for stdint.h contents.
1802 [C99-based standards] (PRI*): Do not allow.
1803 [C99-based standards] (SCN*): Likewise.
1804 [C99-based standards] (*_t): Likewise.
1805 [C99-based-standards] (PRId8): Expect macro.
1806 [C99-based-standards] (PRIi8): Likewise.
1807 [C99-based-standards] (PRIo8): Likewise.
1808 [C99-based-standards] (PRIu8): Likewise.
1809 [C99-based-standards] (PRIx8): Likewise.
1810 [C99-based-standards] (PRIX8): Likewise.
1811 [C99-based-standards] (SCNd8): Likewise.
1812 [C99-based-standards] (SCNi8): Likewise.
1813 [C99-based-standards] (SCNo8): Likewise.
1814 [C99-based-standards] (SCNu8): Likewise.
1815 [C99-based-standards] (SCNx8): Likewise.
1816 [C99-based-standards] (PRIdLEAST8): Likewise.
1817 [C99-based-standards] (PRIiLEAST8): Likewise.
1818 [C99-based-standards] (PRIoLEAST8): Likewise.
1819 [C99-based-standards] (PRIuLEAST8): Likewise.
1820 [C99-based-standards] (PRIxLEAST8): Likewise.
1821 [C99-based-standards] (PRIXLEAST8): Likewise.
1822 [C99-based-standards] (SCNdLEAST8): Likewise.
1823 [C99-based-standards] (SCNiLEAST8): Likewise.
1824 [C99-based-standards] (SCNoLEAST8): Likewise.
1825 [C99-based-standards] (SCNuLEAST8): Likewise.
1826 [C99-based-standards] (SCNxLEAST8): Likewise.
1827 [C99-based-standards] (PRIdFAST8): Likewise.
1828 [C99-based-standards] (PRIiFAST8): Likewise.
1829 [C99-based-standards] (PRIoFAST8): Likewise.
1830 [C99-based-standards] (PRIuFAST8): Likewise.
1831 [C99-based-standards] (PRIxFAST8): Likewise.
1832 [C99-based-standards] (PRIXFAST8): Likewise.
1833 [C99-based-standards] (SCNdFAST8): Likewise.
1834 [C99-based-standards] (SCNiFAST8): Likewise.
1835 [C99-based-standards] (SCNoFAST8): Likewise.
1836 [C99-based-standards] (SCNuFAST8): Likewise.
1837 [C99-based-standards] (SCNxFAST8): Likewise.
1838 [C99-based-standards] (PRId16): Likewise.
1839 [C99-based-standards] (PRIi16): Likewise.
1840 [C99-based-standards] (PRIo16): Likewise.
1841 [C99-based-standards] (PRIu16): Likewise.
1842 [C99-based-standards] (PRIx16): Likewise.
1843 [C99-based-standards] (PRIX16): Likewise.
1844 [C99-based-standards] (SCNd16): Likewise.
1845 [C99-based-standards] (SCNi16): Likewise.
1846 [C99-based-standards] (SCNo16): Likewise.
1847 [C99-based-standards] (SCNu16): Likewise.
1848 [C99-based-standards] (SCNx16): Likewise.
1849 [C99-based-standards] (PRIdLEAST16): Likewise.
1850 [C99-based-standards] (PRIiLEAST16): Likewise.
1851 [C99-based-standards] (PRIoLEAST16): Likewise.
1852 [C99-based-standards] (PRIuLEAST16): Likewise.
1853 [C99-based-standards] (PRIxLEAST16): Likewise.
1854 [C99-based-standards] (PRIXLEAST16): Likewise.
1855 [C99-based-standards] (SCNdLEAST16): Likewise.
1856 [C99-based-standards] (SCNiLEAST16): Likewise.
1857 [C99-based-standards] (SCNoLEAST16): Likewise.
1858 [C99-based-standards] (SCNuLEAST16): Likewise.
1859 [C99-based-standards] (SCNxLEAST16): Likewise.
1860 [C99-based-standards] (PRIdFAST16): Likewise.
1861 [C99-based-standards] (PRIiFAST16): Likewise.
1862 [C99-based-standards] (PRIoFAST16): Likewise.
1863 [C99-based-standards] (PRIuFAST16): Likewise.
1864 [C99-based-standards] (PRIxFAST16): Likewise.
1865 [C99-based-standards] (PRIXFAST16): Likewise.
1866 [C99-based-standards] (SCNdFAST16): Likewise.
1867 [C99-based-standards] (SCNiFAST16): Likewise.
1868 [C99-based-standards] (SCNoFAST16): Likewise.
1869 [C99-based-standards] (SCNuFAST16): Likewise.
1870 [C99-based-standards] (SCNxFAST16): Likewise.
1871 [C99-based-standards] (PRId32): Likewise.
1872 [C99-based-standards] (PRIi32): Likewise.
1873 [C99-based-standards] (PRIo32): Likewise.
1874 [C99-based-standards] (PRIu32): Likewise.
1875 [C99-based-standards] (PRIx32): Likewise.
1876 [C99-based-standards] (PRIX32): Likewise.
1877 [C99-based-standards] (SCNd32): Likewise.
1878 [C99-based-standards] (SCNi32): Likewise.
1879 [C99-based-standards] (SCNo32): Likewise.
1880 [C99-based-standards] (SCNu32): Likewise.
1881 [C99-based-standards] (SCNx32): Likewise.
1882 [C99-based-standards] (PRIdLEAST32): Likewise.
1883 [C99-based-standards] (PRIiLEAST32): Likewise.
1884 [C99-based-standards] (PRIoLEAST32): Likewise.
1885 [C99-based-standards] (PRIuLEAST32): Likewise.
1886 [C99-based-standards] (PRIxLEAST32): Likewise.
1887 [C99-based-standards] (PRIXLEAST32): Likewise.
1888 [C99-based-standards] (SCNdLEAST32): Likewise.
1889 [C99-based-standards] (SCNiLEAST32): Likewise.
1890 [C99-based-standards] (SCNoLEAST32): Likewise.
1891 [C99-based-standards] (SCNuLEAST32): Likewise.
1892 [C99-based-standards] (SCNxLEAST32): Likewise.
1893 [C99-based-standards] (PRIdFAST32): Likewise.
1894 [C99-based-standards] (PRIiFAST32): Likewise.
1895 [C99-based-standards] (PRIoFAST32): Likewise.
1896 [C99-based-standards] (PRIuFAST32): Likewise.
1897 [C99-based-standards] (PRIxFAST32): Likewise.
1898 [C99-based-standards] (PRIXFAST32): Likewise.
1899 [C99-based-standards] (SCNdFAST32): Likewise.
1900 [C99-based-standards] (SCNiFAST32): Likewise.
1901 [C99-based-standards] (SCNoFAST32): Likewise.
1902 [C99-based-standards] (SCNuFAST32): Likewise.
1903 [C99-based-standards] (SCNxFAST32): Likewise.
1904 [C99-based-standards] (PRId64): Likewise.
1905 [C99-based-standards] (PRIi64): Likewise.
1906 [C99-based-standards] (PRIo64): Likewise.
1907 [C99-based-standards] (PRIu64): Likewise.
1908 [C99-based-standards] (PRIx64): Likewise.
1909 [C99-based-standards] (PRIX64): Likewise.
1910 [C99-based-standards] (SCNd64): Likewise.
1911 [C99-based-standards] (SCNi64): Likewise.
1912 [C99-based-standards] (SCNo64): Likewise.
1913 [C99-based-standards] (SCNu64): Likewise.
1914 [C99-based-standards] (SCNx64): Likewise.
1915 [C99-based-standards] (PRIdLEAST64): Likewise.
1916 [C99-based-standards] (PRIiLEAST64): Likewise.
1917 [C99-based-standards] (PRIoLEAST64): Likewise.
1918 [C99-based-standards] (PRIuLEAST64): Likewise.
1919 [C99-based-standards] (PRIxLEAST64): Likewise.
1920 [C99-based-standards] (PRIXLEAST64): Likewise.
1921 [C99-based-standards] (SCNdLEAST64): Likewise.
1922 [C99-based-standards] (SCNiLEAST64): Likewise.
1923 [C99-based-standards] (SCNoLEAST64): Likewise.
1924 [C99-based-standards] (SCNuLEAST64): Likewise.
1925 [C99-based-standards] (SCNxLEAST64): Likewise.
1926 [C99-based-standards] (PRIdFAST64): Likewise.
1927 [C99-based-standards] (PRIiFAST64): Likewise.
1928 [C99-based-standards] (PRIoFAST64): Likewise.
1929 [C99-based-standards] (PRIuFAST64): Likewise.
1930 [C99-based-standards] (PRIxFAST64): Likewise.
1931 [C99-based-standards] (PRIXFAST64): Likewise.
1932 [C99-based-standards] (SCNdFAST64): Likewise.
1933 [C99-based-standards] (SCNiFAST64): Likewise.
1934 [C99-based-standards] (SCNoFAST64): Likewise.
1935 [C99-based-standards] (SCNuFAST64): Likewise.
1936 [C99-based-standards] (SCNxFAST64): Likewise.
1937 [C99-based-standards] (PRIdMAX): Likewise.
1938 [C99-based-standards] (PRIiMAX): Likewise.
1939 [C99-based-standards] (PRIoMAX): Likewise.
1940 [C99-based-standards] (PRIuMAX): Likewise.
1941 [C99-based-standards] (PRIxMAX): Likewise.
1942 [C99-based-standards] (PRIXMAX): Likewise.
1943 [C99-based-standards] (SCNdMAX): Likewise.
1944 [C99-based-standards] (SCNiMAX): Likewise.
1945 [C99-based-standards] (SCNoMAX): Likewise.
1946 [C99-based-standards] (SCNuMAX): Likewise.
1947 [C99-based-standards] (SCNxMAX): Likewise.
1948 [C99-based-standards] (PRIdPTR): Likewise.
1949 [C99-based-standards] (PRIiPTR): Likewise.
1950 [C99-based-standards] (PRIoPTR): Likewise.
1951 [C99-based-standards] (PRIuPTR): Likewise.
1952 [C99-based-standards] (PRIxPTR): Likewise.
1953 [C99-based-standards] (PRIXPTR): Likewise.
1954 [C99-based-standards] (SCNdPTR): Likewise.
1955 [C99-based-standards] (SCNiPTR): Likewise.
1956 [C99-based-standards] (SCNoPTR): Likewise.
1957 [C99-based-standards] (SCNuPTR): Likewise.
1958 [C99-based-standards] (SCNxPTR): Likewise.
1959 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1960 allow.
1961 * conform/data/stdint.h-data: Update comments to clarify
1962 requirements.
1963 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1964 type.
1965 [C99-based standards] (INT8_MAX): Likewise.
1966 [C99-based standards] (INT16_MIN): Likewise.
1967 [C99-based standards] (INT16_MAX): Likewise.
1968 [C99-based standards] (INT32_MIN): Likewise.
1969 [C99-based standards] (INT32_MAX): Likewise.
1970 [C99-based standards] (INT64_MIN): Likewise.
1971 [C99-based standards] (INT64_MAX): Likewise.
1972 [C99-based standards] (UINT8_MAX): Likewise.
1973 [C99-based standards] (UINT16_MAX): Likewise.
1974 [C99-based standards] (UINT32_MAX): Likewise.
1975 [C99-based standards] (UINT64_MAX): Likewise.
1976 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1977 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1978 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1979 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1980 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1981 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1982 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1983 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1984 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1985 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1986 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1987 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1988 [C99-based standards] (INT_FAST8_MIN): Likewise.
1989 [C99-based standards] (INT_FAST8_MAX): Likewise.
1990 [C99-based standards] (INT_FAST16_MIN): Likewise.
1991 [C99-based standards] (INT_FAST16_MAX): Likewise.
1992 [C99-based standards] (INT_FAST32_MIN): Likewise.
1993 [C99-based standards] (INT_FAST32_MAX): Likewise.
1994 [C99-based standards] (INT_FAST64_MIN): Likewise.
1995 [C99-based standards] (INT_FAST64_MAX): Likewise.
1996 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1997 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1998 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1999 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2000 [C99-based standards] (INTPTR_MIN): Likewise.
2001 [C99-based standards] (INTPTR_MAX): Likewise.
2002 [C99-based standards] (UINTPTR_MAX): Likewise.
2003 [C99-based standards] (INTMAX_MIN): Likewise.
2004 [C99-based standards] (INTMAX_MAX): Likewise.
2005 [C99-based standards] (UINTMAX_MAX): Likewise.
2006 [C99-based standards] (PTRDIFF_MIN): Likewise.
2007 [C99-based standards] (PTRDIFF_MAX): Likewise.
2008 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2009 [C99-based standards] (SIZE_MAX): Likewise.
2010 [C99-based standards] (WCHAR_MAX): Likewise.
2011 [C99-based standards] (WINT_MAX): Likewise.
2012 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2013 constraint on value.
2014 [C99-based standards] (WCHAR_MIN): Likewise.
2015 [C99-based standards] (WINT_MIN): Likewise.
2016 [C99-based standards] (*_t): Allow.
2017 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2018 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2019 Include math.h-data and complex.h-data. Remove all expectations
2020 of math.h and complex.h contents.
2021 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2022 at end of line.
2023 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2024 (struct tm): Expect tag.
2025 [C99-based-standards] (wcstof): Expect function.
2026 [C99-based-standards] (wcstold): Likewise.
2027 [C99-based-standards] (wcstoll): Likewise.
2028 [C99-based-standards] (wcstoull): Likewise.
2029 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2030 macro-int-constant. Specify type.
2031 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2032 constraint on value.
2033 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2034 Specify type.
2035 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2036 Specify value.
2037 [ISO C standards]: Do not allow headers.
2038 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2039 wcs[abcdefghijklmnopqrstuvwxyz]*.
2040 [ISO C standards] (*_t): Do not allow.
2041 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2042 Expect function.
2043 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2044 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2045 Specify type.
2046 [ISO C standards]: Do not allow headers.
2047 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2048 is[abcdefghijklmnopqrstuvwxyz]*.
2049 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2050 to[abcdefghijklmnopqrstuvwxyz]*.
2051 [ISO C standards] (*_t): Do not allow.
2052 * conform/data/stdalign.h-data: New file.
2053 * conform/data/stdbool.h-data: Likewise.
2054 * conform/data/stdnoreturn.h-data: Likewise.
2055
7514feb8
RM
20562012-11-07 Roland McGrath <roland@hack.frob.com>
2057
2058 [BZ #14815]
2059 * manual/filesys.texi (Directory Entries): Typo fix.
2060 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2061
19b2ecfc
MS
20622012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2063
2064 * elf/elf.h (EM_AARCH64): New macro.
2065 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2066 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2067 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2068 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2069 (R_AARCH64_TLSDESC): Likewise.
2070 (NT_ARM_TLS): Likewise.
2071 (NT_ARM_HW_BREAK): Likewise.
2072 (NT_ARM_HW_WATCH): Likewise.
2073
60e235ee
JM
20742012-11-07 Joseph Myers <joseph@codesourcery.com>
2075
2076 [BZ #14811]
2077 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2078 (__ieee754_powl): Saturate nonzero exponents with absolute value
2079 below 0x1p-79 to +/- 0x1p-79.
2080 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2081 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2082 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2083 nonzero exponents with absolute value below 0x1p-32 to +/-
2084 0x1p-32.
2085 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2086 (__ieee754_powl): Saturate nonzero exponents with absolute value
2087 below 0x1p-79 to +/- 0x1p-79.
2088 * math/libm-test.inc (pow_test): Add more tests.
2089
0ab234b7
AK
20902012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2091
2092 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2093 _dl_s390_cap_flags with kernel. Increase string length.
2094 (_dl_s390_platforms): Add z196 and zEC12.
2095
45832f74
JM
20962012-11-07 Joseph Myers <joseph@codesourcery.com>
2097
2098 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2099 Change XOPEN21K to XOPEN2K.
2100
19218757
MK
21012012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2102
2103 * string/memmove.c: Use memcpy when possible.
2104
c5f45721
AJ
21052012-11-06 Andreas Jaeger <aj@suse.de>
2106
2107 * po/eo.po: Update from translation team.
2108
82477c28
JM
21092012-11-06 Joseph Myers <joseph@codesourcery.com>
2110
2111 [BZ #14793]
2112 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2113 exponent and small x and y exponents, scale x or y up. Increase
2114 by 2 the exponent used in scaling up.
2115 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2116 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2117 * math/libm-test.inc (fma_test): Add more tests.
2118 (fma_test_towardzero): Likewise.
2119 (fma_test_downward): Likewise.
2120 (fma_test_upward): Likewise.
2121
99252c8c
JM
21222012-11-05 Joseph Myers <joseph@codesourcery.com>
2123
acfa885f
JM
2124 [BZ #14805]
2125 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2126 fenv_t *.
2127
99252c8c
JM
2128 [BZ #14801]
2129 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2130 namespace for names of struct fields.
2131 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2132 fenv_t fields.
2133 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2134 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2135
d6d98dea
ST
21362012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2137
2138 [BZ #3665]
2139 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2140
e10bb107
TS
21412012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2142
2143 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2144 PTR_DEMANGLE.
2145
2146 [BZ #5246]
2147 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2148 PTR_DEMANGLE.
2149
a0c2940d
JM
21502012-11-04 Joseph Myers <joseph@codesourcery.com>
2151
2152 [BZ #14797]
2153 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2154 definitely overflow as x * y not x * y + z.
2155 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2156 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2157 * math/libm-test.inc (fma_test): Add more tests.
2158 (fma_test_towardzero): Likewise.
2159 (fma_test_downward): Likewise.
2160 (fma_test_upward): Likewise.
2161
b830319d
TS
21622012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2163
2164 [BZ #157]
2165
2166 * include/stub-tag.h: Remove file.
2167 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2168 '#include' of it.
2169 * manual/maint.texi (Porting): Don't reference it.
2170 * Makerules ($(objpfx)stubs): Likewise.
2171 * dirent/closedir.c: Don't include <stub-tag.h>.
2172 * dirent/dirfd.c: Likewise.
2173 * dirent/fdopendir.c: Likewise.
2174 * dirent/getdents.c: Likewise.
2175 * dirent/getdents64.c: Likewise.
2176 * dirent/opendir.c: Likewise.
2177 * dirent/readdir.c: Likewise.
2178 * dirent/readdir64.c: Likewise.
2179 * dirent/readdir64_r.c: Likewise.
2180 * dirent/readdir_r.c: Likewise.
2181 * dirent/rewinddir.c: Likewise.
2182 * dirent/seekdir.c: Likewise.
2183 * dirent/telldir.c: Likewise.
2184 * gmon/profil.c: Likewise.
2185 * grp/setgroups.c: Likewise.
2186 * inet/if_index.c: Likewise.
2187 * io/access.c: Likewise.
2188 * io/chdir.c: Likewise.
2189 * io/chmod.c: Likewise.
2190 * io/chown.c: Likewise.
2191 * io/close.c: Likewise.
2192 * io/dup.c: Likewise.
2193 * io/dup2.c: Likewise.
2194 * io/dup3.c: Likewise.
2195 * io/euidaccess.c: Likewise.
2196 * io/faccessat.c: Likewise.
2197 * io/fchdir.c: Likewise.
2198 * io/fchmod.c: Likewise.
2199 * io/fchmodat.c: Likewise.
2200 * io/fchown.c: Likewise.
2201 * io/fchownat.c: Likewise.
2202 * io/fcntl.c: Likewise.
2203 * io/flock.c: Likewise.
2204 * io/fstatfs.c: Likewise.
2205 * io/fstatfs64.c: Likewise.
2206 * io/fstatvfs.c: Likewise.
2207 * io/fstatvfs64.c: Likewise.
2208 * io/futimens.c: Likewise.
2209 * io/fxstat.c: Likewise.
2210 * io/fxstat64.c: Likewise.
2211 * io/fxstatat.c: Likewise.
2212 * io/fxstatat64.c: Likewise.
2213 * io/getcwd.c: Likewise.
2214 * io/isatty.c: Likewise.
2215 * io/lchmod.c: Likewise.
2216 * io/lchown.c: Likewise.
2217 * io/link.c: Likewise.
2218 * io/linkat.c: Likewise.
2219 * io/lseek.c: Likewise.
2220 * io/lseek64.c: Likewise.
2221 * io/lxstat64.c: Likewise.
2222 * io/mkdir.c: Likewise.
2223 * io/mkdirat.c: Likewise.
2224 * io/mkfifo.c: Likewise.
2225 * io/mkfifoat.c: Likewise.
2226 * io/open.c: Likewise.
2227 * io/open64.c: Likewise.
2228 * io/openat.c: Likewise.
2229 * io/openat64.c: Likewise.
2230 * io/pipe.c: Likewise.
2231 * io/pipe2.c: Likewise.
2232 * io/poll.c: Likewise.
2233 * io/posix_fadvise.c: Likewise.
2234 * io/posix_fadvise64.c: Likewise.
2235 * io/posix_fallocate.c: Likewise.
2236 * io/posix_fallocate64.c: Likewise.
2237 * io/read.c: Likewise.
2238 * io/readlink.c: Likewise.
2239 * io/readlinkat.c: Likewise.
2240 * io/rmdir.c: Likewise.
2241 * io/sendfile.c: Likewise.
2242 * io/sendfile64.c: Likewise.
2243 * io/statfs.c: Likewise.
2244 * io/statfs64.c: Likewise.
2245 * io/statvfs.c: Likewise.
2246 * io/statvfs64.c: Likewise.
2247 * io/symlink.c: Likewise.
2248 * io/symlinkat.c: Likewise.
2249 * io/ttyname.c: Likewise.
2250 * io/ttyname_r.c: Likewise.
2251 * io/umask.c: Likewise.
2252 * io/unlink.c: Likewise.
2253 * io/unlinkat.c: Likewise.
2254 * io/utime.c: Likewise.
2255 * io/utimensat.c: Likewise.
2256 * io/write.c: Likewise.
2257 * io/xmknod.c: Likewise.
2258 * io/xmknodat.c: Likewise.
2259 * io/xstat.c: Likewise.
2260 * io/xstat64.c: Likewise.
2261 * login/getpt.c: Likewise.
2262 * login/grantpt.c: Likewise.
2263 * login/unlockpt.c: Likewise.
2264 * math/e_acoshl.c: Likewise.
2265 * math/e_acosl.c: Likewise.
2266 * math/e_asinl.c: Likewise.
2267 * math/e_atan2l.c: Likewise.
2268 * math/e_atanhl.c: Likewise.
2269 * math/e_coshl.c: Likewise.
2270 * math/e_expl.c: Likewise.
2271 * math/e_fmodl.c: Likewise.
2272 * math/e_gammal_r.c: Likewise.
2273 * math/e_hypotl.c: Likewise.
2274 * math/e_j0l.c: Likewise.
2275 * math/e_j1l.c: Likewise.
2276 * math/e_jnl.c: Likewise.
2277 * math/e_lgammal_r.c: Likewise.
2278 * math/e_log10l.c: Likewise.
2279 * math/e_log2l.c: Likewise.
2280 * math/e_logl.c: Likewise.
2281 * math/e_powl.c: Likewise.
2282 * math/e_rem_pio2l.c: Likewise.
2283 * math/e_sinhl.c: Likewise.
2284 * math/e_sqrtl.c: Likewise.
2285 * math/fclrexcpt.c: Likewise.
2286 * math/fedisblxcpt.c: Likewise.
2287 * math/feenablxcpt.c: Likewise.
2288 * math/fegetenv.c: Likewise.
2289 * math/fegetexcept.c: Likewise.
2290 * math/fegetround.c: Likewise.
2291 * math/feholdexcpt.c: Likewise.
2292 * math/fesetenv.c: Likewise.
2293 * math/fesetround.c: Likewise.
2294 * math/feupdateenv.c: Likewise.
2295 * math/fgetexcptflg.c: Likewise.
2296 * math/fraiseexcpt.c: Likewise.
2297 * math/fsetexcptflg.c: Likewise.
2298 * math/ftestexcept.c: Likewise.
2299 * math/k_cosl.c: Likewise.
2300 * math/k_rem_pio2l.c: Likewise.
2301 * math/k_sinl.c: Likewise.
2302 * math/k_tanl.c: Likewise.
2303 * math/s_asinhl.c: Likewise.
2304 * math/s_atanl.c: Likewise.
2305 * math/s_cbrtl.c: Likewise.
2306 * math/s_erfl.c: Likewise.
2307 * math/s_expm1l.c: Likewise.
2308 * math/s_log1pl.c: Likewise.
2309 * math/s_tanhl.c: Likewise.
2310 * misc/acct.c: Likewise.
2311 * misc/brk.c: Likewise.
2312 * misc/chflags.c: Likewise.
2313 * misc/chroot.c: Likewise.
2314 * misc/fchflags.c: Likewise.
2315 * misc/fgetxattr.c: Likewise.
2316 * misc/flistxattr.c: Likewise.
2317 * misc/fremovexattr.c: Likewise.
2318 * misc/fsetxattr.c: Likewise.
2319 * misc/fsync.c: Likewise.
2320 * misc/ftruncate.c: Likewise.
2321 * misc/futimes.c: Likewise.
2322 * misc/futimesat.c: Likewise.
2323 * misc/getdomain.c: Likewise.
2324 * misc/getdtsz.c: Likewise.
2325 * misc/gethostid.c: Likewise.
2326 * misc/gethostname.c: Likewise.
2327 * misc/getloadavg.c: Likewise.
2328 * misc/getpagesize.c: Likewise.
2329 * misc/getsysstats.c: Likewise.
2330 * misc/getxattr.c: Likewise.
2331 * misc/gtty.c: Likewise.
2332 * misc/ioctl.c: Likewise.
2333 * misc/lgetxattr.c: Likewise.
2334 * misc/listxattr.c: Likewise.
2335 * misc/llistxattr.c: Likewise.
2336 * misc/lremovexattr.c: Likewise.
2337 * misc/lsetxattr.c: Likewise.
2338 * misc/lutimes.c: Likewise.
2339 * misc/madvise.c: Likewise.
2340 * misc/mincore.c: Likewise.
2341 * misc/mlock.c: Likewise.
2342 * misc/mlockall.c: Likewise.
2343 * misc/mmap.c: Likewise.
2344 * misc/mprotect.c: Likewise.
2345 * misc/msync.c: Likewise.
2346 * misc/munlock.c: Likewise.
2347 * misc/munlockall.c: Likewise.
2348 * misc/munmap.c: Likewise.
2349 * misc/preadv.c: Likewise.
2350 * misc/preadv64.c: Likewise.
2351 * misc/ptrace.c: Likewise.
2352 * misc/pwritev.c: Likewise.
2353 * misc/pwritev64.c: Likewise.
2354 * misc/readv.c: Likewise.
2355 * misc/reboot.c: Likewise.
2356 * misc/remap_file_pages.c: Likewise.
2357 * misc/removexattr.c: Likewise.
2358 * misc/revoke.c: Likewise.
2359 * misc/select.c: Likewise.
2360 * misc/setdomain.c: Likewise.
2361 * misc/setegid.c: Likewise.
2362 * misc/seteuid.c: Likewise.
2363 * misc/sethostid.c: Likewise.
2364 * misc/sethostname.c: Likewise.
2365 * misc/setregid.c: Likewise.
2366 * misc/setreuid.c: Likewise.
2367 * misc/setxattr.c: Likewise.
2368 * misc/sstk.c: Likewise.
2369 * misc/stty.c: Likewise.
2370 * misc/swapoff.c: Likewise.
2371 * misc/swapon.c: Likewise.
2372 * misc/sync.c: Likewise.
2373 * misc/syncfs.c: Likewise.
2374 * misc/syscall.c: Likewise.
2375 * misc/truncate.c: Likewise.
2376 * misc/ualarm.c: Likewise.
2377 * misc/usleep.c: Likewise.
2378 * misc/ustat.c: Likewise.
2379 * misc/utimes.c: Likewise.
2380 * misc/vhangup.c: Likewise.
2381 * misc/writev.c: Likewise.
2382 * posix/_exit.c: Likewise.
2383 * posix/alarm.c: Likewise.
2384 * posix/execve.c: Likewise.
2385 * posix/fexecve.c: Likewise.
2386 * posix/fork.c: Likewise.
2387 * posix/fpathconf.c: Likewise.
2388 * posix/getaddrinfo.c: Likewise.
2389 * posix/getegid.c: Likewise.
2390 * posix/geteuid.c: Likewise.
2391 * posix/getgid.c: Likewise.
2392 * posix/getgroups.c: Likewise.
2393 * posix/getlogin.c: Likewise.
2394 * posix/getlogin_r.c: Likewise.
2395 * posix/getpgid.c: Likewise.
2396 * posix/getpid.c: Likewise.
2397 * posix/getppid.c: Likewise.
2398 * posix/getresgid.c: Likewise.
2399 * posix/getresuid.c: Likewise.
2400 * posix/getsid.c: Likewise.
2401 * posix/getuid.c: Likewise.
2402 * posix/glob64.c: Likewise.
2403 * posix/nanosleep.c: Likewise.
2404 * posix/pathconf.c: Likewise.
2405 * posix/pause.c: Likewise.
2406 * posix/posix_madvise.c: Likewise.
2407 * posix/pread.c: Likewise.
2408 * posix/pread64.c: Likewise.
2409 * posix/pwrite.c: Likewise.
2410 * posix/pwrite64.c: Likewise.
2411 * posix/sched_getaffinity.c: Likewise.
2412 * posix/sched_getp.c: Likewise.
2413 * posix/sched_gets.c: Likewise.
2414 * posix/sched_primax.c: Likewise.
2415 * posix/sched_primin.c: Likewise.
2416 * posix/sched_rr_gi.c: Likewise.
2417 * posix/sched_setaffinity.c: Likewise.
2418 * posix/sched_setp.c: Likewise.
2419 * posix/sched_sets.c: Likewise.
2420 * posix/sched_yield.c: Likewise.
2421 * posix/setgid.c: Likewise.
2422 * posix/setlogin.c: Likewise.
2423 * posix/setpgid.c: Likewise.
2424 * posix/setresgid.c: Likewise.
2425 * posix/setresuid.c: Likewise.
2426 * posix/setsid.c: Likewise.
2427 * posix/setuid.c: Likewise.
2428 * posix/sleep.c: Likewise.
2429 * posix/spawni.c: Likewise.
2430 * posix/sysconf.c: Likewise.
2431 * posix/times.c: Likewise.
2432 * posix/wait.c: Likewise.
2433 * posix/wait3.c: Likewise.
2434 * posix/wait4.c: Likewise.
2435 * posix/waitpid.c: Likewise.
2436 * resolv/gai_sigqueue.c: Likewise.
2437 * resource/getpriority.c: Likewise.
2438 * resource/getrlimit.c: Likewise.
2439 * resource/getrusage.c: Likewise.
2440 * resource/nice.c: Likewise.
2441 * resource/setpriority.c: Likewise.
2442 * resource/setrlimit.c: Likewise.
2443 * resource/ulimit.c: Likewise.
2444 * rt/aio_cancel.c: Likewise.
2445 * rt/aio_fsync.c: Likewise.
2446 * rt/aio_read.c: Likewise.
2447 * rt/aio_sigqueue.c: Likewise.
2448 * rt/aio_suspend.c: Likewise.
2449 * rt/aio_write.c: Likewise.
2450 * rt/clock_getres.c: Likewise.
2451 * rt/clock_gettime.c: Likewise.
2452 * rt/clock_nanosleep.c: Likewise.
2453 * rt/clock_settime.c: Likewise.
2454 * rt/lio_listio.c: Likewise.
2455 * rt/mq_close.c: Likewise.
2456 * rt/mq_getattr.c: Likewise.
2457 * rt/mq_notify.c: Likewise.
2458 * rt/mq_open.c: Likewise.
2459 * rt/mq_receive.c: Likewise.
2460 * rt/mq_send.c: Likewise.
2461 * rt/mq_setattr.c: Likewise.
2462 * rt/mq_timedreceive.c: Likewise.
2463 * rt/mq_timedsend.c: Likewise.
2464 * rt/mq_unlink.c: Likewise.
2465 * rt/shm_open.c: Likewise.
2466 * rt/shm_unlink.c: Likewise.
2467 * rt/timer_create.c: Likewise.
2468 * rt/timer_delete.c: Likewise.
2469 * rt/timer_getoverr.c: Likewise.
2470 * rt/timer_gettime.c: Likewise.
2471 * rt/timer_settime.c: Likewise.
2472 * setjmp/__longjmp.c: Likewise.
2473 * setjmp/setjmp.c: Likewise.
2474 * signal/kill.c: Likewise.
2475 * signal/killpg.c: Likewise.
2476 * signal/raise.c: Likewise.
2477 * signal/sigaction.c: Likewise.
2478 * signal/sigaltstack.c: Likewise.
2479 * signal/sigblock.c: Likewise.
2480 * signal/sigignore.c: Likewise.
2481 * signal/sigintr.c: Likewise.
2482 * signal/signal.c: Likewise.
2483 * signal/sigpause.c: Likewise.
2484 * signal/sigpending.c: Likewise.
2485 * signal/sigqueue.c: Likewise.
2486 * signal/sigreturn.c: Likewise.
2487 * signal/sigset.c: Likewise.
2488 * signal/sigsetmask.c: Likewise.
2489 * signal/sigstack.c: Likewise.
2490 * signal/sigsuspend.c: Likewise.
2491 * signal/sigtimedwait.c: Likewise.
2492 * signal/sigvec.c: Likewise.
2493 * signal/sigwait.c: Likewise.
2494 * signal/sigwaitinfo.c: Likewise.
2495 * signal/sysv_signal.c: Likewise.
2496 * socket/accept.c: Likewise.
2497 * socket/accept4.c: Likewise.
2498 * socket/bind.c: Likewise.
2499 * socket/connect.c: Likewise.
2500 * socket/getpeername.c: Likewise.
2501 * socket/getsockname.c: Likewise.
2502 * socket/getsockopt.c: Likewise.
2503 * socket/isfdtype.c: Likewise.
2504 * socket/listen.c: Likewise.
2505 * socket/recv.c: Likewise.
2506 * socket/recvfrom.c: Likewise.
2507 * socket/recvmsg.c: Likewise.
2508 * socket/send.c: Likewise.
2509 * socket/sendmsg.c: Likewise.
2510 * socket/sendto.c: Likewise.
2511 * socket/setsockopt.c: Likewise.
2512 * socket/shutdown.c: Likewise.
2513 * socket/sockatmark.c: Likewise.
2514 * socket/socket.c: Likewise.
2515 * socket/socketpair.c: Likewise.
2516 * stdio-common/ctermid.c: Likewise.
2517 * stdio-common/cuserid.c: Likewise.
2518 * stdio-common/remove.c: Likewise.
2519 * stdio-common/rename.c: Likewise.
2520 * stdio-common/renameat.c: Likewise.
2521 * stdio-common/tempname.c: Likewise.
2522 * stdlib/getcontext.c: Likewise.
2523 * stdlib/makecontext.c: Likewise.
2524 * stdlib/setcontext.c: Likewise.
2525 * stdlib/swapcontext.c: Likewise.
2526 * stdlib/system.c: Likewise.
2527 * streams/fattach.c: Likewise.
2528 * streams/fdetach.c: Likewise.
2529 * streams/getmsg.c: Likewise.
2530 * streams/getpmsg.c: Likewise.
2531 * streams/putmsg.c: Likewise.
2532 * streams/putpmsg.c: Likewise.
2533 * sysdeps/unix/bsd/getpt.c: Likewise.
2534 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2535 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2536 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2538 Likewise.
2539 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2540 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2541 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2542 * sysvipc/msgctl.c: Likewise.
2543 * sysvipc/msgget.c: Likewise.
2544 * sysvipc/msgrcv.c: Likewise.
2545 * sysvipc/msgsnd.c: Likewise.
2546 * sysvipc/semctl.c: Likewise.
2547 * sysvipc/semget.c: Likewise.
2548 * sysvipc/semop.c: Likewise.
2549 * sysvipc/semtimedop.c: Likewise.
2550 * sysvipc/shmat.c: Likewise.
2551 * sysvipc/shmctl.c: Likewise.
2552 * sysvipc/shmdt.c: Likewise.
2553 * sysvipc/shmget.c: Likewise.
2554 * termios/tcdrain.c: Likewise.
2555 * termios/tcflow.c: Likewise.
2556 * termios/tcflush.c: Likewise.
2557 * termios/tcgetattr.c: Likewise.
2558 * termios/tcgetpgrp.c: Likewise.
2559 * termios/tcsendbrk.c: Likewise.
2560 * termios/tcsetattr.c: Likewise.
2561 * termios/tcsetpgrp.c: Likewise.
2562 * time/adjtime.c: Likewise.
2563 * time/clock.c: Likewise.
2564 * time/getitimer.c: Likewise.
2565 * time/gettimeofday.c: Likewise.
2566 * time/setitimer.c: Likewise.
2567 * time/settimeofday.c: Likewise.
2568 * time/stime.c: Likewise.
2569 * time/time.c: Likewise.
2570
25712012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2572
a20492cf
PT
2573 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2574 /usr/old/bin.
2575
72e182e3
PT
2576 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2577 instead of spaces.
2578 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2579
fbeafede
JM
25802012-11-03 Joseph Myers <joseph@codesourcery.com>
2581
5b5b04d6
JM
2582 [BZ #14796]
2583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2584 FE_TONEAREST before applying Dekker multiplication and Knuth
2585 addition. Clear inexact exceptions and check for exact zero
2586 results afterwards.
2587 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2588 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2589 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2590 * math/libm-test.inc (fma_test): Add more tests.
2591 (fma_test_towardzero): Likewise.
2592 (fma_test_downward): Likewise.
2593 (fma_test_upward): Likewise.
2594 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2595 function.
2596 (libc_fesetround): New macro.
2597 (libc_fesetroundf): Likewise.
2598 (libc_fesetroundl): Likewise.
2599 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2600 function.
2601 (libc_fesetround_387): Likewise.
2602 (libc_fesetroundf): New macro.
2603 (libc_fesetround): Likewise.
2604 (libc_fesetroundl): Likewise.
2605 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2606 function.
2607 (libc_fesetroundf): New macro.
2608 (libc_fesetround): Likewise.
2609 (libc_fesetroundl): Likewise.
2610 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2611 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2612 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2613 libm_hidden_ver.
2614 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2615 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2616 libm_hidden_def.
2617 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2618 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2619 libm_hidden_ver.
2620 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2621 libm_hidden_def.
2622
fbeafede
JM
2623 [BZ #3439]
2624 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2625 integer constant usable in #if and use that to give value to enum
2626 constant.
2627 (FE_DIVBYZERO): Likewise.
2628 (FE_UNDERFLOW): Likewise.
2629 (FE_OVERFLOW): Likewise.
2630 (FE_INVALID): Likewise.
2631 (FE_INVALID_SNAN): Likewise.
2632 (FE_INVALID_ISI): Likewise.
2633 (FE_INVALID_IDI): Likewise.
2634 (FE_INVALID_ZDZ): Likewise.
2635 (FE_INVALID_IMZ): Likewise.
2636 (FE_INVALID_COMPARE): Likewise.
2637 (FE_INVALID_SOFTWARE): Likewise.
2638 (FE_INVALID_SQRT): Likewise.
2639 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2640 (FE_TONEAREST): Likewise.
2641 (FE_TOWARDZERO): Likewise.
2642 (FE_UPWARD): Likewise.
2643 (FE_DOWNWARD): Likewise.
2644 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2645 (FE_DIVBYZERO): Likewise.
2646 (FE_OVERFLOW): Likewise.
2647 (FE_UNDERFLOW): Likewise.
2648 (FE_INEXACT): Likewise.
2649 (FE_TONEAREST): Likewise.
2650 (FE_DOWNWARD): Likewise.
2651 (FE_UPWARD): Likewise.
2652 (FE_TOWARDZERO): Likewise.
2653 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2654 (FE_UNDERFLOW): Likewise.
2655 (FE_OVERFLOW): Likewise.
2656 (FE_DIVBYZERO): Likewise.
2657 (FE_INVALID): Likewise.
2658 (FE_TONEAREST): Likewise.
2659 (FE_TOWARDZERO): Likewise.
2660 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2661 (FE_OVERFLOW): Likewise.
2662 (FE_UNDERFLOW): Likewise.
2663 (FE_DIVBYZERO): Likewise.
2664 (FE_INEXACT): Likewise.
2665 (FE_TONEAREST): Likewise.
2666 (FE_TOWARDZERO): Likewise.
2667 (FE_UPWARD): Likewise.
2668 (FE_DOWNWARD): Likewise.
2669 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2670 (FE_DIVBYZERO): Likewise.
2671 (FE_OVERFLOW): Likewise.
2672 (FE_UNDERFLOW): Likewise.
2673 (FE_INEXACT): Likewise.
2674 (FE_TONEAREST): Likewise.
2675 (FE_DOWNWARD): Likewise.
2676 (FE_UPWARD): Likewise.
2677 (FE_TOWARDZERO): Likewise.
2678
105ca950
CM
26792012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2680
2681 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2682
a542b389
AS
26832012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2684
2685 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2686 commands. Quote $PWD.
2687 (blacklist_exports): Don't use remove_newlines. Replace "declare
2688 -x" by "export".
2689 (remove_newlines): Remove.
2690
f62c8abc
L
26912012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2692
2693 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2694 * stdlib/stdlib.h (atof): Moved to ...
2695 * include/bits/stdlib-float.h: Here. New file.
2696 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2697 * stdlib/bits/stdlib-float.h: New file.
2698 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2699 -mno-sse -mno-mmx.
2700 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2701 <xmmintrin.h>.
2702
0155d5b2
JM
27032012-11-02 Joseph Myers <joseph@codesourcery.com>
2704
a68d0680
JM
2705 * conform/conformtest.pl (@headers): Add fenv.h.
2706 * conform/data/fenv.h-data: New file.
2707 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2708 include of <math/fenv.h>.
2709
caf7f573
JM
2710 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2711 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2712 && !UNIX98]. Enables tests for XOPEN2K8.
2713 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2714 POSIX2008]: Likewise.
2715
6c073ad6
JM
2716 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2717 (struct rusage): Do not expect type or its members.
2718
0155d5b2
JM
2719 [BZ #3439]
2720 * math/math.h (FP_NAN): Define macro to integer constant usable in
2721 #if and use that to give value to enum constant.
2722 (FP_INFINITE): Likewise.
2723 (FP_ZERO): Likewise.
2724 (FP_SUBNORMAL): Likewise.
2725 (FP_NORMAL): Likewise.
2726
b5dcacb4
AS
27272012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2728
2729 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2730 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2731 arguments.
2732
f7934be8
RM
27332012-11-02 Roland McGrath <roland@hack.frob.com>
2734
2735 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2736 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2737 autoconf-time if not.
2738 * configure.in: Remove AC_PREREQ.
2739
d7d08bde
TMQMF
27402012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2741
2742 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2743 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2744 of the internal implementation.
2745
dcdae19a
JM
27462012-11-02 Joseph Myers <joseph@codesourcery.com>
2747
2748 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2749 except include of <misc/sys/syslog.h>.
2750
d6cffd3e
AS
27512012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2752
2753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2754 function returns with a NULL context exit with zero.
2755
b3563932
TMQMF
27562012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2757
2758 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2759
b288a93d
L
27602012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2761
2762 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2763 (run_program_cmd): This.
2764 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2765 (tst_langinfo): New variable. Use it.
2766
a2421a68
SAS
27672012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2768
2769 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2770 floating point opcodes.
2771
6f796e1b
TS
27722012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2773
7402596b
TS
2774 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2775 variable.
2776
d0d4f868
TS
2777 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2778
6f796e1b
TS
2779 * sysdeps/mach/hurd/powerpc: Remove directory.
2780 * sysdeps/mach/powerpc: Likewise.
2781
4da224a2
AS
27822012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2783
2784 * scripts/check-local-headers.sh: Ignore c++ headers.
2785
341dd673
TS
27862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2787
2788 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2789 __libc_cleanup_region_start argument.
2790
473611b2
JM
27912012-11-01 Joseph Myers <joseph@codesourcery.com>
2792
2793 [BZ #14784]
2794 [BZ #14785]
2795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2796 x * y using scaling, not as x * y + z.
2797 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2798 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2799 * math/libm-test.inc (fma_test): Add more tests.
2800 (fma_test_towardzero): Likewise.
2801 (fma_test_downward): Likewise.
2802 (fma_test_upward): Likewise.
2803
4078da3d
TS
28042012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2805
2806 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2807
903252aa
JM
28082012-10-31 Joseph Myers <joseph@codesourcery.com>
2809
2810 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2811 New variable.
2812
cbc818d0
TS
28132012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2814
2815 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2816
5a03cb1e
AS
28172012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2818
2819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2820 Fix sort order.
2821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2822 Likewise.
2823
90aff2ff
TMQMF
28242012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2825
2826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2827 Fix the order of the list for glibc 2.17.
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2829 Likewise.
2830
1818fcb7
AS
28312012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2832
2833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2834
ef82f4da
JM
28352012-10-31 Joseph Myers <joseph@codesourcery.com>
2836
16a0e2ec
JM
2837 [BZ #14610]
2838 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2839 for low part of x being zero before using __atanl (y).
2840 * math/libm-test.inc (atan2_test): Add another test.
2841
0eb69512
JM
2842 * manual/install.texi (Configuring and compiling): Document
2843 general use of test-wrapper and test-wrapper-env.
2844 * INSTALL: Regenerated.
2845
ef82f4da
JM
2846 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2847 (__fma): Do not extract and scale down low bits on after-rounding
2848 systems when result rounded to normal precision would have normal
2849 exponent.
2850 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2851 (__fmal): Do not extract and scale down low bits on after-rounding
2852 systems when result rounded to normal precision would have normal
2853 exponent.
2854 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2855 (__fmal): Do not extract and scale down low bits on after-rounding
2856 systems when result rounded to normal precision would have normal
2857 exponent.
2858 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2859 macro.
2860 (fma_test): Add more tests.
2861 (fma_test_towardzero): Likewise.
2862 (fma_test_downward): Likewise.
2863 (fma_test_upward): Likewise.
2864
954ef0d9
L
28652012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2866
2867 * sysdeps/i386/tininess.h: Renamed to ...
2868 * sysdeps/x86/tininess.h: This.
2869 * sysdeps/x86_64/tininess.h: Removed.
2870
df61ffb2
JM
28712012-10-30 Joseph Myers <joseph@codesourcery.com>
2872
2873 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2874 input. Use $(build-program-cmd).
2875 ($(objpfx)tst-array1-static.out): Likewise.
2876 ($(objpfx)tst-array2.out): Likewise.
2877 ($(objpfx)tst-array3.out): Likewise.
2878 ($(objpfx)tst-array4.out): Likewise.
2879 ($(objpfx)tst-array5.out): Likewise.
2880 ($(objpfx)tst-array5-static.out): Likewise.
2881
01767843
CM
28822012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2883
47cc1490
CM
2884 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2885 if defined.
2886
01767843
CM
2887 * nss/nsswitch.h (nss_interface_function): Provide new
2888 macro for use with NSS functions.
2889 * grp/initgroups.c: Use new macro.
2890 * nss/getXXbyYY.c: Likewise.
2891 * nss/getXXbyYY_r.c: Likewise.
2892 * nss/getXXent.c: Likewise.
2893 * nss/getXXent_r.c: Likewise.
2894 * sysdeps/posix/getaddrinfo.c: Likewise.
2895
8321aa97
AJ
28962012-10-30 Andreas Jaeger <aj@suse.de>
2897
2898 * po/ru.po: Update Russion translation from translation project.
2899
2a27fd6d
JM
29002012-10-30 Joseph Myers <joseph@codesourcery.com>
2901
8627a232
JM
2902 [BZ #14152]
2903 [BZ #14783]
2904 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2905 result and shift together with sticky bit instead of replicating
2906 round-to-nearest rounding.
2907 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2908 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2909 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2910 missing underflow exceptions.
2911 (fma_test_towardzero): Add more tests.
2912 (fma_test_downward): Likewise.
2913 (fma_test_upward): Likewise.
2914
2a27fd6d
JM
2915 [BZ #14047]
2916 * sysdeps/generic/tininess.h: New file.
2917 * sysdeps/i386/tininess.h: Likewise.
2918 * sysdeps/sh/tininess.h: Likewise.
2919 * sysdeps/x86_64/tininess.h: Likewise.
2920 * stdlib/tst-strtod-underflow.c: Likewise.
2921 * stdlib/tst-tininess.c: Likewise.
2922 * stdlib/strtod_l.c: Include <tininess.h>.
2923 (round_and_return): Do not set errno for exact underflow cases.
2924 Force an underflow exception when setting errno for underflow.
2925 Determine underflow based on rounding to normal precision if
2926 TININESS_AFTER_ROUNDING.
2927 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2928 ERANGE for exact underflow cases.
2929 * stdlib/Makefile (tests): Add tst-tininess and
2930 tst-strtod-underflow.
2931 ($(objpfx)tst-tininess): Use $(link-libm).
2932 ($(objpfx)tst-strtod-underflow): Likewise.
2933
e7170363
AJ
29342012-10-30 Andreas Jaeger <aj@suse.de>
2935
e5088dc6
AJ
2936 [BZ#14767]
2937 * elf/Makefile (tests): Remove conditional for have-initfini-array
2938 since this is now always required and the variable does not exist
2939 anymore.
2940 (tests-static): Likewise.
2941 (modules-names): Likewise.
2942
e7170363 2943 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2944
2945 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2946 merged with constructor/destructor.
2947 (init_array): Likewise.
2948 * elf/tst-array2dep.c (fini_array): Likewise.
2949 (init_array): Likewise.
2950
60457d8a
MF
29512012-10-29 Mike Frysinger <vapier@gentoo.org>
2952
2953 * manual/message.texi: Delete @cartouche tags.
2954
8bece752
PT
29552012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2956
94ce799f
PT
2957 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2958 EOPNOTSUPP.
2959 * sysdeps/mach/hurd/fsync.c: Likewise.
2960
8bece752
PT
2961 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2962 [_POSIX_REALTIME_SIGNALS]: Change condition to
2963 [_POSIX_REALTIME_SIGNALS > 0].
2964
86ebe6b1
AJ
29652012-10-27 Andreas Jaeger <aj@suse.de>
2966
2967 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2968 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2969 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2970 [__WORDSIZE != 64]: Likewise.
2971
54399c08
L
29722012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2973
2974 * iconvdata/tst-table.sh: Remove ${SHELL}.
2975 * iconvdata/tst-tables.sh: Likewise.
2976
e2211bed
DM
29772012-10-25 David S. Miller <davem@davemloft.net>
2978
2979 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2980 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2981 of strtoull.
2982
f303f97c
DM
2983 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2984 ifunc-impl-list.c
2985 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2986 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2987 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2988 file.
2989
1e9d84cd
RM
29902012-10-25 Roland McGrath <roland@hack.frob.com>
2991
2992 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2993 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2994 __getdirentries.
2995
df381762
JM
29962012-10-25 Joseph Myers <joseph@codesourcery.com>
2997 Jim Blandy <jimb@codesourcery.com>
2998
2999 * scripts/cross-test-ssh.sh: New file.
3000 * manual/install.texi (Configuring and compiling): Document use of
3001 cross-test-ssh.sh.
3002 * INSTALL: Regenerated.
3003
bff64913
PT
30042012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3005
3006 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3007 EOPNOTSUPP.
3008
25fe8932
JM
30092012-10-25 Joseph Myers <joseph@codesourcery.com>
3010
3011 * Makeconfig (run-program-prefix): Fix comment.
3012
cc1290d0
JM
30132012-10-24 Joseph Myers <joseph@codesourcery.com>
3014 Jim Blandy <jimb@codesourcery.com>
3015
3016 * Makeconfig (test-wrapper): New variable,
3017 (test-wrapper-env): Likewise.
3018 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3019 (run-built-tests): Define to yes.
3020 (run-program-prefix): Use $(test-wrapper).
3021 (built-program-cmd): Likewise.
3022 * Rules (make-test-out): Use $(test-wrapper-env) and
3023 $(host-built-program-cmd).
3024 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3025 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3026 tst-pathopt.sh.
3027 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3028 $(test-wrapper-env) to tst-rtld-load-self.sh.
3029 ($(objpfx)order2.out): Use $(test-wrapper).
3030 ($(objpfx)tst-initorder.out): Likewise.
3031 ($(objpfx)tst-initorder2.out): Likewise.
3032 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3033 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3034 (test_wrapper_env): New variable. Use it to run ld.so.
3035 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3036 Use it to run ld.so.
3037 (test_wrapper_env): Likewise.
3038 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3039 $(test-wrapper) to run-iconv-test.sh.
3040 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3041 (ICONV): Use $test_wrapper.
3042 * posix/Makefile ($(objpfx)globtest.out): Pass
3043 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3044 globtest.sh, not $(run-program-prefix).
3045 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3046 (test_wrapper): Likewise.
3047 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3048 set together with run_via_rtld_prefix.
3049 (run_program_prefix): Define in terms of test_wrapper and
3050 run_via_rtld_prefix.
3051
6e6249d0
RM
30522012-10-24 Roland McGrath <roland@hack.frob.com>
3053
3054 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3055 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3056 Targets removed.
3057
3058 [BZ #14743]
3059 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3060 Declare __clock_getres, __clock_gettime, __clock_settime,
3061 __clock_nanosleep, and __clock_getcpuclockid.
3062 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3063 Remove librt_hidden_def (clock_gettime).
3064 * sysdeps/unix/clock_gettime.c: Likewise.
3065 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3066 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3067 * rt/clock_getres.c: Define __clock_getres as an alias.
3068 * sysdeps/posix/clock_getres.c: Likewise.
3069 * rt/clock_settime.c: Define __clock_settime as an alias.
3070 * sysdeps/unix/clock_settime.c: Likewise.
3071 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3072 * sysdeps/unix/clock_nanosleep.c: Likewise.
3073 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3074 * rt/clock-compat.c: New file.
3075 * rt/Makefile (librt-routines): Add clock-compat and move
3076 $(clock-routines) to ...
3077 (routines): ... here, new variable.
3078 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3079 Don't add get_clockfreq here.
3080 * rt/Versions (libc: GLIBC_2.17): New version set.
3081 Add clock_* symbols here.
3082 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3083 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3084 (GLIBC_2.17): Add clock_* symbols.
3085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3087 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3089 Likewise.
3090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3091 Likewise.
3092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3096 * NEWS: Mention the move.
3097
3098 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3099 Use __open, __read, __close rather than their public counterparts.
3100 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3101 (__get_clockfreq_via_cpuinfo): Likewise.
3102 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3103 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3104
3105 * config.h.in (HAVE_IFUNC): New #undef.
3106 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3107 was successful.
3108 * configure: Regenerated.
3109
0cae3f4b
MF
31102012-10-24 Mike Frysinger <vapier@gentoo.org>
3111
3112 * configure.in: Move READELF check to start of file.
3113 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3114 libc_cv_asm_gnu_indirect_function in the process.
3115 * configure: Regenerated.
3116
8175a253
MF
31172012-10-24 Mike Frysinger <vapier@gentoo.org>
3118
3119 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3120 send the output to /dev/null.
3121 (libc_cv_cc_with_libunwind): Likewise.
3122 (libc_cv_as_noexecstack): Likewise.
3123 * configure: Regenerate.
3124
0708a7d1
JM
31252012-10-24 Joseph Myers <joseph@codesourcery.com>
3126
10b40d85
JM
3127 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3128
0708a7d1
JM
3129 * posix/globtest.sh (TMPDIR): Do not set.
3130 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3131 (testout): Likewise.
3132
9fddec1a
AJ
31332012-10-24 Andreas Jaeger <aj@suse.de>
3134
3a8db22f
AJ
3135 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3136 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3137 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3138 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3139 posix_fadvise64, posix_fallocate64.
3140
9fddec1a
AJ
3141 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3142 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3143 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3144 Likewise.
3145 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3146 Likewise.
3147 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3148
3149 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3150 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3151 <bits/fcntl-linux.h>.
3152 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3153
3154 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3155 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3156 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3157 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3158 [__WORDSIZE != 64]: Likewise.
3159
ebfd1bbd
JM
31602012-10-23 Joseph Myers <joseph@codesourcery.com>
3161
03ac099f
JM
3162 * Makeconfig (run-built-tests): New variable.
3163 * Rules [$(cross-compiling) = yes]: Change condition to
3164 [$(run-built-tests) = no].
3165 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3166 to [$(run-built-tests) = yes].
3167 * elf/Makefile [$(cross-compiling) = no]: Likewise
3168 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3169 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3170 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3171 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3172 * io/Makefile [$(cross-compiling) = no]: Likewise.
3173 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3174 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3175 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3176 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3177 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3178 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3179 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3180 * string/Makefile [$(cross-compiling) = no]: Likewise.
3181
ebfd1bbd
JM
3182 * posix/Makefile ($(objpfx)globtest.out): Pass
3183 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3184 $(rtld-installed-name).
3185 * posix/globtest.sh (elf_objpfx): Remove variable.
3186 (rtld_installed_name): Likewise.
3187 (library_path): Likewise.
3188 (run_program_prefix): New variable. Use for running globtest
3189 binary.
3190
166bca24
JB
31912012-10-23 Jim Blandy <jimb@codesourcery.com>
3192 Joseph Myers <joseph@codesourcery.com>
3193
3194 * Makeconfig (host-built-program-cmd): New variable.
3195 * elf/Makefile (tst-stackguard1-ARGS): Use
3196 $(host-built-program-cmd).
3197 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3198 (tst-spawn-ARGS): Likewise.
3199 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3200
88866099
JM
32012012-10-23 Joseph Myers <joseph@codesourcery.com>
3202 Jim Blandy <jimb@codesourcery.com>
3203
3204 * Makeconfig (run-via-rtld-prefix): New variable.
3205 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3206 (built-program-cmd): Likewise.
3207
b4b4c296
AJ
32082012-10-22 Andreas Jaeger <aj@suse.de>
3209
3210 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3211 __O_RSYNC if it exists, otherwise to O_SYNC.
3212
6fb54a22
JB
32132012-10-22 Jim Blandy <jimb@codesourcery.com>
3214 Joseph Myers <joseph@codesourcery.com>
3215
3216 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3217 /dev/null.
3218 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3219 from /dev/null
3220 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3221 /dev/null.
3222
481b90b9
AJ
32232012-10-22 Andreas Jaeger <aj@suse.de>
3224
2a0e2669
AJ
3225 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3226 Define always.
3227 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3228
76e38f9a
AJ
3229 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3230 bits/fcntl-linux.h.
3231
7cd37b43
AJ
3232 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3233 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3234
481b90b9
AJ
3235 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3236 to __O_LARGEFILE.
3237 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3238 to __O_LARGEFILE.
3239
aba75984
JB
32402012-10-21 Jim Blandy <jimb@codesourcery.com>
3241 Joseph Myers <joseph@codesourcery.com>
3242
3243 * config.make.in (NM): New variable.
3244
88d4247f
AJ
32452012-10-21 Andreas Jaeger <aj@suse.de>
3246
3247 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3248 definitions and declarations that are provided by
3249 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3250
f2eed205
L
32512012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3252
3253 [BZ #14683]
3254 * elf/Makefile (tests-static): Add tst-leaks1-static.
3255 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3256 ($(objpfx)tst-leaks1-static): New rule.
3257 ($(objpfx)tst-leaks1-static-mem): Likewise.
3258 (tst-leaks1-static-ENV): New macro.
3259 * elf/dl-open.c (dl_open_worker): Check the main application
3260 only if SHARED is defined.
3261 * elf/tst-leaks1-static.c: New file.
3262
335e6931
AJ
32632012-10-20 Andreas Jaeger <aj@suse.de>
3264
3265 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3266 generic values for Linux.
3267 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3268 and declarations that are provided by <bits/fcntl-linux.h> and
3269 include <bits/fcntl-linux.h>.
3270 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3271 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3272
ac5c94d3
RM
32732012-10-20 Roland McGrath <roland@hack.frob.com>
3274
3275 * io/fcntl.h: Move include of <bits/types.h> to the top and
3276 include it unconditionally.
3277
de54b33a
L
32782012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3279
228cfb01
L
3280 * wcsmbs/Makefile (tests-ifunc): New variable.
3281 (tests): Add $(tests-ifunc).
3282 * wcsmbs/test-wcschr-ifunc.c: New file.
3283 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3284 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3285 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3286 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3287 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3288
69f07e5f
L
3289 * string/Makefile (tests-ifunc): New variable.
3290 (tests): Add $(tests-ifunc).
3291 * string/test-memccpy.c (TEST_NAME): New macro.
3292 * string/test-memchr.c (TEST_NAME): Likewise.
3293 * string/test-memcmp.c (TEST_NAME): Likewise.
3294 * string/test-memcpy.c (TEST_NAME): Likewise.
3295 * string/test-memmem.c (TEST_NAME): Likewise.
3296 * string/test-memmove.c (TEST_NAME): Likewise.
3297 * string/test-memset.c (TEST_NAME): Likewise.
3298 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3299 * string/test-stpcpy.c (TEST_NAME): Likewise.
3300 * string/test-stpncpy.c (TEST_NAME): Likewise.
3301 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3302 * string/test-strcasestr.c (TEST_NAME): Likewise.
3303 * string/test-strcat.c (TEST_NAME): Likewise.
3304 * string/test-strchr.c (TEST_NAME): Likewise.
3305 * string/test-strcmp.c(TEST_NAME): Likewise.
3306 * string/test-strcpy.c (TEST_NAME): Likewise.
3307 * string/test-strcspn.c (TEST_NAME): Likewise.
3308 * string/test-strlen.c (TEST_NAME): Likewise.
3309 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3310 * string/test-strncmp.c (TEST_NAME): Likewise.
3311 * string/test-strncpy.c (TEST_NAME): Likewise.
3312 * string/test-strnlen.c (TEST_NAME): Likewise.
3313 * string/test-strpbrk.c (TEST_NAME): Likewise.
3314 * string/test-strrchr.c (TEST_NAME): Likewise.
3315 * string/test-strspn.c (TEST_NAME): Likewise.
3316 * string/test-strstr.c (TEST_NAME): Likewise.
3317 * string/test-bcopy-ifunc.c: New file.
3318 * string/test-bzero-ifunc.c: Likewise.
3319 * string/test-memccpy-ifunc.c: Likewise.
3320 * string/test-memchr-ifunc.c: Likewise.
3321 * string/test-memcmp-ifunc.c: Likewise.
3322 * string/test-memcpy-ifunc.c: Likewise.
3323 * string/test-memmem-ifunc.c: Likewise.
3324 * string/test-memmove-ifunc.c: Likewise.
3325 * string/test-mempcpy-ifunc.c: Likewise.
3326 * string/test-memset-ifunc.c: Likewise.
3327 * string/test-rawmemchr-ifunc.c: Likewise.
3328 * string/test-stpcpy-ifunc.c: Likewise.
3329 * string/test-stpncpy-ifunc.c: Likewise.
3330 * string/test-strcasecmp-ifunc.c: Likewise.
3331 * string/test-strcasestr-ifunc.c: Likewise.
3332 * string/test-strcat-ifunc.c: Likewise.
3333 * string/test-strchr-ifunc.c: Likewise.
3334 * string/test-strchrnul-ifunc.c: Likewise.
3335 * string/test-strcmp-ifunc.c: Likewise.
3336 * string/test-strcpy-ifunc.c: Likewise.
3337 * string/test-strcspn-ifunc.c: Likewise.
3338 * string/test-strlen-ifunc.c: Likewise.
3339 * string/test-strncasecmp-ifunc.c: Likewise.
3340 * string/test-strncat-ifunc.c: Likewise.
3341 * string/test-strncmp-ifunc.c: Likewise.
3342 * string/test-strncpy-ifunc.c: Likewise.
3343 * string/test-strnlen-ifunc.c: Likewise.
3344 * string/test-strpbrk-ifunc.c: Likewise.
3345 * string/test-strrchr-ifunc.c: Likewise.
3346 * string/test-strspn-ifunc.c: Likewise.
3347 * string/test-strstr-ifunc.c: Likewise.
3348
de54b33a
L
3349 * debug/Makefile (tests-ifunc): New variable.
3350 (tests): Add $(tests-ifunc).
3351 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3352 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3353 * debug/test-stpcpy_chk-ifunc.c: New file.
3354 * debug/test-strcpy_chk-ifunc.c: Likewise.
3355
88481c16
SP
33562012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3357
3358 [BZ #13601]
3359 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3360 header is not read in.
3361
135948bd
JM
33622012-10-19 Joseph Myers <joseph@codesourcery.com>
3363
89f1c388
JM
3364 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3365 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3366 directly. Pass built executable to script as
3367 $(built-program-cmd).
3368 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3369 $testprogram without using LD_LIBRARY_PATH and $ldso.
3370
e40a0d21
JM
3371 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3372 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3373 $(rtld-installed-name).
3374 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3375 (rtld_installed_name): Likewise.
3376 (library_path): Likewise.
3377 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3378 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3379 $(run-program-prefix) to tst-tables.sh.
3380 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3381 it to run tst-table-from and tst-table-to.
3382 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3383 Pass it to tst-table.sh.
3384 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3385 $(run-program-prefix) to tst-gettext.sh.
3386 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3387 tst-translit.sh.
3388 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3389 tst-gettext2.sh.
3390 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3391 to run tst-gettext.
3392 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3393 to run tst-gettext2.
3394 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3395 to run tst-translit.
3396 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3397 $(run-program-prefix) to tst-mtrace.sh.
3398 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3399 to run tst-mtrace.
3400 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3401 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3402 $(rtld-installed-name).
3403 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3404 (rtld_installed_name): Likewise.
3405 (run_program_prefix): New variable. Use it to run wordexp-test.
3406
728e272a
JM
3407 * Makeconfig (ARCH): Remove all definitions.
3408 (machine): Likewise.
3409 [ARCH]: Remove conditional code.
3410 [!objdir]: Give error.
3411 [!objdir] (objpfx): Remove.
3412 [!objdir] (common-objpfx): Likewise.
3413 [!objdir] (common-objdir): Likewise.
3414 * configure.in (config_makefile): Remove. Hardcode Makefile in
3415 AC_CONFIG_FILES call.
3416 * configure: Regenerated.
3417
d528cdcf
JM
3418 [BZ #13888]
3419 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3420 or TMPDIR.
3421 (testout): Likewise.
3422
135948bd
JM
3423 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3424 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3425 $(rtld-installed-name).
3426 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3427 (rtld_installed_name): Likwise.
3428 (runit): Remove function.
3429 (run_getconf): New variable, Use it for running getconf binary.
3430
38c78296
L
34312012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3432
3433 [BZ #14716]
3434 * string/test-memmem.c (check_result): New function.
3435 (do_one_test): Use it.
3436 (check1): New function.
3437 (test_main): Use it.
3438
d077f65f
MT
34392012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3440
3441 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3442
ced52c71
JM
34432012-10-18 Joseph Myers <joseph@codesourcery.com>
3444
3445 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3446 (_G_LSEEK64): Likewise.
3447 (_G_MMAP64): Likewise.
3448 (_G_FSTAT64): Likewise.
3449 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3450 (_G_LSEEK64): Likewise.
3451 (_G_MMAP64): Likewise.
3452 (_G_FSTAT64): Likewise.
3453 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3454 unconditional. Call __mmap64 directly.
3455 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3456 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3457 __lseek64 directly.
3458 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3459 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3460 __mmap64 directly.
3461 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3462 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3463 __lseek64 directly.
3464 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3465 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3466 __lseek64 directly.
3467 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3468 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3469 __lseek64 directly.
3470 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3471 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3472 __fxstat64 directly.
3473 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3474 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3475 unconditional.
3476 (freopen64) [!_G_OPEN64]: Remove conditional code.
3477 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3478 unconditional.
3479 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3480 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3481 unconditional.
3482 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3483 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3484 unconditional.
3485 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3486 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3487 unconditional.
3488 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3489 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3490 unconditional.
3491 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3492 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3493 unconditional.
3494 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3495 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3496 unconditional.
3497 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3498
b741de23
SP
34992012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3500
3501 [BZ #12140]
3502 * manual/memory.texi (Malloc Tunable Parameters): Add note
3503 about free list pointers overwriting some perturb bytes.
3504 Wording suggested by Roland McGrath.
3505
f9b9d9c9
JM
35062012-10-17 Joseph Myers <joseph@codesourcery.com>
3507
3508 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3509 (lgamma_test): Likewise.
3510 (tgamma_test): Likewise.
3511
172a631a
FW
35122012-10-16 Florian Weimer <fweimer@redhat.com>
3513
3514 [BZ #14700]
3515 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3516 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3517
e9f37252
MK
35182012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3519
3520 * NEWS: Mention BZ #14716.
3521 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3522 when removing AVAILABLE1_USES_J macro.
3523
d394eb74
L
35242012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3525
3526 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3527 (__bswap_64): __uint64_t for unsigned 64-bit int.
3528
ca38dc17
AS
35292012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3530
3531 * include/string.h (memmem): Declare libc hidden alias.
3532 * string/memmem.c (memmem): Define libc hidden alias.
3533 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3534 __read, __close instead of open, read, close.
3535
9a387d1f
L
35362012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3537
ac49ecaf
L
3538 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3539 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3540 global and hidden.
3541 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3542 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3543 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3544 Likewise.
3545 (__rawmemchr_sse2): Likewise.
3546 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3547 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3548 (__strchr_sse2): Likewise.
3549 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3550 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3551 (__strcasecmp_sse2): Likewise.
3552 (__strncasecmp_sse2): Likewise.
3553 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3554 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3555 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3556 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3557 (__strrchr_sse2): Likewise.
3558 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3559 ifunc-impl-list.c.
3560 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3561 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3562 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3563 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3564 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3565 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3566 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3567 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3568 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3569 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3570 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3571 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3572 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3573 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3574 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3575 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3576 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3577 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3578 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3579 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3580 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3581 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3582 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3583 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3584 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3585 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3586 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3587 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3588 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3589 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3590
b090e8ea
L
3591 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3592 global and hidden.
3593 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3594 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3595 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3596 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3597 Likewise.
3598 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3599 Likewise.
3600 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3601 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3602 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3603 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3604 ifunc-impl-list.c.
3605 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3606 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3607 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3608 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3609 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3610 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3611 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3612 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3613 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3614 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3615 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3616 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3617 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3618 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3619 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3620 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3621 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3622 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3623 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3624 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3625 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3626 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3627 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3628 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3629 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3630 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3631 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3632 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3633 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3634 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3635 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3636 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3637 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3638 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3639 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3640 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3641 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3642 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3643 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3644 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3645 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3646
11dd4af6
L
3647 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3648 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3649 * include/ifunc-impl-list.h: New file.
3650 * misc/ifunc-impl-list.c: Likewise.
3651 * misc/Makefile (routines): Add ifunc-impl-list.
3652 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3653 * string/test-string.h: Include <ifunc-impl-list.h>.
3654 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3655 impl_array): New variables.
3656 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3657 are defined.
3658 (test_init): Call __libc_ifunc_impl_list to initialize
3659 func_list if TEST_IFUNC and TEST_NAME are defined.
3660
9a387d1f
L
3661 * string/Makefile (strop-tests): Add bcopy and bzero.
3662 * string/test-bcopy.c: New file.
3663 * string/test-bzero.c: Likewise.
3664 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3665 defined.
3666 * string/test-memset.c: Support bzero test if TEST_BZERO is
3667 defined.
3668 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3669 __libc_memmove.
3670 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3671 __libc_memset.
3672 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3673 of memset.
3674
472371b9
JM
36752012-10-10 Joseph Myers <joseph@codesourcery.com>
3676
1e4a9536
JM
3677 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3678 * configure: Regenerated.
3679
d173d12e
JM
3680 * Makeconfig (+link-static-before-libc): Don't include
3681 $(link-static-libc).
3682
472371b9
JM
3683 * libio/libio.h (_IO_pos_t): Remove.
3684
89a3ad0b
AO
36852012-10-10 Alexandre Oliva <aoliva@redhat.com>
3686
3687 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3688 McGrath.
3689
e7451425
AO
36902012-10-10 Alexandre Oliva <aoliva@redhat.com>
3691
3692 * crypt/crypt-entry.c: Include fips-private.h.
3693 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3694 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3695 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3696 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3697
4ba74a35
AO
36982012-10-10 Alexandre Oliva <aoliva@redhat.com>
3699
3700 * crypt/crypt-private.h: Include stdbool.h.
3701 (_ufc_setup_salt_r): Return bool.
3702 * crypt/crypt-entry.c: Include errno.h.
3703 (__crypt_r): Return NULL with EINVAL for bad salt.
3704 * crypt/crypt_util.c (bad_for_salt): New.
3705 (_ufc_setup_salt_r): Check that salt is long enough and within
3706 the specified alphabet.
3707 * crypt/badsalttest.c: New file.
3708 * crypt/Makefile (tests): Add it.
3709 ($(objpfx)badsalttest): New.
3710
f96f1242
MK
37112012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3712
3713 * NEWS: Add entry for BZ #14602.
3714
0e8e0c1c
JM
37152012-10-09 Joseph Myers <joseph@codesourcery.com>
3716
3717 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3718 type-generic.
3719 * math/libm-test.inc: Update comment listing what functions and
3720 macros are tested.
3721 (isgreater_test): New function.
3722 (isgreaterequal_test): Likewise.
3723 (isless_test): Likewise.
3724 (islessequal_test): Likewise.
3725 (islessgreater_test): Likewise.
3726 (isunordered_test): Likewise.
3727 (main): Call the new functions.
3728
273edc5e
RM
37292012-10-09 Roland McGrath <roland@hack.frob.com>
3730
b8493de0
RM
3731 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3732 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3733 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3734 * sysdeps/i386/configure: Regenerated.
3735 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3736 * sysdeps/mach/configure: Regenerated.
3737 * sysdeps/mach/hurd/configure: Regenerated.
3738 * sysdeps/powerpc/configure: Regenerated.
3739 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3740 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3741 * sysdeps/s390/s390-32/configure: Regenerated.
3742 * sysdeps/s390/s390-64/configure: Regenerated.
3743 * sysdeps/sh/configure: Regenerated.
3744 * sysdeps/sparc/configure: Regenerated.
3745 * sysdeps/unix/sysv/linux/configure: Regenerated.
3746 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3747 * sysdeps/x86_64/configure: Regenerated.
3748
273edc5e
RM
3749 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3750 defined. Don't check if MAP is NULL.
3751
c8450f70
JM
37522012-10-09 Joseph Myers <joseph@codesourcery.com>
3753
3754 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3755 (_G_stat64): Likewise.
3756 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3757 (_G_stat64): Likewise.
3758 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3759 instead of struct _G_stat64.
3760 * libio/fileops.c (mmap_remap_check): Likewise.
3761 (decide_maybe_mmap): Likewise.
3762 (_IO_new_file_seekoff): Likewise.
3763 (_IO_file_stat): Likewise.
3764 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3765 _G_off64_t.
3766 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3767 instead of struct _G_stat64.
3768 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3769
57e605ba
MK
37702012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3771
3772 [BZ #14602]
3773 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3774 Replace with ...
3775 (CHECK_EOL): New macro.
3776 (two_way_short_needle): Check beginning of haystack for EOL. Use
3777 CHECK_EOL.
3778 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3779 Replace with CHECK_EOL.
3780 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3781 Replace with CHECK_EOL.
3782
ef1bb361
JM
37832012-10-08 Joseph Myers <joseph@codesourcery.com>
3784
3785 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3786 type-generic.
3787 * math/libm-test.inc: Update comment listing what functions and
3788 macros are tested.
3789 (finite_test): New function.
3790 (isinf_test): Likewise.
3791 (isnan_test): Likewise.
3792 (fpclassify_test): Test subnormal input.
3793 (isfinite_test): Likewise.
3794 (isnormal_test): Likewise.
3795 (main): Call the new functions.
3796
55f11534
JN
37972012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3798
3799 [BZ #14660]
3800 * Makerules (%.dynsym): Force C locale when running
3801 $(OBJDUMP) --dynamic-syms.
3802
1ab29350
AS
38032012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3804
3805 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3806 <stdint.h>.
3807
f1ecb7ef
DM
38082012-10-06 David S. Miller <davem@davemloft.net>
3809
3810 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3811 upper 32-bits of the length value in %o2 since we use branch-on-register
3812 tests which consider the entire 64-bit register.
3813
5d41d91a
L
38142012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3815
3816 * string/test-strstr.c (check2): Add a test for page boundary.
3817
3baddb72
DM
38182012-10-05 David S. Miller <davem@davemloft.net>
3819
3820 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3821 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3822 file.
3823 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3824 sysdep_routines.
3825 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3826 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3827 and bzero when HWCAP_SPARC_CRYPTO is present.
3828
9cee5585
L
38292012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3830
d7e0dab9
L
3831 [BZ #14602]
3832 * string/test-strstr.c (check2): New function.
3833 (test_main): Call check2.
3834
03759f47
L
3835 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3836 and bug-strchr1.
3837 * string/bug-strcasestr1.c (do_test): Moved to ...
3838 * string/test-strcasestr.c (check1): Here. New function.
3839 (do_one_test): Break out result checking code into ...
3840 (check_result): This. New function.
3841 (do_one_test): Call check_result.
3842 (test_main): Call check1.
3843 * string/bug-strchr1.c (do_test): Moved to ...
3844 * string/test-strchr.c (check1): Here. New function.
3845 (do_one_test): Break out result checking code into ...
3846 (check_result): This. New function.
3847 (do_one_test): Call check_result.
3848 (test_main): Call check1.
3849 * string/bug-strstr1.c (main): Moved to ...
3850 * string/test-strchr.c (check1): Here. New function.
3851 (do_one_test): Break out result checking code into ...
3852 (check_result): This. New function.
3853 (do_one_test): Call check_result.
3854 (test_main): Call check1.
3855 * string/bug-strcasestr1.c: Removed.
3856 * string/bug-strchr1.c: Likewise.
3857 * string/bug-strstr1.c: Likewise.
3858
53cea63e
L
3859 * elf/Makefile (dl-routines): Add hwcaps.
3860 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3861 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3862 (_dl_important_hwcaps): Moved to ...
3863 * elf/dl-hwcaps.c: Here. New file.
3864 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3865
9cee5585 3866 [BZ #14557]
bb859b06
L
3867 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3868 if IS_IN_rtld isn't defined.
3869
9cee5585
L
3870 * elf/dl-support.c (_dl_sysinfo_map): New.
3871 Include "get-dynamic-info.h" and "setup-vdso.h".
3872 (_dl_non_dynamic_init): Call setup_vdso.
3873 * elf/dynamic-link.h: Don't include <assert.h>.
3874 (elf_get_dynamic_info): Moved to ...
3875 * elf/get-dynamic-info.h: Here. New file.
3876 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3877 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3878 * elf/setup-vdso.h: Here. New file.
3879 * elf/rtld.c: Include "setup-vdso.h".
3880 (dl_main): Call setup_vdso.
3881
23c31b76
JM
38822012-10-05 Joseph Myers <joseph@codesourcery.com>
3883
28234b07
JM
3884 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3885 creal in comment listing functions tested. List finite, isinf,
3886 isnan, isless, islessequal, isgreater, isgreaterequal,
3887 islessgreater, isunordered, lgamma_r and pow10 as functions and
3888 macros not tested. Mention which functions not tested are aliases
3889 for other functions. Fix typo. Note that signs of NaNs are not
3890 tested.
3891
23c31b76
JM
3892 * scripts/config.guess: Update from config.git.
3893 * scripts/config.sub: Likewise.
3894
9043e228
RM
38952012-10-04 Roland McGrath <roland@hack.frob.com>
3896
3897 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3898 * misc/madvise.c (madvise): Renamed to __madvise.
3899 Make madvise a weak alias.
3900 * include/sys/mman.h: Declare __madvise.
3901 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3902 * sysdeps/unix/syscalls.list
3903 (madvise): Make __madvise the strong name, and madvise a weak alias.
3904 * sysdeps/unix/sysv/linux/syscalls.list
3905 (madvise, mmap): Remove redundant entries.
3906 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3907 * malloc/malloc.c (mtrim): Likewise.
3908 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3909
f57f8055
RM
39102012-10-03 Roland McGrath <roland@hack.frob.com>
3911
3912 * sysdeps/mach/hurd/dl-cache.c: File removed.
3913 * config.h.in (USE_LDCONFIG): New #undef.
3914 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3915 * configure: Regenerated.
3916 * elf/Makefile (dl-routines): Add dl-cache only under
3917 [$(use-ldconfig) = yes].
3918 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3919 cache on [USE_LDCONFIG].
3920 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3921 [USE_LDCONFIG].
3922 * elf/rtld.c (dl_main): Likewise.
3923
5bb0c10a
PT
39242012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3925
3926 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3927 _SC_LEVEL4_CACHE_LINESIZE.
3928
010188c6
RM
39292012-10-03 Roland McGrath <roland@hack.frob.com>
3930
3931 * sysdeps/unix/bsd/confstr.h: File removed.
3932
b6c5ec07
AO
39332012-10-02 Alexandre Oliva <aoliva@redhat.com>
3934
3935 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3936 sys/sdt-config.h.
3937
408223d4
RM
39382012-10-02 Roland McGrath <roland@hack.frob.com>
3939
3940 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3941 Make 'mapoff' field ElfW(Off) rather than off_t.
3942
bb9510dc
DL
39432012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3944
fc997c6e
DL
3945 * nscd/Makefile: Remove nscd-cflags and all its users.
3946 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3947 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3948
bb9510dc
DL
3949 [BZ #10631]
3950 * malloc.c (malloc_printerr): Clarify error message.
3951
05699367
L
39522012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3953
3954 [BZ #14648]
3955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3956 Set bit_FMA_Usable if FMA is supported.
3957 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3958 macro.
3959 (bit_FMA4_Usable): Updated.
3960 (index_FMA_Usable): New macro.
3961 (CPUID_FMA): Likewise
3962 (HAS_FMA): Defined with bit_FMA_Usable.
3963
51367701
RM
39642012-10-01 Roland McGrath <roland@hack.frob.com>
3965
3966 * bits/types.h (__swblk_t): Type removed.
3967 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3968 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3969 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3970 (__SWBLK_T_TYPE): Likewise.
3971 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3972 (__SWBLK_T_TYPE): Likewise.
3973 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3974 (__SWBLK_T_TYPE): Likewise.
3975 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3976 (__SWBLK_T_TYPE): Likewise.
3977
4d57bf63 39782012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3979 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3980
3981 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3982 (xdr_mapname): Use YPMAXMAP as maxsize.
3983 (xdr_peername): Use YPMAXPEER as maxsize.
3984 (xdr_keydat): Use YPAXRECORD as maxsize.
3985 (xdr_valdat): Use YPMAXRECORD as maxsize.
3986
93c65d43
RM
39872012-10-01 Roland McGrath <roland@hack.frob.com>
3988
497a03d6
RM
3989 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3990
93c65d43
RM
3991 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3992 * csu/init-first.c: ... here.
3993 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3994 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3995 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3996 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3997 * sysdeps/i386/init-first.c: File removed.
3998 * sysdeps/sh/init-first.c: File removed.
3999
bec749fd
JM
40002012-10-01 Joseph Myers <joseph@codesourcery.com>
4001
4002 [BZ #14645]
4003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4004 if x * y might underflow to zero and z is zero.
4005 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4006 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4007 * math/libm-test.inc (min_subnorm_value): New variable.
4008 (fma_test): Add more tests.
4009 (fma_test_towardzero): Likewise.
4010 (fma_test_downward): Likewise
4011 (fma_test_upward): Likewise.
4012 (initialize): Set min_subnorm_value.
4013
8ec5b013
JM
40142012-09-29 Joseph Myers <joseph@codesourcery.com>
4015
4016 [BZ #14638]
4017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4018 0 + 0.
4019 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4020 mode for addition resulting in exact zero.
4021 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4022 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4023 exact 0 + 0.
4024 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4025 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4026 * math/libm-test.inc (fma_test): Add more tests.
4027 (fma_test_towardzero): New function.
4028 (fma_test_downward): Likewise.
4029 (fma_test_upward): Likewise.
4030 (main): Call the new functions.
4031
b1fa802e
DM
40322012-09-28 David S. Miller <davem@davemloft.net>
4033
4034 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4035
d3b9fd9e
RM
40362012-09-28 Roland McGrath <roland@hack.frob.com>
4037
ea4d37b3
RM
4038 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4039 instead of SIGALRM.
4040
ac51c949
RM
4041 * sysdeps/gnu/_G_config.h: Moved to ...
4042 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4043 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4044 * sysdeps/generic/_G_config.h: ... here.
4045
28c195f7
RM
4046 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4047
848917f9
RM
4048 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4049
6bacf05b
RM
4050 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4051 Conditionalize target on [libnss_test1.so-version].
4052
91363dbb
RM
4053 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4054
cc87f7d8
RM
4055 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4056 (elfobjdir): Move out of conditionals.
4057
b1c608fe
RM
4058 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4059 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4060 (__nss_lookup_function): Conditionalize label remove_from_tree on
4061 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 4062
1d9a6d96
DM
40632012-09-28 David S. Miller <davem@davemloft.net>
4064
4065 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4066 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4067 file.
4068 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4069 sysdep_routines.
4070 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4071 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4072 when HWCAP_SPARC_CRYPTO is present.
4073
72581615
PT
40742012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4075
4076 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4077
715a900c
JL
40782012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4079
4080 [BZ #6530]
4081 * stdio-common/vfprintf.c (process_string_arg): Revert
4082 2000-07-22 change.
4083
40842011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4085
4086 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4087 for testcase.
4088 * stdio-common/tst-sprintf.c: Include <locale.h>
4089 (main): Test sprintf's handling of incomplete multibyte
4090 characters.
4091
9bac1d86
L
40922012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4093
4094 * elf/dl-runtime.c (VERSYMIDX): Removed.
4095 * elf/dl-version.c (VERSYMIDX): Likewise.
4096 * elf/do-rel.h (VERSYMIDX): Likewise.
4097 (VALIDX): Likewise.
4098 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4099 * elf/rtld.c (VALIDX): Likewise.
4100 (ADDRIDX): Likewise.
9bac1d86
L
4101 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4102 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4103 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
4104 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4105 (VALIDX): Likewise.
4106 (ADDRIDX): Likewise.
9bac1d86 4107
b31606c0
PT
41082012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4109
4110 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4111
11541177
JL
41122012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4113
4114 [BZ #11438]
4115 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4116 to global scope.
4117 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4118 addresses are in the same scope as 192.0.2/24.
4119 * posix/gai.conf: Document new scope table defaults.
4120
adb26fae
SP
41212012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4122
4123 [BZ #5298]
4124 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4125 for ftell. Compute offsets from write pointers instead.
4126 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4127
4573c6b0
SP
41282012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4129
4130 [BZ #14543]
4131 * libio/Makefile (tests): New test case tst-fseek.
4132 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4133 combination works in wide mode.
4134 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4135 state when the external buffer state changes.
4136
aa9bbfe6
DM
41372012-09-27 David S. Miller <davem@davemloft.net>
4138
4139 [BZ #14376]
4140 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4141 pass reloc->r_addend in as the 'high' argument to
4142 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4143
784421e7
DM
4144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4145
c39bc8b8
PT
41462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4147
4148 * rt/tst-aio2.c: Include <pthread.h>.
4149 * rt/tst-aio3.c: Likewise.
4150
1ccc2399
SE
41512012-09-27 Steve Ellcey <sellcey@mips.com>
4152
4153 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4154
31ed4153
L
41552012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4156
25f5f885
L
4157 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4158 contents on [SHARED].
31ed4153 4159
b7bfe116
MP
41602012-09-26 Marek Polacek <polacek@redhat.com>
4161
4162 [BZ #14530]
4163 [BZ #13741]
4164 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4165 for C++ and GCC <4.3 as well as for non GCC compilers.
4166
43c4edba
MT
41672012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4168
4169 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4170
6a1bf82f
RM
41712012-09-25 Roland McGrath <roland@hack.frob.com>
4172
4173 * Makefile.in (all, install): Declare with .PHONY.
4174 Reported by Michael Hope <michael.hope@linaro.org>.
4175
8ad11b9a
TMQMF
41762012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4177
4178 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4179 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4180 system header.
4181 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4182 Likewise.
4183 (sydep_routines): Add the new and the internal functions.
4184 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4185 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4187 (GLIBC_2.17): Add the new function.
4188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4189 (GLIBC_2.17): Likewise.
4190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4191 (GLIBC_2.17): Likewise.
4192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4193 (GLIBC_2.17): Likewise.
4194 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4195
7e2fca8d
AM
41962012-09-25 Alan Modra <amodra@gmail.com>
4197
4198 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4199 Add release barrier before setting once_control to say
4200 initialisation is done. Add hints on lwarx. Use macro in
4201 place of isync.
4202 (clear_once_control): Add release barrier.
4203
b87c4b24
JM
42042012-09-25 Joseph Myers <joseph@codesourcery.com>
4205
d032e0d2
JM
4206 [BZ #13629]
4207 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4208 specially.
4209 * math/s_clog10.c (__clog10): Likewise.
4210 * math/s_clog10f.c (__clog10f): Likewise.
4211 * math/s_clog10l.c (__clog10l): Likewise.
4212 * math/s_clogf.c (__clogf): Likewise.
4213 * math/s_clogl.c (__clogl): Likewise.
4214 * math/Makefile (libm-calls): Add x2y2m1.
4215 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4216 (__x2y2m1): Likewise.
4217 (__x2y2m1l): Likewise.
4218 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4219 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4220 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4221 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4222 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4223 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4224 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4225 * sysdeps/i386/fpu/libm-test-ulps: Update.
4226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4227
b87c4b24
JM
4228 [BZ #14621]
4229 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4230 int as type of variable DEPTH.
4231 (glob): Use size_t instead of int as type of variables NEWCOUNT
4232 and OLD_PATHC.
4233
6d3bf199
LD
42342012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4235
22bf5c17
LD
4236 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4237 Add s_sincosf-sse2.
4238 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4239 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4240 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4241 macros for using routine as __sincosf_ia32.
4242 Use macro for function declaration and weak_alias.
4243 * sysdeps/i386/fpu/libm-test-ulps: Update.
4244
4245 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4247
4248 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4249 subnormal argument.
4250 * math/s_cexpf.c (__cexpf): Likewise.
4251 * math/s_csinf.c (__csinf): Likewise.
4252 * math/s_csinhf.c (__csinhf): Likewise.
4253 * math/s_ctanf.c (__ctanf): Likewise.
4254 * math/s_ctanhf.c (__ctanhf): Likewise.
4255 * math/s_ccosh.c (__ccoshf): Likewise.
4256 * math/s_cexp.c (__cexpl): Likewise.
4257 * math/s_csin.c (__csin): Likewise.
4258 * math/s_csinh.c (__csinh): Likewise.
4259 * math/s_ctan.c (__ctan): Likewise.
4260 * math/s_ctanh.c (ctanh): Likewise.
4261 * math/s_ccoshl.c (__ccoshl): Likewise.
4262 * math/s_cexpl.c (__cexpl): Likewise.
4263 * math/s_csinl.c (__csinl): Likewise.
4264 * math/s_csinhl.c (__csinhl): Likewise.
4265 * math/s_ctanl.c (__ctanl): Likewise.
4266 * math/s_ctanhl.c (__ctanhl): Likewise.
4267
203e5603
JM
42682012-09-25 Joseph Myers <joseph@codesourcery.com>
4269
4270 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4271 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4272 (_IO_off_t): Define to __off_t, not _G_off_t.
4273 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4274 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4275 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4276 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4277 type of __dummy and __dummy2 fields.
4278 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4279 (_G_ssize_t): Likewise.
4280 (_G_off_t): Likewise.
4281 (_G_pid_t): Likewise.
4282 (_G_uid_t): Likewise.
4283 (_G_wchar_t): Likewise.
4284 (_G_wint_t): Likewise.
4285 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4286 (_G_ssize_t): Likewise.
4287 (_G_off_t): Likewise.
4288 (_G_pid_t): Likewise.
4289 (_G_uid_t): Likewise.
4290 (_G_wchar_t): Likewise.
4291 (_G_wint_t): Likewise.
4292 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4293 (_G_ssize_t): Likewise.
4294 (_G_off_t): Likewise.
4295 (_G_pid_t): Likewise.
4296 (_G_uid_t): Likewise.
4297 (_G_wchar_t): Likewise.
4298 (_G_wint_t): Likewise.
4299
9fab36eb
SP
43002012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4301
4302 * malloc/arena.c: Include malloc-sysdep.h.
4303 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4304 is sufficient to shrink the heap or an unmap is needed.
4305 * sysdeps/generic/malloc-sysdep.h: New file. Define
4306 new function check_may_shrink_heap.
4307 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4308 new function check_may_shrink_heap.
4309
2b4f00d1
SP
43102012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4311
4312 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4313 comments.
4314
9a9028b1
DL
43152012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4316
57c69bef
DL
4317 * catgets/test-gencat.sh: Add "set -e".
4318 * elf/tst-pathopt.sh: Likewise.
4319 * grp/tst_fgetgrent.sh: Likewise.
4320 * iconvdata/run-iconv-test.sh: Likewise.
4321 * intl/tst-gettext.sh: Likewise.
4322 * intl/tst-gettext2.sh: Likewise.
4323 * intl/tst-gettext4.sh: Likewise.
4324 * intl/tst-gettext6.sh: Likewise.
4325 * intl/tst-translit.sh: Likewise.
4326 * io/ftwtest-sh: Likewise.
4327 * libio/test-freopen.sh: Likewise.
4328 * malloc/tst-mtrace.sh: Likewise.
4329 * posix/globtest.sh: Likewise.
4330 * posix/tst-getconf.sh: Likewise.
4331 * posix/wordexp-tst.sh: Likewise.
4332 * stdio-common/tst-printf.sh: Likewise.
4333 * stdio-common/tst-unbputc.sh: Likewise.
4334 * stdlib/tst-fmtmsg.sh: Likewise.
4335 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4336 * catgets/Makefile: Do not specify -e option when running
4337 testsuite shell scripts.
4338 * elf/Makefile: Likewise.
4339 * grp/Makefile: Likewise.
4340 * iconvdata/Makefile: Likewise.
4341 * intl/Makefile: Likewise.
4342 * io/Makefile: Likewise.
4343 * libio/Makefile: Likewise.
4344 * malloc/Makefile: Likewise.
4345 * posix/Makefile: Likewise.
4346 * stdio-common/Makefile: Likewise.
4347 * stdlib/Makefile: Likewise.
4348 * sysdeps/x86_64/Makefile: Likewise.
4349
9a9028b1
DL
4350 * io/ftwtest-sh: Add copyright header.
4351 * posix/globtest.sh: Likewise.
4352 * posix/tst-getconf.sh: Likewise.
4353 * posix/wordexp-tst.sh: Likewise.
4354 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4355
ced6f16e
L
43562012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4357
94b32c39
L
4358 [BZ #13679]
4359 * Makeconfig (+link): Defined as $(+link-static) if
4360 $(build-shared) isn't yes.
4361 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4362 isn't yes.
4363 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4364
189e935b
L
4365 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4366
ced6f16e
L
4367 [BZ #14562]
4368 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4369 new chunk size with MALLOC_ALIGN_MASK.
4370
a9f8e53a
JM
43712012-09-24 Joseph Myers <joseph@codesourcery.com>
4372
4373 [BZ #5044]
4374 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4375 <rounding-mode.h>.
4376 (__printf_fphex): Determine rounding using get_rounding_mode and
4377 round_away.
4378 * stdio-common/tst-printf-round.c (struct hex_test): New
4379 structure.
4380 (hex_tests): New variable.
4381 (test_hex_in_one_mode): New function.
4382 (do_test): Also run tests for hex float output.
4383
43153109
JM
43842012-09-21 Joseph Myers <joseph@codesourcery.com>
4385
4386 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4387 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4388 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4389 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4390 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4391 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4392 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4393 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4394
8a26625d
JM
43952012-09-20 Joseph Myers <joseph@codesourcery.com>
4396
4397 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4398 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4399 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4400 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4401
f3fd569c
DL
44022012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4403
4404 [BZ #14579]
4405 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4406 mode only.
4407 * elf/tst-rtld-load-self.sh: New test.
4408 * elf/Makefile: Run it.
4409
63bbedd4
JM
44102012-09-18 Joseph Myers <joseph@codesourcery.com>
4411
4412 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4413 (tst-writev-ENV): Remove.
4414 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4415
626f8b6a
CM
44162012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4417
4418 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4419
b7aaa4d6
JM
44202012-09-17 Joseph Myers <joseph@codesourcery.com>
4421
4422 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4423 unconditional.
4424 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4425 Likewise.
4426 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4427 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4428 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4429 Likewise.
4430
65513990
L
44312012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4432
4433 [BZ #14587]
4434 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4435 * config.make.in (have-cpp-asm-debuginfo): Removed.
4436 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4437 * configure: Regenerated.
4438
784761be
JM
44392012-09-14 Joseph Myers <joseph@codesourcery.com>
4440
4441 [BZ #5044]
4442 * stdio-common/printf_fp.c: Include <stdbool.h> and
4443 <rounding-mode.h>.
4444 (___printf_fp): Determine rounding using get_rounding_mode and
4445 round_away.
4446 * stdio-common/tst-printf-round.c: New file.
4447 * stdio-common/Makefile (tests): Add tst-printf-round.
4448 (link-libm): New variable.
4449 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4450
9503345f
L
44512012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4452
4453 [BZ #14576]
4454 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4455 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4456 Likewise.
4457 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4458 Likewise.
4459
ad35fc00
JM
44602012-09-13 Joseph Myers <joseph@codesourcery.com>
4461
4462 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4463 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4464 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4465 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4466
6c9b0f68
JM
44672012-09-12 Joseph Myers <joseph@codesourcery.com>
4468
4469 [BZ #14518]
4470 * include/rounding-mode.h: New file.
4471 * sysdeps/generic/get-rounding-mode.h: Likewise.
4472 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4473 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4474 (MAX_VALUE): New macro.
4475 (MIN_VALUE): Likewise.
4476 (overflow_value): New function.
4477 (underflow_value): Likewise.
4478 (round_and_return): Use overflow_value and underflow_value to
4479 determine return values in overflow and underflow cases. Use
4480 round_away to determine rounding depending on rounding mode.
4481 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4482 determine return values in overflow and underflow cases.
4483 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4484 (struct test_results): New structure.
4485 (struct test): Use struct test_results to store expected results
4486 for all rounding modes.
4487 (TEST): Include expected results for all rounding modes.
4488 (test_in_one_mode): New function.
4489 (do_test): Use test_in_one_mode to compute and check results.
4490 Check results for all rounding modes.
4491 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4492 $(link-libm).
4493
19fcedd5
AM
44942012-12-09 Allan McRae <allan@archlinux.org>
4495
1e9d84cd 4496 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 4497
8bbfd2f1
JM
44982012-09-11 Joseph Myers <joseph@codesourcery.com>
4499
4500 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4501 (_G_int32_t): Likewise.
4502 (_G_uint16_t): Likewise.
4503 (_G_uint32_t): Likewise.
4504 (_G_HAVE_BOOL): Likewise.
4505 (_G_HAVE_ATEXIT): Likewise.
4506 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4507 (_G_HAVE_IO_FILE_OPEN): Likewise.
4508 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4509 (_G_int32_t): Likewise.
4510 (_G_uint16_t): Likewise.
4511 (_G_uint32_t): Likewise.
4512 (_G_HAVE_BOOL): Likewise.
4513 (_G_HAVE_ATEXIT): Likewise.
4514 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4515 (_G_HAVE_IO_FILE_OPEN): Likewise.
4516 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4517 (_G_int32_t): Likewise.
4518 (_G_uint16_t): Likewise.
4519 (_G_uint32_t): Likewise.
4520 (_G_HAVE_BOOL): Likewise.
4521 (_G_HAVE_ATEXIT): Likewise.
4522 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4523 (_G_HAVE_IO_FILE_OPEN): Likewise.
4524
b1dc5912
L
45252012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4526
4527 * csu/libc-tls.c: Update copyright years.
4528
0e886ef9
JM
45292012-09-10 Joseph Myers <joseph@codesourcery.com>
4530
28361c5e
JM
4531 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4532 [!_G_USING_THUNKS]: Remove conditional code.
4533 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4534 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4535
0e886ef9
JM
4536 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4537 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4538 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4539 (_G_VTABLE_LABEL_PREFIX): Likewise.
4540 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4541 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4542 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4543 (_G_VTABLE_LABEL_PREFIX): Likewise.
4544 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4545 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4546 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4547 (_G_VTABLE_LABEL_PREFIX): Likewise.
4548 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4549
bcba7aa2
L
45502012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4551
4552 * libio/Makefile: Include ../Makeconfig before tests.
4553 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4554 only if $(build-shared) is yes.
4555
06585ee8
L
4556 * iconv/gconv_db.c: Update copyright years.
4557
80ccd52c
LD
45582012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4559
4560 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4561 unwind info if defined PIC. Fix special cases description.
4562 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4563
4564 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4565 DP_HI_MASK entry.
4566 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4567
691bc9c1
L
45682012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4569
3d9b46b3
L
4570 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4571
de2139a9
L
4572 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4573 is NULL.
4574
5ca78dd0
L
4575 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4576 (LDLIBS-tst-chk4): This.
4577 (LDFLAGS-tst-chk5): Renamed to ...
4578 (LDLIBS-tst-chk5): This.
4579 (LDFLAGS-tst-chk6): Renamed to ...
4580 (LDLIBS-tst-chk6): This.
4581 (LDFLAGS-tst-lfschk4): Renamed to ...
4582 (LDLIBS-tst-lfschk4): This.
4583 (LDFLAGS-tst-lfschk5): Renamed to ...
4584 (LDLIBS-tst-lfschk5): This.
4585 (LDFLAGS-tst-lfschk6): Renamed to ...
4586 (LDLIBS-tst-lfschk6): This.
4587
691bc9c1
L
4588 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4589 on $(common-objpfx)soversions.mk.
4590
65cafb1c
JM
45912012-09-07 Joseph Myers <joseph@codesourcery.com>
4592
4593 [BZ #10014]
4594 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4595 example host name.
4596
c78ab094
SP
45972012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4598
4599 * malloc/arena.c (arena_get_retry): New function that gets
4600 another arena for the caller to try its request on.
4601 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4602 current arena cannot fulfill the request.
4603 (__libc_memalign): Likewise.
4604 (__libc_memalign): Likewise.
4605 (__libc_pvalloc): Likewise.
4606 (__libc_calloc): Likewise.
4607
01f49f59
JT
46082012-09-05 John Tobey <john.tobey@gmail.com>
4609
4610 [BZ #13542]
4611 * manual/arith.texi (Operations on Complex): Fix description
4612 of carg branch cut.
4613
4c23fed5
JM
46142012-09-06 Joseph Myers <joseph@codesourcery.com>
4615
1d3c8572
JM
4616 [BZ #10014]
4617 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4618 host name.
4619
4c23fed5
JM
4620 [BZ #10038]
4621 * manual/memory.texi (Memory): Make order of menu items match
4622 order of sections.
4623
04570aaa
L
46242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4625
4626 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4627 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4628 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4629
b80af2f4
L
46302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4631
4632 * csu/libc-tls.c (static_dtv): Renamed to ...
4633 (_dl_static_dtv): This. Make it global.
4634 (_dl_initial_dtv): Removed.
4635 (__libc_setup_tls): Updated.
4636 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4637 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4638 DL_INITIAL_DTV.
4639
2abe9f15
PM
46402012-09-06 Petr Machata <pmachata@redhat.com>
4641
4642 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4643 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4644 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4645 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4646
0948c3af
L
46472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4648
4649 [BZ #14545]
4650 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4651 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4652 freeing dtv[-1].
4653
a5055ad1
L
46542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4655
4656 [BZ #14544]
4657 * Makeconfig (link-static-before-libc): Replace $(+prector)
4658 with $(+prectorT).
4659 (link-static-after-libc): Replace $(+postctor) with
4660 $(+postctorT).
4661 (link-bounded): Replace $(+prector)/$(+postctor) with
4662 $(+prectorT)/$(+postctorT).
4663 (+prectorT): New macro.
4664 (+postctorT): Likewise.
4665
ed8c2ecd
JM
46662012-09-06 Joseph Myers <joseph@codesourcery.com>
4667
4668 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4669 (round_str): Handle values above the maximum for IBM long double
4670 as inexact.
4671 * stdlib/tst-strtod-round.c (tests): Regenerated.
4672
14c996c8
AK
46732012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4674
4675 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4676 assembler flag.
4677 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4678 zarch_nohighgprs around the zarch optimized routines.
4679 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4680 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4681 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4682 for zarch.
4683
430d6ce6
DM
46842012-09-05 David S. Miller <davem@davemloft.net>
4685
4686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4687
ff04dda4
DM
4688 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4689 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4690 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4691 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4692 entries.
4693
24d4e01b
AO
46942012-09-05 Alexandre Oliva <aoliva@redhat.com>
4695
4696 * malloc/arena.c: Fold copyright years.
4697 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4698
61d58174
AO
46992012-09-05 Alexandre Oliva <aoliva@redhat.com>
4700
4701 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4702
20196a5e
AO
47032012-09-05 Alexandre Oliva <aoliva@redhat.com>
4704
4705 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4706
5c447383
AO
47072012-09-05 Alexandre Oliva <aoliva@redhat.com>
4708
4709 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4710 change internal state upon failure.
4711
fad64255
AO
47122012-09-05 Alexandre Oliva <aoliva@redhat.com>
4713
4714 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4715 * malloc/memusage.c (mmap): Likewise.
4716 (mmap64, mremap): Likewise. Adjust name in comment.
4717
1ffb8c90
SP
47182012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4719
4720 * libio/fileops.c: Fix typos in comments.
4721 * libio/oldfileops.c: Likewise.
4722 * libio/wfileops.c: Likewise.
4723
6ef9cc37
SP
47242012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4725
4726 [BZ #1349]
4727 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4728 (tst-malloc-usable-ENV): Set environment for test case.
4729 * malloc/hooks.c (malloc_check_get_size): New function to get
4730 requested size.
4731 * malloc/malloc.c (musable): Use malloc_check_get_size.
4732 * malloc/tst-malloc-usable.c: New test case.
4733
4d038ae3
AS
47342012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4735
4736 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4737
c4e85184
AM
47382012-09-05 Allan McRae <allan@archlinux.org>
4739
b9dafc56 4740 [BZ #13966]
c4e85184
AM
4741 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4742 determine header location.
4743 * configure: Regenerated.
4744
e1343020
AS
47452012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4746
4747 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4748 float format.
4749 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4750 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4751 format.
e1343020
AS
4752 (test): Regenerate.
4753
0a9f1987
DM
47542012-09-04 David S. Miller <davem@davemloft.net>
4755
4756 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4757 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4758 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4759
29237804
FW
47602012-09-04 Florian Weimer <fweimer@redhat.com>
4761
4762 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4763 failures.
4764
edb3cb88
FW
4765 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4766
60160d83
JM
47672012-09-04 Joseph Myers <joseph@codesourcery.com>
4768
4769 [BZ #9914]
4770 * libio/iogetdelim.c: Include <limits.h>.
4771 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4772 + len + 1 would overflow.
4773
bcd6c8dc
AJ
47742012-09-03 Andreas Jaeger <aj@suse.de>
4775
4776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4777 * sysdeps/i386/fpu/libm-test-ulps: Update.
4778
4ffffbd2
LD
47792012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4780
4781 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4782 Add s_sinf-sse2, s_conf-sse2.
4783
4784 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4785 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4786 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4787 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4788
4789 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4790 for using routine as __sinf_ia32.
4791 Use macro for function declaration and weak_alias.
4792 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4793 for using routine as __cosf_ia32.
4794 Use macro for function declaration and weak_alias.
4795
4796 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4797 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4798
4799 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4800 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4801 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4802
4803 * math/libm-test.inc (cos_test): Add more test cases.
4804 (sin_test): Likewise.
4805 (sincos_test): Likewise.
4806
511fa286
AK
48072012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4808
4809 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4810 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4811 hidden.
4812 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4813
5f30cfec
L
48142012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4815
4816 [BZ #14538]
4817 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4818 first element of the GOT.
4819 (elf_machine_load_address): Return the difference between
4820 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4821
0786794f
AM
48222012-09-01 Allan McRae <allan@archlinux.org>
4823
5f30cfec
L
4824 [BZ #13412]
4825 * configure.in (AWK): Require gawk version 3.0 or later.
4826 * configure: Regenerated.
0786794f 4827
26889eac
JM
48282012-09-01 Joseph Myers <joseph@codesourcery.com>
4829
4830 * sysdeps/unix/sysv/linux/kernel-features.h
4831 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4832 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4833 [__NR_clock_getres]: Make code unconditional.
4834 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4835 (clock_getcpuclockid): Remove code left unreachable by removal of
4836 conditionals.
4837 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4838 code unconditional.
4839 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4840 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4841 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4842 Make code unconditional.
4843 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4844 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4845 * sysdeps/unix/sysv/linux/clock_settime.c
4846 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4847 conditional code.
4848 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4849 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4850
d22e28b0
L
48512012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4852
4853 [BZ #14476]
4854 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4855 scripts/test-installation.pl.
4856
4857 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4858 and $ld_so_version if it is set.
4859
050af9c4
SP
48602012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4861
4862 [BZ #14516]
4863 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4864 failure if reading from procfs failed.
4865 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4866
ad845c0b
JM
48672012-08-27 Joseph Myers <joseph@codesourcery.com>
4868
4869 * sysdeps/unix/sysv/linux/kernel-features.h
4870 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4871 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4872 Remove conditional code.
4873 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4874 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4875 Remove conditional code.
4876 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4877 * sysdeps/unix/sysv/linux/i386/fxstat.c
4878 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4879 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4880 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4881 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4882 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4883 * sysdeps/unix/sysv/linux/i386/lxstat.c
4884 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4885 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4886 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4887 Remove conditional code.
4888 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4889 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4890 Remove conditional code.
4891 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4892 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4893 <kernel-features.h>.
4894 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4895 Remove.
4896 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4897 Remove conditional code.
4898 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4899 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4900 Remove conditional.
4901
5dbf56af
MF
49022012-08-27 Mike Frysinger <vapier@gentoo.org>
4903
4904 [BZ #5400]
4905 * NEWS: Add fixed bug number.
4906
d6e70f43
JM
49072012-08-27 Joseph Myers <joseph@codesourcery.com>
4908
7efb4737
JM
4909 [BZ #14519]
4910 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4911 underflowing exponent in case of negative sign.
4912 * stdlib/tst-strtod-round-data: Add more tests.
4913 * stdlib/tst-strtod-round.c (tests): Regenerated.
4914
af92131a
JM
4915 [BZ #3479]
4916 * stdlib/strtod_l.c (NDIG): Remove.
4917 (HEXNDIG): Likewise.
4918 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4919 smallest representable value.
4920 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4921 lie within an exact representation of 1/2 ulp of the result.
4922 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4923 unconditionally.
4924 (TENS_P9_IDX): Define unconditionally.
4925 (TENS_P9_SIZE): Likewise.
4926 (TENS_P10_IDX): Likewise.
4927 (TENS_P10_SIZE): Likewise.
4928 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4929 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4930 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4931 entries for 10^2^13 and 10^2^14.
4932 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4933 (TENS_P13_IDX): Define.
4934 (TENS_P13_SIZE): Likewise.
4935 (TENS_P14_IDX): Likewise.
4936 (TENS_P14_SIZE): Likewise.
4937 (_fpioconst_pow10): Change array size to
4938 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4939 unconditional.
4940 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4941 1024]: Add entries for 10^2^13 and 10^2^14.
4942 [LAST_POW10 > _LAST_POW10]: Remove #error.
4943 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4944 (_fpioconst_pow10): Change array size to
4945 FPIOCONST_POW10_ARRAY_SIZE.
4946 * stdlib/gen-fpioconst.c: New file.
4947 * stdlib/gen-tst-strtod-round.c: Likewise.
4948 * stdlib/tst-strtod-round-data: Likewise.
4949 * stdlib/tst-strtod-round.c: Likewise.
4950 * stdlib/Makefile (tests): Add tst-strtod-round.
4951
d6e70f43
JM
4952 [BZ #14459]
4953 * stdlib/strtod_l.c: Include <stdint.h>.
4954 (NDEBUG): Do not define.
4955 (round_and_return): Change EXPONENT parameter to type intmax_t.
4956 Rearrange calculations to avoid internal overflow possibilities.
4957 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4958 Rearrange calculations to avoid internal overflow possibilities.
4959 Assert that number fits inside MPNSIZE limbs.
4960 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4961 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4962 calculations and add assertions to avoid internal overflow
4963 possibilities. Add casts to avoid signed/unsigned operations.
4964 * stdlib/tst-strtod-overflow.c: New file.
4965 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4966
1f529f7d
MP
49672012-08-25 Marek Polacek <polacek@redhat.com>
4968
4969 * time/time.h: Fix some typos in comments.
4970
59a629f1
RM
49712012-08-23 Roland McGrath <roland@hack.frob.com>
4972
4973 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4974 * posix/tst-rfc3484-2.c: Likewise.
4975 * posix/tst-rfc3484-3.c: Likewise.
4976
d3bafbc9
SM
49772012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4978
4979 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4980 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4981
4efcc022
JM
49822012-08-23 Joseph Myers <joseph@codesourcery.com>
4983
4984 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4985 #include of fxstatat64.c.
4986
3cc3ef96
RM
49872012-08-22 Roland McGrath <roland@hack.frob.com>
4988
f04e2132
RM
4989 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4990 * shadow/getspent_r.c: Likewise.
4991 * shadow/getspnam.c: Likewise.
4992 * shadow/getspnam_r.c: Likewise.
4993 * gshadow/getsgent.c: Likewise.
4994 * gshadow/getsgent_r.c: Likewise.
4995 * gshadow/getsgnam.c: Likewise.
4996 * gshadow/getsgnam_r.c: Likewise.
4997 * inet/getnetbyad.c: Likewise.
4998 * inet/getnetbyad_r.c: Likewise.
4999 * inet/getnetbynm.c: Likewise.
5000 * inet/getnetbynm_r.c: Likewise.
5001 * inet/getnetent.c: Likewise.
5002 * inet/getnetent_r.c: Likewise.
5003 * inet/getproto.c: Likewise.
5004 * inet/getproto_r.c: Likewise.
5005 * inet/getprtent.c: Likewise.
5006 * inet/getprtent_r.c: Likewise.
5007 * inet/getprtname.c: Likewise.
5008 * inet/getprtname_r.c: Likewise.
5009 * inet/getrpcbyname.c: Likewise.
5010 * inet/getrpcbyname_r.c: Likewise.
5011 * inet/getrpcbynumber.c: Likewise.
5012 * inet/getrpcbynumber_r.c: Likewise.
5013 * inet/getrpcent.c: Likewise.
5014 * inet/getrpcent_r.c: Likewise.
5015 * inet/getaliasent.c: Likewise.
5016 * inet/getaliasent_r.c: Likewise.
5017 * inet/getaliasname.c: Likewise.
5018 * inet/getaliasname_r.c: Likewise.
5019 * nscd/getgrgid_r.c: Likewise.
5020 * nscd/getgrnam_r.c: Likewise.
5021 * nscd/gethstbyad_r.c: Likewise.
5022 * nscd/gethstbynm3_r.c: Likewise.
5023 * nscd/getpwnam_r.c: Likewise.
5024 * nscd/getpwuid_r.c: Likewise.
5025 * nscd/getsrvbynm_r.c: Likewise.
5026 * nscd/getsrvbypt_r.c: Likewise.
5027 * nscd/gai.c: Likewise.
5028
c53d909c
RM
5029 * configure.in (build_nscd): New substituted variable, set
5030 by --disable-build-nscd and defaults to $use_nscd.
5031 * configure: Regenerated.
5032 * config.make.in (build-nscd): New substituted variable.
5033 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5034 Change conditional to require [$(build-nscd) = yes] as well.
5035 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5036
3cc3ef96
RM
5037 [BZ# 13696]
5038 * configure.in (use_nscd): New substituted variable, set by
5039 --disable-nscd. If enabled, define USE_NSCD.
5040 * configure: Regenerated.
5041 * config.h.in: Add USE_NSCD.
5042 * config.make.in (use-nscd): New substituted variable.
5043 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5044 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5045 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5046 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5047 (CFLAGS-getgrnam_r.c): Likewise.
5048 (CFLAGS-initgroups.c): Likewise.
5049 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5050 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5051 Variables removed.
5052 * inet/getnetgrent_r.c
5053 (nscd_setnetgrent): New function, broken out of ...
5054 (setnetgrent): ... here. Call it.
5055 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5056 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5057 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5058 * nscd/Makefile (routines, aux): Move definitions after include of
5059 Makeconfig. Conditionalize on [$(use-nscd) != no].
5060 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5061 Conditionalize on [USE_NSCD].
5062 (is_nscd, nscd_init_cb): Likewise.
5063 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5064 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5065 * nss/nss_db/db-init.c: Likewise.
5066 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5067 [USE_NSCD].
5068 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5069 (make_request): Use it.
5070 (cache_valid_p): New function.
5071 (__check_pf): Use it.
5072 * NEWS: Add item for --disable-nscd.
5073
07e51550
DL
50742012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5075
5076 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5077 to support sed >= 4.2.1-20-ga9bf076.
5078 * configure: Regenerated.
5079
35a5b08b
RM
50802012-08-22 Roland McGrath <roland@hack.frob.com>
5081
5082 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5083 Conditionalize whole body on [IREL].
5084
8479f23a
JL
50852012-08-22 Jeff Law <law@redhat.com>
5086
5087 [BZ #14505]
5088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5089 if the family is PF_UNSPEC.
5090
48da0b21
MF
50912012-08-22 Mike Frysinger <vapier@gentoo.org>
5092
5093 * Makerules (lib-version): Rename from V.
5094 (install-lib-nosubdir): Change V to lib-version.
5095
15d0da8c
WS
50962012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5097
5098 [BZ #14252]
5099 * powerpc32/power6/wcschr.c: New file.
5100 * powerpc32/power6/wcscpy.c: New file.
5101 * powerpc32/power6/wcsrchr.c: New file.
5102 * powerpc64/power6/wcschr.c: New file.
5103 * powerpc64/power6/wcscpy.c: New file.
5104 * powerpc64/power6/wcsrchr.c: New file.
5105
bcca0895
MK
51062012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5107
5108 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5109 (two_way_short_needle): Use it.
5a4aaa33
RM
5110 * string/strstr.c (AVAILABLE1_USES_J): Define.
5111 * string/strcasestr.c: Likewise.
99677e57
MK
5112
5113 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5114 array references.
5115 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5116
400726de
MK
5117 [BZ #11607]
5118 * NEWS: Add an entry.
5119 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5120 define their defaults.
5121 (two_way_short_needle): Detect end-of-string on-the-fly.
5122 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5123 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5124 * string/bug-strcasestr1.c: New test.
5125 * string/Makefile: Run it.
5126
20a71f2c
MK
51272012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5128
5129 [BZ #11607]
5130 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5131 the first character.
5132
21ad0558
RM
51332012-08-21 Roland McGrath <roland@hack.frob.com>
5134
5135 * csu/elf-init.c (__libc_csu_irel): Function removed.
5136 * csu/libc-start.c (apply_irel): New function.
5137 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5138
0e1d9911
JM
51392012-08-21 Joseph Myers <joseph@codesourcery.com>
5140
5141 * sysdeps/unix/sysv/linux/kernel-features.h
5142 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5143 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5144 <kernel-features.h>.
5145 [__NR_fadvise64_64]: Make code unconditional.
5146 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5147 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5148 !__NR_fadvise64_64)]: Likewise.
5149 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5150 !__NR_fadvise64_64))]: Likewise.
5151 [__NR_fadvise64]: Make code unconditional.
5152 [!__NR_fadvise64]: Remove conditional code.
5153 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5154 <kernel-features.h>.
5155 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5156 unconditional.
5157 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5158 conditional code.
5159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5160 not include <kernel-features.h>.
5161 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5162 unconditional.
5163 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5164 conditional code.
5165 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5166 include <kernel-features.h>.
5167 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5168 unconditional.
5169 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5170 conditional code.
5171
14a50c9d
WS
51722012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5173
5174 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5175 slight instruction rearrangements per scrollpipe analysis.
5176 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5177
c0f4faf0
RM
51782012-08-20 Roland McGrath <roland@hack.frob.com>
5179
696da859
RM
5180 * manual/syslog.texi (syslog; vsyslog, closelog):
5181 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5182 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5183
c0f4faf0
RM
5184 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5185 DSOCAPS to match condition on defining it.
5186
348363b2
JM
51872012-08-20 Joseph Myers <joseph@codesourcery.com>
5188
a35cbf28
JM
5189 * sysdeps/unix/sysv/linux/kernel-features.h
5190 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5192 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5193 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5195 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5196 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5198 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5199 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5200
445f7ecd
JM
5201 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5202 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5203
348363b2
JM
5204 * sysdeps/unix/sysv/linux/kernel-features.h
5205 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5206 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5207 unconditional.
5208 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5209 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5210 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5211 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5212 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5213 Make code unconditional.
5214 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5215 (__mmap64) [!__NR_mmap2]: Likewise.
5216 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5217 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5218 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5219 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5220 [__NR_mmap2]: Make code unconditional.
5221 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5222 (__mmap64) [!__NR_mmap2]: Likewise.
5223
bc5bc0e5
AK
52242012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5225
5226 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5227
88d506de
AJ
52282012-08-18 Andreas Jaeger <aj@suse.de>
5229
5230 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5231
493387d2
MF
52322012-08-18 Mike Frysinger <vapier@gentoo.org>
5233
5234 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5235 * include/unistd.h (__have_sock_cloexec): Likewise.
5236 (__have_pipe2): Likewise.
5237 (__have_dup3): Likewise.
5238
a277af22
MF
52392012-08-18 Mike Frysinger <vapier@gentoo.org>
5240
5241 [BZ #9685]
5242 * include/unistd.h (__have_pipe2): Change define into an extern int.
5243 (__have_dup3): Likewise.
5244 * socket/have_sock_cloexec.c: Include fcntl.h.
5245 (__have_pipe2): New variable.
5246 (__have_dup3): Likewise.
5247
fdab8fd3
MF
52482012-08-17 Mike Frysinger <vapier@gentoo.org>
5249
5250 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5251
31035e80
MP
52522012-08-17 Marek Polacek <polacek@redhat.com>
5253
5254 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5255 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5256
3bd9e993
RM
52572012-08-17 Roland McGrath <roland@hack.frob.com>
5258
c91c505f
RM
5259 * configure.in: Add AC_SUBST for sysheaders.
5260 * configure: Regenerated.
5261 * config.make.in (sysheaders): New substituted variable.
5262
7c6f9d53
RM
5263 * sysdeps/unix/mkfifo.c: Moved ...
5264 * sysdeps/posix/mkfifo.c: ... here.
5265 * sysdeps/unix/mkfifoat.c: Moved ...
5266 * sysdeps/posix/mkfifoat.c: ... here.
5267
5268 * sysdeps/unix/utime.c: Moved ...
5269 * sysdeps/posix/utime.c: ... here.
5270
5271 * sysdeps/unix/time.c: Moved ...
5272 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
5273 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5274 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
5275
5276 * sysdeps/unix/nice.c: Moved ...
5277 * sysdeps/posix/nice.c: ... here.
5278
5279 * sysdeps/unix/alarm.c: Moved ...
5280 * sysdeps/posix/alarm.c: ... here.
5281
3bd9e993
RM
5282 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5283
d1f09384
JL
52842012-08-17 Jeff Law <law@redhat.com>
5285
5286 * intl/Makefile (codeset_mo): New variable.
5287 ($(codeset_mo)): New target.
5288 (tst-codeset.out): Depend on that. Remove explicit rule.
5289 (tst-gettext3.out, tst-gettext5.out): Likewise.
5290 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5291 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5292 * intl/tst-codeset.sh: Remove.
5293 * intl/tst-gettext3.sh: Likewise.
5294 * intl/tst-gettext5.sh: Likewise.
5295
2ae1ae5c
RM
52962012-08-17 Roland McGrath <roland@hack.frob.com>
5297
c31fdb83
RM
5298 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5299 * sysdeps/unix/syscalls.list: ... here.
5300
a0844057
RM
5301 * sysdeps/posix/getaddrinfo.c
5302 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5303 (gaiconf_init, gaiconf_reload): Use them.
5304 [!_STATBUF_ST_NSEC]
5305 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5306 Define using time_t rather than struct timespec.
5307
750c1f2a
RM
5308 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5309 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5310 Macros removed.
5311 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5312 [!NO_THREADS].
5313 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5314 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5315 Likewise.
5316
2ae1ae5c
RM
5317 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5318 __libc_cleanup_push argument.
5319
e66a42f5
RM
5320 * bits/param.h: New file.
5321 * misc/sys/param.h: New file.
5322 * include/sys/param.h: New file.
5323 * misc/Makefile (headers): Add bits/param.h.
5324 * sysdeps/generic/sys/param.h: File removed.
5325 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5326 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5327 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 5328 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 5329
b7c08a66
RM
5330 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5331 last change.
5332
b2e1c562
RM
5333 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5334 [_IO_MTSAFE_IO].
5335 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5336 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5337 New macros.
5338
c75ccd4c
RM
5339 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5340 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5341 rather than -D_IO_MTSAFE_IO conditionally.
5342 * stdio-common/Makefile (CPPFLAGS): Likewise.
5343 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5344 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5345 Use $(libio-mtsafe).
5346 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5347 of -D_IO_MTSAFE_IO.
5348 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5349 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5350 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5351 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5352 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5353 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5354 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5355 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5356 (CFLAGS-fread_u_chk.c): Likewise.
5357 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5358 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5359 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5360 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5361 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5362 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5363 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5364 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5365 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5366
5367 * libio/Makefile: Test [$(libc-reentrant) = yes]
5368 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5369
5370 * Makeconfig
5371 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5372 * sysdeps/pthread/configure: File removed.
5373 * sysdeps/pthread/Makeconfig: New file.
5374 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5375 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5376
d9195db8
GB
53772012-08-16 Gary Benson <gbenson@redhat.com>
5378
5379 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5380 unmapping the first object in a namespace.
5381
86466cd9
RM
53822012-08-16 Roland McGrath <roland@hack.frob.com>
5383
5384 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5385 (__internal_setnetgrent): ... this. Add internal_function to
5386 definition. Add libc_hidden_def.
5387 (setnetgrent): Update caller.
5388 (internal_endnetgrent): Renamed to ...
5389 (__internal_endnetgrent): ... this. Add internal_function to
5390 definition. Add libc_hidden_def.
5391 (endnetgrent): Update caller.
5392 (internal_getnetgrent_r): Renamed to ...
5393 (__internal_getnetgrent_r): ... this. Add internal_function to
5394 definition. Add libc_hidden_def.
5395 (__getnetgrent_r): Update caller.
5396 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5397
c3c8283c
JM
53982012-08-16 Joseph Myers <joseph@codesourcery.com>
5399
5400 * stdlib/longlong.h: Update from GCC.
5401
db1ee0a8
RM
54022012-08-16 Roland McGrath <roland@hack.frob.com>
5403
5404 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5405 on _QL, which is set by umul_ppmm but never used.
5406 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5407 variables, which are set by GMP macros but never used.
5408 * stdio-common/_itowa.c (_itowa): Likewise.
5409 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5410 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5411
30f69637
CD
54122012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5413
5414 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5415 struct La_sh_regs is not constant.
5416 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5417 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5418 and struct La_sparc64_regs are not constant.
5419
93a78ac4
JM
54202012-08-16 Joseph Myers <joseph@codesourcery.com>
5421
5422 * sysdeps/unix/sysv/linux/kernel-features.h
5423 (__ASSUME_POSIX_TIMERS): Remove.
5424 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5425 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5426 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5427 Make code unconditional.
5428 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5429 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5430 Make code unconditional.
5431 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5432 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5433 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5434 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5435 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5436 Make code unconditional.
5437 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5438 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5439 (__libc_missing_posix_timers): Remove.
5440
dd924cd7
RM
54412012-08-15 Roland McGrath <roland@hack.frob.com>
5442
4b4f2771
RM
5443 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5444 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5445
601c888b
RM
5446 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5447
176790a7
RM
5448 * elf/dl-sym.c: Include <stdlib.h>.
5449
329bc018
RM
5450 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5451 constants, which avoids warnings in 32-bit builds.
5452
e04e272d
RM
5453 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5454 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5455
952bf94a
RM
5456 * misc/lseek.c: File moved to ...
5457 * io/lseek.c: ... here.
5458
7c99b50a
RM
5459 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5460
dd924cd7
RM
5461 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5462 shifting LEN more than 31 bits at once.
5463
b3f479a8
LD
54642012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5465
5466 [BZ #14195]
8c4ae0d4
RM
5467 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5468 segmentation fault for a case of two empty input strings.
b3f479a8
LD
5469 * string/test-strncasecmp.c (check1): Renamed to...
5470 (bz12205): ...this.
5471 (bz14195): Add new testcase for two empty input strings and N > 0.
5472 (test_main): Call new testcase, adapt for renamed function.
5473
9c55864e
AJ
54742012-08-15 Andreas Jaeger <aj@suse.de>
5475
5476 [BZ #14090]
5477 * crypt/md5test2.c: New test, based on test supplied by Serge
5478 Belyshev <belyshev@depni.sinp.msu.ru>.
5479 * crypt/Makefile (xtests): Add md5test-giant..
5480 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5481
02dcb6c5
PE
54822012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5483
5484 [BZ #14090]
5485 * crypt/md5.c (md5_process_block): Don't assume the buffer
5486 length is less than 2**32.
5487 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5488 length is less than 2**64.
5489
a3f95dcc
RM
54902012-08-15 Roland McGrath <roland@hack.frob.com>
5491
be75d758
RM
5492 * string/str-two-way.h: Include <sys/param.h>.
5493 (MAX): Macro removed.
5494
7312ca90
RM
5495 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5496 Move #define and #undef of memmove to just before and after
5497 including <string.h>.
5498
9a0a5486
RM
5499 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5500 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5501 and after including <string.h>. Move declarations of
5502 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5503 to before #include "string/memmove.c".
5504
67cc348d
RM
5505 * include/dirent.h: Declare __getdirentries.
5506
a3f95dcc
RM
5507 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5508 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5509
ca98e171
MF
55102012-08-14 Mike Frysinger <vapier@gentoo.org>
5511
5512 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5513 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5514 * sysdeps/i386/configure: Regenerated.
5515 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5516 STABS_CURRENT_FILE, and STABS_FUN.
5517 (END): Remove call to STABS_FUN_END.
5518 (STABS_CURRENT_FILE1): Delete.
5519 (STABS_CURRENT_FILE): Likewise.
5520 (STABS_FUN): Likewise.
5521 (STABS_FUN_END): Likewise.
5522 (STABS_FUN2): Likewise.
5523 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5524 * sysdeps/x86_64/configure: Regenerated.
5525
5908bf46
RM
55262012-08-14 Roland McGrath <roland@hack.frob.com>
5527
5528 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 5529 * elf/dl-lookup.c: Likewise.
5908bf46 5530
f2c05b9e
JM
55312012-08-14 Joseph Myers <joseph@codesourcery.com>
5532
5533 * sysdeps/unix/sysv/linux/kernel-features.h
5534 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5535 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5536 unconditionally.
5537 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5538 unconditionally.
5539 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5540 condition on __ASSUME_CLONE_THREAD_FLAGS.
5541
e11f5155
AJ
55422012-08-14 Andreas Jaeger <aj@suse.de>
5543
5544 * sysdeps/i386/fpu/libm-test-ulps: Update.
5545
51a9ba86
MK
55462012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5547
2fdd4f78
AJ
5548 * include/atomic.h (atomic_exchange_and_add): Split into ...
5549 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5550 New atomic macros.
51a9ba86 5551
ba6cba9e
MT
55522012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5553
5554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5555
42443a47
JL
55562012-08-13 Jeff Law <law@redhat.com>
5557
5558 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5559 null byte in the output string.
5560
121dce05
JM
55612012-08-10 Joseph Myers <joseph@codesourcery.com>
5562
5563 * sysdeps/unix/sysv/linux/kernel-features.h
5564 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5565 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5566 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5567 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5568 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5569 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5570 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5571
bf51f568
JL
55722012-08-09 Jeff Law <law@redhat.com>
5573
5574 [BZ #13939]
5575 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5576 When avoid_arena is set, don't retry in the that arena. Pick the
5577 next one, whatever it might be.
5578 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5579 (arena_lock): Pass in new parameter to arena_get2.
5580 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5581 arena_get2.
5582 (__libc_malloc): Unify retrying after main arena failure with
5583 __libc_memalign version.
5584 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5585
f85fa270
L
55862012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5587
5588 [BZ #14166]
5589 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5590 to __redirect_strstr.
5591 (__strstr_sse42): Use typeof __redirect_strstr.
5592 (__strstr_ia32): Likewise.
5593 (__libc_strstr): New prototype.
5594 (strstr): Renamed to ...
5595 (__libc_strstr): This.
5596 (strstr): New strong alias of __libc_strstr.
5597 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5598 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5599 __redirect_time.
5600 Include <time.h>.
5601 (__libc_time): New prototype.
5602 (time_ifunc): Replace time with __libc_time.
5603 (time): New strong alias and hidden definition of __libc_time.
5604 (__GI_time): Remove strong alias.
5605 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5606 Include <stddef.h>.
5607 (memmove): Redefined to __redirect_memmove.
5608 (__memmove_sse2): Use typeof __redirect_memmove.
5609 (__memmove_ssse3): Likewise.
5610 (__memmove_ssse3_back): Likewise.
5611 (__libc_memmove): New prototype.
5612 (memmove): Renamed to ...
5613 (__libc_memmove): This.
5614 (memmove): New strong alias of __libc_memmove.
5615
33b4a91e
MS
56162012-08-08 Mark Salter <msalter@redhat.com>
5617
5618 * elf/elf.h
5619 (R_MN10300_TLS_GD): Define.
5620 (R_MN10300_TLS_LD): Likewise.
5621 (R_MN10300_TLS_LDO): Likewise.
5622 (R_MN10300_TLS_GOTIE): Likewise.
5623 (R_MN10300_TLS_IE): Likewise.
5624 (R_MN10300_TLS_LE): Likewise.
5625 (R_MN10300_TLS_DTPMOD): Likewise.
5626 (R_MN10300_TLS_DTPOFF): Likewise.
5627 (R_MN10300_TLS_TPOFF): Likewise.
5628 (R_MN10300_SYM_DIFF): Likewise.
5629 (R_MN10300_ALIGN): Likewise.
5630 (R_MN10300_NUM): Update.
5631
b36137f1
JM
56322012-08-08 Joseph Myers <joseph@codesourcery.com>
5633
5634 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5635 Remove.
5636
cdd915fd
RM
56372012-08-08 Roland McGrath <roland@hack.frob.com>
5638
a2433aac
RM
5639 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5640
cdd915fd
RM
5641 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5642 sysdeps/unix -> sysdeps/posix move.
5643 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5644
bf9b740a
AM
56452012-08-07 Allan McRae <allan@archlinux.org>
5646
5647 [BZ #14303]
5648 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5649 (SUNOS_CPP): Likewise.
5650 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5651 not found.
5652 (open_input): Call CPP using execvp.
5653
93df14ee
JM
56542012-08-07 Joseph Myers <joseph@codesourcery.com>
5655
5656 * sysdeps/unix/sysv/linux/kernel-features.h
5657 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5658 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5659 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5660 (__ASSUME_WAITID_SYSCALL): Likewise.
5661 * sysdeps/unix/sysv/linux/dl-execstack.c
5662 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5663 code unconditional.
5664 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5665 conditional code.
5666 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5667 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5668 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5669 code.
5670 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5671 unconditional.
5672 [__ASSUME_WAITID_SYSCALL]: Likewise.
5673 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5674
d34689de
RM
56752012-08-07 Roland McGrath <roland@hack.frob.com>
5676
a281decc
RM
5677 * sysdeps/unix/closedir.c: Renamed to ...
5678 * sysdeps/posix/closedir.c: ... here.
5679 * sysdeps/unix/dirfd.c: Renamed to ...
5680 * sysdeps/posix/dirfd.c: ... here.
5681 * sysdeps/unix/dirstream.h: Renamed to ...
5682 * sysdeps/posix/dirstream.h: ... here.
5683 * sysdeps/unix/fdopendir.c: Renamed to ...
5684 * sysdeps/posix/fdopendir.c: ... here.
5685 * sysdeps/unix/opendir.c: Renamed to ...
5686 * sysdeps/posix/opendir.c: ... here.
5687 * sysdeps/unix/readdir.c: Renamed to ...
5688 * sysdeps/posix/readdir.c: ... here.
5689 * sysdeps/unix/readdir_r.c: Renamed to ...
5690 * sysdeps/posix/readdir_r.c: ... here.
5691 * sysdeps/unix/rewinddir.c: Renamed to ...
5692 * sysdeps/posix/rewinddir.c: ... here.
5693 * sysdeps/unix/seekdir.c: Renamed to ...
5694 * sysdeps/posix/seekdir.c: ... here.
5695 * sysdeps/unix/telldir.c: Renamed to ...
5696 * sysdeps/posix/telldir.c: ... here.
5697 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5698 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5699 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5700 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5701
22895b47
RM
5702 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5703 * bits/fcntl.h: ... here.
5704
707a53b6
RM
5705 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5706 not 0.
5707 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5708 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5709 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5710 (struct flock): Move l_start, l_len to the beginning.
5711 Use __pid_t for l_pid.
5712 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5713 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5714 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5715 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5716 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5717 [__USE_LARGEFILE64] (struct flock64): New type.
5718 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5719
f0bd3e25
RM
5720 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5721 * bits/dirent.h: ... here.
5722
d34689de
RM
5723 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5724 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5725
6dad2c06
JM
57262012-08-07 Joseph Myers <joseph@codesourcery.com>
5727
5728 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5729 Change from 2.6.0 to 2.6.16.
5730 * sysdeps/unix/sysv/linux/configure: Regenerated.
5731 * sysdeps/unix/sysv/linux/kernel-features.h
5732 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5733 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5734 version.
5735 (__ASSUME_UTIMES): Likewise.
5736 (__ASSUME_CLONE_STOPPED): Remove.
5737 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5738 architectures, not kernel version.
5739 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5740 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5741 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5742 (__ASSUME_WAITID_SYSCALL): Likewise.
5743 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5744 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5745 * README: State 2.6.16 as minimum Linux kernel version. Do not
5746 refer to older versions.
5747
03af9520
RM
57482012-08-06 Roland McGrath <roland@hack.frob.com>
5749
8e49df1d
RM
5750 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5751 Define alphasort64 as an alias.
5752 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5753 Define versionsort64 as an alias.
5754 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5755 Define scandir64 as an alias.
5756 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5757 Define scandirat64 as an alias.
5758 * dirent/alphasort64.c (alphasort64):
5759 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5760 * dirent/versionsort64.c: Likewise.
5761 * dirent/scandir64.c: Likewise.
5762 * dirent/scandirat64.c: Likewise.
5763 * sysdeps/wordsize-64/alphasort.c: File removed.
5764 * sysdeps/wordsize-64/alphasort64.c: File removed.
5765 * sysdeps/wordsize-64/scandir.c: File removed.
5766 * sysdeps/wordsize-64/scandir64.c: File removed.
5767 * sysdeps/wordsize-64/scandirat.c: File removed.
5768 * sysdeps/wordsize-64/scandirat64.c: File removed.
5769 * sysdeps/wordsize-64/versionsort.c: File removed.
5770 * sysdeps/wordsize-64/versionsort64.c: File removed.
5771 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5772 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5773 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5774 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5775 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5776 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5777 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5778 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5779
5780 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5781 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5782 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5783 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5784 [defined __arch64__ || defined __sparcv9]
5785 (__INO_T_MATCHES_INO64_T): New macro.
5786 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5787 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5788 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5789 * sysdeps/unix/sysv/linux/bits/dirent.h
5790 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5791 (_DIRENT_MATCHES_DIRENT64): New macro.
5792
03af9520
RM
5793 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5794 Define lockf64 as an alias.
5795 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5796 Define fseeko64 as an alias.
5797 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5798 Define ftello64 as an alias.
5799 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5800 Define _IO_fgetpos64 and fgetpos64 as aliases.
5801 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5802 Define _IO_fsetpos64 and fsetpos64 as aliases.
5803 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5804 Conditionalize body on this.
5805 * libio/fseeko64.c: Likewise.
5806 * libio/ftello64.c: Likewise.
5807 * libio/iofgetpos64.c: Likewise.
5808 * libio/iofsetpos64.c: Likewise.
5809 * sysdeps/wordsize-64/lockf.c: File removed.
5810 * sysdeps/wordsize-64/lockf64.c: File removed.
5811 * sysdeps/wordsize-64/fseeko.c: File removed.
5812 * sysdeps/wordsize-64/fseeko64.c: File removed.
5813 * sysdeps/wordsize-64/ftello.c: File removed.
5814 * sysdeps/wordsize-64/ftello64.c: File removed.
5815 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5816 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5817 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5818 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5819 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5820 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5821 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5822 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5823 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5824 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5825 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5826 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5827 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5828 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5829
5830 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5831 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5832 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5833 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5834 [defined __arch64__ || defined __sparcv9]
5835 (__OFF_T_MATCHES_OFF64_T): New macro.
5836 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5837 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5838 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5839 (__OFF_T_MATCHES_OFF64_T): New macro.
5840
c5757acd
L
58412012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5842
5843 * stdlib/secure-getenv.c (__secure_getenv): Replace
5844 GLIBC_2_16 with GLIBC_2_17.
5845
3a31811e
L
58462012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5847
5848 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5849 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5850
faa2bccb
DM
58512012-08-03 David S. Miller <davem@davemloft.net>
5852
5853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5854
85fe1997
JM
58552012-08-03 Joseph Myers <joseph@codesourcery.com>
5856
5857 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5858 Remove.
5859 (__ASSUME_CORRECT_SI_PID): Likewise.
5860 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5861 (__ASSUME_TMPFS_NAME): Likewise.
5862 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5863 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5864 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5865 (HAVE_AUX_SECURE): Make definition unconditional.
5866 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5867 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5868
4f75b7a0
RM
58692012-08-03 Roland McGrath <roland@hack.frob.com>
5870
5871 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5872 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5873 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5874 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5875 __eloop_threshold instead of SYMLOOP_MAX.
5876
5877 * sysdeps/generic/eloop-threshold.h: New file.
5878 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5879 of MAXSYMLINKS.
5880 * elf/chroot_canon.c (chroot_canon): Likewise.
5881
7aab07e4
JM
58822012-08-03 Joseph Myers <joseph@codesourcery.com>
5883
5884 [BZ #13717]
5885 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5886 Change to 2.6.0 everywhere.
5887 * sysdeps/unix/sysv/linux/configure: Regenerated.
5888 * sysdeps/unix/sysv/linux/kernel-features.h
5889 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5890 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5891 kernel versions.
5892 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5893 (__ASSUME_FUTEX_REQUEUE): Remove.
5894 (__ASSUME_STATFS64): Define unconditionally.
5895 (__ASSUME_AT_SECURE): Likewise.
5896 (__ASSUME_CORRECT_SI_PID): Likewise.
5897 (__ASSUME_TGKILL): Define without depending on kernel version for
5898 i386.
5899 (__ASSUME_UTIMES): Likewise.
5900 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5901 kernel version.
5902 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5903 (__ASSUME_TMPFS_NAME): Likewise.
5904 * README: Update reference to Linux kernel versions.
5905
b67e9372
MP
59062012-08-02 Marek Polacek <polacek@redhat.com>
5907
1f529f7d 5908 [BZ# 14150]
b67e9372
MP
5909 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5910 libc_cv_asm_type_prefix with %.
5911 * configure: Regenerated.
d2441631
RM
5912 * include/libc-symbols.h: Remove comment about
5913 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5914 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5915 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5916 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5917 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5918 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5919 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5920 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5921 * elf/tst-unique2mod1.c: Likewise.
5922 * elf/tst-unique1mod2.c: Likewise.
5923 * elf/tst-unique1mod1.c: Likewise.
5924 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5925 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5926 Replace ASM_TYPE_DIRECTIVE with .type.
5927 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5928 * sysdeps/i386/sysdep.h: Likewise.
5929 * sysdeps/x86_64/sysdep.h: Likewise.
5930 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5932 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5933 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5934 * sysdeps/powerpc/powerpc32/sysdep.h:
5935 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5936 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5937 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5938 * sysdeps/i386/fpu/e_powf.S: Likewise.
5939 * sysdeps/i386/fpu/e_expl.S: Likewise.
5940 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5941 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5942 * sysdeps/i386/fpu/e_pow.S: Likewise.
5943 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5944 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5945 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5946 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5947 * sysdeps/i386/fpu/e_log2.S: Likewise.
5948 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5949 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5950 * sysdeps/i386/fpu/e_powl.S: Likewise.
5951 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5952 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5953 * sysdeps/i386/fpu/e_logl.S: Likewise.
5954 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5955 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5956 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5957 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5958 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5959 * sysdeps/i386/fpu/e_log.S: Likewise.
5960 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5961 * sysdeps/i386/fpu/e_logf.S: Likewise.
5962 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5963 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5964 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5965 * sysdeps/i386/fpu/e_log10.S: Likewise.
5966 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5967 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5968 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5969 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5970 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5971 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5972 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5973 * sysdeps/i386/i686/strtok.S: Likewise.
5974 * sysdeps/i386/i386-mcount.S: Likewise.
5975 * sysdeps/i386/strtok.S: Likewise.
5976 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5977 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5978 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5979 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5980 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5981 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5982 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5983 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5984 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5985 * sysdeps/x86_64/_mcount.S: Likewise.
5986 * sysdeps/x86_64/strtok.S: Likewise.
5987 * sysdeps/sh/_mcount.S: Likewise.
5988
2747bf9a
RM
59892012-08-01 Roland McGrath <roland@hack.frob.com>
5990
5991 * libio/iofopen.c: Include <fcntl.h>.
5992 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5993 (_IO_fopen64, fopen64): Define as aliases.
5994 * libio/iofopen64.c: Include <fcntl.h>.
5995 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5996 Conditionalize body on this.
5997 * sysdeps/wordsize-64/iofopen.c: File removed.
5998 * sysdeps/wordsize-64/iofopen64.c: File removed.
5999
3fb791b8
MP
60002012-08-01 Marek Polacek <polacek@redhat.com>
6001
6002 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6003 Use dlfcn directly instead of a variable.
6004 (binfmt-subdir): Do not define.
6005 (dlfcn): Likewise.
6006
a9f1039f
JM
60072012-08-01 Joseph Myers <joseph@codesourcery.com>
6008
23bddc06
JM
6009 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6010 Remove all definitions.
6011 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6012 <kernel-features.h>.
6013 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6014 (miss_F_GETOWN_EX): Remove all definitions.
6015 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6016 macro definition.
6017 [!__ASSUME_FCNTL64]: Remove conditional code.
6018 [__ASSUME_FCNTL64]: Make code unconditional.
6019 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6020 <kernel-features.h>.
6021 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6022 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6023 (lockf64) [__NR_fcntl64]: Make code unconditional.
6024 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6025
a9f1039f
JM
6026 * sysdeps/unix/sysv/linux/kernel-features.h
6027 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6028 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6029 Make code unconditional.
6030 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6031 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6033 [__NR_vfork]: Make code unconditional.
6034 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6035 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6037 [__NR_vfork]: Make code unconditional.
6038 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6039 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6040
09c0ee5f
RM
60412012-08-01 Roland McGrath <roland@hack.frob.com>
6042
48aec5b9
RM
6043 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6044 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6045
cd97c966
RM
6046 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6047 Define mkstemp64 as an alias.
3f55550c
RM
6048 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6049 Define mkstemps64 as an alias.
cd97c966
RM
6050 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6051 Define mkostemp64 as an alias.
b8625cfc
RM
6052 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6053 Define mkostemps64 as an alias.
cd97c966
RM
6054 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6055 Conditionalize body on this.
6056 * misc/mkostemp64.c: Likewise.
b8625cfc 6057 * misc/mkostemps64.c: Likewise.
3f55550c 6058 * misc/mkstemps64.c: Likewise.
cd97c966
RM
6059 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6060 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6061 * sysdeps/wordsize-64/mkostemp.c: File removed.
6062 * sysdeps/wordsize-64/mkstemp.c: File removed.
6063 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6064 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6065 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6066 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6067
09c0ee5f
RM
6068 [BZ #14138]
6069 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6070 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6071 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6072 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6073
6074 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6075 compat_symbol macros from <shlib-compat.h> rather than the underlying
6076 default_symbol_version and symbol_version macros, so that DEFAULT
6077 lines in shlib-versions are respected.
6078 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6079
7e66ee51
FW
60802012-08-01 Florian Weimer <fweimer@redhat.com>
6081
6082 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6083 Declare with warn_unused_result.
6084 (setgid, setregid, setegid, setresgid): Likewise.
6085 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6086 Likewise.
6087 * WUR-REPORT: Remove set*id functions.
6088
d2a54255
PT
60892012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6090
6091 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6092
7ecdb005
RM
60932012-07-31 Roland McGrath <roland@hack.frob.com>
6094
789bd351
RM
6095 * include/sys/socket.h (__libc_accept, __libc_accept4):
6096 Add attribute_hidden.
6097 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6098
40ce302d
RM
6099 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6100 use of PTR_MANGLE.
6101 * inet/getnetgrent_r.c (setup): Likewise.
6102
7ecdb005
RM
6103 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6104
e2eabb2c
DM
61052012-07-31 David S. Miller <davem@davemloft.net>
6106
6107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6108
d0419dbf
JM
61092012-07-31 Joseph Myers <joseph@codesourcery.com>
6110
6111 [BZ #13629]
6112 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6113 value between 1.0 and 2.0 and smaller part has absolute value less
6114 than 1.0.
6115 * math/s_clog10.c (__clog10): Likewise.
6116 * math/s_clog10f.c (__clog10f): Likewise.
6117 * math/s_clog10l.c (__clog10l): Likewise.
6118 * math/s_clogf.c (__clogf): Likewise.
6119 * math/s_clogl.c (__clogl): Likewise.
6120 * math/libm-test.inc (clog_test): Add more tests.
6121 (clog10_test): Likewise.
6122 * sysdeps/i386/fpu/libm-test-ulps: Update.
6123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6124
2bc13872
FW
61252012-07-31 Florian Weimer <fweimer@redhat.com>
6126
6127 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6128 Exit with zero in case no suitable GID is found, and write a
6129 message to standard error.
6130
bea9b193
RM
61312012-07-30 Roland McGrath <roland@hack.frob.com>
6132
6133 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6134 rather than to 1.
6135 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6136 (MAXPATHLEN): Removed.
6137 (NOGROUP, NODEV): New macros.
6138 (setbit, clrbit, isset, isclr): New macros.
6139 (howmany, roundup, powerof2): New macros.
6140 (DEV_BSIZE): New macro.
6141
6142 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6143 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6144
6145 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6146 definition on [!__NO_LONG_DOUBLE_MATH].
6147
6148 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6149 PTR_MANGLE and PTR_DEMANGLE.
6150
6151 * socket/accept4.c (accept4): Rename to __libc_accept4.
6152 Define accept4 as a weak alias.
6153
6154 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6155 on [_DIRENT_HAVE_D_TYPE].
6156 * io/ftw.c (ftw_dir): Likewise.
6157
6158 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6159
6160 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6161
6162 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6163 Use the BSD numbers rather than the arbitrary ones we had.
6164 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6165 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6166 (SIGXCPU, SIGXFSZ): New macros.
6167 (_NSIG): Now 32.
6168
6169 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6170 initializer on [_LIBC_REENTRANT].
6171
6172 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6173 definitions inside [_POSIX_MAPPED_FILES].
6174
6175 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6176
6177 * dirent/opendir.c: Include <fcntl.h>.
6178
6179 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6180 (__libc_getspecific): Likewise.
6181 (__libc_key_create): Likewise.
6182
6183 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6184 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6185 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6186 (tmpfile64): Define as alias.
6187 * sysdeps/wordsize-64/tmpfile.c: File removed.
6188 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6189 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6190 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6191
6192 * stdio-common/vfscanf.c: Include <stdbool.h>.
6193 * nss/makedb.c: Likewise.
6194 * stdio-common/_i18n_number.h: Likewise.
6195 * argp/argp-help.c: Likewise.
6196 * posix/wordexp.c: Likewise.
6197 * sysdeps/posix/spawni.c: Likewise.
6198 * nss/nss_files/files-initgroups.c: Likewise.
6199 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6200 * nss/nss_files/files-initgroups.c: Likewise.
6201 * nss/nss_db/db-netgrp.c: Likewise.
6202 * nss/nss_db/db-initgroups.c: Likewise.
6203 * io/fchmodat.c: Include <sys/stat.h>.
6204
6205 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6206 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6207
6208 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6209 [HAVE_MMAP].
6210
6211 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6212 Add multiple inclusion protection.
6213
e5abc686
DM
62142012-07-27 David S. Miller <davem@davemloft.net>
6215
6216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6217
815e6fa3
GB
62182012-07-27 Gary Benson <gbenson@redhat.com>
6219
6220 [BZ #14298]
6221 * elf/rtld.c: Include <stap-probe.h>.
6222 (dl_main): Added static probes "init_start" and "init_complete".
6223 * elf/dl-load.c: Include <stap-probe.h>.
6224 (lose): Take new parameter "nsid".
6225 Added static probe "map_failed".
6226 (_dl_map_object_from_fd): Pass namespace id to lose.
6227 Added static probe "map_start".
6228 (open_verify): Pass namespace id to lose.
6229 * elf/dl-open.c: Include <stap-probe.h>.
6230 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6231 and "reloc_complete".
6232 * elf/dl-close.c: Include <stap-probe.h>.
6233 (_dl_close_worker): Added static probes "unmap_start" and
6234 "unmap_complete".
6235 * elf/rtld-debugger-interface.txt: New file documenting the above.
6236
9f98c16c
RM
62372012-07-26 Roland McGrath <roland@hack.frob.com>
6238
6239 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6240 rather than a string variable.
6241 * sunrpc/rpc_main.c (h_output): Likewise.
6242 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6243
f3c22df3
PT
62442012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6245
6246 * inet/check_native.c: New file.
6247
3129cfc6
JM
62482012-07-26 Joseph Myers <joseph@codesourcery.com>
6249
da865e95
JM
6250 [BZ #13629]
6251 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6252 if larger part has absolute value 1.0.
6253 * math/s_clog10.c (__clog10): Likewise.
6254 * math/s_clog10f.c (__clog10f): Likewise.
6255 * math/s_clog10l.c (__clog10l): Likewise.
6256 * math/s_clogf.c (__clogf): Likewise.
6257 * math/s_clogl.c (__clogl): Likewise.
6258 * math/libm-test.inc (clog_test): Add more tests.
6259 (clog10_test): Likewise.
6260 * sysdeps/i386/fpu/libm-test-ulps: Update.
6261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6262
3129cfc6
JM
6263 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6264 (pltexit): Likewise.
6265 (La_regs): Likewise.
6266 (La_retval): Likewise.
6267 (int_retval): Likewise.
6268 Update #error for removed macros to refer only to definitions in
6269 tst-audit.h.
6270 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6271 macro.
6272 (pltexit): Likewise.
6273 (La_regs): Likewise.
6274 (La_retval): Likewise.
6275 (int_retval): Likewise.
6276 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6277 macro.
6278 (pltexit): Likewise.
6279 (La_regs): Likewise.
6280 (La_retval): Likewise.
6281 (int_retval): Likewise.
6282 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6283 macro.
6284 (pltexit): Likewise.
6285 (La_regs): Likewise.
6286 (La_retval): Likewise.
6287 (int_retval): Likewise.
6288 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6289 macro.
6290 (pltexit): Likewise.
6291 (La_regs): Likewise.
6292 (La_retval): Likewise.
6293 (int_retval): Likewise.
6294 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6295 macro.
6296 (pltexit): Likewise.
6297 (La_regs): Likewise.
6298 (La_retval): Likewise.
6299 (int_retval): Likewise.
6300 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6301 macro.
6302 (pltexit): Likewise.
6303 (La_regs): Likewise.
6304 (La_retval): Likewise.
6305 (int_retval): Likewise.
6306 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6307 macro definitions in tst-audit.h.
6308 * sysdeps/i386/tst-audit.h: New file.
6309 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6310 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6311 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6312 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6313 * sysdeps/sh/tst-audit.h: Likewise.
6314 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6315 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6316 * sysdeps/x86_64/tst-audit.h: Likewise.
6317
bfc07087
AJ
63182012-07-26 Andreas Jaeger <aj@suse.de>
6319
b1b2aaf8
AJ
6320 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6321 ptrace.
6322
6323 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6324 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6325 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6326 PTRACE_O_MASK.
6327 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6328 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6329 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6330
bfc07087
AJ
6331 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6332 value.
6333
6334 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6335 _sigsys.
6336 (si_call_addr, si_syscall, si_arch): Define new macro.
6337 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6338 _sigsys.
6339 (si_call_addr, si_syscall, si_arch): Define new marcro.
6340 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6341 _sigsys.
6342 (si_call_addr, si_syscall, si_arch): Define new macro.
6343 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6344 _sigsys.
6345 (si_call_addr, si_syscall, si_arch): Define new macro.
6346
89b4b02f
JM
63472012-07-25 Joseph Myers <joseph@codesourcery.com>
6348
6349 [BZ #13717]
6350 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6351 Change to 2.4.21 where previously 2.4.1.
6352 * sysdeps/unix/sysv/linux/configure: Regenerated.
6353 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6354 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6355 Linux kernel version.
6356 (__ASSUME_STD_AUXV): Remove.
6357 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6358 kernel version.
6359 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6360 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6361 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6362 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6363 (__ASSUME_NETLINK_SUPPORT): Likewise.
6364 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6365 (__no_netlink_support): Remove conditional definition.
6366 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6367 Remove.
6368 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6369 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6370 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6371 (if_nameindex_ioctl): Remove.
6372 (if_nameindex_netlink): Do not handle __no_netlink_support.
6373 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6374 code.
6375 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6376 Remove conditional code.
6377 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6378 code.
6379 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6380 unconditional.
6381 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6382 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6383 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6384 Remove.
6385 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6386 [!__ASSUME_STD_AUXV]: Remove conditional code.
6387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6388 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6389 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6391 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6392 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6393 code.
6394 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6396 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6397 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6398 conditional code.
6399 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6401 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6402 code.
6403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6404 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6405 conditional code.
6406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6407 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6408 code unconditional.
6409 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6410 conditional code.
6411 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6412 unconditional.
6413 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6414 conditional code.
6415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6416 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6417 unconditional.
6418 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6419 conditional code.
6420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6421 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6422 code unconditional.
6423 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6424 conditional code.
6425 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6426 unconditional.
6427 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6428 conditional code.
6429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6430 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6431 code unconditional.
6432 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6433 conditional code.
6434 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6435 unconditional.
6436 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6437 conditional code.
6438
842a39cd
AS
64392012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6440
6441 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6442 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6443 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6444 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6445 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6446 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6447 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6448 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6449 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6450 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6451 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6452 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6453 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6454 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6455 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6456 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6457 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6458 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6459 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6460 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6461 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6462 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6463 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6464
84b3fd84
FW
64652012-07-25 Florian Weimer <fweimer@redhat.com>
6466
6467 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
6468 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6469 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6470 Introduce __libc_secure_getenv.
0c7936d5
FW
6471 * stdlib/Versions (2.17): Add secure_getenv
6472 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6473 * stdlib/secure-getenv.c: Rename __secure_getenv to
6474 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6475 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
6476 * stdlib/tst-secure-getenv.c: New.
6477 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
6478 * manual/startup.texi (Environment Access): Document
6479 secure_getenv.
84b3fd84
FW
6480 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6481 __libc_secure_getenv.
6482 * inet/ruserpass.c (ruserpass): Likewise.
6483 * malloc/mtrace.c (mtrace): Likewise.
6484 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 6485 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
6486 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6487 * sysdeps/posix/tempname.c: Likewise. Evaluate
6488 HAVE_SECURE_GETENV.
6489 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 6490 __secure_getenv to __libc_secure_getenv.
84b3fd84 6491 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
6492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6493 Likewise.
6494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6495 Likewise.
6496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6498 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 6503
56e49b71
JM
65042012-07-25 Joseph Myers <joseph@codesourcery.com>
6505
6506 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6507 (struct La_i86_retval): Likewise.
6508 (struct La_x86_64_regs): Likewise.
6509 (struct La_x86_64_retval): Likewise.
6510 (struct La_x32_regs): Likewise.
6511 (struct La_x32_retval): Likewise.
6512 (struct La_ppc32_regs): Likewise.
6513 (struct La_ppc32_retval): Likewise.
6514 (struct La_ppc64_regs): Likewise.
6515 (struct La_ppc64_retval): Likewise.
6516 (struct La_sh_regs): Likewise.
6517 (struct La_sh_retval): Likewise.
6518 (struct La_s390_32_regs): Likewise.
6519 (struct La_s390_32_retval): Likewise.
6520 (struct La_s390_64_regs): Likewise.
6521 (struct La_s390_64_retval): Likewise.
6522 (struct La_sparc32_regs): Likewise.
6523 (struct La_sparc32_retval): Likewise.
6524 (struct La_sparc64_regs): Likewise.
6525 (struct La_sparc64_retval): Likewise.
6526 (struct audit_ifaces): Remove architecture-specific pltenter and
6527 pltexit members.
6528 * sysdeps/i386/ldsodefs.h: New file.
6529 * sysdeps/powerpc/ldsodefs.h: Likewise.
6530 * sysdeps/s390/ldsodefs.h: Likewise.
6531 * sysdeps/sh/ldsodefs.h: Likewise.
6532 * sysdeps/sparc/ldsodefs.h: Likewise.
6533 * sysdeps/x86_64/ldsodefs.h: Likewise.
6534
354691b7
MP
65352012-07-25 Marek Polacek <polacek@redhat.com>
6536
6537 [BZ #6808]
6538 * math/libm-test.inc (yn_test): Add another test.
6539 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6540 to ERANGE when the result is +-Inf.
6541 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6542 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6543 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6544 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6545
bf9e2071
JM
65462012-07-24 Joseph Myers <joseph@codesourcery.com>
6547
6548 * conform/data/time.h-data (NULL): Use macro-constant. Require
6549 equal to 0.
6550 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6551 clock_t.
6552 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6553
57633811
TS
65542012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6555
6556 * configure.in <sysdeps resolving>: Correct printing
6557 Implies_before.
6558 * configure: Regenerate.
6559
c23c33b0
TS
65602012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6561
6562 * math/w_ilogb.c: Include <limits.h>.
6563 * math/w_ilogbl.c: Likewise.
6564
b5982523
JM
65652012-07-20 Joseph Myers <joseph@codesourcery.com>
6566
6567 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6568 va_copy. Document allowing for unavailable va_copy only as
6569 pre-C99 compatibility.
6570 * manual/string.texi (Copying and Concatenation): Use va_copy
6571 instead of __va_copy in concat example.
6572
ac4ea442
PT
65732012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6574
6575 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6576 (__sendto): Use create_address_port. Initialize APORT and deallocate
6577 it if not null.
6578
f98eafbd
PT
6579 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6580 with O_NOLINK passed to __file_name_lookup.
6581
898c7aab
PT
6582 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6583 with O_NOLINK passed to __file_name_lookup.
6584
0ced335a
PT
6585 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6586 negative N or less than NGIDS.
6587
b3404dbd
PT
6588 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6589 type to string_t. Set ERANGE as errno and return it if NAME is not big
6590 enough. Use memcpy instead of strncpy.
6591
0f48659e
JM
65922012-07-20 Joseph Myers <joseph@codesourcery.com>
6593
6594 * elf/Makefile (check-data): Remove.
6595 (localplt.data): New vpath directive.
6596 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6597 instead of $(check-data).
6598 * scripts/data/localplt-generic.data: Move to ...
6599 * sysdeps/generic/localplt.data: ... here.
6600 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6601 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6602 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6604 ... here.
6605 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6607 ... here.
6608 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6610 ... here.
6611 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6613 ... here.
6614 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6616 ... here.
6617 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6619 ... here.
6620
d37cbdaa
AZ
66212012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6622
6623 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6624 PPC32 and PPC64 files.
6625 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6626 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6627
46f85fc2
AK
66282012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6629
6630 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6631 __makecontext_ret to ...
6632 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6633 ... here and call exit if uc_link is NULL. New file.
6634 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6635 __makecontext_ret.S.
6636 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6637 __makecontext_ret to ...
6638 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6639 ... here and call exit if uc_link is NULL. New file.
6640 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6641 __makecontext_ret.S.
6642
08f43f9b
AK
66432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6644
6645 * elf/elf.h (R_390_IRELATIVE): New definition.
6646 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6647 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6648 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6649 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6650 (elf_machine_lazy_rel): Likewise.
6651 * sysdeps/s390/dl-irel.h: New file.
6652 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6653 * sysdeps/s390/s390-64/memset.S: New asm code.
6654 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6655 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6656 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6657 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6658 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6659 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6660 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6661 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6662 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6663 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6664 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6665 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6666 * sysdeps/s390/s390-32/memset.S: New asm code.
6667 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6668
3b05db33
MP
66692012-07-17 Marek Polacek <polacek@redhat.com>
6670
6671 [BZ #14349]
6672 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6673 * sysdeps/s390/s390-64/configure.in: Likewise.
6674 * sysdeps/sparc/configure.in: Likewise.
6675 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6676 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6677 * sysdeps/i386/configure.in: Likewise.
6678 * sysdeps/x86_64/configure.in: Likewise.
6679 * sysdeps/sh/configure.in: Likewise.
6680 * sysdeps/s390/s390-32/configure: Regenerated.
6681 * sysdeps/s390/s390-64/configure: Likewise.
6682 * sysdeps/x86_64/configure: Likewise.
6683 * sysdeps/sh/configure: Likewise.
6684 * sysdeps/powerpc/powerpc64/configure: Likewise.
6685 * sysdeps/powerpc/powerpc32/configure: Likewise.
6686 * sysdeps/sparc/configure: Likwise.
6687 * sysdeps/i386/configure: Likewise.
6688
a66877c6
MP
6689 * elf/dl-open.c: Comment fixes.
6690
cfc82fd8
JM
66912012-07-17 Joseph Myers <joseph@codesourcery.com>
6692
bd29910a
JM
6693 * Makefile [CXX] (check-data): Remove.
6694 [CXX] (c++-types.data): New vpath directive.
6695 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6696 vpath. Do not allow for C++ type data being missing.
6697 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6698 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6699 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6700 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6701 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6702 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6703 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6705 ... here.
6706 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6708 ... here.
6709 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6711 ... here.
6712 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6714 ... here.
6715 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6717 ... here.
6718 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6720 ... here.
6721 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6723 ... here.
6724 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6726
cfc82fd8
JM
6727 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6728 definitions to architecture-specific files.
6729 (TLS_IE): Likewise.
6730 (TLS_LD): Likewise.
6731 (TLS_GD): Likewise.
6732 * sysdeps/i386/tls-macros.h: New file.
6733 * sysdeps/powerpc/tls-macros.h: Likewise.
6734 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6735 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6736 * sysdeps/sh/tls-macros.h: Likewise.
6737 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6738 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6739 * sysdeps/x86_64/tls-macros.h: Likewise.
6740
f7db3170
TS
67412012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6742
07cbfc23
TS
6743 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6744 zero value for regular exit case.
6745
f7db3170
TS
6746 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6747 (__start_context): Preserve zero value for regular exit case.
6748
dc97c227
TS
67492012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6750 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6751
6752 * manual/setjmp.texi (setcontext): Clarify normal process
6753 termination when uc_link is the null pointer.
6754 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6755 exit call.
6756
d0cd7d02
AS
67572012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6758
6759 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6760 preprocessor. Test for each exception mask separately.
6761
dd318934
AJ
67622012-07-16 Andreas Jaeger <aj@suse.de>
6763
6764 * po/ru.po: Update from translation team.
6765
8048311a
JM
67662012-07-15 Joseph Myers <joseph@codesourcery.com>
6767
6768 * conform/data/string.h-data (NULL): Use macro-constant. Require
6769 equal to 0.
6770 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6771 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6772 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6773 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6774 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6775
b637d46e
AJ
67762012-07-13 Andreas Jaeger <aj@suse.de>
6777
6778 * po/fr.po: Update from translation team.
6779
541428fe
MP
67802012-07-12 Marek Polacek <polacek@redhat.com>
6781
6782 [BZ #14173]
6783 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6784 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6785 loop condition.
6786
ec332e94
JM
67872012-07-12 Joseph Myers <joseph@codesourcery.com>
6788
6789 [BZ #13717]
6790 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6791 Change to 2.4.1 where previously 2.4.0.
6792 * sysdeps/unix/sysv/linux/configure: Regenerated.
6793 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6794 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6795 version.
6796 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6797 (__ASSUME_AT_CLKTCK): Remove.
6798 (__ASSUME_AT_PAGESIZE): Likewise.
6799 (__ASSUME_AT_XID): Likewise.
6800 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6801 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6802 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6803 unconditionally.
6804 (HAVE_AUX_PAGESIZE): Likewise.
6805 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6806 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6807 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6808
7b6e99be
JB
68092012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6810
6811 [BZ #14307]
6812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6813 the temporary buffer used to invoke __gethostbyname2_r,
6814 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6815 host_data / struct gaih_addrtuple.
6816 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6817 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6818 header file nss/nsswitch.h.
6819 * nss/nsswitch.h (global scope): Add definition of implementation
6820 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6821 resolv/nss_dns/dns-host.c).
6822
608404eb
AJ
68232012-07-11 Andreas Jaeger <aj@suse.de>
6824
6825 * po/fr.po: Update from translation team.
6826
71220aca
AJ
6827 * po/sv.po: Update from translation team
6828 * po/fr.po: Another update from translation team.
6829
28cfe843
AZ
68302012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6831
6832 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6833 for subnormals or multiply small sinh result by itself.
6834 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6836
6b90f981
DM
68372012-07-11 David S. Miller <davem@davemloft.net>
6838
6839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6840
c6825772
AS
68412012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6842
6843 [BZ #14347]
6844 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6845 (INTERNAL_MARK): Shift it here.
6846
7b8e0d49
MP
68472012-07-10 Marek Polacek <polacek@redhat.com>
6848
6849 [BZ #14151]
6850 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6851 libc_cv_asm_global_directive with .globl.
6852 * configure: Regenerated.
6853 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6854 with .globl.
6855 * sysdeps/i386/configure: Regenerated.
6856 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6857 with .globl.
6858 * sysdeps/x86_64/configure: Regenerated.
6859 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6860 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6861 * elf/tst-unique2mod2.c: Likewise.
6862 * elf/tst-unique2mod1.c: Likewise.
6863 * elf/tst-unique1mod2.c: Likewise.
6864 * elf/tst-unique1mod1.c: Likewise.
6865 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6866 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6867 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6868 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6869 * sysdeps/mach/sysdep.h: Likewise.
6870 * sysdeps/i386/sysdep.h: Likewise.
6871 * sysdeps/i386/i386-mcount.S: Likewise.
6872 * sysdeps/x86_64/_mcount.S: Likewise.
6873 * sysdeps/x86_64/sysdep.h: Likewise.
6874 * sysdeps/sh/_mcount.S: Likewise.
6875 * sysdeps/sh/sysdep.h: Likewise.
6876 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6877 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6878 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6879 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6880 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6881 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6882 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6883 * locale/localeinfo.h: Likewise.
6884 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6885 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6886
6c55cda3
RM
68872012-07-09 Roland McGrath <roland@hack.frob.com>
6888
6889 [BZ #14336]
6890 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6891 system".
6892 * manual/message.texi (The Uniforum approach): Likewise.
6893 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6894 (glibc iconv Implementation): Likewise.
6895
638a572e
JM
68962012-07-09 Joseph Myers <joseph@codesourcery.com>
6897
6898 [BZ #14337]
6899 * math/s_clog.c (__clog): Avoid scaling a value down where that
6900 could result in underflow.
6901 * math/s_clog10.c (__clog10): Likewise.
6902 * math/s_clog10f.c (__clog10f): Likewise.
6903 * math/s_clog10l.c (__clog10l): Likewise.
6904 * math/s_clogf.c (__clogf): Likewise.
6905 * math/s_clogl.c (__clogl): Likewise.
6906 * math/libm-test.inc (clog_test): Add more tests.
6907 (clog10_test): Likewise.
6908 * sysdeps/i386/fpu/libm-test-ulps: Update.
6909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6910
261f4859
AS
69112012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6912
0abaf3e4
AS
6913 [BZ #14283]
6914 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6915 by 7 not 8 to examine high bit of fractional part.
6916
261f4859
AS
6917 [BZ #14042]
6918 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6919 for call to __mcount_internal.
6920 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6921 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6922 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6923
f17ac40d
JM
69242012-07-06 Joseph Myers <joseph@codesourcery.com>
6925
9ad63c23
JM
6926 [BZ #14154]
6927 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6928 approximation for values within 0x1p-13f of an odd multiple of
6929 pi/4.
6930 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6931 exception. Add more tests.
6932 * sysdeps/i386/fpu/libm-test-ulps: Update.
6933
f17ac40d
JM
6934 [BZ #6778]
6935 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6936 inputs and return -1 for them. Do not check for +Inf in case not
6937 reachable for +Inf.
6938 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6939 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6940 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6941 and return -1 for them. Do not check for +Inf in case not
6942 reachable for +Inf.
6943 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6944 define.
6945 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6946 and return -1 for them. Do not check for +Inf in case not
6947 reachable for +Inf.
6948 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6949 spurious underflow.
6950 * sysdeps/i386/fpu/libm-test-ulps: Update.
6951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6952
fb21f89b
MF
69532012-07-06 Mike Frysinger <vapier@gentoo.org>
6954
6955 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6956
cdfe2c5e
JM
69572012-07-05 Joseph Myers <joseph@codesourcery.com>
6958
6959 [BZ #14157]
6960 [BZ #14331]
6961 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6962 could result in spurious underflow. Scale down values above
6963 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6964 * math/s_csqrtf.c (__csqrtf): Likewise.
6965 * math/s_csqrtl.c (__csqrtl): Likewise.
6966 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6967 spurious underflow.
6968 * sysdeps/i386/fpu/libm-test-ulps: Update.
6969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6970
70d35b67
AS
69712012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6972
704bc459
AS
6973 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6974 xopen-msg.sed.
6975 * catgets/xopen-msg.awk: New file.
6976 * catgets/xopen-msg.sed: Removed.
6977
70d35b67
AS
6978 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6979 po2text.sed.
6980 * intl/po2test.awk: New file.
6981 * intl/po2test.sed: Removed.
6982
ca61cf32
JM
69832012-07-04 Joseph Myers <joseph@codesourcery.com>
6984
6985 [BZ #14328]
6986 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6987 or multiply small sinh result by itself.
6988 * math/s_ctanf.c (__ctanf): Likewise.
6989 * math/s_ctanh.c (__ctanh): Likewise.
6990 * math/s_ctanhf.c (__ctanhf): Likewise.
6991 * math/s_ctanhl.c (__ctanhl): Likewise.
6992 * math/s_ctanl.c (__ctanl): Likewise.
6993 * math/libm-test.inc (ctan_test_tonearest): New function.
6994 (ctan_test_towardzero): Likewise.
6995 (ctan_test_downward): Likewise.
6996 (ctan_test_upward): Likewise.
6997 (ctanh_test_tonearest): Likewise.
6998 (ctanh_test_towardzero): Likewise.
6999 (ctanh_test_downward): Likewise.
7000 (ctanh_test_upward): Likewise.
7001 (main): Call these new functions.
7002 * sysdeps/i386/fpu/libm-test-ulps: Update.
7003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7004
ca48a46a
MF
70052012-07-03 Mike Frysinger <vapier@gentoo.org>
7006
7007 * .gitignore: Delete /ports entry.
7008
9d63d37d
AJ
70092012-07-03 Andreas Jaeger <aj@suse.de>
7010
7011 * po/bg.po: Update from translation team.
7012 * po/cs.po: Likewise.
7013 * po/de.po: Likewise.
7014 * po/hr.po: Likewise.
7015 * po/nl.pl: Likewise.
7016 * po/pl.po: Likewise.
7017 * po/vi.po: Likewise.
7018
370ca3d2
JM
70192012-07-03 Joseph Myers <joseph@codesourcery.com>
7020
95f5a9a8
JM
7021 * Makeconfig [!+link] (+link-before-libc): New variable.
7022 [!+link] (+link-after-libc): Likewise.
7023 [!+link] (+link-tests): Likewise.
7024 [!+link] (+link): Define in terms of $(+link-before-libc) and
7025 $(+link-after-libc).
7026 [!+link-static] (+link-static-before-libc): New variable.
7027 [!+link-static] (+link-static-after-libc): Likewise.
7028 [!+link-static] (+link-static-tests): Likewise.
7029 [!+link-static] (+link-static): Define in terms of
7030 $(+link-static-before-libc) and $(+link-static-after-libc).
7031 [build-shared] (link-libc-before-gnulib): New variable.
7032 [build-shared] (link-libc-tests): Likewise.
7033 [build-shared] (link-libc): Define in terms of
7034 $(link-libc-before-gnulib).
7035 [!build-shared] (link-libc-tests): New variable.
7036 (link-libc-static-tests): New variable.
7037 [!gnulib] (gnulib-arch): New variable.
7038 [!gnulib] (gnulib-tests): Likewise.
7039 [!gnulib] (static-gnulib-arch): Likewise.
7040 [!gnulib] (static-gnulib-tests): Likewise.
7041 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7042 Define with "=" instead of ":=".
7043 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7044 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7045 * Rules (binaries-all-notests): New variable.
7046 (binaries-all-tests): Likewise.
7047 (binaries-static-notests): Likewise.
7048 (binaries-static-tests): Likewise.
7049 (binaries-all): Define using $(binaries-all-notests) and
7050 $(binaries-all-tests).
7051 (binaries-static): Define using $(binaries-static-notests) and
7052 $(binaries-static-tests).
7053 (binaries-shared-tests): New variable.
7054 (binaries-shared-notests): Likewise.
7055 (binaries-shared): Remove variable.
7056 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7057 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7058 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7059 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7060 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7061 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7062 * elf/Makefile (sln-modules): New variable.
7063 (extra-objs): Add $(sln-modules:=.o).
7064 (ldconfig-modules): Add static-stubs.
7065 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7066 * elf/static-stubs.c: New file.
7067
7a845b2c
JM
7068 [BZ #14283]
7069 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7070 by 7 not 8 to examine high bit of fractional part. Use volatile
7071 variables when splitting into final array of floats if
7072 __FLT_EVAL_METHOD__ != 0.
7073 * math/libm-test.inc (cos_test): Add another test.
7074 (sin_test): Likewise.
7075 * sysdeps/i386/fpu/libm-test-ulps: Update.
7076
e2283f38
JM
7077 [BZ #14273]
7078 * math/libm-test.inc (cosh_test): Add more tests.
7079
370ca3d2
JM
7080 * version.h (RELEASE): Set to "development".
7081 (VERSION): Set to "2.16.90".
7082
ee9247c3
CD
70832012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7084
7085 * NEWS: Update copyright. Remove last-updated date.
7086 Mention math library bug fixes and timezone data changes.
7087 * README: Mention GNU/Hurd, x32, and HPPA support status.
7088
4648c381
TS
70892012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7090
7091 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7092
aac78a43
AJ
70932012-06-27 Andreas Jaeger <aj@suse.de>
7094
7095 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7096
ed3dbfad
AJ
70972012-06-25 Andreas Jaeger <aj@suse.de>
7098
7099 * sysdeps/s390/fpu/libm-test-ulps: Update.
7100
4d0ee855
AS
71012012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7102 Thomas Schwinge <thomas@codesourcery.com>
7103
7104 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7105 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7106 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7107 fanotify_mark.
7108
af1bce34
TS
71092012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7110
a9fa33ba
TS
7111 * sysdeps/mach/start.c: Remove file.
7112 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7113 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7114 * sysdeps/sh/init-first.c: Likewise.
7115
58f902b8
TS
7116 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7117 registers for frame unwinding purposes, add CFI directives.
7118 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7119 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7120 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7121 Likewise.
7122
1518f58b
TS
7123 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7124 __fortify_fail returning.
7125 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7126
db9b5059
TS
7127 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7128 sysdeps/sh/____longjmp_chk.S.
7129 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7130 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7131 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7132 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7133
967705fe
TS
7134 * sysdeps/sh/abort-instr.h: New file.
7135 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7136 process in case exit returns.
7137
a9def8c4
TS
7138 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7139 initialize the GOT register before use.
7140
2a649725
TS
7141 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7142 calculation of ARGC > 4.
7143
af1bce34
TS
7144 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7145 meaningful names to some local labels.
7146
d230f50a
KK
71472012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7148 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7149
7150 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7151 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7152 (__arch_compare_and_exchange_val_16_acq): Likewise.
7153 (__arch_compare_and_exchange_val_32_acq): Likewise.
7154 (atomic_exchange_and_add): Fix gUSA sequence.
7155 (atomic_add): Likewise.
7156 (atomic_add_negative): Likewise.
7157 (atomic_add_zero): Likewise.
7158 (atomic_bit_test_set): Likewise.
7159
0479b305
AS
71602012-06-22 Andreas Schwab <schwab@redhat.com>
7161
7162 [BZ #13579]
7163 * include/link.h (struct link_map): Add l_free_initfini.
7164 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7165 l_initfini.
7166 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7167 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7168 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7169 set.
7170
0e3933b9
CD
71712012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7172
7173 * configure.in: Use AC_LANG_SOURCE.
7174 * configure: Regenerate.
7175
4248b1b1
RM
71762012-06-22 Roland McGrath <roland@hack.frob.com>
7177
7178 * configure.in (libc_cv_localstatedir): New substituted variable.
7179 * configure: Regenerated.
7180 * config.make.in (localstatedir): New variable, substituted from
7181 libc_cv_localstatedir.
7182 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7183 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7184 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7185 * sysdeps/gnu/configure: Regenerated.
7186
006dd861
JL
71872012-06-21 Jeff Law <law@redhat.com>
7188
7189 [BZ #14277]
7190 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7191 free. Simplify list management for _LIBC case.
7192
79662d42
JM
71932012-06-21 Joseph Myers <joseph@codesourcery.com>
7194
b7abb4bf
JM
7195 [BZ #14273]
7196 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7197 Clear sign bit of 64-bit integer value before comparing against
7198 overflow value.
7199
79662d42
JM
7200 * sysdeps/mach/configure: Regenerated.
7201
1f150908
L
72022012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7203
7204 [BZ #14278]
7205 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7206
28363bbf
JL
72072012-06-21 Jeff Law <law@redhat.com>
7208
7209 [BZ #13882]
7210 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7211 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 7212 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
7213 * elf/dl-open.c (dl_open_worker): Likewise.
7214
09615db4
CD
72152012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7216
7217 * scripts/list-sources.sh: Scan PORTS for translations.
7218 * po/libc.pot: Regenerated.
7219
2174c6dd
AJ
72202012-06-21 Andreas Jaeger <aj@suse.de>
7221
7222 [BZ #12194]
7223 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7224 warning.
7225 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7226 * bits/byteswap-16.h (__bswap_16): Likewise.
7227 * bits/byteswap.h (__bswap_constant_16): Likewise.
7228
3ee947b1
L
72292012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7230
7231 [BZ #14117]
a2f34833
L
7232 * sysdeps/i386/fpu_control.h: Removed.
7233 * sysdeps/x86_64/fpu_control.h: Moved to ...
7234 * sysdeps/x86/fpu_control.h: Here.
7235
3ee947b1
L
7236 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7237 (_FPU_SETCW): Likewise.
7238
ed1825f8
L
72392012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7240
25f1282a
L
7241 [BZ #14117]
7242 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7243 * sysdeps/x86/fpu/bits/mathinline.h: This.
7244 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7245
ed1825f8
L
7246 [BZ #14050]
7247 [BZ #14117]
7248 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7249 functions if __x86_64__ is defined.
7250
36d54b74
CLT
72512012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7252
7253 * string/endian.h: Add !__ASSEMBLER__ condition for including
7254 conversion interfaces.
7255
10285c21
JM
72562012-06-15 Joseph Myers <joseph@codesourcery.com>
7257
7258 [BZ #14241]
7259 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7260 of ABS(x) in calculating zero to negative powers other than odd
7261 integers.
7262 * math/libm-test.inc (pow_test): Add more tests.
7263
06c5abbd
AJ
72642012-06-15 Andreas Jaeger <aj@suse.de>
7265
7266 * manual/contrib.texi (Contributors): Update entry of Liubov
7267 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7268 Machado Filho.
7269
a3aeac40
CH
72702012-06-15 Cyril Hrubis <metan@ucw.cz>
7271
7272 * string/string.h: Add __wur to GNU version of strerror_r.
7273
49bdf4c1
L
72742012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7275
7276 [BZ #14229]
7277 * string/Makefile (tests): Add tst-strtok_r.
7278 * string/tst-strtok_r.c: New file.
7279 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7280 RAX_LP/RDX_LP on SAVE_PTR.
7281
834f9b8d
RM
72822012-06-14 Roland McGrath <roland@hack.frob.com>
7283
7284 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7285
75fa1921
JM
72862012-06-14 Joseph Myers <joseph@codesourcery.com>
7287
7288 * libm_test.inc (csqrt_test): Allow more spurious underflow
7289 exceptions.
7290 (j0_test): Likewise.
7291 (j1_test): Likewise.
7292 (y0_test): Likewise.
7293 (y1_test): Likewise.
7294
771766df
CD
72952012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7296
7297 * po/Makefile (libc.pot): Use UTF-8 charset.
7298
ceb9e56b
PP
72992012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7300
7301 [BZ #14210]
7302 Suppress sign-conversion warning from FD_SET.
7303 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7304 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7305 not unsigned long int.
7306 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7307
ddb28975
L
73082012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7309
7310 [BZ #14050]
7311 [BZ #14117]
7312 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7313 __extern_always_inline instead of __extern_inline.
7314 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7315 (__signbit): Likewise.
7316 (__signbitl): Support C++ namespace.
7317 (lrintf): New inline function.
7318 (lrint): Likewise.
7319 (llrintf): Likewise.
7320 (llrint): Likewise.
7321 (fmaxf): Likewise.
7322 (fmax): Likewise.
7323 (fminf): Likewise.
7324 (fmin): Likewise.
7325 (rint): Likewise.
7326 (rintf): Likewise.
7327 (ceil): Likewise.
7328 (ceilf): Likewise.
7329 (floor): Likewise.
7330 (floorf): Likewise.
7331 (nearbyint): Likewise.
7332 (nearbyintf): Likewise.
7333
d7b4fb26
TS
73342012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7335
7336 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7337 non-default versions.
7338
eb55f5c2
RM
73392012-06-11 Roland McGrath <roland@hack.frob.com>
7340
7341 [BZ #14218]
7342 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7343
366af02c
TS
73442012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7345
99ff6e5c
TS
7346 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7347 (FE_UPWARD, FE_DOWNWARD): Don't define.
7348 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7349 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7350
366af02c
TS
7351 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7352 reading it.
7353 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7354 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7355
793ea851
KK
73562012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7357
7358 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7359 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7360 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7361 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7362
a728a38f
L
73632012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7364
7365 [BZ #14117]
c08010c7
L
7366 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7367 * sysdeps/i386/fpu/Implies: New file.
7368 * sysdeps/x86_64/fpu/Implies: Likewise.
7369 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7370 * sysdeps/x86/fpu/bits/fenv.h: This.
7371
a728a38f
L
7372 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7373 __SSE_MATH__.
7374
6e230d11
SP
73752012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7376
7377 [BZ #14134]
7378 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7379 character 0xffff that matches the last element of the
7380 conversion table.
7381
1b671feb
AZ
73822012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7383
7384 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7385 fmodl commit.
7386
6043738b
AZ
73872012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7388
7389 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7390 values higher than 25.6283.
7391
34ae0b32
AZ
73922012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7393
7394 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7395 subnormal exponent extraction and add some __builtin_expect.
7396 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7397 Fix for subnormal mantissa calculation.
7398
1214ec8f
MF
73992012-06-04 Mike Frysinger <vapier@gentoo.org>
7400
7401 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7402 cpu2 is -1 and errno is not ENOSYS.
7403
f3d1f93c
L
74042012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7405
7406 [BZ #14117]
0e4a3cd7
L
7407 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7408 * sysdeps/x86/bits/string.h: This.
7409 * sysdeps/x86_64/bits/string.h: Removed.
7410
6704c645
L
7411 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7412 if not compiling for x86-64, but compiling for >= i486.
7413
48495318
L
7414 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7415 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7416
14adcbfc
L
7417 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7418 New macro from Linux kernel 3.4.0.
7419 (FP_XSTATE_MAGIC2): Likewise.
7420 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7421 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7422 (struct _fpx_sw_bytes): New struct.
7423 (struct _xsave_hdr): Likewise.
7424 (struct _ymmh_state): Likewise.
7425 (struct _xstate): Likewise.
7426
68e408ab
L
7427 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7428 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7429 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7430 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7431 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7432 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7433
f3d1f93c
L
7434 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7435 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7436 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7437 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7438 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7439 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7440
d9dc34cd
TMQMF
74412012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7442
7443 [BZ #13743]
7444 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7445 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7446 (sysdep_headers): Include sys/platform/ppc.h.
7447 * sysdeps/powerpc/test-gettimebase.c: Test for
7448 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7449 * manual/Makefile (appendices): Include platform.texi.
7450 * manual/contrib.texi (Contributors): Update @node pointers.
7451 * manual/maint.texi (Maintenance): Likewise.
7452 (Platform): New node.
7453 * manual/platform.texi: New file. Document the new features.
7454
4af3879c
SP
74552012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7456 Jakub Jelinek <jakub@redhat.com>
7457
7458 [BZ #14188]
7459 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7460 where __builtin_expect is unavailable.
7461
2fd6ff13
DM
74622012-06-03 David S. Miller <davem@davemloft.net>
7463
7464 * stdlib/longlong.h: Updated from GCC.
7465
173f7220
AS
74662012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7467
7468 [BZ #14042]
7469 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7470 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7471 __mcount_internal.
7472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7473 (GLIBC_2.16): Likewise.
7474
f34a1c6f
L
74752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7476
7477 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7478
88a4576f
JM
74792012-06-01 Joseph Myers <joseph@codesourcery.com>
7480
ea32bcdd
JM
7481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7482 (default-abi): New variable.
7483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7484 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7485 variable.
7486 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7487 Likewise.
7488 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7489 Likewise.
7490 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7491 Likewise.
7492
88a4576f
JM
7493 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7494 definition. Document in comment.
7495
402fe938
DM
74962012-06-01 David S. Miller <davem@davemloft.net>
7497
7498 * stdlib/longlong.h: Updated from GCC.
7499
3553723f
L
75002012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7501
7502 [BZ #14117]
3bd872c4
L
7503 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7504 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7505 sys/debugreg.h sys/io.h here.
7506 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7507 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7508 sys/io.h.
7509 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7510 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7511 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7512 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7513 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7514 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7515
3553723f
L
7516 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7517 Define only if __x86_64__ is defined.
7518
4842e4fe
JM
75192012-06-01 Joseph Myers <joseph@codesourcery.com>
7520
c5bfe3d5
JM
7521 [BZ #14048]
7522 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7523 Use int64_t for variable i.
7524 * math/libm-test.inc (fmod_test): Add more tests.
7525
4842e4fe
JM
7526 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7527 z computation is not scheduled after fetestexcept.
7528 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7529 Use math_force_eval instead of asm to ensure calculation scheduled
7530 before exception test.
7531 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7532 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7533
efb73488
AJ
75342012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7535
7536 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7537 computation is not scheduled after fetestexcept.
7538
29bcce7c
L
75392012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7540
7541 [BZ #14117]
7542 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7543 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7544
73a68f94
AZ
75452012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7546
7547 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7548 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7549
67b6df78
L
75502012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7551
edf2933a 7552 [BZ #14117]
ebc64a18
L
7553 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7554 <bits/wordsize.h>.
7555 (__WCHAR_MIN): Support __WORDSIZE == 64.
7556 (__WCHAR_MAX): Likewise.
7557
edf2933a
L
7558 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7559 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7560
57c6cf40
L
7561 [BZ #14183]
7562 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7563 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7564
67b6df78 7565 [BZ #14117]
8eb6281e
L
7566 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7567 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7568
aac639f4
L
7569 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7570 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7571
67b6df78
L
7572 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7573 Defined to 1 if __x86_64__ isn't defined.
7574 (_STAT_VER_LINUX_OLD): New.
7575 (st_atime): Remove duplicate.
7576 (st_mtime): Likewise.
7577 (st_ctime): Likewise.
7578
1c2cfe81
DM
75792012-05-31 David S. Miller <davem@davemloft.net>
7580
7581 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7582 entries.
7583
5be8418c
AS
75842012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7585
e7725326
AS
7586 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7587 gen-libm-test.pl.
7588
5be8418c
AS
7589 [BZ #14132]
7590 * elf/dl-reloc.c: Include <_itoa.h>.
7591 (_dl_reloc_bad_type): Remove use of INTUSE.
7592 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7593 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7594 * stdio-common/psiginfo.c (psiginfo): Likewise.
7595 * stdio-common/psignal.c (psignal): Likewise.
7596 * string/strsignal.c (strsignal): Likewise.
7597 * include/signal.h (_sys_siglist): Declare hidden proto.
7598 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7599 INTVARDEF with libc_hidden_data_def.
7600 * stdio-common/itoa-udigits.c: Likewise.
7601 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7602 (_itoa_lower_digits_internal): Remove declaration.
7603 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7604 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7605 (_sys_sigabbrev_internal): Remove aliases.
7606 (_sys_siglist): Define hidden alias.
7607
507352f1
MT
76082012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7609
7610 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7611 bits/sysctl.h.
7612
42bbb1c3
L
76132012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7614
7615 [BZ #14117]
6bd784b6
L
7616 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7617 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7618
8bca20f0
L
7619 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7620 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7621 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7622 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7623 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7624 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7625
f9e890a9
L
7626 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7627 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7628 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7629
471101a1
L
7630 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7631 with __addr.
7632 (insw): Likewise.
7633 (insl): Likewise.
7634 (outsb): Likewise.
7635 (outsw): Likewise.
7636 (outsl): Likewise.
7637
6451c862
L
7638 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7639 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7640 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7641
a254b8c9
L
7642 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7643 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7644 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7645 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7646 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7647 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7648
b8dfdd92
L
7649 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7650 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7651
578cd270
L
7652 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7653 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7654
de662f5f
L
7655 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7656 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7657 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7658
25653439
L
7659 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7660 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7661 to ...
7662 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7663
6bad24a0
L
7664 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7665 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7666 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7667
42bbb1c3
L
7668 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7669 for x86-64.
7670 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7671
2d10d547
JM
76722012-05-31 Joseph Myers <joseph@codesourcery.com>
7673
7674 * math/math.h (M_El): Use two more decimal places.
7675 (M_LOG2El): Likewise.
7676 (M_LOG10El): Likewise.
7677 (M_LN2l): Likewise.
7678 (M_LN10l): Likewise.
7679 (M_PIl): Likewise.
7680 (M_PI_2l): Likewise.
7681 (M_PI_4l): Likewise.
7682 (M_1_PIl): Likewise.
7683 (M_2_PIl): Likewise.
7684 (M_2_SQRTPIl): Likewise.
7685 (M_SQRT2l): Likewise.
7686 (M_SQRT1_2l): Likewise.
7687
f230c29b
DM
76882012-05-31 David S. Miller <davem@davemloft.net>
7689
7690 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7691 values between float registers.
7692 * sysdeps/sparc/sparc64/memset.S: Likewise.
7693 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7694
fed806c3
MF
76952012-05-31 Mike Frysinger <vapier@gentoo.org>
7696
7697 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7698 -D_FORTIFY_SOURCE=1.
7699 (CPPFLAGS-tst-longjmp_chk.c): Define.
7700 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7701 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7702 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7703 CFLAGS-tst-wchar-h.c.
7704
30917259
MP
77052012-05-31 Marek Polacek <polacek@redhat.com>
7706
7707 [BZ #14132]
7708 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7709 __endmntent_internal): Remove declaration.
7710 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7711 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7712 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7713
1c58d5dc
DM
77142012-05-30 David S. Miller <davem@davemloft.net>
7715
7716 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7717 (___Q_simulate_exceptions): Use real FP ops rather than writing
7718 into the %fsr.
7719 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7720 Likewise.
7721
7dc00e0d
L
77222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7723
7724 [BZ #14117]
0bd53985
L
7725 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7726 * sysdeps/x86/bits/xtitypes.h: This.
7727
3a257e66
L
7728 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7729 * sysdeps/x86/bits/wordsize.h: This.
7730
62f62904
L
7731 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7732 * sysdeps/x86/bits/huge_vall.h: This.
7733
404fe9d9
L
7734 * sysdeps/i386/bits/select.h: Removed.
7735 * sysdeps/x86_64/bits/select.h: Renamed to ...
7736 * sysdeps/x86/bits/select.h: This.
7737
d48d0446
L
7738 * sysdeps/i386/bits/setjmp.h: Removed.
7739 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7740 * sysdeps/x86/bits/setjmp.h: This.
7741
7dc00e0d
L
7742 * sysdeps/i386/bits/mathdef.h: Removed.
7743 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7744 * sysdeps/x86/bits/mathdef.h: This.
7745
03277f8f
AS
77462012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7747
7748 [BZ #14132]
7749 * include/sys/socket.h (__connect_internal)
7750 (__libc_sa_len_internal): Remove declaration.
7751 (__connect, __libc_sa_len): Declare hidden_proto.
7752 (SA_LEN): Remove use of INTUSE.
7753 * socket/connect.c: Add libc_hidden_def.
7754 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7755 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7756 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7757 alias.
7758 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7759 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7760 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7761 of adding _internal alias.
7762
13764867
L
77632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7764
7765 [BZ #14117]
6bd97696
L
7766 * sysdeps/i386/bits/link.h: Removed.
7767 * sysdeps/i386/bits/linkmap.h: Likewise.
7768 * sysdeps/x86_64/bits/link.h: Renamed to ...
7769 * sysdeps/x86/bits/link.h: This.
7770 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7771 * sysdeps/x86/bits/linkmap.h: This.
7772
f726f0bb
L
7773 * sysdeps/i386/bits/endian.h: Removed.
7774 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7775 * sysdeps/x86/bits/endian.h: This.
7776
13764867
L
7777 * sysdeps/i386/bits/byteswap.h: Removed.
7778 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7779 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7780 * sysdeps/x86/bits/byteswap.h: This.
7781 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7782 * sysdeps/x86/bits/byteswap-16.h: This.
7783 * sysdeps/i386/Implies: Add x86.
7784 * sysdeps/x86_64/Implies: Likewise.
7785
ae251b0b
DM
77862012-05-30 David S. Miller <davem@davemloft.net>
7787
7788 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7789 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7790 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7791 (FP_TRAPPING_EXCEPTIONS): Define.
7792 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7793 (FP_TRAPPING_EXCEPTIONS): Define.
7794 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7795 subnormals only when inexact has been signalled or underflow
7796 exceptions are enabled.
7797 (_FP_PACK_CANONICAL): Likewise.
7798
d5c90867
L
77992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7800
7801 [BZ #14183]
7802 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7803 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7804
63f1549e
RH
78052012-05-30 Richard Henderson <rth@twiddle.net>
7806
8d8f2279
RH
7807 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7808 with #ifndef NOT_IN_libc.
7809
63f1549e
RH
7810 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7811 marked to avoid plt entry.
7812
0ab0291b
L
78132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7814
7815 [BZ #14112]
7816 * Makeconfig (default-abi): New macro.
7817 (abi-includes): Likewise.
7818 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7819 $(abi-$(default-abi)-lib-soname) for soname if defined.
7820 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7821 abi-variants.
7822 * Makefile (installed-stubs): Likewise.
7823 * include/stubs-biarch.h: Removed.
7824 * scripts/lib-names.awk: Only handle one library at a time.
7825 * scripts/soversions.awk: Remove WORDSIZE support.
7826 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7827 entries.
7828 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7829 Removed.
7830 (syscall-list-default-condition): Likewise.
7831 (syscall-list-default-condition): Likewise.
7832 (syscall-list-includes): Likewise.
7833 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7834 syscall-list-* with abi-*. Handle undefined abi-variants.
7835 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7836 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7837 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7838 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7839 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7840 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7841 Removed.
7842 (syscall-list-32-options): Likewise.
7843 (syscall-list-32-condition): Likewise.
7844 (syscall-list-64-options): Likewise.
7845 (syscall-list-64-condition): Likewise.
7846 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7847 macro.
7848 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7849 Renamed to ...
7850 (abi-*): This.
7851 (abi-64-ld-soname): New macro.
7852 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7853 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7854 Renamed to ...
7855 (abi-*): This.
7856 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7857 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7858
4da0431d
JM
78592012-05-30 Joseph Myers <joseph@codesourcery.com>
7860
3a85279c
JM
7861 * sysdeps/unix/sysv/linux/kernel-features.h
7862 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7863 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7864 include <kernel-features.h>.
7865 [!__NR_ftruncate64]: Remove conditional code.
7866 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7867 [__NR_ftruncate64]: Make code unconditional.
7868 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7869 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7870 include <kernel-features.h>.
7871 [!__NR_ftruncate64]: Remove conditional code.
7872 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7873 [__NR_ftruncate64]: Make code unconditional.
7874 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7876 include <kernel-features.h>.
7877 [!__NR_ftruncate64]: Remove conditional code.
7878 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7879 [__NR_ftruncate64]: Make code unconditional.
7880 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7882 include <kernel-features.h>.
7883 [!__NR_ftruncate64]: Remove conditional code.
7884 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7885 [__NR_ftruncate64]: Make code unconditional.
7886 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7887
4da0431d
JM
7888 * configure.in (libc_cv_fpie): Weaken to a compile test using
7889 LIBC_TRY_CC_OPTION.
7890 * configure: Regenerated.
7891
11ef492c
AK
78922012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7893
7894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7898 Refreshed.
7899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7905 Refreshed.
7906
d66ef399
DM
79072012-05-27 David S. Miller <davem@davemloft.net>
7908
7909 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7910 (___Q_zero): New.
7911 (__Q_simulate_exceptions): Return void. Change to simulate
7912 exceptions by writing into the %fsr.
7913 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7914 (__Qp_handle_exceptions): Likewise.
7915 (numbers): Delete.
7916 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7917 __Qp_handle_exceptions.
7918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7919 __Qp_handle_exceptions.
7920 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7921 as unused and give dummy FP_RND_NEAREST initializer.
7922 (FP_INHIBIT_RESULTS): Define.
7923 (___Q_simulate_exceptions): Update declaration.
7924 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7925 formatting.
7926 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7927 as unused and give dummy FP_RND_NEAREST initializer.
7928 (__Qp_handle_exceptions): Update declaration.
7929 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7930 formatting.
7931
04fb54b5
TS
79322012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7933
7934 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7935 the temporary FPU control word.
7936 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7937 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7938 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7939 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7940 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7941 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7942 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7943 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7944 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7945 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7946 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7947
3f99608f
KK
79482012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7949
7950 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7951 fields.
7952
65a4de4e
CLT
79532012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7954
7955 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7956 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7957 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7958 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7959 Likewise.
7960 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7961 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7962 Likewise.
7963
15749d40
UD
79642012-05-27 Ulrich Drepper <drepper@gmail.com>
7965
7966 * po/h.po: Update from translation team.
7967
25dbcb27
AS
79682012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7969
3d3f8e55
AS
7970 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7971
25dbcb27
AS
7972 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7973 handling of denormals.
7974 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7975 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7976 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7977 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7978 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7979 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7980 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7981 Likewise.
7982
7ad47a80 79832012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7984
7985 [BZ #14152]
7986 * math/libm-test.inc (fma_test): Don't always expect underflow
7987 exception.
7988
9c6ea9fa
SP
79892012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7990
7991 [BZ #12416]
7992 * elf/tst-execstack.c: Include stackinfo.h.
7993 (do_test): Adjust test case to ensure that pthread_getattr_np
7994 behaviour remains the same after marking stack executable.
7995
a8239222
JM
79962012-05-25 Joseph Myers <joseph@codesourcery.com>
7997
7998 * sysdeps/unix/sysv/linux/kernel-features.h
7999 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8000 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8001 kernel-features.h.
8002 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8003 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8004 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8005 kernel-features.h.
8006 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8007 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8008
918b5606
L
80092012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8010
8011 * configure.in: Define the default includes to being none.
8012 * configure: Regenerated.
8013
3a097cc7
RM
80142012-05-25 Roland McGrath <roland@hack.frob.com>
8015
8422c9a5
RM
8016 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8017 * sysdeps/x86_64/setjmp.S: Likewise.
8018 * sysdeps/i386/bsd-setjmp.S: Likewise.
8019 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8020 * sysdeps/i386/setjmp.S: Likewise.
8021 * sysdeps/i386/__longjmp.S: Likewise.
8022 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8023 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8024
3a097cc7
RM
8025 * include/stap-probe.h: New file.
8026 * configure.in: Handle --enable-systemtap.
8027 * configure: Regenerated.
8028 * config.h.in (USE_STAP_PROBE): New #undef.
8029 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8030 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8031 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8032
21708942
JM
80332012-05-25 Joseph Myers <joseph@codesourcery.com>
8034
8035 [BZ #13717]
8036 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8037 to 2.4.0 where earlier.
8038 * sysdeps/unix/sysv/linux/configure: Regenerated.
8039 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8040 <kernel-features.h>.
8041 [__ASSUME_32BITUIDS]: Make code unconditional.
8042 [!__ASSUME_32BITUIDS]: Remove conditional code.
8043 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8044 <kernel-features.h>.
8045 [__ASSUME_32BITUIDS]: Make code unconditional.
8046 [!__ASSUME_32BITUIDS]: Remove conditional code.
8047 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8048 [__ASSUME_32BITUIDS]: Make code unconditional.
8049 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8050 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8051 <kernel-features.h>.
8052 [__ASSUME_32BITUIDS]: Make code unconditional.
8053 [!__ASSUME_32BITUIDS]: Remove conditional code.
8054 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.c: Do not include
8063 <kernel-features.h>.
8064 [__ASSUME_32BITUIDS]: Make code unconditional.
8065 [!__ASSUME_32BITUIDS]: Remove conditional code.
8066 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8067 <kernel-features.h>.
8068 [__ASSUME_32BITUIDS]: Make code unconditional.
8069 [!__ASSUME_32BITUIDS]: Remove conditional code.
8070 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8071 <kernel-features.h>.
8072 [__ASSUME_32BITUIDS]: Make code unconditional.
8073 [!__ASSUME_32BITUIDS]: Remove conditional code.
8074 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8075 <kernel-features.h>.
8076 [__ASSUME_32BITUIDS]: Make code unconditional.
8077 [!__ASSUME_32BITUIDS]: Remove conditional code.
8078 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8079 <kernel-features.h>.
8080 [__ASSUME_32BITUIDS]: Make code unconditional.
8081 [!__ASSUME_32BITUIDS]: Remove conditional code.
8082 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8083 <kernel-features.h>.
8084 [__ASSUME_32BITUIDS]: Make code unconditional.
8085 [!__ASSUME_32BITUIDS]: Remove conditional code.
8086 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8087 <kernel-features.h>.
8088 [__ASSUME_32BITUIDS]: Make code unconditional.
8089 [!__ASSUME_32BITUIDS]: Remove conditional code.
8090 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8091 <kernel-features.h>.
8092 [__NR_setresgid] (__setresgid): Do not declare.
8093 [__ASSUME_32BITUIDS]: Make code unconditional.
8094 [!__ASSUME_32BITUIDS]: Remove conditional code.
8095 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8096 <kernel-features.h>.
8097 [__NR_setresuid] (__setresuid): Do not declare.
8098 [__ASSUME_32BITUIDS]: Make code unconditional.
8099 [!__ASSUME_32BITUIDS]: Remove conditional code.
8100 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8101 <kernel-features.h>.
8102 [__ASSUME_32BITUIDS]: Make code unconditional.
8103 [!__ASSUME_32BITUIDS]: Remove conditional code.
8104 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8105 <kernel-features.h>.
8106 [__ASSUME_32BITUIDS]: Make code unconditional.
8107 [!__ASSUME_32BITUIDS]: Remove conditional code.
8108 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8109 <kernel-features.h>.
8110 [__ASSUME_32BITUIDS]: Make code unconditional.
8111 [!__ASSUME_32BITUIDS]: Remove conditional code.
8112 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8113 <kernel-features.h>.
8114 [__ASSUME_32BITUIDS]: Make code unconditional.
8115 [!__ASSUME_32BITUIDS]: Remove conditional code.
8116 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8117 <kernel-features.h>.
8118 [__ASSUME_32BITUIDS]: Make code unconditional.
8119 [!__ASSUME_32BITUIDS]: Remove conditional code.
8120 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8121 <kernel-features.h>.
8122 [__ASSUME_32BITUIDS]: Make code unconditional.
8123 [!__ASSUME_32BITUIDS]: Remove conditional code.
8124 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8125 <kernel-features.h>.
8126 [__ASSUME_32BITUIDS]: Make code unconditional.
8127 [!__ASSUME_32BITUIDS]: Remove conditional code.
8128 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8129 <kernel-features.h>.
8130 [__ASSUME_32BITUIDS]: Make code unconditional.
8131 [!__ASSUME_32BITUIDS]: Remove conditional code.
8132 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8133 <kernel-features.h>.
8134 [__ASSUME_32BITUIDS]: Make code unconditional.
8135 [!__ASSUME_32BITUIDS]: Remove conditional code.
8136 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8137 <kernel-features.h>.
8138 [__ASSUME_32BITUIDS]: Make code unconditional.
8139 [!__ASSUME_32BITUIDS]: Remove conditional code.
8140 * sysdeps/unix/sysv/linux/kernel-features.h
8141 (__ASSUME_SETRESUID_SYSCALL): Remove.
8142 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8143 (__ASSUME_32BITUIDS): Likewise.
8144 (__ASSUME_LDT_WORKS): Likewise.
8145 (__ASSUME_O_DIRECTORY): Likewise.
8146 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8147 architecture but not kernel version.
8148 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8149 (__ASSUME_MMAP2_SYSCALL): Likewise.
8150 (__ASSUME_STAT64_SYSCALL): Likewise.
8151 (__ASSUME_IPC64): Likewise.
8152 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8153 <kernel-features.h>.
8154 [__ASSUME_32BITUIDS]: Make code unconditional.
8155 [!__ASSUME_32BITUIDS]: Remove conditional code.
8156 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8157 <kernel-features.h>.
8158 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8159 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8160 132096]: Remove conditional code.
8161 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8162 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8163 <kernel-features.h>.
8164 [__ASSUME_32BITUIDS]: Make code unconditional.
8165 [!__ASSUME_32BITUIDS]: Remove conditional code.
8166 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8167 <kernel-features.h>.
8168 [__ASSUME_32BITUIDS]: Make code unconditional.
8169 [!__ASSUME_32BITUIDS]: Remove conditional code.
8170 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8171 <kernel-features.h>.
8172 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8173 unconditional.
8174 (__setresgid): Do not declare.
8175 [__ASSUME_32BITUIDS]: Make code unconditional.
8176 [!__ASSUME_32BITUIDS]: Remove conditional code.
8177 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8178 <kernel-features.h>.
8179 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8180 unconditional.
8181 (__setresuid): Do not declare.
8182 [__ASSUME_32BITUIDS]: Make code unconditional.
8183 [!__ASSUME_32BITUIDS]: Remove conditional code.
8184 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8185 <kernel-features.h>.
8186 [__ASSUME_32BITUIDS]: Make code unconditional.
8187 [!__ASSUME_32BITUIDS]: Remove conditional code.
8188 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8189 <kernel-features.h>.
8190 [__ASSUME_32BITUIDS]: Make code unconditional.
8191 [!__ASSUME_32BITUIDS]: Remove conditional code.
8192
a386f1cc
RH
81932012-05-25 Richard Henderson <rth@twiddle.net>
8194
8195 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8196 dl_hwcap to ifunc resolver.
8197 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8198 elf_ifunc_invoke.
8199 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8200 dl_hwcap to ifunc resolver.
8201 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8202
b6550497
JM
82032012-05-24 Joseph Myers <joseph@codesourcery.com>
8204
8205 [BZ #14153]
8206 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8207 for |x| <= 2**-26, not 2**-57.
8208 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8209 exception.
8210
b0bc23a1
JL
82112012-05-24 Jeff Law <law@redhat.com>
8212
8213 * stdio-common/Makefile (tests): Add bug25.
8214 * stdio-common/bug25.c: New test.
8215
347c92e9
L
82162012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8217
8218 [BZ #13576]
8219 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8220 multiple of MALLOC_ALIGNMENT in size.
8221 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8222
6bcc8b3f
JM
82232012-05-24 Joseph Myers <joseph@codesourcery.com>
8224
8225 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8226 Require >= 256.
8227 (FILENAME_MAX): Use macro-int-constant.
8228 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8229 (_IOFBF): Use macro-int-constant.
8230 (_IOLBF): Likewise.
8231 (_IONBF): Likewise.
8232 (SEEK_CUR): Likewise.
8233 (SEEK_END): Likewise.
8234 (SEEK_SET): Likewise.
8235 (TMP_MAX): Likewise.
8236 (EOF): Use macro-int-constant. Require < 0.
8237 (NULL): Use macro-constant. Require == 0.
8238 (stdin): Require type to be FILE *.
8239 (stdout): Likewise.
8240 (stderr): Likewise.
8241 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8242 macro-int-constant.
8243 (EXIT_SUCCESS): Likewise.
8244 (NULL): Use macro-constant. Require == 0.
8245 (RAND_MAX): Use macro-int-constant.
8246 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8247 [C99-based standards] (strtof): Require function.
8248 [C99-based standards] (strtold): Likewise.
8249 [C99-based standards] (strtoll): Likewise.
8250 [C99-based standards] (strtoull): Likewise.
8251 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8252 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8253 [ISO || ISO99 || ISO11] (math.h): Likewise.
8254 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8255 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8256 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8257
d18ea0c5
AS
82582012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8259
8260 [BZ #14132]
56d25bb8
AS
8261 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8262 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8263 * intl/dgettext.c (DCGETTEXT): Likewise.
8264 * intl/gettext.c (DCGETTEXT): Likewise.
8265 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8266 * posix/regex_internal.h (gettext): Likewise.
8267 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8268 Remove declaration.
8269 * include/argz.h (__argz_count_internal)
8270 (__argz_stringify_internal): Remove declaration.
8271 (__argz_count, __argz_stringify): Declare hidden proto.
8272 * intl/dcgettext.c: Remove use of INTDEF.
8273 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8274 * string/argz-stringify.c: Likewise.
8275 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8276 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8277 Declare hidden proto.
d18ea0c5
AS
8278 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8279 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8280 Declare hidden proto.
8281 * include/stdio.h (__asprintf_internal): Don't declare.
8282 (__asprintf): Don't define as macro. Declare hidden proto.
8283 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8284 (__fsetlocking): Declare hidden proto.
8285 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8286 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8287 hidden proto.
8288 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8289 (_IO_setlinebuf): Remove use of INTUSE.
8290 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8291 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8292 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8293 Remove declaration.
8294 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8295 (_IO_do_flush): Remove use of INTUSE.
8296 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8297 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8298 (_IO_adjust_column, _IO_least_wmarker)
8299 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8300 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8301 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8302 (_IO_default_doallocate, _IO_wdefault_doallocate)
8303 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8304 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8305 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8306 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8307 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8308 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8309 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8310 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8311 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8312 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8313 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8314 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8315 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8316 proto.
8317 (_IO_flush_all_internal, _IO_adjust_column_internal)
8318 (_IO_default_uflow_internal, _IO_default_finish_internal)
8319 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8320 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8321 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8322 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8323 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8324 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8325 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8326 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8327 (_IO_file_close_internal, _IO_file_close_it_internal)
8328 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8329 (_IO_file_init_internal, _IO_file_attach_internal)
8330 (_IO_file_fopen_internal, _IO_file_read_internal)
8331 (_IO_file_sync_internal, _IO_file_seek_internal)
8332 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8333 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8334 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8335 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8336 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8337 (_IO_list_all_internal, _IO_link_in_internal)
8338 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8339 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8340 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8341 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8342 (_IO_do_write_internal, _IO_padn_internal)
8343 (_IO_getline_info_internal, _IO_getline_internal)
8344 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8345 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8346 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8347 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8348 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8349 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8350 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8351 with libc_hidden_ver, remove use of INTUSE.
8352 * libio/genops.c: Likewise.
8353 * libio/freopen.c: Likewise.
8354 * libio/freopen64.c: Likewise.
8355 * libio/iofclose.c: Likewise.
8356 * libio/iofdopen.c: Likewise.
8357 * libio/iofflush.c: Likewise.
8358 * libio/iofflush_u.c: Likewise.
8359 * libio/iofgets.c: Likewise.
8360 * libio/iofgets_u.c: Likewise.
8361 * libio/iofopen.c: Likewise.
8362 * libio/iofopncook.c: Likewise.
8363 * libio/iofread.c: Likewise.
8364 * libio/iofread_u.c: Likewise.
8365 * libio/ioftell.c: Likewise.
8366 * libio/iofwrite.c: Likewise.
8367 * libio/iogetline.c: Likewise.
8368 * libio/iogets.c: Likewise.
8369 * libio/iogetwline.c: Likewise.
8370 * libio/iopadn.c: Likewise.
8371 * libio/iopopen.c: Likewise.
8372 * libio/ioseekoff.c: Likewise.
8373 * libio/ioseekpos.c: Likewise.
8374 * libio/iosetbuffer.c: Likewise.
8375 * libio/iosetvbuf.c: Likewise.
8376 * libio/ioungetc.c: Likewise.
8377 * libio/ioungetwc.c: Likewise.
8378 * libio/iovdprintf.c: Likewise.
8379 * libio/iovsprintf.c: Likewise.
8380 * libio/iovsscanf.c: Likewise.
8381 * libio/memstream.c: Likewise.
8382 * libio/obprintf.c: Likewise.
8383 * libio/oldfileops.c: Likewise.
8384 * libio/oldiofclose.c: Likewise.
8385 * libio/oldiofdopen.c: Likewise.
8386 * libio/oldiofopen.c: Likewise.
8387 * libio/oldiopopen.c: Likewise.
8388 * libio/oldstdfiles.c: Likewise.
8389 * libio/putc.c: Likewise.
8390 * libio/setbuf.c: Likewise.
8391 * libio/setlinebuf.c: Likewise.
8392 * libio/stdfiles.c: Likewise.
8393 * libio/strops.c: Likewise.
8394 * libio/vasprintf.c: Likewise.
8395 * libio/vscanf.c: Likewise.
8396 * libio/vsnprintf.c: Likewise.
8397 * libio/vswprintf.c: Likewise.
8398 * libio/wfiledoalloc.c: Likewise.
8399 * libio/wfileops.c: Likewise.
8400 * libio/wgenops.c: Likewise.
8401 * libio/wmemstream.c: Likewise.
8402 * libio/wstrops.c: Likewise.
8403 * libio/__fpurge.c: Likewise.
8404 * libio/__fsetlocking.c: Likewise.
8405 * assert/assert.c: Likewise.
8406 * debug/fgets_chk.c: Likewise.
8407 * debug/fgets_u_chk.c: Likewise.
8408 * debug/fread_chk.c: Likewise.
8409 * debug/fread_u_chk.c: Likewise.
8410 * debug/gets_chk.c: Likewise.
8411 * debug/obprintf_chk.c: Likewise.
8412 * debug/vasprintf_chk.c: Likewise.
8413 * debug/vdprintf_chk.c: Likewise.
8414 * debug/vsnprintf_chk.c: Likewise.
8415 * debug/vsprintf_chk.c: Likewise.
8416 * malloc/mtrace.c: Likewise.
8417 * misc/error.c: Likewise.
8418 * misc/syslog.c: Likewise.
8419 * stdio-common/asprintf.c: Likewise.
8420 * stdio-common/fxprintf.c: Likewise.
8421 * stdio-common/getw.c: Likewise.
8422 * stdio-common/isoc99_fscanf.c: Likewise.
8423 * stdio-common/isoc99_scanf.c: Likewise.
8424 * stdio-common/isoc99_vfscanf.c: Likewise.
8425 * stdio-common/isoc99_vscanf.c: Likewise.
8426 * stdio-common/isoc99_vsscanf.c: Likewise.
8427 * stdio-common/printf-prs.c: Likewise.
8428 * stdio-common/printf_fp.c: Likewise.
8429 * stdio-common/printf_fphex.c: Likewise.
8430 * stdio-common/printf_size.c: Likewise.
8431 * stdio-common/putw.c: Likewise.
8432 * stdio-common/scanf.c: Likewise.
8433 * stdio-common/sprintf.c: Likewise.
8434 * stdio-common/tmpfile.c: Likewise.
8435 * stdio-common/vfprintf.c: Likewise.
8436 * stdio-common/vfscanf.c: Likewise.
8437 * stdlib/strfmon_l.c: Likewise.
8438 * sunrpc/openchild.c: Likewise.
8439 * sunrpc/xdr_stdio.c: Likewise.
8440 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8441 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8442
d6c33fda
RM
84432012-05-24 Roland McGrath <roland@hack.frob.com>
8444
c1487492
RM
8445 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8446
8447 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8448 in the third column, to generate for the shared library an IFUNC
8449 that uses _dl_vdso_vsym.
8450 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8451 * Makeconfig (object-suffixes-noshared): New variable.
8452
8453 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8454 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8455 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8456 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8457
d6c33fda
RM
8458 [BZ #14132]
8459 * include/sys/time.h (__gettimeofday): Remove macro.
8460 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8461 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8462 Remove INTDEF.
8463 (__gettimeofday): Add libc_hidden_def.
8464 (gettimeofday): Add libc_hidden_weak.
8465 * sysdeps/mach/gettimeofday.c: Likewise.
8466 * sysdeps/posix/gettimeofday.c: Likewise.
8467 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8468 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8469 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8470 (__gettimeofday_internal): Remove strong_alias.
8471 (__gettimeofday): Add libc_hidden_def.
8472 (gettimeofday): Add libc_hidden_weak.
8473 * sysdeps/unix/syscalls.list (gettimeofday):
8474 Remove __gettimeofday_internal alias.
8475
b5a2bbe6
L
84762012-05-24 Daniel Jacobowitz <drow@false.org>
8477 H.J. Lu <hongjiu.lu@intel.com>
8478
8479 [BZ #12495]
8480 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8481 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8482 (largebin_index_32_big): New.
8483 (largebin_index): Use it for 16-byte alignment.
8484 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8485 correction with front_misalign.
8486
cfba4fda
L
84872012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8488
7f907421
L
8489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8491 Likewise.
8492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8493 Likewise.
8494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8495 Likewise.
8496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8497 Likewise.
8498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8499 Likewise.
8500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8501 Likewise.
8502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8503 Likewise.
8504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8505 Likewise.
8506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8507 Likewise.
8508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8509 Likewise.
8510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8511 Likewise.
8512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8513 Likewise.
8514
cfba4fda
L
8515 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8516 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8517
80bad0cc
JM
85182012-05-24 Joseph Myers <joseph@codesourcery.com>
8519
7a25eb06
JM
8520 [BZ #10846]
8521 [BZ #14036]
8522 * math/libm-test.inc (exp_test): Add test from bug 14036.
8523 (pow_test): Add test from bug 10846.
8524
795405f9
JM
8525 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8526 and other flags.
8527 (special_function): Do not include flags in test name.
8528 (parse_args): Likewise.
8529 * sysdeps/i386/fpu/libm-test-ulps: Update.
8530 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8531 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8532 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8534
80bad0cc
JM
8535 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8536 exceptions.
8537 * math/libm-test.inc ("Philosophy"): Update comment about
8538 exception testing.
8539 (UNDERFLOW_EXCEPTION): New macro.
8540 (UNDERFLOW_EXCEPTION_OK): Likewise.
8541 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8542 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8543 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8544 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8545 (INVALID_EXCEPTION_OK): Update value.
8546 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8547 (OVERFLOW_EXCEPTION_OK): Likewise.
8548 (IGNORE_ZERO_INF_SIGN): Likewise.
8549 (test_exceptions): Handle underflow exceptions.
8550 (acos_test): Update for underflow exception expectations.
8551 (cexp_test): Likewise.
8552 (clog_test): Likewise.
8553 (clog10_test): Likewise.
8554 (csqrt_test): Likewise.
8555 (ctan_test): Likewise.
8556 (ctanh_test): Likewise.
8557 (exp_test): Likewise.
8558 (exp10_test): Likewise.
8559 (exp2_test): Likewise.
8560 (expm1_test): Likewise.
8561 (fma_test): Likewise.
8562 (j0_test): Likewise.
8563 (jn_test): Likewise.
8564 (nexttoward_test): Likewise.
8565 (pow_test): Likewise.
8566 (scalbn_test): Likewise.
8567 (scalbln_test): Likewise.
8568 (tan_test): Likewise.
8569 (y1_test): Likewise.
8570 * sysdeps/i386/fpu/libm-test-ulps: Update.
8571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8572
9e0e3d0b
DM
85732012-05-23 David S. Miller <davem@davemloft.net>
8574
8575 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8576 (__libc_sigaction): Remove unused local variables.
8577
ccd0a08f
L
85782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8579
8580 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8581
62bdf9a6
PE
85822012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8583
f8591f80
PE
8584 mktime: avoid signed integer overflow
8585 * time/mktime.c (__mktime_internal): Do not mishandle the case
8586 where diff == INT_MIN.
8587
94c7d826
PE
8588 mktime: simplify computation of average
8589 * time/mktime.c (ranged_convert): Use new time_t_avg function
8590 instead of rolling our own (probably-slower) code.
8591
ce73d683
PE
8592 mktime: do not assume signed right shift propagates sign bit
8593 * time/mktime.c (isdst_differ): New static function.
8594 (__mktime_internal): No need to normalize tm_isdst now.
8595 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8596 tm_isdst values.
8597
72a22e59
PE
8598 mktime: merge another wrapv change from gnulib
8599 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8600 from some compilers.
8601
68605433
PE
8602 mktime: remove incorrect attempt at unusual arithmetics
8603 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8604 The code didn't really work on such machines anyway.
8605 (TYPE_MINIMUM): Assume two's complement.
8606 (twos_complement_arithmetic): Verify that long_int and time_t
8607 are two's complement (or unsigned, in the latter case).
8608
03cf7fe3
PE
8609 mktime: check signed shifts on long_int and time_t, too
8610 * time/mktime.c (SHR): Check that shifts work as desired
8611 on the types long_int and time_t too, as SHR is used on
8612 such types.
8613
f04dfbc2
PE
8614 mktime: do not assume 'long' is wide enough
8615 * time/mktime.c (verify): Move decl up.
8616 (long_int): New type.
8617 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8618 to remove assumption in the code that 'long' is wide enough to
8619 store year values. This assumption is not true on x32 and on
8620 some non-glibc platforms.
8621
62bdf9a6
PE
8622 mktime: merge wrapv change from gnulib
8623 * time/mktime.c (WRAPV): New macro.
8624 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8625 (guess_time_tm, __mktime_internal): Do not assume that signed
8626 integer overflow wraps around; modern compilers generate code
8627 where this assumption is no longer valid.
8628
5e292e4f
L
86292012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8630
8631 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8632 Replace "jmp L(pseudo_end)" with "ret".
8633 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8634 Likewise.
8635
8caf8c87
AJ
86362012-05-23 Andreas Jaeger <aj@suse.de>
8637
8638 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8639 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8640
1a09dc56
AJ
86412012-05-23 Andreas Jaeger <aj@suse.de>
8642 Maximilian Attems <max@stro.at>
8643
8644 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8645 New macros.
8646
1c87aba0
L
86472012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8648
8649 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8650 code so that pseudo_end is just ret and the stack pointer is
8651 correct also for static library in error case.
8652
40e45bd5
JM
86532012-05-23 Joseph Myers <joseph@codesourcery.com>
8654
c2670533
JM
8655 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8656 move to syscalls.list.
8657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8661
40e45bd5
JM
8662 * manual/install.texi (Running make install): Do not mention Linux
8663 kernel version for which pt_chown is not needed.
8664 (Linux): Do not mention problems with nscd with 2.0 kernels.
8665 * INSTALL: Regenerated.
8666
be08eda5
AJ
86672012-05-23 Andreas Jaeger <aj@suse.de>
8668
8669 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8670 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8671 macro.
8672 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8673 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8674 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8675 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8676 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8677 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8678 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8679 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8680 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8681 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8682 * sysdeps/unix/sysv/linux/bits/in.h
8683 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8684
a6a056bb
RM
86852012-05-22 Roland McGrath <roland@hack.frob.com>
8686
8687 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8688 (PREPARE_VERSION): Just use assert instead, it will be elided
8689 under [NDEBUG] anyway.
8690
c9009328
L
86912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8692
8693 * sysdeps/unix/sysv/linux/Makefile: Include
8694 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8695 (sysdep_routines): Remove sysctl.
c9009328
L
8696 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8697 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8698 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8699 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8700 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8701
73338355
AJ
87022012-05-22 Andreas Jaeger <aj@suse.de>
8703
8704 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8705 that pseudo_end is just ret and the stack pointer is correct also
8706 for static library in error case.
8707
d44638b0
PP
87082012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8709
8710 [BZ #14122]
8711 * nss/nsswitch.c (defconfig_entries): New variable.
8712 (__nss_database_lookup): Don't leak defconfig entries.
8713 (nss_parse_service_list): Don't leak on error paths.
8714 (free_database_entries): New function.
8715 (free_defconfig): New function.
8716 (free_mem): Move common code to free_database_entries.
8717
31a39bd8
L
87182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8719
da0331a8
L
8720 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8721 Add arch_prctl.
8722 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8723
31a39bd8
L
8724 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8725 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8726 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8727 New macro.
8728 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8729 (INTERNAL_SYSCALL_TYPES): Likewise.
8730 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8731 (LOAD_REGS_TYPES_[1-6]): Likewise.
8732 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8733 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8734
45470df3
AZ
87352012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8736
8737 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8738 copysignl for GLIBC_2_0.
8739 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8740 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8741 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8742 logbl for GLIBC_2_0.
8743 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8744 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8745
98a61bcb
L
87462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8747
a4f6e481
L
8748 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8749 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8750
f63d5db6
L
8751 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8752 Use "neg %eax".
8753
98a61bcb
L
8754 * time/mktime.c: Update copyright years.
8755
95770f14
PE
87562012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8757
6226efbd
PE
8758 mktime: merge comment-quoting-style change from gnulib
8759 * time/mktime.c: Quote 'like this' in comments.
8760 The GNU coding standards suggest that we no longer quote `like this',
8761 as "`" and "'" are typically rendered asymmetrically nowadays.
8762 The typical gnulib style is to quote 'like this' when quoting
8763 code, and "like this" when quoting English.
8764
b99e4f78
PE
8765 * time/mktime.c (compile-command): Add "-I.".
8766
643e01e6
PE
8767 mktime: merge mktime-internal.h change from gnulib
8768 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8769
2554247d
PE
8770 mktime: merge time_r change from gnulib
8771 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8772
826dd0ab
PE
8773 mktime: merge DEBUG change from gnulib
8774 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8775 case system <time.h> has a #define.
8776
bd83aabe
PE
8777 mktime: merge <sys/types.h> change from gnulib
8778 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8779 since <time.t> is now guaranteed to define time_t.
8780
95770f14
PE
8781 mktime: merge HAVE_CONFIG_H change from gnulib
8782 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8783
5e1a27a9
L
87842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8785
0e44a77e
L
8786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8787 Use "neg %eax".
8788
5e1a27a9
L
8789 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8790 __rlim_t cast.
8791 (struct rusage): Use anonymous union to pad each field to
8792 __syscall_slong_t.
8793
46259bec
DM
87942012-05-21 David S. Miller <davem@davemloft.net>
8795
8796 * Makefules (o-iterator): Remove .s cases.
8797 (compile-command.s): Delete.
8798 (COMPILE.s): Delete.
8799 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8800
59f0c22e
JM
88012012-05-21 Joseph Myers <joseph@codesourcery.com>
8802
8803 * configure.in (libc_cv_predef_stack_protector): Only consider
8804 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8805 * configure: Regenerated.
8806
20c07380
L
88072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8808
bbb3154b
L
8809 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8810 New macro. Use R*LP on int and pointer.
8811 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8812 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8813 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8814 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8815
20c07380
L
8816 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8817 [__WORDSIZE_TIME64_COMPAT32] instead of
8818 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8819 (struct utmp): Likewise.
8820 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8821 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8822 Renamed to ...
8823 (__WORDSIZE_TIME64_COMPAT32): This.
8824 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8825 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8826 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8827 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8828 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8829 (__WORDSIZE_TIME64_COMPAT32): New macro.
8830
d8d1017e
AJ
88312012-05-21 Andreas Jaeger <aj@suse.de>
8832
8833 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8834 only if [SHARED]. Add prototype for __wcschr_ia32.
8835
6c7fb145
RM
88362012-05-21 Roland McGrath <roland@hack.frob.com>
8837
8838 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8839 of %rbp unmolested in the jmp_buf while mangling the low bits.
8840 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8841 unmolested high bits of %rbp while demangling the low bits.
8842 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8843
66274218
AJ
88442012-05-21 Andreas Jaeger <aj@suse.de>
8845
07c58f8f
AJ
8846 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8847 * sunrpc/svc_simple.c: Use it for registerrpc.
8848 * sunrpc/xcrypt.c: Use it for passwd2des.
8849
66274218
AJ
8850 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8851
61f65140
L
88522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8853
8854 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8855 Don't define if [__SYSCALL_WORDSIZE != 32].
8856 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8857 New macro.
8858
5fefb436
AJ
88592012-05-21 Bruno Haible <bruno@clisp.org>
8860 Andreas Jaeger <aj@suse.de>
8861
8862 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8863 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8864 inptr and inend for must_buffer_ch.
8865 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8866 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8867 * stdio-common/Makefile (tests): Remove bug15.
8868 (bug15-ENV): Remove macro.
8869 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8870 anymore.
8871
d8e272ab
AJ
88722012-05-19 Andreas Jaeger <aj@suse.de>
8873 Roland McGrath <roland@hack.frob.com>
8874
8875 * manual/contrib.texi: Completely rewritten. It contains now an
8876 alphabetical list of contributors and their contributions.
8877
4a56a162
RH
88782012-05-21 Richard Henderson <rth@twiddle.net>
8879
8880 * misc/getauxval.c (__getauxval): Use unsigned long int.
8881 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8882 (getauxval): Use unsigned long int.
8883
d024d23c
L
88842012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8885
8886 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8887
cbc00a03
RM
88882012-05-21 Roland McGrath <roland@hack.frob.com>
8889
8890 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8891 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8892 __alignof__ (long double).
8893
478143fa
AZ
88942012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8895
8896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8897
c7683a6d
RH
88982012-05-20 Richard Henderson <rth@twiddle.net>
8899
8900 * misc/getauxval.c: New file.
8901 * misc/sys/auxv.h: New file.
8902 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8903 (routines): Add getauxval.
8904 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8905 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8906 * elf/dl-sysdep.c (_dl_auxv): Remove.
8907 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8908 * elf/dl-support.c (_dl_auxv): New variable.
8909 (_dl_aux_init): Initialize it.
8910 * manual/startup.texi (Auxiliary Vector): New node.
8911 * sysdeps/generic/bits/hwcap.h: New file.
8912 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8913 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8914 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8915 * sysdeps/sparc/sysdep.h: ... here. Include it.
8916 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8917 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8919 Update.
c7683a6d
RH
8920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8923 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8927 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8928
a6f1845d
AZ
89292012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8930
8931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8932
cbcbe830
DM
89332012-05-19 David S. Miller <davem@davemloft.net>
8934
8935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8936
e0b16cc2
JM
89372012-05-19 Joseph Myers <joseph@codesourcery.com>
8938
8939 [BZ #14123]
8940 * math/s_ccosh.c: Include <float.h>
8941 (__ccosh): Avoid internal overflow calculating sinh and cosh
8942 values before multiplying by sin and cos values.
8943 * math/s_ccoshf.c: Likewise.
8944 * math/s_ccoshl.c: Likewise.
8945 * math/s_csin.c: Likewise.
8946 * math/s_csinf.c: Likewise.
8947 * math/s_csinl.c: Likewise.
8948 * math/s_csinh.c: Likewise.
8949 * math/s_csinhf.c: Likewise.
8950 * math/s_csinhl.c: Likewise.
8951 * math/libm-test.inc (ccos_test): Add more tests.
8952 (ccosh_test): Likewise.
8953 (csin_test): Likewise.
8954 (csinh_test): Likewise.
8955 * sysdeps/i386/fpu/libm-test-ulps: Update.
8956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8957
6ad13e08
L
89582012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8959
f66f0ce8
L
8960 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8961 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8962
6ad13e08
L
8963 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8964
b1d072a7
JM
89652012-05-19 Joseph Myers <joseph@codesourcery.com>
8966
8967 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8968 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8969 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8970 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8971 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8972 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8973 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8974 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8975 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8976 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8977 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8978 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8979 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8980 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8981 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8982 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8983 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8984 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8985 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8986 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8987 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8988 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8989 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8990 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8991 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8992 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8993 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8994 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8995 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8996 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8997 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8998
9eae47cb
AJ
89992012-05-18 Andreas Jaeger <aj@suse.de>
9000
9001 * csu/.gitignore: Delete.
9002
bb07f69f
L
90032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9004
9005 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9006 (timex): Use __syscall_slong_t.
9007
e6bdb741
AJ
90082012-05-18 Andreas Jaeger <aj@suse.de>
9009 Carlos O'Donell <carlos_odonell@mentor.com>
9010
9011 * manual/install.texi (Configuring and compiling): Update
9012 description about files modified in the source directory.
d6c33fda 9013 * INSTALL: Regenerated.
e6bdb741 9014
1b74487e
L
90152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9016
9017 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9018 value. Use "or" to set return value to -1.
9019 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9020 negate return value.
9021
a88b64b9
TMQMF
90222012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9023
9024 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9025 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9026 failure if the compiler has Graphite support disabled.
9027 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9028 Likewise.
9029 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9030 CFLAGS-memmove.c): Likewise.
9031 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9032 Likewise.
9033
3707636e
L
90342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9035
610b8622
L
9036 * sysdeps/x86_64/x32/_itoa.h: New file.
9037
7cd195df
L
9038 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9039 getdents system call only if kernel and user dirents have the
9040 same d_ino and d_off.
9041
94b07d20
L
9042 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9043 LLONG_MAX != LONG_MAX.
9044 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9045 (_fitoa_word): Likewise.
9046
18298070
L
9047 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9048 years.
9049 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9050 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9051 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9052
553c7ea4
L
9053 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9054 include <bits/wordsize.h>. Check __x86_64__ instead of
9055 __WORDSIZE.
9056 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9057 if __x86_64__ is defined. Use anonymous union on fpstate.
9058
3707636e
L
9059 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9060 anonymous union.
9061
b53ef01a
AS
90622012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9063
37fb1dc0
AS
9064 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9065 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9066 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9067 Refer to _rtld_local_ro instead of _rtld_global_ro.
9068 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9069 Likewise.
9070 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9071 Likewise.
9072 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9073 Likewise.
9074 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9075 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9076 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9077
b53ef01a
AS
9078 * sysdeps/powerpc/powerpc32/dl-machine.c
9079 (__elf_machine_runtime_setup) [PROF]: Don't reference
9080 _dl_prof_resolve.
9081
7a185db2
AJ
90822012-05-18 Andreas Jaeger <aj@suse.de>
9083
9084 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9085 function only available for GCCs before 3.4 since GCC 3.4
9086 introduced a builtin.
9087 (lrint): Likewise.
9088 (llrintf): Likewise.
9089 (llrint): Likewise.
9090 (fmaxf): Likewise.
9091 (fmax): Likewise.
9092 (fminf): Likewise.
9093 (fmin): Likewise.
9094 (rint): Likewise.
9095 (rintf): Likewise.
9096 (nearbyint): Likewise.
9097 (nearbyintf): Likewise.
9098 (ceil): Likewise.
9099 (ceilf): Likewise.
9100 (floor): Likewise.
9101 (floorf): Likewise.
9102
3e5aef87
L
91032012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9104
428bd707
L
9105 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9106 on both fields and cast pointer to __syscall_ulong_t.
9107
3e5aef87
L
9108 * bits/types.h (__fsword_t): New type.
9109 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9110 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9111 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9112 (__FSWORD_T_TYPE): Likewise.
9113 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9114 (__FSWORD_T_TYPE): Likewise.
9115 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9116 (__FSWORD_T_TYPE): Likewise.
9117 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9118 (__FSWORD_T_TYPE): Likewise.
9119 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9120 __SWORD_TYPE with __fsword_t.
9121 (statfs64): Likewise.
9122
1ba7c3dc
DM
91232012-05-17 David S. Miller <davem@davemloft.net>
9124
9125 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9126
59910343
AJ
91272012-05-17 Andreas Jaeger <aj@suse.de>
9128
9129 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9130 warning.
9131
2e4c1e9e
L
91322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9133
9134 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9135
de7f5ce7
AJ
91362012-05-17 Andreas Jaeger <aj@suse.de>
9137
9138 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9139 when it is used.
9140
286abc3d
CM
91412012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9142
9143 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9144
477cc68e
L
91452012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9146
9147 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9148 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9149
1a0994f5
CD
91502012-05-17 Andreas Jaeger <aj@suse.de>
9151 Carlos O'Donell <carlos_odonell@mentor.com>
9152
9153 [BZ #14059]
9154 * sysdeps/x86_64/multiarch/init-arch.h
9155 (bit_YMM_Usable): Rename to...
9156 (bit_AVX_Usable): ... this.
9157 (bit_FMA4_Usable): New macro.
9158 (bit_XMM_state): New macro.
9159 (bit_YMM_state): New macro.
9160 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9161 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9162 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9163 (CPUID_OSXSAVE): New macro.
9164 (CPUID_AVX): New macro.
9165 (CPUID_FMA4): New macro.
9166 (index_YMM_Usable): Rename to...
9167 (index_AVX_Usable): ... this.
9168 (HAS_AVX): Use HAS_ARCH_FEATURE.
9169 (HAS_FMA4): Likewise.
9170 (HAS_YMM_USABLE): Remove.
9171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9172 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9173 are present.
9174 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9175 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9176 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9177 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9178 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9179
0af797de
CM
91802012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9181
9182 * math/libm-test.c: Support platforms without multiple rounding modes.
9183 * math/bug-nextafter.c: Support platforms without FP exceptions.
9184 * math/bug-nexttoward.c: Likewise.
9185 * math/test-fenv.c: Likewise.
9186 * math/test-misc.c: Likewise.
9187 * stdlib/bug-getcontext.c: Likewise.
9188
e39745ff
AJ
91892012-05-17 Andreas Jaeger <aj@suse.de>
9190
9191 * manual/examples/search.c (critter_cmp): Change signature to
9192 avoid warnings.
9193 * manual/string.texi (Collation Functions): Likewise.
9194
48970aba
L
91952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9196
9197 * bits/types.h: Fold copyright years.
9198 * bits/typesizes.h: Likewise.
9199 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9200 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9201 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9202 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9203 * time/time.h: Likewise.
9204
bedee953
PP
92052012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9206
9207 [BZ #208]
9208 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9209 in instead of returning them. Return void.
9210 (__libc_mallinfo): Accumulate over all arenas.
9211 (__malloc_stats): Adjust for change in int_mallinfo interface.
9212
61653dfb
RM
92132012-05-16 Roland McGrath <roland@hack.frob.com>
9214
30b99d79
RM
9215 [BZ #10375]
9216 * configure.in (NM): Add AC_CHECK_TOOL for it.
9217 (libc_extra_cflags): New substituted variable.
9218 Check for -fstack-protector being used implicitly.
9219 * configure: Regenerated.
9220 * config.make.in (config-extra-cflags): New variable,
9221 gets @libc_extra_cflags@.
9222 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9223
61653dfb
RM
9224 [BZ #10375]
9225 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9226 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9227 * configure: Regenerated.
9228 * config.make.in (CPPUNDEFS): New substituted variable.
9229 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9230 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9231 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9232
661768bb
L
92332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9234
9235 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9236 (mq_attr): Use __syscall_slong_t.
9237
d4261567
L
92382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9239
9240 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9241 Check __x86_64__ instead of __WORDSIZE.
9242 (_STAT_VER_LINUX): Likewise.
9243 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9244 __syscall_ulong_t and __syscall_slong_t.
9245 (stat64): Likewise.
9246
cf3ff365
L
92472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9248
9249 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9250
76cf3e4d
L
92512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9252
9253 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9254
a637753a
L
92552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9256
9257 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9258 __syscall_ulong_t.
9259
d5e05119
L
9260 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9261 include <bits/wordsize.h>. Check __x86_64__ instead of
9262 __WORDSIZE.
9263 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9264 defined.
9265 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9266
f62ee380
L
9267 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9268 include <bits/wordsize.h>. Check __x86_64__ instead of
9269 __WORDSIZE.
9270 (user_regs_struct): Use "__extension__ unsigned long long"
9271 instead of "unsigned long" if __x86_64__ is defined.
9272 (user): Likewise. Pad after pointer field if __ILP32__ is
9273 defined.
9274
4e124ced
JM
92752012-05-16 Joseph Myers <joseph@codesourcery.com>
9276
6a3951a0
JM
9277 * configure.in (makeinfo): Require version 4.5 or later. Allow
9278 versions 5 to 9.
9279 * configure: Regenerated.
9280 * manual/install.texi (texinfo): Increase version requirement to
9281 4.5 or later.
9282 * INSTALL: Regenerated.
9283
4e124ced
JM
9284 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9285
953ca31a
L
92862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9287
9288 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9289
617aca05
L
9290 * sysdeps/x86_64/x32/ffs.c: New file.
9291
5762f7ae
L
9292 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9293 __syscall_ulong_t.
9294 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9295 defined. Use __syscall_ulong_t.
9296 (shminfo): Use __syscall_ulong_t.
9297 (shm_info): Likewise.
9298
a26b6856
L
9299 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9300 __syscall_ulong_t.
9301
cb2b9ef7
L
9302 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9303 <bits/wordsize.h>.
9304 (msgqnum_t): Use __syscall_ulong_t.
9305 (msglen_t): Likewise.
9306 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9307 __syscall_ulong_t.
9308
34683bb0
L
9309 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9310 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9311
84a68786
L
9312 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9313
48baa5f1
L
9314 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9315 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9316
180be88b
L
9317 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9318 __syscall_slong_t.
9319
5e90c8ad
L
9320 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9321 include <bits/wordsize.h>. Check __x86_64__ instead of
9322 __WORDSIZE.
9323
23dfb58b
L
9324 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9325 "unsigned long long int" if __x86_64__ is defined.
9326 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9327
ce5d54b0
L
9328 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9329 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9330 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9331
13dc9eac
L
9332 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9333 <stdint.h>.
9334 (GET_PC): Cast to uintptr_t first.
9335 (GET_FRAME): Likewise.
9336 (GET_STACK): Likewise.
9337
a7895d15
L
9338 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9339 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9340 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9341 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9342 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9343 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9344 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9345 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9346 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9347 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9348 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9349 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9350 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9351 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9352 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9353 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9354 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9355 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9356 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9357 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9358 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9359 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9360 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9361 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9362 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9363 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9364 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9365 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9366 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9367
656416c9
AS
93682012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9369
5bd66283
AS
9370 * Makerules (+depfiles): Also collect depfiles from .oS in
9371 $(extra-objs).
9372 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9373 .oS, $(libnldbl-routines)).
9374
656416c9
AS
9375 * Makerules (native-compile-mkdep-flags): Define.
9376 * sunrpc/Makefile (extra-objs): Add $(addprefix
9377 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9378 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9379 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9380 calling $(make-target-directory).
9381
a46f2169
L
93822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9383
9384 * bits/types.h (__snseconds_t): Removed.
9385 * time/time.h (struct timespec): Replace __snseconds_t with
9386 __syscall_slong_t.
9387 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9388 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9389 Likewise.
9390 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9391 (__SNSECONDS_T_TYPE): Likewise.
9392 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9393 (__SNSECONDS_T_TYPE): Likewise.
9394 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9395 (__SNSECONDS_T_TYPE): Likewise.
9396
6af6528b
L
93972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9398
9399 * sysdeps/mach/hurd/bits/typesizes.h
9400 (__SYSCALL_SLONG_TYPE): New macro.
9401 (__SYSCALL_ULONG_TYPE): Likewise.
9402
de986b56
L
94032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9404
9405 * bits/types.h (__syscall_slong_t): New type.
9406 (__syscall_ulong_t): Likewise.
9407
9408 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9409 (__SYSCALL_ULONG_TYPE): Likewise.
9410 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9411 (__SYSCALL_SLONG_TYPE): Likewise.
9412 (__SYSCALL_ULONG_TYPE): Likewise.
9413 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9414 (__SYSCALL_SLONG_TYPE): Likewise.
9415 (__SYSCALL_ULONG_TYPE): Likewise.
9416 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9417 (__SYSCALL_SLONG_TYPE): Likewise.
9418 (__SYSCALL_ULONG_TYPE): Likewise.
9419
85736dc7
L
94202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9421
9422 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9423 Add sigaltstack-offsets.sym.
9424 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9425 <sigaltstack-offsets.h>.
9426 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9427 longjmp_msg pointer.
9428 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9429 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9430 signal stack.
9431 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9432
cc03b296
JM
94332012-05-15 Joseph Myers <joseph@codesourcery.com>
9434
a9538892
JM
9435 * elf/stackguard-macros.h: Remove file.
9436 * sysdeps/generic/stackguard-macros.h: New file.
9437 * sysdeps/i386/stackguard-macros.h: Likewise.
9438 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9439 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9440 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9441 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9442 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9443 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9444 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9445 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9446 <elf/stackguard-macros.h>.
9447
cc03b296
JM
9448 [BZ #14109]
9449 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9450 __aligned__ in attribute.
9451 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9452 (gregset_t): Likewise.
9453
93171016
L
94542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9455
9456 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9457 * sysdeps/x86_64/64/Implies-after: Here. New file.
9458 * sysdeps/x86_64/x32/Implies-after: New file.
9459
d86813a0
L
94602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9461
9462 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9463 and access return value for _dl_profile_fixup. Use R10_LP to
9464 load frame size.
9465
2953ec75
L
94662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9467
9468 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9469
3b550e9e
L
94702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9471
9472 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9473 * sysdeps/x86_64/x32/sysdep.h: New file.
9474
eda41706
L
94752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9476
9477 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9478 * sysdeps/x86_64/setjmp.S: Likewise.
9479
9ea01d93
AZ
94802012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9481
9482 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9483 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9484 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9485 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9486 remove unused global constant.
9487
02a91938
CM
94882012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9489
9490 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9491 include of <not-cancel.h>.
9492
6540185f
RM
94932012-05-15 Roland McGrath <roland@hack.frob.com>
9494
9495 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9496
509072a0
AJ
94972012-05-15 Jeff Law <law@redhat.com>
9498 Andreas Jaeger <aj@suse.de>
9499
9500 [BZ #13594]
9501 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9502 out from...
9503 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9504 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9505 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9506 code changing __hst_map_handle.map.
9507
ba75122d
RM
95082012-05-15 Roland McGrath <roland@hack.frob.com>
9509
9510 * configure.in (sysnames): Look for Implies-before and Implies-after
9511 files.
9512 * configure: Regenerated.
9513
890d8bd8
L
95142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9515
9516 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9517 8-byte data alignment with LP_SIZE alignment.
9518
f6ee6623
L
95192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9520
9521 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9522 into R10_LP.
9523
ea2626f6
L
95242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9525
9526 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9527
085f715e
L
95282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9529
9530 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9531 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9532 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9533 Likewise.
9534 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9535
be8498fc
L
95362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9537
9538 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9539 (stackinfo_sub_sp): Likewise.
9540
70bc83b9
L
95412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9542
9543 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9544 RAX_LP.
9545
9bc0b730
L
95462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9547
9548 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9549 into R*_LP.
9550
6d2850e7
L
95512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9552
9553 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9554 sizes into R*_LP.
9555
3cb84561
L
95562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9557
9558 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9559
54e2ed81
L
95602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9561
9562 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9563 into R11_LP and load __x86_64_shared_cache_size_half into
9564 R8_LP.
9565
8a17f349
L
95662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9567
9568 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9569 R8_LP.
9570
777b1eea
AZ
95712012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9572
9573 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9574 logb for POWER7.
9575 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9576 logbf for POWER7.
9577 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9578 logbl for POWER7.
9579 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9580 powerpc32/power7/fpu/s_logb.c via #include.
9581 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9582 powerpc32/power7/fpu/s_logbf.c via #include.
9583 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9584 powerpc32/power7/fpu/s_logbl.c via #include.
9585
d20d4ac2
JM
95862012-05-15 Joseph Myers <joseph@codesourcery.com>
9587
9588 * README.libm: Remove file.
9589
6cdef1ab
L
95902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9591
9592 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9593 count for x32. Use R*_LP and omit operand-size suffix.
9594
0b254d8f
L
95952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9596
9597 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9598 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9599 * sysdeps/x86_64/x32/shlib-versions: New file.
9600
ceb809dc
RM
96012012-05-14 Roland McGrath <roland@hack.frob.com>
9602
9603 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9604 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9605 Use _dl_fatal_printf instead.
9606
37f1abd4
JM
96072012-05-14 Joseph Myers <joseph@codesourcery.com>
9608
9609 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9610 set if not set by the user. Do not allow for being unset.
9611 * sysdeps/unix/sysv/linux/configure: Regenerated.
9612
11de3a33
L
96132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9614
9615 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9616 the `q' suffix from lea and replace .quad with ASM_ADDR.
9617
e02f153a
L
96182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9619
9620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9621 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9622 instead of $17.
9623 (PTR_DEMANGLE): Likewise.
9624
520ae0fd
L
96252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9626
9627 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9628 (LP_OP): Likewise.
9629 (ASM_ADDR): Likewise.
9630 (RAX_LP): Likewise.
9631 (RBP_LP): Likewise.
9632 (RBX_LP): Likewise.
9633 (RCX_LP): Likewise.
9634 (RDI_LP): Likewise.
9635 (RSI_LP): Likewise.
9636 (RSP_LP): Likewise.
9637 (R8_LP): Likewise.
9638 (R9_LP): Likewise.
9639 (R10_LP): Likewise.
9640 (R10_LP): Likewise.
9641 (R11_LP): Likewise.
9642 (R12_LP): Likewise.
9643 (R13_LP): Likewise.
9644 (R14_LP): Likewise.
9645 (R15_LP): Likewise.
9646
b985be81
L
96472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9648
9649 * sysdeps/x86_64/x32/dl-machine.h: New file.
9650
6a4888ff
AJ
96512012-05-14 Andreas Jaeger <aj@suse.de>
9652
9653 * manual/Makefile (subdir): Remove export of subdir.
9654 (all): Remove target.
9655 (.PHONY): Remove all from list.
9656 (mkinstalldirs): Remove.
9657 (.PHONY): Remove installdirs from list.
9658 ($(inst_infodir)/libc.info): Use make-target-directory.
9659 (installdirs): Remove.
9660 (subdir_%): Remove.
9661 (glibc-targets): Remove.
9662 (lib): Remove.
9663 (stubs): Remove.
9664 ($(objpfx)stubs ../po/manual.pot): Remove.
9665 ($(objpfx)stamp%): Remove.
9666 (make-target-directory): Remove.
9667 (subdir_install): Remove.
9668 (routines): Remove.
9669 (aux): Remove.
9670 (sources): Remove.
9671 (objects): Remove.
9672 (headers): Remove.
9673
9674 [BZ #13750]
9675 * manual/.gitignore: Remove, it's not needed anymore.
9676 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9677 all files in it.
9678 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9679 directory.
9680 (texis): Renamed to $(objpfx)texis.
9681 (texis-path): New, contains path to generated files.
9682 (chapters.%): Use texis-path for complete path, add extra argument
9683 libc-texinfo.sh.
9684 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9685 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9686 (summary,texi, stamp-summary): Use complete path of
9687 files. Generate files in build dir.
9688 (dir-add.texi): Build in build dir.
9689 (libm-err.texi,stamp-libm-err): Likewise.
9690 (version.texi, stamp-version): Likewise.
9691 (.%c.texi): Likewise.
9692 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9693 (mostlyclean): Remove target.
9694 (realclean): Remove target.
9695 (generated): Add new variable with contents from mostlyclean and
9696 realclean, remove entries duplicated in common-mostlyclean, add
9697 stamp-libm-err and stamp-version.
9698 (generated-dirs): Add libc directory.
9699 ($(inst_infodir)/libc.info): Install files from build dir.
9700
9701 * manual/install.texi (Configuring and compiling): Adjust since
9702 the info files are not part of the tar ball anymore.
9703
7ac77294
AJ
97042012-05-14 Andreas Jaeger <aj@suse.de>
9705
9706 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9707 variable.
9708
ffb7875d
JM
97092012-05-14 Joseph Myers <joseph@codesourcery.com>
9710
9711 [BZ #13717]
9712 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9713 to 2.2.0 where earlier.
9714 * sysdeps/unix/sysv/linux/configure: Regenerated.
9715 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9716 Remove conditional code.
9717 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9718 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9719 Remove conditional code.
9720 [!__NR_lchown]: Likewise.
9721 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9722 [__NR_lchown]: Likewise.
9723 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9724 comment referencing __ASSUME_LCHOWN_SYSCALL.
9725 * sysdeps/unix/sysv/linux/i386/sigaction.c
9726 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9727 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9728 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9729 Remove conditional code.
9730 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9731 (__protocol_available): Remove #if 0 code.
9732 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9733 conditional code.
9734 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9735 * sysdeps/unix/sysv/linux/kernel-features.h
9736 (__ASSUME_GETCWD_SYSCALL): Don't define.
9737 (__ASSUME_REALTIME_SIGNALS): Likewise.
9738 (__ASSUME_PREAD_SYSCALL): Likewise.
9739 (__ASSUME_PWRITE_SYSCALL): Likewise.
9740 (__ASSUME_POLL_SYSCALL): Likewise.
9741 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9742 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9743 non-SPARC.
9744 (__ASSUME_SIOCGIFNAME): Don't define.
9745 (__ASSUME_MSG_NOSIGNAL): Likewise.
9746 (__ASSUME_SENDFILE): Define unconditionally.
9747 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9748 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9749 conditional code.
9750 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9751 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9752 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9753 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9754 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9755 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9756 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9758 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9759 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9761 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9762 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9764 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9765 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9767 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9768 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9770 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9771 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9773 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9774 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9776 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9777 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9779 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9780 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9781 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9782 Remove conditional code.
9783 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9784 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9785 Remove conditional code.
9786 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9787 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9788 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9789 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9790 Remove conditional code.
9791 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9792 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9793 Remove conditional code.
9794 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9795 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9796 Remove conditional code.
9797 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9798 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9799 Remove conditional code.
9800 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9801 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9802 Remove conditional code.
9803 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9804 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9805 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9806 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9807 * sysdeps/unix/sysv/linux/sigaction.c
9808 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9809 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9810 * sysdeps/unix/sysv/linux/sigpending.c
9811 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9812 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9813 * sysdeps/unix/sysv/linux/sigprocmask.c
9814 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9815 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9816 * sysdeps/unix/sysv/linux/sigsuspend.c
9817 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9818 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9819 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9820 (__libc_missing_rt_sigs): Remove.
9821 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9822 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9823 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9824 Remove conditional code.
9825 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9826 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9827 return 1.
9828 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9829 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9830 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9831 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9832
1bfb7291
AJ
98332012-05-14 Andreas Jaeger <aj@suse.de>
9834
caae5a81
AJ
9835 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9836 it's not used in glibc.
9837 (__coshm1): Likewise.
9838 (__acosh1p): Likewise.
9839 (__sgn): Likewise.
9840
1bfb7291
AJ
9841 * manual/string.texi (Copying and Concatenation): Add missing
9842 variable in concat example.
9843 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9844
c044d724
L
98452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9846
144c5467 9847 [BZ #14103]
c044d724
L
9848 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9849 __builtin_clzl with __builtin_clzll.
9850
2523c62b
L
98512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9852
9853 [BZ #14104]
9854 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9855 libc_freeres_ptr.
9856
d7bb4c42
LD
98572012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9858
9859 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9860 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9861 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9862 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9863
9dc4e1fb
MF
98642012-05-14 Mike Frysinger <vapier@gentoo.org>
9865
9866 * NEWS: Update ia64 info.
9867
c7df0112
AS
98682012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9869
9870 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9871 used as bcopy.
9872
dc70356c
TS
98732012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9874
9875 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9876 * sysdeps/unix/syscalls.list (dup3): Likewise.
9877 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9878 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9879
9fb1a21f
L
98802012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9881
9882 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9883 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9884
4822a2a5
L
98852012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9886
9887 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9888 thread pointer.
9889 (TLS_IE): Use mov/add instead of movq/addq to load thread
9890 pointer.
9891 (TLS_GD_PREFIX): New.
9892 (TLS_GD): Use it.
9893
842b81d6
DM
98942012-05-11 David S. Miller <davem@davemloft.net>
9895
9896 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9897 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9898 (_FPU_SETCW): Likewise.
9899
1cf463cd
L
99002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9901
9902 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9903 is 32-byte aligned.
9904
60cc4a18
AS
99052012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9906
9907 [BZ #11837]
9908 * iconvdata/gb18030.c: Update tables.
9909 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9910 characters specially.
9911 (BODY for TO_LOOP): Add encoding of missing ranges.
9912
febb44a4
TS
99132012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9914
9915 [BZ #13673]
9916 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9917 * sysdeps/mach/hurd/dup3.c: Likewise.
9918 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9919 * sysdeps/powerpc/memmove.c:: Likewise.
9920
0a10fb9e
L
99212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9922
9923 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9924 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9925
df8a552f
L
99262012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9927
9928 * elf/elf.h (R_X86_64_RELATIVE64): New.
9929 (R_X86_64_NUM): Updated.
9930 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9931 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9932 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9933 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9934 tst-quad1pie tst-quad2pie
9935 (modules-names): Add tst-quadmod1 tst-quadmod2.
9936 ($(objpfx)tst-quad1): New dependency.
9937 ($(objpfx)tst-quad2): Likewise.
9938 ($(objpfx)tst-quad1pie): Likewise.
9939 ($(objpfx)tst-quad2pie): Likewise.
9940 * sysdeps/x86_64/tst-quad1.c: New file.
9941 * sysdeps/x86_64/tst-quad1pie.c: New file.
9942 * sysdeps/x86_64/tst-quad2.c: Likewise.
9943 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9944 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9945 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9946 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9947 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9948
f34d6f84
ST
99492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9950
f42d41d1
ST
9951 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9952 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9953 * streams/stropts.h (t_scalar_t): Define type.
9954
3c3571fc
ST
9955 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9956 (_PATH_PRESERVE): Set to "/var/lib".
9957 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9958
61f06bd3
ST
9959 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9960 instead of int.
9961
918d4d71
ST
9962 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9963 if __dir_mkfile succeeded.
9964
f34d6f84
ST
9965 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9966 checking for _hurd_dtablesize. Unlock it right after having
9967 finished _hurd_dtable allocation.
9968
10589b4a
TS
99692012-05-10 Thomas Schwinge <thomas@schwinge.name>
9970
674cdbc7
TS
9971 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9972 * sysdeps/mach/hurd/configure: Regenerated.
9973 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9974 special-casing to...
9975 * sysdeps/gnu/configure.in: ... this new file.
9976 * sysdeps/unix/sysv/linux/configure: Regenerated.
9977 * sysdeps/gnu/configure: New generated file.
9978
8e41b99f
TS
9979 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9980 for Linux: use nsec instead of usec, as well as:
9981 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9982 members of type struct timespec.
9983 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9984 New macros.
9985 (struct stat64): Likewise.
9986 (_STATBUF_ST_NSEC): New macro.
9987 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9988
10589b4a
TS
9989 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9990 __strtoul_internal rather than strtoul.
9991
63643c85
PT
99922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9993
9994 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9995 and reject them.
9996
3faebe6a
ST
99972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9998
9999 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10000 which preserves existing values.
10001 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10002
c6474b07
PT
100032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10004
10005 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10006 TIMEOUT values. Return EINVAL for NFDS values either negative or
10007 greater than FD_SETSIZE.
10008
1043890b
ST
100092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10010
10011 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10012 allocated, call __vm_protect to finish enabling the existing space, and
10013 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10014 allocate the remainder.
10015
37ed8b9b
PT
100162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10017
10018 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10019 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10020
db653660
ST
100212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10022
37ed8b9b
PT
10023 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10024 sysdeps/mach/hurd/readlink.c.
b29d4053 10025
db653660
ST
10026 * posix/tst-sysconf.c (posix_options): Only use
10027 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10028 _POSIX_SYNCHRONIZED_IO when they are defined
10029 * sysdeps/mach/hurd/bits/posix_opt.h:
10030 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10031 (_XOPEN_REALTIME): Undefine macro.
10032 (_XOPEN_REALTIME_THREADS): Undefine macro.
10033 (_XOPEN_SHM): Undefine macro.
10034 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10035 macro to -1.
10036 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10037 macro to -1.
10038 (_POSIX_ASYNC_IO): Undefine macro.
10039 (_POSIX_PRIORITIZED_IO): Undefine macro.
10040 (_POSIX_SPIN_LOCKS): Define macro to -1.
10041
ee16e894
ST
10042 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10043 SA_NODEFER, SA_RESETHAND.
10044 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10045 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10046 F_DUPFD_CLOEXEC.
10047
6103ae3b
TS
100482012-05-10 Thomas Schwinge <thomas@schwinge.name>
10049
10050 * elf/Makefile (pldd-modules): Define unconditionally.
10051
80b4e5f3
TS
100522012-05-10 Thomas Schwinge <thomas@schwinge.name>
10053
10054 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10055
edadcbd6
ST
100562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10057
10058 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10059 Return ENOENT when name is empty.
10060 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10061
80694780
TS
100622012-05-10 Thomas Schwinge <thomas@schwinge.name>
10063
1792c087
TS
10064 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10065
80694780
TS
10066 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10067
6b645f0d
ST
100682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10069
80694780
TS
10070 Fix mlock in all cases except non-readable pages.
10071 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10072 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 10073
6b645f0d
ST
10074 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10075 (__mkdir): When path is `/', just fail with EEXIST.
10076 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10077
e468f8a3
TS
100782012-05-10 Thomas Schwinge <thomas@schwinge.name>
10079
10080 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10081 <sys/uio.h> (for writev).
10082 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10083 and <sys/param.h> (for MIN).
10084
a4186cff
PT
100852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10086
10087 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10088 REQUESTED_TIME. Properly set the remaining time and return EINTR
10089 if interrupted.
10090
510bbf14
TS
100912012-05-10 Thomas Schwinge <thomas@schwinge.name>
10092
10093 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10094 Depend on against $(link-rpcuserlibs).
10095
5d5722e8
ST
100962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10097
a4186cff
PT
10098 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10099 (__libc_stack_end): Do not use attribute_relro.
10100 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10101 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 10102 to libthread-provided value.
a4186cff
PT
10103 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10104 attribute_relro.
5d5722e8 10105
37233df9
TS
101062012-05-10 Thomas Schwinge <thomas@schwinge.name>
10107
be971a2b
TS
10108 [BZ #3748]
10109 * bits/libc-lock.h (__libc_once_get): New macro.
10110 * sysdeps/mach/bits/libc-lock.h: Likewise.
10111 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10112 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10113 instead of using implementation details.
10114
37233df9
TS
10115 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10116 * libio/freopen.c: Likewise.
10117 * libio/freopen64.c: Likewise.
10118 * misc/syslog.c: Likewise.
10119 * nscd/connections.c: Likewise.
10120 * nscd/netgroupcache.c: Likewise.
10121 * sysdeps/posix/getcwd.c: Likewise.
10122
38de94a5
RM
101232012-05-10 Roland McGrath <roland@hack.frob.com>
10124
10125 * math/w_ilogbf.c: Add #include <limits.h>.
10126
67530489
ST
101272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10128
a4186cff 10129 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
10130 path instead of returning without unlocking.
10131
67530489
ST
10132 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10133 immediate-write ioctls.
10134 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10135
5aa3a74a
TS
101362012-05-10 Thomas Schwinge <thomas@schwinge.name>
10137
18bad2ae
TS
10138 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10139 __builtin_frame_address instead of making assumptions about the
10140 location of the return address relative to DATA. Force early load of
10141 the return address.
10142 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10143 __builtin_frame_address.
10144
5aa3a74a
TS
10145 dup3 for GNU Hurd.
10146 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10147 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10148 implement dup3 and do some further code clean-ups.
10149 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10150 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10151
ecd0de9a
ST
101522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10153
cd9fa985
ST
10154 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10155
a4186cff
PT
10156 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10157 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10158 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10159 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10160 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10161 d->port.lock.
802ca5a5 10162
a4186cff
PT
10163 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10164 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10165 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 10166
bcf55240
TS
101672012-05-10 Thomas Schwinge <thomas@schwinge.name>
10168
6960eb42
TS
10169 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10170 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10171 definitions.
10172
eb43375f
TS
10173 accept4 for GNU Hurd.
10174 * include/sys/socket.h (__libc_accept4): New prototype.
10175 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10176 to implement __libc_accept4.
10177 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10178 __libc_accept4.
10179 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10180
bcf55240
TS
10181 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10182 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10183 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10184 signal-defines.sym.
10185
6178c55b
ST
101862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10187
a4186cff 10188 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 10189
6f080c2f
TS
101902012-05-10 Thomas Schwinge <thomas@schwinge.name>
10191
10192 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10193 assertion on O_CLOEXEC flag.
10194 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10195 * hurd/intern-fd.c: Likewise.
10196 * hurd/port2fd.c: Likewise.
10197
bcfe3a54
ST
101982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10199
10200 [BZ #3906]
10201 * bits/in.h (IPV6_PKTINFO): Define new macro.
10202 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10203
89c9aa49
AZ
102042012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10205
10206 [BZ #13954]
10207 [BZ #13955]
10208 [BZ #13956]
10209 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10210 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10211 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10212 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10213 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10214 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10215 * math/libm-test.inc (logb_test) : Additional logb tests.
10216
021db4be
AJ
102172012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10218 Andreas Jaeger <aj@suse.de>
10219
10220 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10221 * configure: Regenerated.
10222 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10223 * config.make.in (link-obsolete-rpc): New substituted variable.
10224 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10225 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10226 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10227 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10228 so that libc.a contains the symbols.
10229 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10230 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10231 * sunrpc/auth_none.c: Likewise.
10232 * sunrpc/auth_unix.c: Likewise.
10233 * sunrpc/authdes_prot.c: Likewise.
10234 * sunrpc/authuxprot.c: Likewise.
10235 * sunrpc/clnt_gen.c: Likewise.
10236 * sunrpc/clnt_perr.c: Likewise.
10237 * sunrpc/clnt_raw.c: Likewise.
10238 * sunrpc/clnt_simp.c: Likewise.
10239 * sunrpc/clnt_tcp.c: Likewise.
10240 * sunrpc/clnt_udp.c: Likewise.
10241 * sunrpc/clnt_unix.c: Likewise.
10242 * sunrpc/des_crypt.c: Likewise.
10243 * sunrpc/des_soft.c: Likewise.
10244 * sunrpc/get_myaddr.c: Likewise.
10245 * sunrpc/key_call.c: Likewise.
10246 * sunrpc/key_prot.c: Likewise.
10247 * sunrpc/netname.c: Likewise.
10248 * sunrpc/pm_getmaps.c: Likewise.
10249 * sunrpc/pm_getport.c: Likewise.
10250 * sunrpc/pmap_clnt.c: Likewise.
10251 * sunrpc/pmap_prot.c: Likewise.
10252 * sunrpc/pmap_prot2.c: Likewise.
10253 * sunrpc/pmap_rmt.c: Likewise.
10254 * sunrpc/publickey.c: Likewise.
10255 * sunrpc/rpc_cmsg.c: Likewise.
10256 * sunrpc/rpc_common.c: Likewise.
10257 * sunrpc/rpc_dtable.c: Likewise.
10258 * sunrpc/rpc_prot.c: Likewise.
10259 * sunrpc/rpc_thread.c: Likewise.
10260 * sunrpc/rtime.c: Likewise.
10261 * sunrpc/svc.c: Likewise.
10262 * sunrpc/svc_auth.c: Likewise.
10263 * sunrpc/svc_raw.c: Likewise.
10264 * sunrpc/svc_run.c: Likewise.
10265 * sunrpc/svc_tcp.c: Likewise.
10266 * sunrpc/svc_udp.c: Likewise.
10267 * sunrpc/svc_unix.c: Likewise.
10268 * sunrpc/svcauth_des.c: Likewise.
10269 * sunrpc/xcrypt.c: Likewise.
10270 * sunrpc/xdr.c: Likewise.
10271 * sunrpc/xdr_array.c: Likewise.
10272 * sunrpc/xdr_float.c: Likewise.
10273 * sunrpc/xdr_intXX_t.c: Likewise.
10274 * sunrpc/xdr_mem.c: Likewise.
10275 * sunrpc/xdr_rec.c: Likewise.
10276 * sunrpc/xdr_ref.c: Likewise.
10277 * sunrpc/xdr_sizeof.c: Likewise.
10278 * sunrpc/xdr_stdio.c: Likewise.
10279
b5c086a2
RM
102802012-05-10 Roland McGrath <roland@hack.frob.com>
10281
10282 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10283 change. Update copyright years.
10284
6d74dd09
JM
102852012-05-10 Joseph Myers <joseph@codesourcery.com>
10286
10287 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10288
28e72501
MK
102892012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10290 Joseph Myers <joseph@codesourcery.com>
10291 Paul Pluzhnikov <ppluzhnikov@google.com>
10292
10293 [BZ #14012]
10294 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10295 requiring rpcgen.
10296 [cross-compiling] (extra-libs): Likewise.
10297 [cross-compiling] (extra-libs-others): Likewise.
10298 [cross-compiling] (librpcsvc-routines): Likewise.
10299 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10300 [cross-compiling] (omit-deps): Likewise.
10301 (sunrpc-CPPFLAGS): New variable.
10302 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10303 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10304 (cross-rpcgen-objs): New variable.
10305 (extra-objs): Append $(cross-rpcgen-objs).
10306 ($(cross-rpcgen-objs)): New rule.
10307 ($(objpfx)cross-rpcgen): Likewise.
10308 (rpcgen-cmd): Define to use $(built-program-file). Expand
10309 comment.
10310 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10311 ($(objpfx)x%.stmp): Likewise.
10312 * sunrpc/proto.h [IS_IN_build] (_): Define.
10313 [IS_IN_build] (_libc_intl_domainname): Likewise.
10314
c8c59454
L
103152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10316
10317 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10318 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10319 and R_X86_64_TPOFF64.
10320
6f27cd16
JM
103212012-05-10 Joseph Myers <joseph@codesourcery.com>
10322
10323 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10324 sysdeps/unix/sysv/syscalls.list.
10325 (stime): Likewise.
10326 (utime): Likewise.
10327 * sysdeps/unix/sysv/syscalls.list: Remove file.
10328
02467e1c
PE
103292012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10330
10331 [BZ #3440]
10332 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10333 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10334 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10335 (__LC_IDENTIFICATION): Make these macros useful in #if
10336 expressions, as required by C99.
10337
da392631
AS
103382012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10339
10340 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10341 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10342 after this.
10343
8115f29b
L
103442012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10345
10346 * stdlib/longlong.h: Updated from GCC.
10347
bdd74070
AJ
103482012-05-09 Andreas Jaeger <aj@suse.de>
10349
edfe0dbe
AJ
10350 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10351 default is first entry.
10352 (run_mode): Set type.
10353 (main): Remove informal message about syslog.
10354 (options): Fix typo.
10355
bcfe3a54
ST
10356 [BZ #14053]
10357 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 10358 to asm.
bcfe3a54
ST
10359 (lrint): Likewise.
10360 (llrintf): Likewise.
10361 (llrint): Likewise.
10362 (rint): Likewise.
10363 (rintf): Likewise.
10364 (nearbyint): Likewise.
10365 (nearbyintf): Likewise.
bdd74070 10366
91d8d69e
AJ
103672012-05-09 Andreas Jaeger <aj@suse.de>
10368 Pedro Alves <palves@redhat.com>
10369
10370 * nscd/nscd.c (run_mode): Use enum.
10371 (main): Cleanup coding style issue.
10372
bb90b80b
AJ
103732012-05-09 Alexandre Oliva <aoliva@redhat.com>
10374 Andreas Jaeger <aj@suse.de>
10375
bcfe3a54
ST
10376 * nscd/nscd.c (go_background): Replaced with...
10377 (run_mode): ... this.
bb90b80b 10378 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
10379 (options): Add -F --foreground.
10380 (main): Implement it.
10381 (parse_opt): Parse it.
bb90b80b 10382
1a4b75a1
AJ
103832012-05-09 Andreas Jaeger <aj@suse.de>
10384
10385 [BZ #14083]
10386 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10387 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10388 -Wconversion warning.
10389 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10390 Likewise.
10391
b1cc2472
JM
103922012-05-09 Joseph Myers <joseph@codesourcery.com>
10393
10394 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10395 == 0.
10396 (LC_ALL): Use macro-int-constant.
10397 (LC_COLLATE): Likewise.
10398 (LC_CTYPE): Likewise.
10399 (LC_MESSAGES): Likewise.
10400 (LC_MONETARY): Likewise.
10401 (LC_NUMERIC): Likewise.
10402 (LC_TIME): Likewise.
10403 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10404 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10405 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10406 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10407 Specify type.
10408 [C99-based standards] (float_t): Expect type.
10409 [C99-based standards] (double_t): Expect type.
10410 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10411 type.
10412 [C99-based standards] (HUGE_VALL): Likewise.
10413 [C99-based standards] (INFINITY): Likewise.
10414 [C99-based standards] (NAN): Likewise.
10415 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10416 [C99-based standards] (FP_NAN): Likewise.
10417 [C99-based standards] (FP_NORMAL): Likewise.
10418 [C99-based standards] (FP_SUBNORMAL): Likewise.
10419 [C99-based standards] (FP_ZERO): Likewise.
10420 [C99-based standards] (FP_FAST_FMA): Use
10421 optional-macro-int-constant. Specify type. Require == 1.
10422 [C99-based standards] (FP_FAST_FMAF): Likewise.
10423 [C99-based standards] (FP_FAST_FMAL): Likewise.
10424 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10425 [C99-based standards] (FP_ILOGBNAN): Likewise.
10426 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10427 Specify type.
10428 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10429 [C99-based standards] (math_errhandling): Specify type.
10430 [ISO99 || ISO11] (signgam): Do not allow.
10431 [non-C99-based standards] (copysignf): Do not allow.
10432 [non-C99-based standards] (exp2f): Likewise.
10433 [non-C99-based standards] (log2f): Likewise.
10434 [non-C99-based standards] (modff): Allow.
10435 [non-C99-based standards] (erff): Do not allow.
10436 [non-C99-based standards] (erfcf): Likewise.
10437 [non-C99-based standards] (gammaf): Likewise.
10438 [non-C99-based standards] (hypotf): Likewise.
10439 [non-C99-based standards] (j0f): Likewise.
10440 [non-C99-based standards] (j1f): Likewise.
10441 [non-C99-based standards] (jnf): Likewise.
10442 [non-C99-based standards] (lgammaf): Likewise.
10443 [non-C99-based standards] (tgammaf): Likewise.
10444 [non-C99-based standards] (y0f): Likewise.
10445 [non-C99-based standards] (y1f): Likewise.
10446 [non-C99-based standards] (ynf): Likewise.
10447 [non-C99-based standards] (isnanf): Likewise.
10448 [non-C99-based standards] (acoshf): Likewise.
10449 [non-C99-based standards] (asinhf): Likewise.
10450 [non-C99-based standards] (atanhf): Likewise.
10451 [non-C99-based standards] (cbrtf): Likewise.
10452 [non-C99-based standards] (expm1f): Likewise.
10453 [non-C99-based standards] (ilogbf): Likewise.
10454 [non-C99-based standards] (log1pf): Likewise.
10455 [non-C99-based standards] (logbf): Likewise.
10456 [non-C99-based standards] (nextafterf): Likewise.
10457 [non-C99-based standards] (remainderf): Likewise.
10458 [non-C99-based standards] (rintf): Likewise.
10459 [non-C99-based standards] (scalbf): Likewise.
10460 [non-C99-based standards] (copysignl): Likewise.
10461 [non-C99-based standards] (exp2l): Likewise.
10462 [non-C99-based standards] (log2l): Likewise.
10463 [non-C99-based standards] (modfl): Allow.
10464 [non-C99-based standards] (erfl): Do not allow.
10465 [non-C99-based standards] (erfcl): Likewise.
10466 [non-C99-based standards] (gammal): Likewise.
10467 [non-C99-based standards] (hypotl): Likewise.
10468 [non-C99-based standards] (j0l): Likewise.
10469 [non-C99-based standards] (j1l): Likewise.
10470 [non-C99-based standards] (jnl): Likewise.
10471 [non-C99-based standards] (lgammal): Likewise.
10472 [non-C99-based standards] (tgammal): Likewise.
10473 [non-C99-based standards] (y0l): Likewise.
10474 [non-C99-based standards] (y1l): Likewise.
10475 [non-C99-based standards] (ynl): Likewise.
10476 [non-C99-based standards] (isnanl): Likewise.
10477 [non-C99-based standards] (acoshl): Likewise.
10478 [non-C99-based standards] (asinhl): Likewise.
10479 [non-C99-based standards] (atanhl): Likewise.
10480 [non-C99-based standards] (cbrtl): Likewise.
10481 [non-C99-based standards] (expm1l): Likewise.
10482 [non-C99-based standards] (ilogbl): Likewise.
10483 [non-C99-based standards] (log1pl): Likewise.
10484 [non-C99-based standards] (logbl): Likewise.
10485 [non-C99-based standards] (nextafterl): Likewise.
10486 [non-C99-based standards] (remainderl): Likewise.
10487 [non-C99-based standards] (rintl): Likewise.
10488 [non-C99-based standards] (scalbl): Likewise.
10489 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10490 [non-C99-based standards] (FP_*): Do not allow.
10491 [C99-based standards] (FP_*): Change to
10492 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10493 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10494 allow.
10495 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10496 (SIG_ERR): Likewise.
10497 [X/Open-based standards] (SIG_HOLD): Likewise.
10498 (SIG_IGN): Likewise.
10499 (SIGABRT): Use macro-int-constant. Specify type. Require
10500 positive value.
10501 (SIGFPE): Likewise.
10502 (SIGILL): Likewise.
10503 (SIGINT): Likewise.
10504 (SIGSEGV): Likewise.
10505 (SIGTER): Likewise.
10506 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10507 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10508 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10509 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10510 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10511 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10512 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10513 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10514 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10515 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10516 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10517 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10518 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10519 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10520 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10521 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10522 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10523 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10524 [X/Open-based standards] (SIGTRAP): Likewise.
10525 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10526 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10527 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10528 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10529 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10530 allow.
10531
b9f1922d
IW
105322012-05-08 Ian Wienand <ianw@vmware.com>
10533
10534 [BZ #14080]
10535 * time/tzset.c (__tzset_parse_tz): Update default rules for
10536 daylight time changes in the Energy Policy Act of 2005.
10537
1db86e88
AJ
105382012-05-09 Andreas Jaeger <aj@suse.de>
10539
10540 [BZ #13983]
10541 * elf/ldconfig.c (parse_conf): Change string to make clear that
10542 ldconfig only issued a warning if ld.so.conf does not exist.
10543
dee4a4e3
DM
105442012-05-08 David S. Miller <davem@davemloft.net>
10545
ee0db190
DM
10546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10547 movxtod instead of popping the value on the stack.
10548
dee4a4e3
DM
10549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10550
6a43ec98
CD
105512012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10552
10553 * config.h.in: Add HAVE_ARM_PCS_VFP.
10554
05c2c961
RMG
105552012-05-08 Roland Mc Grath <roland@hack.frob.com>
10556
bcfe3a54
ST
10557 [BZ #13979]
10558 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10559 checking but the checks are disabled for any reason.
05c2c961 10560
4b30f61a
L
105612012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10562
10563 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10564 and ELF64_R_TYPE with ELFW(R_TYPE).
10565
eee2bc67
JM
105662012-05-08 Joseph Myers <joseph@codesourcery.com>
10567
7ea5391a
JM
10568 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10569 (ulimit): Likewise.
10570
eee2bc67
JM
10571 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10572 (settimeofday): Likewise.
10573
abb66a67
MF
105742012-05-08 Mike Frysinger <vapier@gentoo.org>
10575
10576 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10577 a struct th_u2 inside the union, and move tu_block/tu_code into
10578 a new th_u3 union of tu_block/tu_code inside of that. Move
10579 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10580 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10581 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10582 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10583 (th_stuff): Change to th_u1.tu_stuff.
10584 (th_data): Define.
10585 (th_msg): Change to th_u1.th_u2.tu_data.
10586
7f18b530
DM
105872012-05-07 David S. Miller <davem@davemloft.net>
10588
05760585
DM
10589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10590
7f18b530
DM
10591 [BZ #14074]
10592 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10593 (SETUP_PIC_REG): Use it.
10594 (SETUP_PIC_REG_LEAF): Use it.
10595
495fd99f
JM
105962012-05-07 Joseph Myers <joseph@codesourcery.com>
10597
10598 [BZ #13885]
10599 [BZ #13923]
10600 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10601 USE_AS_EXPM1L.
10602 (EXPL_FINITE): Likewise.
10603 (FLDLOG): Likewise.
10604 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10605 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10606 e_expl.S.
10607 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10608 USE_AS_EXPM1L.
10609 (EXPL_FINITE): Likewise.
10610 (FLDLOG): Likewise.
10611 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10612 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10613 e_expl.S.
10614 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10615 test of -max_value argument for long double.
10616 * sysdeps/i386/fpu/libm-test-ulps: Update.
10617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10618
6693d694
DM
106192012-05-06 David S. Miller <davem@davemloft.net>
10620
10621 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10622 quad soft-float symbols whose references which are compiler
10623 generated.
10624 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10625
6c23e11c
JM
106262012-05-06 Joseph Myers <joseph@codesourcery.com>
10627
d8b82cad
JM
10628 [BZ #13884]
10629 [BZ #13914]
10630 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10631 USE_AS_EXP10L.
10632 (EXPL_FINITE): Likewise.
10633 (FLDLOG): Likewise.
10634 (c0): Likewise.
10635 (c1): Likewise.
10636 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10637 Adjust comments for base varying.
10638 (__expl_finite): Change alias to EXPL_FINITE.
10639 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10640 e_expl.S.
10641 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10642 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10643 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10644 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10645 * sysdeps/x86_64/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 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10655 tests for bugs.
10656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10657
6c23e11c
JM
10658 [BZ #14064]
10659 * math/libm-test.inc (check_float_internal): Correct ulp
10660 calculation for subnormal expected results.
10661
29ba805c
AJ
106622012-05-06 Andreas Jaeger <aj@suse.de>
10663
10664 * Makeconfig (+math-flags): New, set to -frounding-math.
10665 (+cflags): Add +math-flags so that all of glibc gets compiled with
10666 it.
10667
10668 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10669
7b17aeda
JM
106702012-05-05 Joseph Myers <joseph@codesourcery.com>
10671
5779f134
JM
10672 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10673 Disable one test.
10674
41498f4d
JM
10675 [BZ #13787]
10676 [BZ #13922]
10677 [BZ #14036]
10678 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10679 (__ieee754_expl): Allow for and saturate large arguments.
10680 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10681 (u_threshold): Likewise.
10682 (__exp): Call __ieee754_exp before checking for overflow and
10683 underflow.
10684 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10685 (u_threshold): Likewise.
10686 (__expf): Call __ieee754_expf before checking for overflow and
10687 underflow.
10688 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10689 (u_threshold): Likewise.
10690 (__expl): Call __ieee754_expl before checking for overflow and
10691 underflow.
10692 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10693 (__ieee754_expl): Allow for and saturate large arguments.
10694 * math/libm-test.inc (exp_test): Add another test. Do not allow
10695 missing overflow exception on overflow.
10696 (expm1_test): Do not allow missing overflow exception on overflow.
10697
6698b8bf
JM
10698 * sysdeps/i386/fpu/e_expl.c: Move to ...
10699 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10700 rather than using inline asm.
10701 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10702 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10703 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10704
7b17aeda
JM
10705 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10706 (nice): Likewise.
10707 (poll): Likewise.
10708 (signal): Likewise.
10709 (time): Likewise.
10710 (times): Likewise.
10711
f7c85819
JM
107122012-05-04 Joseph Myers <joseph@codesourcery.com>
10713
10714 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10715 sysdeps/unix/common/syscalls.list.
10716 (fchmod): Likewise.
10717 (fchown): Likewise.
10718 (ftruncate): Likewise.
10719 (getrusage): Likewise.
10720 (gettimeofday): Likewise.
10721 (setpgid): Likewise.
10722 (setregid): Likewise.
10723 (setreuid): Likewise.
10724 (sigaction): Likewise.
10725 (truncate): Likewise.
10726 (vhangup): Likewise.
10727 * sysdeps/unix/common/syscalls.list: Remove file.
10728 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10729 * sysdeps/unix/sysv/linux/Implies: Likewise.
10730
336270d0
L
107312012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10732
10733 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10735 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10736 Moved to ...
10737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10738 Here.
10739 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10740 to ...
10741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10742 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10743 to ...
10744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10745 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10746 to ...
10747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10748 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10749 to ...
10750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10751 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10752 to ...
10753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10754 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10755 to ...
10756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10757 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10758 to ...
10759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10760 Here.
10761 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10762 to ...
10763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10764 Here.
10765 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10766 to ...
10767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10768 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10769 Moved to ...
10770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10771 Here.
10772 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10773 to ...
10774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10775
d128e450
JM
107762012-05-04 Joseph Myers <joseph@codesourcery.com>
10777
fa8ee516
JM
10778 * sysdeps/unix/common/bits/dirent.h: Remove file.
10779 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10780
d128e450
JM
10781 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10782 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10783 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10784 * sysdeps/unix/bsd/isatty.c: Likewise.
10785 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10786 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10787 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10788
ff8faaf0 107892012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10790
62881be4 10791 [BZ #13563]
31dc8730
AZ
10792 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10793 long double comparison inaccuracies.
10794 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10796
6fef930c
AS
107972012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10798
10799 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10800 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10801
8f203e6c
JM
108022012-05-04 Joseph Myers <joseph@codesourcery.com>
10803
10804 [BZ #14049]
10805 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10806 nonzero digits before rounding a hex value.
10807 * stdlib/tst-strtod.c (tests): Add another test.
10808
5197d9c2
AK
108092012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10810
10811 * sysdeps/s390/fpu/libm-test-ulps: Update.
10812
f0c1dedf
AJ
108132012-05-03 Andreas Jaeger <aj@suse.de>
10814
10815 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10816 does not get optimized out.
10817 (malloc_opt_barrier): New.
10818
a65ef2ae 108192012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10820 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10821
2b942cb7 10822 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10823 intermediate file deletion.
2b942cb7 10824 (generated): Add .symlist files.
a65ef2ae 10825
54b71e02
JM
108262012-05-03 Joseph Myers <joseph@codesourcery.com>
10827
10828 [BZ #13775]
10829 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10830 Redirect under this condition.
10831 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10832 [__USE_GNU] (__dprintf_chk): Not under this condition.
10833 [__USE_GNU] (__vdprintf_chk): Likewise.
10834 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10835 under this condition.
10836 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10837 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10838 [__USE_XOPEN2K8] (vdprintf): Likewise.
10839 [__USE_GNU] (__dprintf_chk): Not under this condition.
10840 [__USE_GNU] (__vdprintf_chk): Likewise.
10841 [__USE_GNU] (dprintf): Likewise.
10842 [__USE_GNU] (vdprintf): Likewise.
10843
d3dfcc41
RM
108442012-05-03 Roland McGrath <roland@hack.frob.com>
10845
10846 * elf/Makefile (common-generated): Set this instead of generated for
10847 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10848 $(all-built-dso)-derived lists.
10849
7ac30cc5
AJ
108502012-05-03 Andreas Jaeger <aj@suse.de>
10851
0c51e550
AJ
10852 * sysdeps/i386/fpu/libm-test-ulps: Update.
10853
7ac30cc5
AJ
10854 * FAQ: Removed.
10855 * FAQ.in: Likewise.
10856 * scripts/gen-FAQ.pl: Likewise.
10857 * manual/install.texi (Installation): Point to online location of
10858 FAQ.
10859 * Makefile (files-for-dist): Remove FAQ.
10860 (FAQ): Remove.
10861
d4c2917f
AM
108622012-05-02 Allan McRae <allan@archlinux.org>
10863
10864 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10865 (LDFLAGS-reldepmod5.so): Likewise.
10866 (LDFLAGS-reldep6mod1.so): Likewise.
10867 (LDFLAGS-reldep6mod4.so): Likewise.
10868 (LDFLAGS-reldep8mod3.so): Likewise.
10869 (LDFLAGS-unload4mod1.so): Likewise.
10870 (LDFLAGS-unload4mod2.so): Likewise.
10871 (LDFLAGS-tst-initorder): Likewise.
10872 (LDFLAGS-tst-initordera2.so): Likewise.
10873 (LDFLAGS-tst-initordera3.so): Likewise.
10874 (LDFLAGS-tst-initordera4.so): Likewise.
10875 (LDFLAGS-tst-initorderb2.so): Likewise.
10876 (LDFLAGS-noload): Likewise.
10877 (LDFLAGS-next): Likewise.
10878 (LDFLAGS-order2mod1.so): Likewise.
10879 (LDFLAGS-order2mod2.so): Likewise.
10880 (LDFLAGS-tst-initorder2): Likewise.
10881 (LDFLAGS-tst-initorder2a.so): Likewise.
10882 (LDFLAGS-tst-initorder2b.so): Likewise.
10883 (LDFLAGS-tst-initorder2c.so): Likewise.
10884 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10885
d77f993f
DM
108862012-05-02 David S. Miller <davem@davemloft.net>
10887
10888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10889
171a70b4
PP
108902012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10891
10892 [BZ #14055]
10893 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10894
0be196ad
AJ
108952012-05-02 Andreas Jaeger <aj@suse.de>
10896
10897 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10898 since we manipulate rounding mode.
10899 (CPPFLAGS-test-idouble.c): Likewise.
10900 (CPPFLAGS-test-ifloat.c): Likewise.
10901 (CFLAGS-test-ldouble.c): Likewise.
10902 (CFLAGS-test-double.c): Likewise.
10903 (CFLAGS-test-float.c): Likewise.
10904 (CFLAGS-test-misc.c): Likewise.
10905 (CFLAGS-test-test-fenv.c): Likewise.
10906
4f9d04aa
AZ
109072012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10908
2b942cb7
RM
10909 [BZ #2550]
10910 [BZ #2570]
10911 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10912 comparisons to determine direction to adjust input.
4f9d04aa 10913
82a79e7d
RM
109142012-05-01 Roland McGrath <roland@hack.frob.com>
10915
f5a01ca9
RM
10916 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10917 output to the target.
10918
90fe4186
RM
10919 * scripts/localplt.awk: New file.
10920 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10921 (check-localplt-CFLAGS): Variable removed.
10922 ($(all-built-dso:=.jmprel)): New static pattern rule.
10923 (generated): Add those targets.
10924 (localplt-built-dso): New variable.
10925 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10926
10927 * elf/check-localplt.c: File removed.
10928
82397ed6
RM
10929 * scripts/check-execstack.awk: New file.
10930 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10931 (check-execstack-CFLAGS): Variable removed.
10932 ($(objpfx)check-execstack.h): Target removed.
10933 ($(objpfx)execstack-default): New target.
10934 (generated): Add that instead of check-execstack.h.
10935 ($(all-built-dso:=.phdr)): New static pattern rule.
10936 (generated): Add those targets.
10937 * elf/check-execstack.c: File removed.
10938
82a79e7d
RM
10939 * scripts/check-textrel.awk: New file.
10940 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10941 (check-textrel-CFLAGS): Variable removed.
10942 (all-built-dso): Use := to define.o
10943 ($(all-built-dso:=.dyn)): New static pattern rule.
10944 (generated): Add those targets.
10945 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10946 * config.make.in (READELF): New substituted variable.
10947 * elf/check-textrel.c: File removed.
10948
62fde54f 109492012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10950
615605c9
JM
10951 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10952 allow.
10953 * conform/data/ctype.h-data [C99-based standards] (isblank):
10954 Expect function.
10955 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10956 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10957 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10958 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10959 Specify type. Require positive value.
10960 (EILSEQ): Likewise.
10961 (ERANGE): Likewise.
10962 [ISO || POSIX] (EILSEQ): Do not expect.
10963 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10964 Specify type. Require positive value.
10965 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10966 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10967 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10968 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10969 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10970 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10971 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10972 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10973 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10974 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10975 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10976 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10977 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10978 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10979 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10980 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10981 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10982 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10983 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10984 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10985 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10986 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10987 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10988 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10989 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10990 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10991 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10992 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10993 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10994 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10995 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10996 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10997 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10998 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10999 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11000 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11001 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11002 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11003 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11004 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11005 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11006 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11007 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11008 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11009 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11010 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11011 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11012 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11013 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11014 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11015 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11016 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11017 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11018 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11019 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11020 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11021 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11022 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11023 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11024 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11025 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11026 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11027 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11028 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11029 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11030 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11031 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11032 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11033 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11034 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11035 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11036 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11037 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11038 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11039 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11040 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11041 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11042 Require >= 2.
11043 (FLT_ROUNDS): Expect as macro, not constant.
11044 (FLT_MANT_DIG): Use macro-int-constant.
11045 (DBL_MANT_DIG): Likewise.
11046 (LDBL_MANT_DIG): Likewise.
11047 (FLT_DIG): Likewise.
11048 (DBL_DIG): Likewise.
11049 (LDBL_DIG): Likewise.
11050 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11051 (DBL_MIN_EXP): Likewise.
11052 (LDBL_MIN_EXP): Likewise.
11053 (FLT_MAX_EXP): Use macro-int-constant.
11054 (DBL_MAX_EXP): Likewise.
11055 (LDBL_MAX_EXP): Likewise.
11056 (FLT_MAX_10_EXP): Likewise.
11057 (DBL_MAX_10_EXP): Likewise.
11058 (LDBL_MAX_10_EXP): Likewise.
11059 (FLT_MAX): Use macro-constant.
11060 (DBL_MAX): Likewise.
11061 (LDBL_MAX): Likewise.
11062 (FLT_EPSILON): Use macro-constant. Give upper bound.
11063 (DBL_EPSILON): Likewise.
11064 (LDBL_EPSILON): Likewise.
11065 (FLT_MIN): Likewise.
11066 (DBL_MIN): Likewise.
11067 (LDBL_MIN): Likewise.
11068 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11069 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11070 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11071 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11072 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11073 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11074 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11075 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11076 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11077 [ISO11] (FLT_TRUE_MIN): Likewise.
11078 [ISO11] (LDBL_TRUE_MIN): Likewise.
11079 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11080 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11081 (SCHAR_MIN): Use macro-int-constant. Specify type.
11082 (SCHAR_MAX): Likewise.
11083 (UCHAR_MAX): Likewise.
11084 (CHAR_MIN): Likewise.
11085 (CHAR_MAX): Likewise.
11086 (MB_LEN_MAX): Use macro-int-constant.
11087 (SHRT_MIN): Use macro-int-constant. Specify type.
11088 (SHRT_MAX): Likewise.
11089 (USHRT_MAX): Likewise.
11090 (INT_MAX): Likewise.
11091 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11092 bound negative.
11093 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11094 bound with "U".
11095 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11096 bound with "L".
11097 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11098 bound negative. Suffix upper bound with "L".
11099 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11100 bound with "UL".
11101 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11102 Specify type.
11103 [C99-based standards] (LLONG_MAX): Likewise.
11104 [C99-based standards] (ULLONG_MAX): Likewise.
11105 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11106 == 0.
11107 [ISO11] (max_align_t): Require type.
11108 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11109
c9140a62
JM
11110 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11111 from $CFLAGS, without defining away __attribute__ calls.
11112 (checknamespace): Use $CFLAGS_namespace.
11113
9af0bf29
JM
11114 * conform/conformtest.pl (@keywords): Only include C99 keywords
11115 for standards based on C99 or C11.
11116
343222a2
JM
11117 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11118 Disable tests.
11119 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11120 UNIX98]: Likewise.
11121
661f8cf0
JM
11122 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11123 usability of symbols in #if.
11124
ee74b9cb
JM
11125 * conform/conformtest.pl: If macro or constant types start
11126 "promoted:", expect the symbol to be of the following type
11127 promoted by the integer promotions.
62fde54f 11128
aafc49b3
JM
11129 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11130 in one place. Also handle "macro-constant".
11131
fefdf574
JM
11132 * conform/conformtest.pl: Only accept expected macro values with
11133 "==". Parse all "macro" lines in one place.
11134 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11135
f2d922fe
JM
11136 * conform/conformtest.pl: Handle braced types on "constant" lines
11137 instead of handling "typed-constant".
11138 * conform/data/signal.h-data: Use "constant" instead of
11139 "typed-constant".
11140
d22956c9
JM
11141 * conform/conformtest.pl: Handle "optional-" at start of lines in
11142 one place rather than duplicating several cases. Handle each
11143 format of "macro" line with initial "optional-".
11144
028e2e38
JM
11145 * conform/conformtest.pl: Only accept expected constant or
11146 optional-constant values with "==". Parse all "constant" lines in
11147 one place. Parse all "optional-constant" lines in one place.
11148 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11149 * conform/data/fmtmsg.h-data: Likewise.
11150 * conform/data/netinet/in.h-data: Likewise.
11151 * conform/data/tar.h-data: Likewise.
11152 * conform/data/limits.h-data: Use "==" form on "constant" and
11153 "optional-constant" lines.
11154
1b8f2850
JM
11155 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11156 Use -std=c99 for XOPEN2K.
11157 (@knownproblems): Remove.
11158 (newtoken): Don't check %isknown.
11159
a05a144b
JM
11160 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11161 Do not expect macro.
11162 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11163 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11164 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11165 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11166 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11167 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11168 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11169 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11170 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11171 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11172 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11173 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11174 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11175 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11176 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11177 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11178 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11179 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11180 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11181 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11182 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11183 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11184 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11185 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11186 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11187 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11188 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11189 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11190 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11191 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11192 [XPG3] (acosh): Likewise.
11193 [XPG3] (asinh): Likewise.
11194 [XPG3] (atanh): Likewise.
11195 [XPG3] (cbrt): Likewise.
11196 [XPG3] (expm1): Likewise.
11197 [XPG3] (ilogb): Likewise.
11198 [XPG3] (log1p): Likewise.
11199 [XPG3] (logb): Likewise.
11200 [XPG3] (nextafter): Likewise.
11201 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11202 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11203 [XPG3] (remainder): Likewise.
11204 [XPG3] (rint): Likewise.
11205 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11206 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11207 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11208 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11209 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11210 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11211 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11212 [UNIX98 || XOPEN2K] (scalb): Expect.
11213 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11214 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11215 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11216 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11217 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11218 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11219 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11220 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11221 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11222 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11223 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11224 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11225 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11226 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11227 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11228 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11229 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11230 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11231 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11232 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11233 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11234 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11235 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11236 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11237 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11238 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11239 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11240 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11241 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11242 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11243 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11244 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11245 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11246 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11247 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11248 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11249 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11250 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11251 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11252 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11253 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11254 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11255 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11256 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11257 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11258 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11259 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11260 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11261 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11262 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11263 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11264 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11265 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11266 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11267 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11268 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11269 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11270 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11271 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11272 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11273 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11274 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11275 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11276 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11277 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11278 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11279 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11280 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11281 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11282 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11283 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11284 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11285 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11286 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11287 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11288 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11289 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11290 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11291 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11292 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11293 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11294 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11295 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11296 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11297 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11298 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11299 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11300 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11301 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11302 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11303 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11304 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11305 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11306 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11307 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11308 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11309 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11310 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11311 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11312 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11313 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11314 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11315 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11316 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11317 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11318 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11319 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11320 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11321 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11322 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11323 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11324 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11325 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11326 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11327 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11328 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11329 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11330 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11331 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11332 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11333 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11334 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11335 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11336 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11337 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11338 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11339 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11340 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11341 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11342 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11343 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11344 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11345 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11346 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11347 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11348 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11349 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11350
73c5ebe3
JM
11351 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11352 _XOPEN_SOURCE_EXTENDED for XPG4.
11353
39c33b6c
JM
11354 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11355
62fde54f
JM
11356 * Makeconfig (localtime): Remove variable.
11357 (inst_localtime-file): Likewise.
11358
0741d64c
AS
113592012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11360
11361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11362 Update.
11363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11364 Update.
11365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11366 Update.
11367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11368 Update.
11369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11370 Update.
11371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11372 Update.
11373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11374 Update.
11375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11376 Update.
11377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11378 Update.
11379
7cb029ee
JM
113802012-05-01 Joseph Myers <joseph@codesourcery.com>
11381
11382 [BZ #2550]
11383 [BZ #2570]
11384 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11385 comparisons to determine direction to adjust input.
11386 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11387 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11388 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11389 Likewise.
11390 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11391 Likewise.
11392 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11393 Likewise.
11394 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11395 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11396 Likewise.
11397 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11398 Likewise.
11399 * math/libm-test.inc (nexttoward_test): Add more tests.
11400
412bd966
AS
114012012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11402
11403 [BZ #14040]
11404 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11405 in version GLIBC_2.1, not GLIBC_2.0.
11406 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11407 Likewise.
11408
9568c0c2
JM
114092012-04-30 Joseph Myers <joseph@codesourcery.com>
11410
adfbc8ac
JM
11411 [BZ #13942]
11412 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11413 (1 - x) * (1 + x).
11414 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11415 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11416 * math/libm-test.inc (acos_test): Add more tests.
11417 (asin_test): Likewise.
11418 * sysdeps/i386/fpu/libm-test-ulps: Update.
11419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11420
5ba3cc69
JM
11421 [BZ #14034]
11422 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11423 of square root.
11424 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11425 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11426 * math/libm-test.inc (acos_test_tonearest): New function.
11427 (acos_test_towardzero): Likewise.
11428 (acos_test_downward): Likewise.
11429 (acos_test_upward): Likewise.
11430 (asin_test_tonearest): Likewise.
11431 (asin_test_towardzero): Likewise.
11432 (asin_test_downward): Likewise.
11433 (asin_test_upward): Likewise.
11434 (main): Call the new functions.
11435 * sysdeps/i386/fpu/libm-test-ulps: Update.
11436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11437
9568c0c2
JM
11438 [BZ #13884]
11439 [BZ #13924]
11440 * math/e_exp10.c: Include <float.h>.
11441 (__ieee754_exp10): Handle underflow here rather than multiplying
11442 large negative argument by M_LN10.
11443 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11444 of __ieee754_expf.
11445 * math/e_exp10l.c: Include <float.h>.
11446 (__ieee754_exp10l): Handle underflow here rather than multiplying
11447 large negative argument by M_LN10l.
11448 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11449 spurious overflow exception on underflow.
11450
5ac3ea17
MP
114512012-04-29 Marek Polacek <polacek@redhat.com>
11452
11453 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11454 (__fortify_function): New macro.
11455 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11456 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11457 __extern_always_inline.
11458 * libio/bits/stdio2.h: Likewise.
11459 * libio/bits/stdio.h: Likewise.
11460 * string/string.h: Likewise.
11461 * string/bits/string3.h: Likewise.
11462 * include/stdio.h: Likewise.
11463 * stdlib/bits/stdlib.h: Likewise.
11464 * stdlib/stdlib.h: Likewise.
11465 * rt/bits/mqueue2.h: Likewise.
11466 * rt/mqueue.h: Likewise.
11467 * posix/bits/unistd.h: Likewise.
11468 * posix/unistd.h: Likewise.
11469 * io/bits/poll2.h: Likewise.
11470 * io/bits/fcntl2.h: Likewise.
11471 * io/fcntl.h: Likewise.
11472 * io/sys/poll.h: Likewise.
11473 * misc/bits/syslog.h: Likewise.
11474 * misc/bits/syslog-ldbl.h: Likewise.
11475 * misc/sys/syslog.h: Likewise.
11476 * socket/bits/socket2.h: Likewise.
11477 * socket/sys/socket.h: Likewise.
11478 * debug/tst-chk1.c: Likewise.
11479 * wcsmbs/bits/wchar2.h: Likewise.
11480 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11481 * wcsmbs/wchar.h: Likewise.
11482
ecf0ebfb
AJ
114832012-04-29 Andreas Jaeger <aj@suse.de>
11484
11485 * Makerules (tests): Remove enable-check-abi protection.
11486 (check-abi-warn): Remove.
11487 (check-abi-%): Remove check-abi-warn usage.
11488
11489 * configure.in: Remove check-abi configure option.
11490 * configure: Regenerated.
11491 * config.make.in (enable-check-abi): Remove.
11492
6d5c57fa
AS
114932012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11494
24c5d07e 11495 [BZ #14033]
ded5180a
AS
11496 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11497 double functions to double *_finite functions.
11498
7e0d315d
AS
11499 [BZ #13941]
11500 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11501 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11502 LDBL_MIN_EXP.
11503 * stdio-common/Makefile (tests): Add tst-sprintf3.
11504 * stdio-common/tst-sprintf3.c: New file.
11505
6d5c57fa
AS
11506 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11507 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11508
0749ff8b
JM
115092012-04-28 Joseph Myers <joseph@codesourcery.com>
11510
11511 * conform/conformtest.pl: Remove duplicate typed-constant
11512 handling.
11513
8dbd5d7b
DM
115142012-04-28 David S. Miller <davem@davemloft.net>
11515
11516 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11517 (check-abi-%): Remove AWK script prerequisite and explicit
11518 abilist directory.
11519 (check-abi): Rewrite to just diff the symlist with the abilist.
11520 (config-tls, config-abi-config): Delete, no longer used.
11521 (update-abi-%): Remove AWK script and explicit abilist directory.
11522 (update-abi): Rewrite to simply compare and conditionally copy the
11523 symlist and the sysdep abilist file. Remove update-abi-config
11524 checks.
11525 * abilist/ld.abilist: Remove.
11526 * abilist/libBrokenLocale.abilist: Remove.
11527 * abilist/libanl.abilist: Remove.
11528 * abilist/libcrypt.abilist: Remove.
11529 * abilist/libdl.abilist: Remove.
11530 * abilist/librt.abilist: Remove.
11531 * abilist/libthread_db.abilist: Remove.
11532 * abilist/libutil.abilist: Remove.
11533 * scripts/extract-abilist.awk: Remove.
11534 * scripts/merge-abilist.awk: Remove.
11535 * sysdeps/generic/libcidn.abilist: New file.
11536 * sysdeps/generic/libnss_compat.abilist: New file.
11537 * sysdeps/generic/libnss_db.abilist: New file.
11538 * sysdeps/generic/libnss_dns.abilist: New file.
11539 * sysdeps/generic/libnss_files.abilist: New file.
11540 * sysdeps/generic/libnss_hesiod.abilist: New file.
11541 * sysdeps/generic/libnss_nis.abilist: New file.
11542 * sysdeps/generic/libnss_nisplus.abilist: New file.
11543 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11544 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11545 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11546 file.
11547 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11548 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11549 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11550 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11551 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11552 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11553 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11554 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11555 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11556 file.
11557 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11558 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11559 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11560 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11561 file.
11562 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11563 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11564 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11565 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11566 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11567 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11568 file.
11569 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11570 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11571 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11572 file.
11573 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11574 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11575 New file.
11576 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11577 New file.
11578 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11579 New file.
11580 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11581 New file.
11582 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11583 New file.
11584 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11585 New file.
11586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11587 New file.
11588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11589 New file.
11590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11591 New file.
11592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11593 New file.
11594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11595 New file.
11596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11597 New file.
11598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11599 New file.
11600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11601 file.
11602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11603 New file.
11604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11605 New file.
11606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11607 file.
11608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11609 New file.
11610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11611 New file.
11612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11613 file.
11614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11615 New file.
11616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11617 New file.
11618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11619 New file.
11620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11621 New file.
11622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11623 New file.
11624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11625 New file.
11626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11628 file.
11629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11630 New file.
11631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11632 file.
11633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11634 file.
11635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11636 file.
11637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11638 file.
11639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11640 file.
11641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11642 New file.
11643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11644 file.
11645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11646 file.
11647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11648 New file.
11649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11650 file.
11651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11653 file.
11654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11655 New file.
11656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11657 file.
11658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11659 file.
11660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11661 file.
11662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11663 file.
11664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11665 file.
11666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11667 New file.
11668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11669 file.
11670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11671 file.
11672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11673 New file.
11674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11675 file.
11676 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11677 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11678 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11679 file.
11680 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11681 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11682 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11683 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11684 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11685 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11686 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11687 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11688 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11689 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11692 file.
11693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11694 New file.
11695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11696 file.
11697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11698 file.
11699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11700 file.
11701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11702 file.
11703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11704 file.
11705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11706 New file.
11707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11708 New file.
11709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11710 file.
11711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11712 New file.
11713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11714 file.
11715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11717 file.
11718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11719 New file.
11720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11721 file.
11722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11723 file.
11724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11725 file.
11726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11727 file.
11728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11729 file.
11730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11731 New file.
11732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11733 New file.
11734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11735 file.
11736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11737 New file.
11738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11739 file.
11740
41d73a1b
JM
117412012-04-28 Joseph Myers <joseph@codesourcery.com>
11742
11743 * conform/conformtest.pl: Fix typo in handling typed-constant from
11744 allow-header.
11745
28aeeda4
JM
117462012-04-27 Joseph Myers <joseph@codesourcery.com>
11747
adae8f5e
JM
11748 * README: Cut down references to pre-2.6 Linux kernels and
11749 Linuxthreads. Update lists of configurations in libc and ports
11750 and sort alphabetically. Say "or newer" with Linux kernel version
11751 requirements.
11752
28aeeda4
JM
11753 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11754
a462cb63
RA
117552012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11756
11757 [BZ #887]
11758 * math/libm-test.inc (logb_test_downward): New test to expose
11759 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11760 rounding mode.
11761
6ad3493e
JM
117622012-04-27 Joseph Myers <joseph@codesourcery.com>
11763
11764 [BZ #14027]
11765 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11766 to be done.
11767 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11768 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11769
2ce4f015
JM
117702012-04-26 Joseph Myers <joseph@codesourcery.com>
11771
5aeb141a
JM
11772 * sysdeps/unix/i386/brk.S: Remove file.
11773 * sysdeps/unix/i386/dl-brk.S: Likewise.
11774 * sysdeps/unix/i386/pipe.S: Likewise.
11775 * sysdeps/unix/i386/sigreturn.S: Likewise.
11776 * sysdeps/unix/i386/syscall.S: Likewise.
11777 * sysdeps/unix/i386/vfork.S: Likewise.
11778 * sysdeps/unix/i386/wait.S: Likewise.
11779
7143acae
JM
11780 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11781 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11782
2ce4f015
JM
11783 * configure.in (arm*-none*): Do not allow without
11784 --enable-hacker-mode.
11785 (netbsd*): Remove case setting base_os.
11786 (386bsd*): Likewise.
11787 (freebsd*): Likewise.
11788 (bsdi*): Likewise.
11789 (osf*): Likewise.
11790 (sunos*): Likewise.
11791 (ultrix*): Likewise.
11792 (newsos*): Likewise.
11793 (dynix*): Likewise.
11794 (*bsd*): Likewise.
11795 (sysv*): Likewise.
11796 (isc*): Likewise.
11797 (esix*): Likewise.
11798 (sco*): Likewise.
11799 (minix*): Likewise.
11800 (irix4*): Likewise.
11801 (irix6*): Likewise.
11802 (solaris[2-9]*): Likewise.
11803 (none): Likewise.
11804 * configure: Regenerated.
11805
0ac229c8
AZ
118062012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11807
11808 [BZ #11521]
11809 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11810 overflow or cancellation in calculating denominator.
11811 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11812 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11813 down expression to avoid unexpected rounding in newer GCCs.
11814 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11815
33f244f4
DM
118162012-04-26 David S. Miller <davem@davemloft.net>
11817
11818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11819 long-double compat symbols.
11820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11833
cfa1f3e8
DM
118342012-04-25 David S. Miller <davem@davemloft.net>
11835
11836 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11837 HWCAP_* values only after the memory barriers have been defined.
11838 (atomic_full_barrier): Define.
11839 (atomic_read_barrier): Define.
11840 (atomic_write_barrier): Define.
11841
6e236b92
SP
118422012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11843
11844 * shlib-versions: Add libgcc_s version information.
11845 * sysdeps/generic/libgcc_s.h: Remove.
11846 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11847 libgcc_s.h.
11848 * sysdeps/gnu/unwind-resume.c: Likewise.
11849 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11850
aab39a09
DM
118512012-04-25 David S. Miller <davem@davemloft.net>
11852
11853 * sysdeps/unix/sparc/brk.S: Delete.
11854 * sysdeps/unix/sparc/dl-brk.S: Delete.
11855 * sysdeps/unix/sparc/pipe.S: Delete.
11856 * sysdeps/unix/sparc/sysdep.S: Delete.
11857 * sysdeps/unix/sparc/sysdep.h: Delete.
11858 * sysdeps/unix/sparc/vfork.S: Delete.
11859 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11860 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11861 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11862 ret_ERRVAL, r0, r1, MOVE): Define.
11863 (JUMPTARGET): Remove.
11864 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11865 sysdeps/unix/sparc/sysdep.h
11866 (ENTRY, END): Remove.
11867 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11868
a3cc4f48
JM
118692012-04-25 Joseph Myers <joseph@codesourcery.com>
11870
2ed8cda2
JM
11871 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11872 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11873 -DIS_IN_build.
11874
35d76d59
JM
11875 * timezone/README: Update upstream location and email address for
11876 tzcode and tzdata.
11877 * timezone/zdump.c: Update from tzcode 2012b.
11878 * timezone/zic.c: Likewise.
11879
a3cc4f48
JM
11880 * configure.in (libc_cv_as_needed): Remove test.
11881 * configure: Regenerated.
11882 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11883 conditional definition.
11884 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11885 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11886 * config.make.in (have-as-needed): Remove variable.
11887
ceab42c3
SP
118882012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11889 Paul Pluzhnikov <ppluzhnikov@google.com>
11890
11891 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11892 strings correctly.
11893
3ce2865f
CLT
118942012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11895
11896 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11897 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11898 * sysdeps/sh/strlen.S: Likewise.
11899
f37e0d68
JM
119002012-04-24 Joseph Myers <joseph@codesourcery.com>
11901
ae186e9a
JM
11902 * sysdeps/unix/fork.S: Remove file.
11903 * sysdeps/unix/i386/fork.S: Likewise.
11904 * sysdeps/unix/sparc/fork.S: Likewise.
11905
b96914af
JM
11906 * sysdeps/unix/system.c: Remove file.
11907 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11908
f37e0d68
JM
11909 * sysdeps/unix/getegid.S: Remove file.
11910 * sysdeps/unix/geteuid.S: Likewise.
11911
87ef29ca
RM
119122012-04-24 Roland McGrath <roland@hack.frob.com>
11913
83bcd236
RM
11914 * scripts/check-localplt.awk: New file.
11915 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11916 of diff.
11917 * scripts/data/localplt-generic.data: Add a comment.
11918
87ef29ca
RM
11919 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11920 NODE when __dir_mkfile failed.
11921 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11922 Reported by Ludovic Courtès <ludo@gnu.org>.
11923
e5a6e567
AJ
119242012-04-24 Andreas Jaeger <aj@suse.de>
11925
11926 * Makerules (common-clean): Also remove gen-as-const-headers
11927 files.
11928
c1820385
JM
119292012-04-24 Joseph Myers <joseph@codesourcery.com>
11930
11931 * Makerules (native-compile): Do not change working directory for
11932 build. Use $(OUTPUT_OPTION) in command.
11933 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11934
94e02fc4
AZ
119352012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11936
11937 [BZ #13886]
11938 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11939 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11940 * math/libm-test.inc (floor_test): Add more tests.
11941 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11942
3a533ca3
JM
119432012-04-24 Joseph Myers <joseph@codesourcery.com>
11944
940ab4b3
JM
11945 * sysdeps/unix/getdents.c: Remove file.
11946 * sysdeps/unix/sysv/getdents.c: Likewise.
11947 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11948
90e037bd
JM
11949 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11950 sysdeps/unix/mman/syscalls.list.
11951 (mmap): Likewise.
11952 (mprotect): Likewise.
11953 (msync): Likewise.
11954 (munmap): Likewise.
11955 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11956 * sysdeps/unix/mman/syscalls.list: Remove.
11957 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11958
3a533ca3
JM
11959 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11960 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11961 * configure: Regenerated.
11962 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11963 $(libgcc_s_suffix).
11964 * config.make.in (libgcc_s_suffix): Remove variable.
11965
1ad743de
JM
119662012-04-23 Joseph Myers <joseph@codesourcery.com>
11967
4ad451e2
JM
11968 * sysdeps/unix/sysv/gethostname.c: Move to ...
11969 * sysdeps/posix/gethostname.c: ... here.
11970
5e37ce39
JM
11971 * sysdeps/unix/execve.S: Remove file.
11972
1ad743de
JM
11973 * sysdeps/unix/_exit.S: Remove file.
11974
4e681b5b
AJ
119752012-04-23 Andreas Jaeger <aj@suse.de>
11976
11977 [BZ #13739]
11978 * manual/Makefile: Remove make dist support, there's no
11979 need for a stand-alone documentation tar ball.
11980 (TEXI2DVI): Define always, it's not in Makeconfig.
11981 (dist): Removed.
11982 (tar-it): Removed.
11983 (edition): Removed.
11984 (glibc-doc-$(edition).tar): Removed
11985 (%.Z): Removed.
11986 (%.gz): Removed.
11987 (%.uu): Removed.
11988 (ETAGS): Remove, it's in Makeconfig.
11989 (move-if-change): Remove, it's in Makeconfig.
11990
38686a03 119912012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
11992
11993 [BZ #13970]
11994 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11995 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11996 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11997 (strtod_l, strtof_l, strtold_l): Remove __wur.
11998 It is not necessarily an error to ignore strtol's return value.
11999 One can reliably look at the stored endptr to decide whether
12000 the number had valid syntax.
12001
7c0616fa
AJ
120022012-04-21 Andreas Jaeger <aj@suse.de>
12003
803cb6b7 12004 [BZ #13739]
7c0616fa
AJ
12005 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12006
b0fe253f
JM
120072012-04-21 Joseph Myers <joseph@codesourcery.com>
12008
12009 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12010 * sysdeps/unix/sysv/Versions: Remove file.
12011
8280f22d
MT
120122012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12013
12014 [BZ #13927]
12015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12016
75ce411f 120172012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
12018
12019 [BZ #7064]
12020 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12021 version from __vm86.
12022
097d59fa
JM
120232012-04-20 Joseph Myers <joseph@codesourcery.com>
12024
a90f3bcb
JM
12025 * sysdeps/unix/common/lxstat.c: Remove file.
12026 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12027
edc7ea78
JM
12028 * sysdeps/unix/sysv/Makefile: Remove file.
12029
cb78c221
JM
12030 * sysdeps/unix/sysv/direct.h: Remove file.
12031
efa6a45f
JM
12032 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12033 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12034 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12035 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12036 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12037 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12038 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12039
9c9f2d0c
JM
12040 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12041
4541c83b
JM
12042 * sysdeps/unix/xmknod.c: Remove file.
12043 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12044
f5d153a0
JM
12045 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12046
aa746595
JM
12047 * sysdeps/unix/sysv/i386/time.S: Remove file.
12048
cce5905e
JM
12049 * sysdeps/unix/fxstat.c: Remove file.
12050 * sysdeps/unix/xstat.c: Likewise.
12051 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12052
37fa3841
JM
12053 * sysdeps/unix/sysv/sigaction.c: Remove file.
12054
ff1962a3
JM
12055 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12056 (sysdep_headers): Remove variable.
12057 [termio.h not in sysdep_headers] (generated): Likewise.
12058 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12059 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12060 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12061 * sysdeps/unix/sysv/tcflow.c: Likewise.
12062 * sysdeps/unix/sysv/tcflush.c: Likewise.
12063 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12064 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12065 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12066 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12067 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12068
e7740d31
JM
12069 * sysdeps/unix/siglist.c: Remove file.
12070
ee06f18b
JM
12071 * sysdeps/unix/getppid.S: Remove file.
12072
097d59fa
JM
12073 * sysdeps/unix/mkdir.c: Remove file.
12074 * sysdeps/unix/rmdir.c: Likewise.
12075
ff3d51ec
AS
120762012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12077
12078 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12079 ERR_MAX value.
12080 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12081 errlist-compat value.
12082
50f81fd7
DM
120832012-04-18 David S. Miller <davem@davemloft.net>
12084
12085 * sysdeps/generic/memcopy.h (reg_char): Delete.
12086 * debug/strcat_chk.c: Use char, not reg_char.
12087 * debug/strcpy_chk.c: Likewise.
12088 * debug/strncat_chk.c: Likewise.
12089 * debug/strncpy_chk.c: Likewise.
12090 * string/memchr.c: Likewise.
12091 * string/memrchr.c: Likewise.
12092 * string/rawmemchr.c: Likewise.
12093 * string/strcat.c: Likewise.
12094 * string/strchr.c: Likewise.
12095 * string/strchrnul.c: Likewise.
12096 * string/strcmp.c: Likewise.
12097 * string/strcpy.c: Likewise.
12098 * string/strncat.c: Likewise.
12099 * string/strncmp.c: Likewise.
12100 * string/strncpy.c: Likewise.
12101
8ff41c46
WS
121022012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12103
12104 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12105 __builtin_memcopy is called when src and dest ranges are known to not
12106 overlap.
12107
6b652f46
WS
121082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12109
12110 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12111 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12112 fwd_align_merge macro call.
12113 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12114 bwd_align_merge macro call.
12115 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12116
b282631e
WS
121172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12118
12119 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12120 bwd_align_merge macros.
12121 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12122 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12123 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12124
95aa737c
DM
121252012-04-18 David S. Miller <davem@davemloft.net>
12126
12127 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12128
7a99a614
AJ
121292012-04-18 Andreas Jaeger <aj@suse.de>
12130
12131 [BZ# 6794]
12132 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12133 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12134 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12135
12136 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12137 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12138 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12139
12140 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12141 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12142 Adjust for changed ldbl-128 files.
12143
12144 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12145 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12146 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12147
e5270c23
DM
121482012-04-17 David S. Miller <davem@davemloft.net>
12149
12150 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12151
fb5e92c9
AS
121522012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12153
12154 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12155 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12156 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12157 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12158 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12159 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12160
76da7265
AZ
121612012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12162
12163 [BZ #6794]
12164 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12165 * math/libm-test.inc: Add ilogb errno and exception tests.
12166 * math/w_ilogb.c: New file: ilogb wrapper.
12167 * math/w_ilogbf.c: New file: ilogbf wrapper.
12168 * math/w_ilogbl.c: New file: ilogbl wrapper.
12169 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12170 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12171 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12172 exception being thrown with 0.0 as argument.
12173 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12174 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12175 exception being thrown with 0.0 as argument.
12176 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12177 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12178 exception being thrown with 0.0 as argument.
12179 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12180 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12181 exception being thrown with 0.0 as argument.
12182 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12183 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 12184 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
12185 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12186 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12187 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12188 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12189 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12190 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12191
0396e69d
PB
121922012-04-17 Petr Baudis <pasky@ucw.cz>
12193
12194 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12195 with altivec.
12196
750b5926
MP
121972012-04-16 Marek Polacek <polacek@redhat.com>
12198
12199 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12200
751728a1
MP
122012012-04-16 Marek Polacek <polacek@redhat.com>
12202
12203 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12204 operands of fdivp instruction.
12205
34a27407
L
122062012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12207
12208 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12209 * elf/tst-auditmod3b.c: Likewise.
12210 * elf/tst-auditmod4b.c: Likewise.
12211 * elf/tst-auditmod5b.c: Likewise.
12212 * elf/tst-auditmod6b.c: Likewise.
12213 * elf/tst-auditmod6c.c: Likewise.
12214 * elf/tst-auditmod7b.c: Likewise.
12215 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12216 * sysdeps/x86_64/preconfigure.in: Likewise.
12217 * sysdeps/x86_64/preconfigure: Regenerated.
12218
7e73e17d
L
122192012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12220
12221 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12222 __ILP32__.
12223
c7a6ab72
AB
122242012-04-13 Antoine Balestrat <merkil33@gmail.com>
12225
12226 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12227 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12228
a9e8e0e0
CL
122292012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12230
12231 [BZ #13973]
12232 * locale/iso-639.def: Fix gl language name. Spotted by
12233 Yaron Shahrabani.
12234
ec98af7d
RM
122352012-04-12 Roland McGrath <roland@hack.frob.com>
12236
12237 [BZ #2074]
12238 * libio/libio.h (__io_write_fn): Update comment.
12239
247c3ede
PB
122402012-04-12 Petr Baudis <pasky@ucw.cz>
12241
12242 [BZ #2074]
12243 * stdio.texi (Hook Functions): The user provided writer function
12244 is not allowed to return -1.
12245
55939d6d
DM
122462012-04-11 David S. Miller <davem@davemloft.net>
12247
12248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12249
90020f5a
MF
122502012-04-11 Mike Frysinger <vapier@gentoo.org>
12251
12252 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12253 Add a leading slash to rtkaio.
12254
288f9098
JM
122552012-04-11 Jim Meyering <meyering@redhat.com>
12256
90020f5a
MF
12257 [BZ #11959]
12258 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12259 It is not necessarily an error to ignore fwrite's return
12260 value. One can reliably use ferror to test for errors after
12261 the fact.
288f9098 12262
4be2b570
L
122632012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12264
12265 * bits/types.h (__snseconds_t): New type.
12266 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12267
12268 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12269 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12270 (__SNSECONDS_T_TYPE): Likewise.
12271 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12272 (__SNSECONDS_T_TYPE): Likewise.
12273 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12274 (__SNSECONDS_T_TYPE): Likewise.
12275
288f9098 122762012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
12277
12278 [BZ #2636]
12279 * manual/time.texi (Processor Time): Return type of times is
12280 elapsed real time since an arbitrary point in the past.
12281 (CPU Time): Move CLK_TCK from here...
12282 (Processor Time): ...to here. Correct description.
12283 * manual/conf.texi (Constants for Sysconf): Correct description of
12284 _SC_CLK_TCK.
12285
d7dd4413
DM
122862012-04-10 David S. Miller <davem@davemloft.net>
12287
12288 [BZ #13967]
12289 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12290 where the is a gap between DT_REL(A) and DT_JMPREL.
12291
b46068fc
L
122922012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12293
12294 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12295 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12296 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12297
73d65cc3
SP
122982012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12299
12300 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12301 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12302 (dl_main): Handle --inhibit-cache.
12303 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12304 _dl_inhibit_cache.
12305 * elf/dl-load.c (_dl_map_object): Use it.
12306 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12307
bcc8d661
JM
123082012-04-09 Joseph Myers <joseph@codesourcery.com>
12309
8f9a2fae
JM
12310 [BZ #13872]
12311 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12312 (__ieee754_powl): Saturate large exponents rather than testing for
12313 overflow of y*log2(x).
12314 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12315 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12316 exceptions.
12317
bcc8d661
JM
12318 [BZ #11521]
12319 * math/s_ctan.c: Include <float.h>.
12320 (__ctan): Avoid internal overflow or cancellation in calculating
12321 denominator.
12322 * math/s_ctanf.c: Likewise.
12323 * math/s_ctanl.c: Likewise.
12324 * math/s_ctanh.c: Likewise.
12325 * math/s_ctanhf.c: Likewise.
12326 * math/s_ctanhl.c: Likewise.
12327 * math/libm-test.inc (ctan_test): Add more tests.
12328 (ctanh_test): Likewise.
12329 * sysdeps/i386/fpu/libm-test-ulps: Update.
12330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12331
823fbbb4
AJ
123322012-04-09 Andreas Jaeger <aj@suse.de>
12333
03879793
AJ
12334 [BZ #6894]
12335 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12336 is an optional BSD extension.
12337
823fbbb4
AJ
12338 [BZ #10254]
12339 * manual/stdio.texi (Opening Streams): Document additional fopen
12340 parameters.
12341
8de131cb
RM
123422012-04-09 Roland McGrath <roland@hack.frob.com>
12343
12344 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12345 %eax without telling the compiler.
12346
c0ed9d7d
CD
123472012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12348
12349 [BZ # 13963]
12350 * manual/install.texi: Use sourceware.org.
12351
c483f6b4
JM
123522012-04-09 Joseph Myers <joseph@codesourcery.com>
12353
d7dd9453
JM
12354 [BZ #13873]
12355 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12356 (__ieee754_pow): Generate overflow and underflow using huge*huge
12357 and tiny*tiny rather than just returning constant infinity or zero
12358 for large exponents.
12359 * math/libm-test.inc (pow_test): Require overflow exceptions for
12360 applicable cases of large exponents.
12361
c483f6b4
JM
12362 [BZ #706]
12363 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12364 (__ieee754_pow): Use iterative multiplication algorithm only for
12365 integer exponents with absolute value below 1024. Check for odd
12366 integer exponents when using algorithm for real exponents.
12367 * math/libm-test.inc (pow_test): Add more tests.
12368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12369
d2de7579
JM
123702012-04-08 Joseph Myers <joseph@codesourcery.com>
12371
12372 [BZ #13705]
12373 * math/libm-test.inc (exp_test): Do not allow overflow exception
12374 on underflow test.
12375
f77f1232
AJ
123762012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12377
12378 [BZ #13705]
12379 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12380 instead of __kernel_standard_f.
12381
3884932b
MF
123822012-04-08 Mike Frysinger <vapier@gentoo.org>
12383
12384 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12385 * sysdeps/x86_64/memset_chk.S: Likewise.
12386
54472e9c
AJ
123872012-04-08 Andreas Jaeger <aj@suse.de>
12388
6ab0fbfc
AJ
12389 [BZ #10153]
12390 * manual/startup.texi (Environment Access): Describe return value
12391 for putenv and setenv.
12392
61efba8c
AJ
12393 [BZ #6895]
12394 * manual/filesys.texi (Directory Entries): Add description for
12395 DT_LNK.
12396
95c3f29a
AJ
12397 [BZ #6890]
12398 * manual/filesys.texi (Directory Entries): Clarify that it's file
12399 system not operating system in the description of DT_UNKNOWN.
12400
54472e9c
AJ
12401 [BZ #6578]
12402 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12403
624254b1
SC
124042012-04-08 Stephen Compall <s11@member.fsf.org>
12405
12406 [BZ #6649]
12407 * manual/llio.texi (Opening and Closing Files): Add cross
12408 reference to explain mode argument.
12409
1e4920e0
MF
124102012-04-07 Mike Frysinger <vapier@gentoo.org>
12411
12412 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12413 * sysdeps/x86_64/memset_chk.S: Likewise.
12414
5ed848f3
DM
124152012-04-07 David S. Miller <davem@davemloft.net>
12416
12417 * elf/elf.h (R_SPARC_WDISP10): Define.
12418 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12419 R_SPARC_SIZE32.
12420 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12421 R_SPARC_SIZE64 and R_SPARC_H34.
12422
96154cd8
CD
124232012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12424
12425 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12426 conditions and remove no longer applicable assertion.
12427
9904dc47
L
124282012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12429
12430 * bits/byteswap.h: Include <features.h>.
12431 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12432 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12433
f8887d0a
L
124342012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12435
12436 * bits/byteswap.h (__bswap_16): Removed.
12437 Include <bits/byteswap-16.h> to get __bswap_16.
12438 * sysdeps/i386/bits/byteswap.h: Likewise.
12439 * sysdeps/s390/bits/byteswap.h: Likewise.
12440 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12441 * bits/byteswap-16.h: New file.
12442 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12443 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12444 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12445 * string/Makefile (headers): Add bits/byteswap-16.h.
12446
62470f60
PP
124472012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12448
12449 [BZ #13895]
12450 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12451 extra indirection.
12452 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12453 * nss/tst-nss-static.c: New.
12454
4dad7bab
RM
124552012-04-06 Robert Millan <rmh@gnu.org>
12456
12457 [BZ #6486]
12458 * manual/llio.texi (File Position Primitive): lseek
12459 refers to WHENCE when it really means OFFSET.
12460
e9142a17
AJ
124612012-04-06 Andreas Jaeger <aj@suse.de>
12462
2c040eff
AJ
12463 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12464 strncmp declarations.
12465
e9142a17
AJ
12466 * abilist/libc.abilist: Add __poll and __ppoll.
12467
ff9f1c5f
DM
124682012-04-05 David S. Miller <davem@davemloft.net>
12469
dcd2ae90
DM
12470 * scripts/check-local-headers.sh: Accept a host triplet in the
12471 path matched by the exclude regexp.
12472
993eb054
DM
12473 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12474 definition.
12475 * sysdeps/powerpc/powerpc32/dl-machine.h
12476 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12477 * sysdeps/s390/s390-32/dl-machine.h
12478 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12479 * sysdeps/sparc/sparc32/dl-machine.h
12480 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12481 * sysdeps/sparc/sparc64/dl-machine.h
12482 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12483
ff9f1c5f
DM
12484 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12485 lazy binding.
48e2e132 12486 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
12487 undefined symbol errors.
12488
48e2e132 12489 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
12490 DT_NEEDED entries.
12491
e80d6f94
MM
124922012-04-05 Michael Matz <matz@suse.de>
12493
12494 [BZ #13592]
12495 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12496
349fa79f
AJ
124972012-04-05 Andreas Jaeger <aj@suse.de>
12498
12499 [BZ #13908]
12500 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12501 comment.
12502
f402708f
KK
125032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12504
12505 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12506 which ROUND is no valid rounding mode.
12507
2ecccfc9
KK
125082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12509
12510 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12511 read again.
12512 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12513
8a53f50f
KK
125142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12515
12516 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12517 an exception using FPU order intentionally.
12518
125192012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12520
12521 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12522 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12523 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12524 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12525
d653abb7
SJ
125262012-04-05 Simon Josefsson <simon@josefsson.org>
12527
12528 [BZ #12340]
12529 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12530 EINVAL when BUFLEN is too smal.
12531
c3b1bf7d
TS
125322012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12533
12534 [BZ #13553]
12535 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12536 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12537
b1aa60f3
AJ
125382012-04-03 Andreas Jaeger <aj@suse.de>
12539
c3b1bf7d 12540 [BZ #13938]
67f60a26
AJ
12541 * manual/setjmp.texi (System V contexts): Fix sentence.
12542
b1aa60f3
AJ
12543 [BZ #13926]
12544 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12545 New macro for this case.
12546 [!__GNUC__] (__bswap_64): New inline function for this case.
12547 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12548 * bits/byteswap.h: Likewise.
12549 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12550 ull, guard with __GLIBC_HAVE_LONG_LONG.
12551
12552 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12553 __GLIBC_HAVE_LONG_LONG.
12554
12555 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12556 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12557
39c59c35
TMQMF
125582012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12559
12560 [BZ #13691]
12561 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12562 inptr and inend, rather than using last_ch.
12563
135ffda8
DM
125642012-04-02 David S. Miller <davem@davemloft.net>
12565
12566 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12567 * stdio-common/printf-parse.h (read_int): Change return type to
12568 'int', return -1 on INT_MAX overflow.
12569 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12570 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12571 overflows INT_MAX. Check for overflow of in-format-string precision
12572 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12573 SIZE_MAX not INT_MAX for integer overflow test.
12574 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12575 skip the construct in the format string but do not record anything.
12576 * stdio-common/bug22.c: Adjust to test both width/prevision
12577 INT_MAX overflow as well as total length INT_MAX overflow. Check
12578 explicitly for proper errno values.
12579
228c019e
TS
125802012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12581
302cadd3
TS
12582 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12583 CHAR_MAX.
12584 * string/test-strcmp.c [! WIDE]: Likewise.
12585 * time/tst-mktime2.c: Likewise for INT_MAX.
12586 * string/test-string.h: #include <sys/param.h> for MIN.
12587
228c019e
TS
12588 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12589 * sysdeps/i386/init-first.c (init): Likewise.
12590 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12591 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12592 * sysdeps/sh/init-first.c (init): Likewise.
12593
cfa633f5
UD
125942012-04-01 Ulrich Drepper <drepper@gmail.com>
12595
12596 * po/ru.po: Update from translation team.
d1635ef8 12597 * po/vi.po: Likewise.
cfa633f5 12598
6cd0a5ea
SP
125992012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12600
12601 * resolv/nss_dns/dns-host.c: Merge copyright years.
12602
4b43400f
LD
126032012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12604
12605 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12606 Optimize memcpy with prefetch if
12607 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12608 src, dst pointers have unequal 16 byte alignments.
12609
48c41d04
SP
126102012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12611
12612 [BZ #13928]
12613 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12614 from a CNAME entry and return the minimum ttl for the query.
12615 (gaih_getanswer_slice): Likewise.
12616
b8dc394d
JL
126172012-03-30 Jeff Law <law@redhat.com>
12618
12619 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12620 due to long keys.
12621 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12622 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12623
2f5a5ed0
JL
12624 * resolv/nss_dns/dns-host.c: Update copyright year.
12625
1d39e359
UD
126262012-03-30 Ulrich Drepper <drepper@gmail.com>
12627
c030f70c 12628 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12629 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12630
1d39e359
UD
12631 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12632 comments for sendmmsg.
12633
126342012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12635
12636 [BZ #13691]
12637 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12638 with only 1 character between 0x0041 and 0x01b0.
12639 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12640 * wcsmbs/tst-mbsnrtowcs.c: New file.
12641
20fde227
DM
126422012-03-29 David S. Miller <davem@davemloft.net>
12643
12644 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12645 small copies by hand.
12646
984a4237
JL
126472012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12648
12649 [BZ #13761]
12650 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12651 _nss_compat_initgroups_dyn): Fall back to malloc/free
12652 for large group memberships.
12653
18c9d62b
DM
126542012-03-28 David S. Miller <davem@davemloft.net>
12655
88d85d4f
DM
12656 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12657 that branches into memcpy.
12658 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12659 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12660 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12661 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12662 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12663 bits.
12664 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12665 implementation too.
12666 * sysdeps/sparc/mempcpy.S: New file.
12667
e5aa83e1
DM
12668 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12669 the IFUNC routine in the libc case.
12670 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12671
88570753
DM
12672 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12673 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12674 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12675 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12676 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12677 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12678 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12679 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12680
249d7567
DM
12681 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12682 loop to 256 bytes instead of 64 bytes and fix test signedness.
12683
18c9d62b
DM
12684 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12685 * sysdeps/sparc/sparc32/Makefile: rather than here...
12686 * sysdeps/sparc/sparc64/Makefile: and here.
12687
05f3d1f6
UD
126882012-03-28 Ulrich Drepper <drepper@gmail.com>
12689
12690 * malloc/mallocbug.c: Avoid warnings about unused variables.
12691
86ae07a8
JL
126922012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12693
12694 [BZ #13760]
12695 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12696 in the right place. Discard and retry query if response is
12697 larger than input buffer size.
12698
41bf21a1
JM
126992012-03-28 Joseph Myers <joseph@codesourcery.com>
12700
d6270972
JM
12701 [BZ #369]
12702 [BZ #2678]
12703 [BZ #3866]
12704 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12705 x for large integer exponent.
12706 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12707 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12708 sign of result as needed afterwards.
12709 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12710 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12711 result for underflowing pow the same as for overflow.
12712 (__kernel_standard_l): Handle powl overflow and underflow here
12713 rather than calling __kernel_standard.
12714 * math/libm-test.inc (pow_test): Add more tests.
12715
414fca03 12716 [BZ #3868]
41bf21a1
JM
12717 [BZ #13879]
12718 [BZ #13910]
12719 [BZ #13911]
12720 [BZ #13912]
12721 [BZ #13913]
12722 [BZ #13915]
12723 [BZ #13916]
12724 [BZ #13917]
12725 [BZ #13918]
12726 [BZ #13919]
12727 [BZ #13920]
12728 [BZ #13921]
12729 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12730 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12731 (__kernel_standard_l): New function.
12732 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12733 __kernel_standard.
12734 * math/w_acosl.c (__acosl): Likewise.
12735 * math/w_asinl.c (__asinl): Likewise.
12736 * math/w_atan2l.c (__atan2l): Likewise.
12737 * math/w_atanhl.c (__atanhl): Likewise.
12738 * math/w_coshl.c (__coshl): Likewise.
12739 * math/w_exp10l.c (__exp10l): Likewise.
12740 * math/w_exp2l.c (__exp2l): Likewise.
12741 * math/w_fmodl.c (__fmodl): Likewise.
12742 * math/w_hypotl.c (__hypotl): Likewise.
12743 * math/w_j0l.c (__j0l, __y0l): Likewise.
12744 * math/w_j1l.c (__j1l, __y1l): Likewise.
12745 * math/w_jnl.c (__jnl, __ynl): Likewise.
12746 * math/w_lgammal.c (__lgammal): Likewise.
12747 * math/w_log10l.c (__log10l): Likewise.
12748 * math/w_log2l.c (__log2l): Likewise.
12749 * math/w_logl.c (__logl): Likewise.
12750 * math/w_powl.c (__powl): Likewise.
12751 * math/w_remainderl.c (__remainderl): Likewise.
12752 * math/w_scalbl.c (sysv_scalbl): Likewise.
12753 * math/w_sinhl.c (__sinhl): Likewise.
12754 * math/w_sqrtl.c (__sqrtl): Likewise.
12755 * math/w_tgammal.c (__tgammal): Likewise.
12756 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12757 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12758 * math/libm-test.inc (acos_test): Add more tests.
12759 (acosh_test): Likewise.
12760 (asin_test): Likewise.
12761 (atanh_test): Likewise.
12762 (exp_test): Likewise.
12763 (exp10_test): Likewise.
12764 (exp2_test): Likewise.
12765 (expm1_test): Likewise.
12766 (lgamma_test): Likewise.
12767 (log_test): Likewise.
12768 (log10_test): Likewise.
12769 (log1p_test): Likewise.
12770 (log2_test): Likewise.
12771 (pow_test): Do not allow some spurious overflow exceptions.
12772 (sqrt_test): Add more tests.
12773 (tgamma_test): Likewise.
12774 (y0_test): Likewise.
12775 (y1_test): Likewise.
12776 (yn_test): Likewise.
12777
dd62fda6
AB
127782012-03-27 Anton Blanchard <anton@samba.org>
12779
12780 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12781 MAP_HUGETLB.
12782 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12783 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12784 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12785
1e3cdfda
AJ
127862012-03-27 David S. Miller <davem@davemloft.net>
12787
b855ab85
DM
12788 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12789
1e3cdfda
AJ
12790 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12791 have-as-vis3 check.
12792
127932012-03-27 Andreas Jaeger <aj@suse.de>
12794
12795 * sysdeps/x86_64/elf/configure.in: Moved to ...
12796 * sysdeps/x86_64/configure.in: ... here.
12797 * sysdeps/x86_64/elf/start.S: Moved to ...
12798 * sysdeps/x86_64/start.S: ... here.
12799 * sysdeps/x86_64/elf/configure: Delete.
12800
12801 * sysdeps/x86_64/configure.in: Merge contents from
12802 sysdeps/i386/configure.in (without i686 check).
12803
12804 * sysdeps/i386/elf/Versions: Merge into ...
12805 * sysdeps/i386/Versions: ... this.
12806 * sysdeps/i386/elf/Versions: Delete file.
12807 * sysdeps/i386/elf/start.S: Moved to ...
12808 * sysdeps/i386/start.S: ...here.
12809 * sysdeps/i386/elf/configure.in: Merge into...
12810 * sysdeps/i386/configure.in: ...here.
12811 * sysdeps/i386/elf/configure.in: Delete file.
12812 * sysdeps/i386/elf/configure: Delete file.
12813
12814 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12815 * debug/backtracesyms.c: ... here.
12816 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12817 * debug/backtracesymsfd.c: ... here.
12818 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12819 * sysdeps/generic/ifunc-sel.h: ... here.
12820
12821 * sysdeps/unix/i386/start.c: Delete file.
12822 * sysdeps/unix/sparc/start.c: Delete file.
12823 * sysdeps/unix/start.c: Delete file.
12824
12825 * sysdeps/sh/elf/configure.in: Moved to ...
12826 * sysdeps/sh/configure.in: ... here.
12827 * sysdeps/sh/elf/start.S: Moved to ...
12828 * sysdeps/sh/start.S: ... here.
12829 * sysdeps/sh/elf/configure: Delete file.
12830
12831 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12832 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12833 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12834 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12835 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12836 * sysdeps/powerpc/powerpc64/start.S: here.
12837 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12838 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12839 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12840 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12841 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12842
12843 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12844 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12845 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12846 * sysdeps/powerpc/powerpc32/start.S: ... here.
12847 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12848 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12849 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12850
12851 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12852 * sysdeps/powerpc/ifunc-sel.h: ... here.
12853 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12854 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12855
12856 * sysdeps/sparc/elf/configure.in: Moved to ...
12857 * sysdeps/sparc/configure.in: ... here.
12858 * sysdeps/sparc/elf/configure: Delete file.
12859 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12860 * sysdeps/sparc/sparc32/start.S: ... here.
12861 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12862 * sysdeps/sparc/sparc64/start.S: ... here.
12863 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12864 * sysdeps/sparc/sparc32/Makefile: ... this.
12865 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12866 * sysdeps/sparc/sparc64/Makefile: ... this.
12867
12868 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12869 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12870 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12871 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12872 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12873 * sysdeps/s390/s390-32/setjmp.S: ... here.
12874 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12875 * sysdeps/s390/s390-32/configure.in: ... here.
12876 * sysdeps/s390/s390-32/elf/configure: Delete file.
12877 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12878 * sysdeps/s390/s390-32/start.S: ... here.
12879
12880 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12881 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12882 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12883 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12884 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12885 * sysdeps/s390/s390-64/setjmp.S: ... here.
12886 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12887 * sysdeps/s390/s390-64/configure.in: ... here
12888 * sysdeps/s390/s390-64/elf/configure: Delete file.
12889 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12890 * sysdeps/s390/s390-64/start.S: ... here.
12891 * sysdeps/s390/s390-64/elf/configure: Delete.
12892
12893 * configure.in: Remove support for elf directories in sysdeps.
12894
12895 * configure: Regenerated.
12896 * sysdeps/i386/configure: Regenerated.
12897 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12898 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12899 * sysdeps/s390/s390-32/configure: Regenerated.
12900 * sysdeps/s390/s390-64/configure: Regenerated.
12901 * sysdeps/sh/configure: Regenerated.
12902 * sysdeps/sparc/configure: Regenerated.
12903 * sysdeps/x86_64/configure: Regenerated.
12904
a3f61311
AS
129052012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12906
c876e002
AS
12907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12908
a3f61311
AS
12909 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12910 denormal result into account.
12911
ac4c54f0
RM
129122012-03-25 Roland McGrath <roland@hack.frob.com>
12913
12914 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12915 Reported by Allan McRae <allan@archlinux.org>.
12916
6a9b9c02
JL
129172012-03-23 Jeff Law <law@redhat.com>
12918
12919 * nss/getnssent.c (__nss_getent): Fix typo.
12920
4c42a0c1
DM
129212012-03-23 David S. Miller <davem@davemloft.net>
12922
12923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12924
1532c7ac
L
129252012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12926
12927 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12928 to pad to uint64_t for each field.
12929 (dl_tls_index): Replace unsigned long with uint64_t.
12930
3ff42526
PP
129312012-03-23 Daniel Jacobowitz <dmj@google.com>
12932 Paul Pluzhnikov <ppluzhnikov@google.com>
12933
12934 [BZ #6528]
12935 * grp/Makefile (otherlibs): Don't set it.
12936 * inet/Makefile (otherlibs): Likewise.
12937 * login/Makefile (otherlibs): Likewise.
12938 * nscd/Makefile (otherlibs): Likewise.
12939 * posix/Makefile (otherlibs): Likewise.
12940 * pwd/Makefile (otherlibs): Likewise.
12941 * rt/Makefile (otherlibs): Likewise.
12942 * sunrpc/Makefile (otherlibs): Likewise.
12943 * nss/Makefile (otherlibs): Likewise.
12944 Add libnss_files to routines and static-only-routines.
12945 ($(objpfx)getent): Remove rule.
12946 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12947 static-only-routines.
12948
7c69cd14
JM
129492012-03-22 Joseph Myers <joseph@codesourcery.com>
12950
12951 [BZ #13892]
12952 * math/s_cexp.c: Include <float.h>.
12953 (__cexp): Handle exp result overflowing not necessarily
12954 overflowing both real and imaginary parts of result.
12955 * math/s_cexpf.c: Likewise.
12956 * math/s_cexpl.c: Likewise.
12957 * math/libm-test.inc (cexp_test): Add more tests.
12958 * sysdeps/i386/fpu/libm-test-ulps: Update.
12959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12960
81b035fe
L
129612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12962
12963 * include/link.h (ELFW): New macro.
12964 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12965 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12966
1da7940c
L
129672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12968
12969 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12970 with uint64_t.
12971
b749dbb9
L
129722012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12973
12974 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12975 declaration.
12976 (struct La_x32_retval): Likewise.
12977
2ff87f3f
L
129782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12979
12980 * sysdeps/x86_64/preconfigure.in: New file.
12981 * sysdeps/x86_64/preconfigure: New generated file.
12982
c0df8e69
JM
129832012-03-22 Joseph Myers <joseph@codesourcery.com>
12984
48e44791
JM
12985 [BZ #13824]
12986 * math/e_exp2l.c: Include <float.h>.
12987 (__ieee754_exp2l): Handle overflow and underflow cases
12988 separately. Only pass fractional part of argument to
12989 __ieee754_expl.
12990 * math/libm-test.inc (exp2_test): Add more tests.
12991
c0df8e69
JM
12992 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12993 negating x to take absolute value.
12994 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12995 Likewise.
12996 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12997 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12998 Likewise.
12999 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13000 computing low part if x was negated.
13001 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13002
c8e43ba7
L
130032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13004
13005 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13006 la_x32_gnu_pltexit.
13007 (pltexit): Cast int_retval to ptrdiff_t.
13008 * elf/tst-auditmod3b.c: Likewise.
13009 * elf/tst-auditmod4b.c: Likewise.
13010 * elf/tst-auditmod5b.c: Likewise.
13011 * elf/tst-auditmod6b.c: Likewise.
13012 * elf/tst-auditmod6c.c: Likewise.
13013 * elf/tst-auditmod7b.c: Likewise.
13014
13015 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13016 and x32_gnu_pltexit.
13017
13018 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13019 __ELF_NATIVE_CLASS.
13020 (La_x32_regs): New macro.
13021 (La_x32_retval): Likewise.
13022 (la_x32_gnu_pltenter): New function prototype.
13023 (la_x32_gnu_pltexit): Likewise.
13024
7998fa78
AS
130252012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13026
dcb33988
AS
13027 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13028 exponent.
13029
233fc563
AS
13030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13031
7998fa78
AS
13032 * configure.in (libc_cv_cc_nofma): Check for option to disable
13033 generation of FMA instructions.
13034 * configure: Regenerate.
13035 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13036 * sysdeps/ieee754/dbl-64/Makefile: New file.
13037 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13038 Remove brandred-fma4.
13039 (CFLAGS-brandred-fma4.c): Remove.
13040 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13041 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13042 define.
13043 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13044 define.
13045
8e95c99a
L
130462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13047
13048 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13049 LLONG_MAX != LONG_MAX.
13050 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13051 (_fitoa_word): Likewise.
13052 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13053 LLONG_MAX != LONG_MAX.
13054 * stdio-common/_itowa.h: Include <_itoa.h>.
13055 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13056 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13057 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13058 only if not defined.
13059 (_ITOA_WORD_TYPE): Likewise.
13060 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13061 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13062
6f4db457
DM
130632012-03-21 David S. Miller <davem@davemloft.net>
13064
13065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13066
7785fe5a
L
130672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13068
13069 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13070 of x86_64 when setting libc_cv_slibdir, libdir and
13071 libc_cv_localedir.
13072 * sysdeps/unix/sysv/linux/configure: Regenerated.
13073
4535cd55
JM
130742012-03-21 Joseph Myers <joseph@codesourcery.com>
13075
13076 * manual/lang.texi (Old Varargs): Remove section.
13077 (How Variadic): Update menu.
13078 (va_start): Do not mention varargs.h.
13079
17228132
TS
130802012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13081 Joseph Myers <joseph@codesourcery.com>
13082
13083 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13084 link test.
13085 * configure: Regenerated.
13086
8149f976
TS
130872012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13088
05f3d1f6
UD
13089 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13090 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13091 conformtest.pl
8149f976 13092
1a4ac776
JM
130932012-03-21 Joseph Myers <joseph@codesourcery.com>
13094
be22ce65
JM
13095 * NOTES: Remove.
13096 * Makefile (files-for-dist): Remove NOTES.
13097 (NOTES): Remove rule.
13098 * README: Don't refer to NOTES.
13099 * manual/creature.texi: Don't include macros.texi.
13100 * manual/intro.texi (creature.texi): Remove comment referring to
13101 NOTES.
13102
40b601fb
JM
13103 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13104 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13105 * configure: Regenerated.
13106 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13107 LIBC_TRY_CC_OPTION.
13108 (libc_cv_as_i686): Likewise.
13109 (libc_cv_cc_avx): Likewise.
13110 (libc_cv_cc_sse2avx): Likewise.
13111 (libc_cv_cc_fma4): Likewise.
13112 (libc_cv_cc_novzeroupper): Likewise.
13113 * sysdeps/i386/configure: Regenerated.
13114
1a4ac776
JM
13115 [BZ #13883]
13116 * sysdeps/i386/fpu/s_cexp.S: Remove.
13117 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13118 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13119 * math/libm-test.inc (cexp_test): Add more tests.
13120 * sysdeps/i386/fpu/libm-test-ulps: Update.
13121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13122
a458e7fe
AM
131232012-03-21 Allan McRae <allan@archlinux.org>
13124
13125 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13126
0cb7efc5
JM
131272012-03-21 Joseph Myers <joseph@codesourcery.com>
13128
13129 [BZ #13871]
13130 * math/w_exp2.c: Do not include <float.h>.
13131 (o_threshold, u_threshold): Remove.
13132 (__exp2): Calculate result before checking finiteness and calling
13133 __kernel_standard.
13134 * math/w_exp2f.c: Likewise.
13135 * math/w_exp2l.c: Likewise.
13136 * math/libm-test.inc (exp2_test): Require overflow exception for
13137 1e6 input.
2460d3aa
JM
13138
13139 [BZ #3866]
13140 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13141 range of signed 64-bit integers before using fistpll. Remove
13142 checks for whether integers fit in mantissa bits.
13143 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13144 the range of signed 32-bit integers before using fistpl. Remove
13145 checks for whether integers fit in mantissa bits.
13146 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13147 (__ieee754_powl): Test for y outside the range of signed 64-bit
13148 integers before using fistpll. Reduce 64-bit values to 63-bit
13149 ones as needed.
13150 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13151 divide-by-zero is raised for zero to large negative powers.
13152 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13153 (__ieee754_powl): Test for y outside the range of signed 64-bit
13154 integers before using fistpll. Reduce 64-bit values to 63-bit
13155 ones as needed.
13156 * math/libm-test.inc (pow_test): Add more tests.
13157
eb96ffb0
L
131582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13159
13160 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13161 <stdio-common/_itoa.h>.
13162 * debug/segfault.c: Likewise.
13163 * elf/dl-cache.c: Likewise.
13164 * elf/dl-minimal.c: Likewise.
13165 * elf/dl-misc.c: Likewise.
13166 * elf/dl-sysdep.c: Likewise.
13167 * elf/dl-version.c: Likewise.
13168 * elf/rtld.c: Likewise.
13169 * hurd/hurdsock.c: Likewise.
13170 * hurd/lookup-retry.c: Likewise.
13171 * malloc/malloc.c: Likewise.
13172 * malloc/mtrace.c: Likewise.
13173 * nscd/nscd_getgr_r.c: Likewise.
13174 * nscd/nscd_getpw_r.c: Likewise.
13175 * nscd/nscd_getserv_r.c: Likewise.
13176 * posix/getopt_init.c: Likewise.
13177 * posix/wordexp.c: Likewise.
13178 * stdio-common/_itoa.c: Likewise.
13179 * stdio-common/printf_fphex.c: Likewise.
13180 * stdio-common/vfprintf.c: Likewise.
13181 * string/_strerror.c: Likewise.
13182 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13183 * sysdeps/i386/i686/hp-timing.h: Likewise.
13184 * sysdeps/mach/_strerror.c: Likewise.
13185 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13186 * sysdeps/mach/hurd/sethostid.c: Likewise.
13187 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13188 * sysdeps/mach/xpg-strerror.c: Likewise.
13189 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13190 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13191 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13192 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13193 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13194 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13195 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13196 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13197 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13198 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13199 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13200 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13201 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13202 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13203 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13204 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13205 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13206 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13207 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13208 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13209 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13210
13211 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13212
13213 * stdio-common/_itoa.h: Moved to ...
13214 * sysdeps/generic/_itoa.h: Here.
13215
13216 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13217
13218 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13219 instead of "_itoa.h" and "_itowa.h".
13220 * stdio-common/vfprintf.: Likewise.
13221
d1af992d
L
132222012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13223
13224 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13225 <bits/wordsize.h>.
13226 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13227 (__signbit): Likwise.
13228 (llrintf): Likwise.
13229 (llrint): Likwise.
13230
114883e0
L
132312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13232
13233 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13234 __WORDSIZE != 64.
13235
c135cc1b
JM
132362012-03-20 Joseph Myers <joseph@codesourcery.com>
13237
13238 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13239 OVERFLOW_EXCEPTION_OK.
13240 * math/libm-test.inc ("Philosophy"): Update comment about
13241 exception testing.
13242 (OVERFLOW_EXCEPTION): Define.
13243 (OVERFLOW_EXCEPTION_OK): Likewise.
13244 (INVALID_EXCEPTION_OK): Renumber.
13245 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13246 (IGNORE_ZERO_INF_SIGN): Likewise.
13247 (test_exceptions): Handle FE_OVERFLOW.
13248 (exp10_test): Expect overflow exceptions.
13249 (exp2_test): Likewise.
13250 (expm1_test): Likewise.
13251 (nextafter_test): Likewise.
13252 (pow_test): Likewise.
13253 (scalbn_test): Likewise.
13254 (scalbln_test): Likewise.
13255
95443d88
L
132562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13257
13258 * sysdeps/x86_64/bits/atomic.h
13259 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13260 64bit integer.
13261 (atomic_exchange_acq): Likewise.
13262 (__arch_exchange_and_add_body): Likewise.
13263 (__arch_add_body): Likewise.
13264 (atomic_add_negative): Likewise.
13265 (atomic_add_zero): Likewise.
13266
490df6c4
L
132672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13268
c2722551 13269 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
13270 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13271
5e52b189
L
132722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13273
13274 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13275 Check __x86_64__ instead of __WORDSIZE.
13276
a9879d4c
L
132772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13278
13279 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13280
5df98260
DM
132812012-03-19 David S. Miller <davem@davemloft.net>
13282
e1497744
DM
13283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13284
5df98260
DM
13285 * sysdeps/sparc/fpu/fenv_private.h: New file.
13286 * sysdeps/sparc/fpu/math_private.h: Use it.
13287 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13288 Remove.
13289 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13290 (libc_feholdexcept_setroundl): Remove.
13291 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13292 Remove.
13293 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13294 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13295
b4c35121
L
132962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13297
13298 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13299 int64_t instead of long int.
13300 (INSERT_WORDS64): Likwise.
13301
56965fd7
L
133022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13303
13304 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13305 _Unwind_GetCFA return to _Unwind_Ptr first.
13306
83d1aec8
JM
133072012-03-19 Joseph Myers <joseph@codesourcery.com>
13308
1897ad44
JM
13309 [BZ #13629]
13310 * math/s_clog.c: Include <float.h>.
13311 (__clog): Scale large or subnormal inputs.
13312 * math/s_clogf.c: Likewise.
13313 * math/s_clogl.c: Likewise.
13314 * math/s_clog10.c: Include <float.h>.
13315 (M_LOG10_2): Define.
13316 (__clog10): Scale large or subnormal inputs.
13317 * math/s_clog10f.c: Likewise.
13318 * math/s_clog10l.c: Likewise.
13319 * math/libm-test.inc (clog_test): Add more tests.
13320 (clog10_test): Likewise.
13321 * sysdeps/i386/fpu/libm-test-ulps: Update.
13322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13323
7726d6a9
JM
13324 [BZ #11451]
13325 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13326 x and y.
13327 * math/libm-test.inc (atan2_test): Add another test.
13328
83d1aec8
JM
13329 * Makerules (common-objdir-compile): Remove.
13330 * sysdeps/unix/Makefile (config-generated): Do not add
13331 $(unix-generated) to variable.
13332 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13333 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13334 Remove rule.
13335 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13336 Likewise.
13337 [generic bits/local_lim.h] (before-compile): Do not append to
13338 variable.
13339 [generic bits/local_lim.h] (common-generated): Likewise.
13340 [generic sys/param.h] (before-compile): Do not append to variable.
13341 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13342 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13343 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13344 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13345 include.
13346 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13347 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13348 [generic sys/param.h] ($(addprefix
13349 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13350 [generic sys/param.h] (common-generated): Do not append to
13351 variable.
13352 [generic sys/param.h] (sysdep_headers): Likewise.
13353 [generic bits/errno.h] (before-compile): Do not append to
13354 variable.
13355 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13356 rule.
13357 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13358 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13359 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13360 [generic bits/errno.h] (common-generated): Do not append to
13361 variable.
13362 [generic bits/ioctls.h] (before-compile): Do not append to
13363 variable.
13364 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13365 rule.
13366 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13367 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13368 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13369 rule.
13370 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13371 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13372 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13373 [generic bits/ioctls.h] (common-generated): Do not append to
13374 variable.
13375 [generic sys/syscall.h] (syscall.h): Remove variable.
13376 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13377 rule.
13378 [generic sys/syscall.h] (before-compile): Do not append to
13379 variable.
13380 [generic sys/syscall.h] (common-generated): Likewise.
13381 * sysdeps/unix/errnos-tmpl.c: Remove file.
13382 * sysdeps/unix/errnos.awk: Likewise.
13383 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13384 * sysdeps/unix/ioctls.awk: Likewise.
13385 * sysdeps/unix/mk-local_lim.c: Likewise.
13386 * sysdeps/unix/snarf-ioctls: Likewise.
13387
4851a949
RH
133882012-03-19 Richard Henderson <rth@twiddle.net>
13389
bd37f2ee
RH
13390 * sysdeps/i386/fpu/fenv_private.h: New file.
13391 * sysdeps/i386/fpu/math_private.h: Use it.
13392 (math_opt_barrier, math_force_eval): Remove.
13393 (libc_feholdexcept_setround_53bit): Remove.
13394 (libc_feupdateenv_53bit): Remove.
13395 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13396 (math_opt_barrier, math_force_eval): Remove.
13397 (libc_feholdexcept): Remove.
13398 (libc_feholdexcept_setround): Remove.
13399 (libc_fetestexcept, libc_fesetenv): Remove.
13400 (libc_feupdateenv_test): Remove.
13401 (libc_feupdateenv, libc_feholdsetround): Remove.
13402 (libc_feresetround): Remove.
13403
d0adc922
RH
13404 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13405 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13406
0fe0f1f8
RH
13407 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13408 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13409 (libc_feupdateenv_testl): New.
13410 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13411 (libc_feupdateenv_testf): New.
13412 (libc_feupdateenv): Use libc_feupdateenv_test.
13413 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13414 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13415
eb92c487
RH
13416 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13417 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13418 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13419 (libc_feresetround_noex): New.
13420 (libc_feresetround_noexf): New.
13421 (libc_feresetround_noexl): New.
13422 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13423 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13424 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13425 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13426 SET_RESTORE_ROUND.
13427 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13428 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13429 (__cos): Likewise.
13430 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13431 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13432 SET_RESTORE_ROUND_NOEX.
13433 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13434 SET_RESTORE_ROUND_NOEXF.
13435 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13436 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13437 (libc_feholdsetroundf): New.
13438 (libc_feresetround, libc_feresetroundf): New.
13439
7d2e8012
RH
13440 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13441 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13442 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13443
b4dabbb4
RH
13444 * sysdeps/generic/math_private.h: Include <fenv.h>.
13445 (default_libc_feholdexcept): New.
13446 (default_libc_feholdexcept_setround): New.
13447 (default_libc_fesetenv, default_libc_feupdateenv): New.
13448 (libc_feholdexcept): Only define if undefined.
13449 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13450 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13451 (libc_feholdexcept_setroundl): Likewise.
13452 (libc_feholdexcept_setround_53bit): Likewise.
13453 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13454 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13455 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13456 (libc_feupdateenv_53bit): Likewise.
13457 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13458 (libc_feholdexcept): Convert from macro to inline function.
13459 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13460 (libc_fesetenv, libc_feupdateenv): Likewise.
13461
4851a949
RH
13462 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13463 not previously defined.
13464 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13465 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13466 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13467 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13468 * sysdeps/ieee754/flt-32/math_private.h: New file.
13469 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13470 math_private.h below SET_FLOAT_WORD.
13471 (__isnan, __isinf_ns, __finite): Remove.
13472 (__isnanf, __isinf_nsf, __finitef): Remove.
13473
e79d442e
AS
134742012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13475
13476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13477
90b80344
DM
134782012-03-17 David S. Miller <davem@davemloft.net>
13479
13480 [BZ #6471]
13481 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13482 for 2.16.
13483
edc21804
DM
134842012-03-16 David S. Miller <davem@davemloft.net>
13485
77e927af
DM
13486 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13487 warnings.
13488
374976dd
DM
13489 [BZ #6471]
13490 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13491 properly.
13492 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13493 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13494 sysdep_routines when subdir is sysvipc.
13495 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13496 __getshmlba helper.
13497
edc21804
DM
13498 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13499
473c3ef3
L
135002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13501
13502 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13503 [__LP64__].
13504
eb0f39b6
L
135052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13506
13507 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13508 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13509 (__lround): Renamed to ...
13510 (__llround): This. Replace long int with long long int.
13511 Define lround functions as aliases of llround functions.
13512 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13513
6b6cd74b
L
135142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13515
13516 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13517 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13518 adresses to uintptr_t. Replace "long int" and "unsigned long
13519 int" with "greg_t" on va_arg.
13520
f1a77b01
L
135212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13522
13523 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13524 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13525
13526 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13527 Move e_machine check before EI_CLASS check. Handle x32
13528 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13529 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13530 SKIP_EM_IA_64 and include
13531 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13532
13533 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13534 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13535 (add_system_dir): New macro.
13536
13537 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13538 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13539
11b90b9f
JM
135402012-03-16 Joseph Myers <joseph@codesourcery.com>
13541
c36e1d23
JM
13542 [BZ #2551]
13543 [BZ #2552]
13544 [BZ #2553]
13545 [BZ #2554]
13546 [BZ #2562]
13547 [BZ #2563]
13548 [BZ #2565]
13549 [BZ #2566]
13550 [BZ #2576]
13551 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13552 (y0): Likewise.
13553 * math/w_j0f.c (j0f): Likewise.
13554 (y0f): Likewise.
13555 * math/w_j0l.c (__j0l): Likewise.
13556 (__y0l): Likewise.
13557 * math/w_j1.c (j1): Likewise.
13558 (y1): Likewise.
13559 * math/w_j1f.c (j1f): Likewise.
13560 (y1f): Likewise.
13561 * math/w_j1l.c (__j1l): Likewise.
13562 (__y1l): Likewise.
13563 * math/w_jn.c (jn): Likewise.
13564 (yn): Likewise.
13565 * math/w_jnf.c (jnf): Likewise.
13566 (ynf): Likewise.
13567 * math/w_jnl.c (__jnl): Likewise.
13568 (__ynl): Likewise.
13569 * math/libm-test.inc (j0_test): Add more tests.
13570 (j1_test): Likewise.
13571 (jn_test): Likewise. Add trailing semicolon to existing test.
13572 (y0_test): Likewise.
13573 (y1_test): Likewise.
13574 * sysdeps/i386/fpu/libm-test-ulps: Update.
13575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13576
11b90b9f
JM
13577 [BZ #13851]
13578 [BZ #13854]
13579 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13580 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13581 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13582 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13583 (__tanl): Set errno for infinite argument.
13584 * sysdeps/i386/fpu/mptan.c: Remove.
13585 * sysdeps/i386/fpu/s_tan.S: Likewise.
13586 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13587 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13588 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13589 * math/libm-test.inc (tan_test): Add more tests and enable more
13590 tests for double and long double.
13591 * sysdeps/i386/fpu/libm-test-ulps: Update.
13592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13593
6a1bd2a1
JK
135942012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13595
13596 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13597 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13598
10a803e0
RM
135992012-03-16 Roland McGrath <roland@hack.frob.com>
13600
13601 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13602 * configure.in: Use it for both main tree and add-ons.
13603 * configure: Regenerated.
13604
f196c7f7
L
136052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13606
13607 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13608
8848d99d
JM
136092012-03-16 Joseph Myers <joseph@codesourcery.com>
13610
96cbe7f4
JM
13611 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13612 in comment.
13613
8848d99d
JM
13614 [BZ #13851]
13615 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13616 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13617 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13618 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13619 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13620 infinite argument.
13621 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13622 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13623 != 0 for prec == 2.
13624 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13625 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13626 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13627 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13628 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13629 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13630 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13631 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13632 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13633 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13634 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13635 * math/libm-test.inc (cos_test): Add more tests and enable more
13636 tests for long double.
13637 (sin_test): Likewise.
13638 (sincos_test): Likewise.
13639 * sysdeps/i386/fpu/libm-test-ulps: Update.
13640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13641
dd7f4703
DM
136422012-03-16 David S. Miller <davem@davemloft.net>
13643
13644 * sysdeps/sparc/fpu/math_private.h: New file.
13645
006f1daa
DM
136462012-03-15 David S. Miller <davem@davemloft.net>
13647
c0c83bc8
DM
13648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13649 file.
e6a62e18 13650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13652 file.
e6a62e18
DM
13653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13654 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13656 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13657 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13658 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13659 sysdep routines.
13660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13661
88cb87d9
DM
13662 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13663 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13664
006f1daa 13665 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13667 sparc-ifunc.h
006f1daa 13668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13670 Likewise.
13671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13672 Likewise.
006f1daa
DM
13673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13677 Likewise.
006f1daa
DM
13678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13683 Likewise.
13684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13685 Likewise.
006f1daa
DM
13686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13690 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13691 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13692 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13693 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13695 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13704 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13705 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13706 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13707 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13708 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13709 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13710
11e0098e
AS
137112012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13712
13713 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13714 scaling.
13715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13716
e85b09d0
AJ
137172012-03-15 Andreas Jaeger <aj@suse.de>
13718
13719 [BZ #13852]
13720 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13721 ieee754/flt-32 implementation for sin, cos and sincos.
13722 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13723 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13724 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13725 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13726 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13727 ieee754/flt-32 implementation for tan.
13728
13729 * math/libm-test.inc (cos_test): Enable some large input tests for
13730 float as well
13731 (sin_test): Likewise.
13732 (sincos_test): Likewise.
13733 (tan_test): Add tests for large input.
13734
13735 * sysdeps/i386/fpu/libm-test-ulps: Update.
13736
81c64153
AJ
137372012-03-15 Andreas Jaeger <aj@suse.de>
13738
13739 [BZ #13658]
13740 * math/libm-test.inc (cos_test): Add more test cases.
13741 (sin_test): Likewise.
13742 (sincos_test): Likewise.
13743
7bbfa5c6
AJ
137442012-03-15 Andreas Jaeger <aj@suse.de>
13745
13746 [BZ #13837]
13747 * math/libm-test.inc (cos_test): Add a test case for large input
13748 value.
13749 (sin_test): Likewise.
13750 (sincos_test): Likewise.
13751
137522012-03-15 Andreas Jaeger <aj@suse.de>,
13753 Joseph Myers <joseph@codesourcery.com>
13754
13755 [BZ #13658]
0671f479 13756 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13757 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13758 * sysdeps/i386/fpu/branred.c: Likewise.
13759 * sysdeps/i386/fpu/dosincos.c: Likewise.
13760 * sysdeps/i386/fpu/mpa.c: Likewise.
13761 * sysdeps/i386/fpu/s_cos.S: Likewise.
13762 * sysdeps/i386/fpu/s_sin.S: Likewise.
13763 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13764 * sysdeps/i386/fpu/sincos32.c: Likewise.
13765
13766 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13767 Define.
13768 (libc_feupdateenv_53bit): Define.
13769 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13770 Define.
13771 (libc_feupdateenv_53bit): Define.
13772
13773 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13774 53 bit (without extend i386 double precision).
13775
13776 * math/libm-test.inc (sincos_test): Add tests for large input.
13777 (sin): Likewise.
13778 (cos): Likewise.
13779
13780 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13781
9cad04ea
AS
137822012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13783
13784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13785
f7062b9a
DM
137862012-03-15 David S. Miller <davem@davemloft.net>
13787
13788 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13789 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13790 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13791 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13796 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13797 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13799 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13800 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13801 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13804 file.
f7062b9a 13805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13807 file.
f7062b9a 13808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13810 file.
f7062b9a 13811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13813 file.
f7062b9a
DM
13814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13815 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13816 fmin/fmax sysdep routines.
13817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13818
7bd951ff
DM
138192012-03-14 David S. Miller <davem@davemloft.net>
13820
559398ab
DM
13821 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13823 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13824 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13825 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13826 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13827 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13828 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13829 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13830 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13831 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13833 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13840 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13841 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13842 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13843 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13844 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13845 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13846 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13847 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13848 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13849 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13850 routines.
13851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13852 file.
559398ab 13853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13855 file.
559398ab 13856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13858 file.
559398ab 13859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13861 file.
559398ab 13862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13864 file.
559398ab 13865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13867 file.
13868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13869 file.
13870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13871 file.
13872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13873 file.
13874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13875 New file.
13876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13877 file.
13878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13879 file.
559398ab 13880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13882 file.
559398ab 13883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13885 file.
559398ab 13886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13888 file.
559398ab 13889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13891 VIS3 routines.
559398ab
DM
13892
13893 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13894 New file.
13895
5a1c1e32
DM
13896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13897
eae47a36
DM
13898 * sysdeps/sparc/configure.in: New file.
13899 * sysdeps/sparc/configure: Generate.
13900 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13901 * configure: Regenerate.
13902 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13903 * config.make.in (have-as-vis3): New.
13904 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13905 available use -Av9d instead of -Av9a.
13906 * sysdeps/sparc/sparc64/Makefile: Likewise.
13907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13909 New file.
13910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13911 file.
13912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13913 New file.
13914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13915 file.
eae47a36
DM
13916 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13917 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13918 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13919 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13920 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13921
c0c83bc8
DM
13922 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13923 fzeros/fnegs to load 0x80000000 into a float register instead of
13924 using the stack.
7bd951ff
DM
13925 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13926
bd951ccb
JM
139272012-03-14 Joseph Myers <joseph@codesourcery.com>
13928
13929 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13930 bits/syscall.h.
13931 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13932 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13933 ($(inst_includedir)/bits/syscall.h): Remove rule.
13934 ($(objpfx)bits/syscall.d): Include instead of
13935 $(objpfx)syscall-list.d.
13936 (generated): Change syscall-list.h and syscall-list.d to
13937 bits/syscall.h and bits/syscall.d.
13938
bb4e6db2
RM
139392012-03-14 Roland McGrath <roland@hack.frob.com>
13940
13941 [BZ #13846]
13942 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13943
aa4a2ae1
JM
139442012-03-14 Joseph Myers <joseph@codesourcery.com>
13945
e456826d
JM
13946 [BZ #13841]
13947 * math/s_csqrt.c: Include <float.h>.
13948 (__csqrt): Scale large or subnormal inputs.
13949 * math/s_csqrtf.c: Likewise.
13950 * math/s_csqrtl.c: Likewise.
13951 * math/libm-test.inc (csqrt_test): Add more tests.
13952 * sysdeps/i386/fpu/libm-test-ulps: Update.
13953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13954
aa4a2ae1
JM
13955 [BZ #13840]
13956 * math/libm-test.inc (hypot_test): Add more tests.
13957
7c10fd35
DM
139582012-03-13 David S. Miller <davem@davemloft.net>
13959
13960 [BZ #13840]
13961 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13962 double-precision for the calculation instead of scaling.
13963
f453b98b
JM
139642012-03-13 Joseph Myers <joseph@codesourcery.com>
13965
13966 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13967 manipulate bits before adding and subtracting TWO52[sx].
13968 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13969 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13970 Likewise.
13971 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13972
09a3453f
DM
139732012-03-13 David S. Miller <davem@davemloft.net>
13974
8e59da90
DM
13975 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13976 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13977 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13978 rtld-global-offsets.h
13979 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13980
2a8ab7f2
DM
13981 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13982 large parameters.
13983
10f62770
DM
13984 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13985
5f0bdb18
DM
13986 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13987 'err' in the ifdef scope in which it is actually used.
13988
09a3453f
DM
13989 * nss/nss_db/db-init.c: Include string.h
13990
b4b2eb5e
DM
139912012-03-12 David S. Miller <davem@davemloft.net>
13992
98bb2f1c
DM
13993 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13994 masking out of the most significant byte of random value used.
13995 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13996 Fix coding style in previous change.
13997
b4b2eb5e
DM
13998 * sysdeps/unix/sysv/linux/kernel-features.h
13999 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14000 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14001 expression.
14002 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14003 later.
14004
6e226b09
DM
140052012-03-11 David S. Miller <davem@davemloft.net>
14006
a1bcbd40
DM
14007 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14008 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14009 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14010 for 'resultvar' otherwise things get truncated on 64-bit.
14011
cb9d6174
DM
14012 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14013 Fix masking out of the most significant byte of random value used.
14014
6e226b09
DM
14015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14016
058c132d
AS
140172012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14018
14019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14020
2d2cd515
DM
140212012-03-09 David S. Miller <davem@davemloft.net>
14022
14023 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14024 variables with appropriate CPP guards.
14025 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14026 frame pointer, not the stack pointer. Correct layout comments. Fix test
14027 on resulting framesize and the management of the outregs buffer for pltexit.
14028 Preserve floating point return values across _dl_call_pltexit call.
14029 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14030 framesize and the management of the outregs buffer for pltexit.
14031 Preserve floating point return values across _dl_call_pltexit
14032 call.
14033 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14034 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14035 (print_exit): Fix format string for return register value.
14036
9a07f9d0
JM
140372012-03-10 Joseph Myers <joseph@codesourcery.com>
14038
14039 * sunrpc/Makefile (others): Add rpcgen.
14040 ($(objpfx)rpcgen): Remove special build rule and dependency on
14041 libc.
14042 * sunrpc/rpcgen.c: New file.
14043
547b5e30
PE
140442012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14045
c524201a
PE
14046 [BZ #13673]
14047 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14048 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14049 * sysdeps/i386/crti.S: Likewise.
14050 * sysdeps/i386/crtn.S: Likewise.
14051 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14052 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14053 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14054 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14055 * sysdeps/sh/crti.S: Likewise.
14056 * sysdeps/sh/crtn.S: Likewise.
14057 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14058
7b6235f2
PE
14059 [BZ #13673]
14060 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14061 with URL.
14062 * locale/programs/locfile-kw.gperf: Likewise.
14063 * locale/programs/charmap-kw.h: Regenerated.
14064 * locale/programs/locfile-kw.h: Likewise.
14065
547b5e30
PE
14066 [BZ #13673]
14067 * intl/plural.y: Replace FSF snail mail address with URL.
14068 * intl/plural.c: Regenerated.
14069
5f0a5dae
RH
140702012-03-09 Richard Henderson <rth@twiddle.net>
14071
14072 * include/math_private.h: Remove file.
14073 * math/math_private.h: Move file ...
14074 * sysdeps/generic/math_private.h: ... here.
14075
b8c03620
RH
14076 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14077 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14078 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14079
4e234f5d 14080 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
14081 and <math_private.h>.
14082 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14083 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14084 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14085 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14086 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14087 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14088 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14089 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14090 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14091 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14092 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14093 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14094 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14095 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14096 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14097 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14098 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14099 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14100 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14101 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14102 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14103 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14104 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14105 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14106 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14107 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14108 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14109 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14110 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14111 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14112 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14113 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14114 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14115 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14116 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14117 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14118 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14119 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14120 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14121 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14122 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14123 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14124 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14125 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14126 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14127 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14128 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14129 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14130 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14131 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14132 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14133 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14134 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14135 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14136 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14137 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14138 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14139 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14140 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14141 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14142 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14143 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14144 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14145 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14146 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14147 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14148 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14149 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14150 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14151 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14152 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14153 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14154 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14155 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14156 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14157 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14158 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14159 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14160 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14161 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14162 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14163 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14164 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14165 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14166 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14167 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14168 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14169 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14170 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14171 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14172 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14173 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14174 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14175 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14176 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14177 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14178 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14179 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14180 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14181 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14182 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14183 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14184 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14185 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14186 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14187 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14188 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14189 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14190 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14191 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14192 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14193 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14194 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14195 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14196 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14197 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14198 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14199 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14200 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14201 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14202 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14203 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14204 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14205 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14206 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14207 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14208 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14209 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14210 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14211 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14212 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14213 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14214 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14215 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14216 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14217 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14218 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14219 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14220 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14221 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14222 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14223 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14224 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14225 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14226 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14227 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14228 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14229 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14230 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14231 * sysdeps/ieee754/k_standard.c: Likewise.
14232 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14233 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14234 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14235 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14236 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14237 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14238 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14239 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14240 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14241 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14242 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14243 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14244 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14245 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14246 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14247 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14248 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14249 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14250 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14251 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14252 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14253 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14254 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14255 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14256 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14257 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14258 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14259 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14260 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14261 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14262 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14263 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14264 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14265 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14266 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14267 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14268 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14269 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14270 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14271 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14272 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14273 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14274 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14275 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14276 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14277 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14278 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14279 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14280 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14281 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14282 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14283 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14284 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14285 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14286 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14287 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14288 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14289 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14290 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14291 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14292 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14293 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14294 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14295 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14296 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14297 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14298 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14299 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14300 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14301 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14302 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14303 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14304 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14305 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14306 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14307 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14308 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14309 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14310 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14311 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14312 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14313 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14314 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14315 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14316 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14317 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14318 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14319 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14320 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14321 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14322 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14323 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14324 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14325 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14326 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14327 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14328 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14329 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14330 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14331 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14332 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14333 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14334 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14335 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14336 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14337 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14338 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14339 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14340 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14341 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14342 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14343 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14344 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14345 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14346 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14347 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14348 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14349 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14350 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14351 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14352 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14353 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14354 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14355 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14356 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14357 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14358 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14359 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14360 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14361 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14362 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14363 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14364 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14365 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14366 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14367 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14368 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14369 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14370 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14371 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14372 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14373 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14374 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14375 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14376 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14377 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14378 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14379 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14380 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14381 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14382 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14383 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14384 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14385 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14386 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14387 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14388 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14389 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14390 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14391 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14392 * sysdeps/ieee754/s_lib_version.c: Likewise.
14393 * sysdeps/ieee754/s_matherr.c: Likewise.
14394 * sysdeps/ieee754/s_signgam.c: Likewise.
14395 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14396 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14397 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14398 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14399 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14400 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14401 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14402 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14403 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14404 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14405 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14406 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14407 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14408 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14409 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14410 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14411 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14412 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14413 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14414 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14415 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 14416
1991fa03
JM
144172012-03-09 Joseph Myers <joseph@codesourcery.com>
14418
14419 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14420 * sunrpc/rpc_main.c: Likewise.
14421 * sunrpc/rpc_svcout.c: Likewise.
14422
60d6f5a6
DM
144232012-03-09 David S. Miller <davem@davemloft.net>
14424
14425 * include/math_private.h: New file.
14426
4962050e
JM
144272012-03-09 Joseph Myers <joseph@codesourcery.com>
14428
02a6f887
JM
14429 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14430 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14431 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14432 from <bits/socket_type.h>.
14433 (enum __socket_type): Don't define here.
14434 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14435 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14436 bits/socket_type.h.
14437
c6e013c1
JM
14438 [BZ #13566]
14439 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14440 checking __USE_GNU.
14441
4962050e
JM
14442 * Makerules ($(inst_includedir)/%.h): New rule.
14443 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14444 (install-others): Remove variable setting.
14445 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14446
38842f45
RH
144472012-03-08 Richard Henderson <rth@twiddle.net>
14448
67bb6da6
RH
14449 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14450 from macro to inline function; merge with the
14451 !__LIBC_INTERNAL_MATH_INLINES version.
14452 (__ieee754_sqrtf): Likewise.
14453
15194b4b
RH
14454 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14455 to inline function.
14456 (__rintf, __floor, __floorf): Likewise.
14457
64e21ede
RH
14458 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14459 macro to inline function.
14460 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14461
38842f45
RH
14462 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14463 not <math/math_private.h>.
14464
c64bf5fe
DM
144652012-03-08 David S. Miller <davem@davemloft.net>
14466
14467 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14468 copyright year.
14469 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14470
82d86f28
TS
144712012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14472
14473 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14474 normalization.
14475 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14476 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14477
aea5d727
UD
144782012-03-08 Ulrich Drepper <drepper@gmail.com>
14479
14480 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14481 be defined individually, they must be defined as a block. Define
14482 S for printing a string instead of hidint the different by using a
14483 macro for adding the 'l'.
14484 * stdio-common/tst-fphex-wide.c: Adjust.
14485
70bca0a3
MP
144862012-03-07 Marek Polacek <polacek@redhat.com>
14487
14488 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14489
65b81130
MP
144902012-03-08 Marek Polacek <polacek@redhat.com>
14491
14492 [BZ #13806]
14493 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14494 * stdio-common/tst-fphex.c: Define a few macros to make the
14495 test reusable. Use them.
14496 * stdio-common/tst-fphex-wide.c: New file.
14497
07037eeb
JM
144982012-03-08 Joseph Myers <joseph@codesourcery.com>
14499
a7a93d50
JM
14500 [BZ #6911]
14501 * manual/macros.texi (gnusystems): New macro.
14502 (nongnusystems): Likewise.
14503 (gnulinuxhurdsystems): Likewise.
14504 (gnuhurdsystems): Likewise..
14505 (gnulinuxsystems): Likewise.
14506 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14507 variants of the GNU system, not "GNU system".
14508 * manual/conf.texi: Likewise.
14509 * manual/errno.texi: Likewise. Update example of errno macro
14510 expansion.
14511 * manual/filesys.texi: Likewise.
14512 (getumask): Document as specific to GNU/Hurd.
14513 * manual/install.texi: Likewise. Reword some references to
14514 GNU/Linux.
14515 * manual/intro.texi: Likewise.
14516 * manual/io.texi: Likewise.
14517 (File Name Portability): Detail which constraints are inapplicable
14518 to all GNU systems and which are only inapplicable to GNU/Hurd.
14519 * manual/job.texi: Likewise.
14520 * manual/llio.texi: Likewise.
14521 (O_NOCTTY): Document as present on GNU/Linux.
14522 * manual/maint.texi: Likewise.
14523 * manual/memory.texi: Likewise.
14524 * manual/pattern.texi: Likewise.
14525 * manual/pipe.texi: Likewise.
14526 * manual/process.texi: Likewise.
14527 * manual/resource.texi: Likewise.
14528 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14529 child on GNU/Hurd.
14530 * manual/setjmp.texi: Likewise.
14531 * manual/signal.texi: Likewise.
14532 * manual/startup.texi: Likewise.
14533 * manual/stdio.texi: Likewise.
14534 * manual/terminal.texi: Likewise.
14535 (ONLCR): Document as POSIX.
14536 (OXTABS): Document availability on GNU/Linux as XTABS.
14537 (ONOEOT): Document availability separately from other bits.
14538 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14539 * manual/time.texi: Likewise.
14540 * manual/users.texi: Likewise.
14541 * INSTALL: Regenerated.
14542 * sysdeps/gnu/errlist.c: Regenerated.
14543
07037eeb
JM
14544 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14545 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14546 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14547 puts.
14548 * configure: Regenerated.
14549
d1d3431a
JM
145502012-03-07 Joseph Myers <joseph@codesourcery.com>
14551
af6a1e37
JM
14552 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14553 default includes instead of AC_HEADER_CHECK.
14554 * sysdeps/i386/configure: Regenerated.
14555
d1d3431a
JM
14556 [BZ #10716]
14557 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14558 * math/s_cacoshf.c (__cacoshf): Likewise.
14559 * math/s_cacoshl.c (__cacoshl): Likewise.
14560 * math/s_casinh.c (__casinh): Set signs of result from argument.
14561 * math/s_casinhf.c (__casinhf): Likewise.
14562 * math/s_casinhl.c (__casinhl): Likewise.
14563 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14564 (casinh_test): Add more tests.
14565 * sysdeps/i386/fpu/libm-test-ulps: Update.
14566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14567
482ff4da
UD
145682012-03-07 Ulrich Drepper <drepper@gmail.com>
14569
872fda05
UD
14570 * po/zh_TW.po: Update from translation team.
14571
a4300c7a
UD
14572 * login/Makefile (distribute): Remove variable.
14573 * catgets/Makefile: Likewise.
14574 * mach/Makefile: Likewise.
14575 * malloc/Makefile: Likewise.
14576 * misc/Makefile: Likewise.
14577 * iconv/Makefile: Likewise.
14578 * nscd/Makefile: Likewise.
14579 * hurd/Makefile: Likewise.
14580 * manual/Makefile: Likewise.
14581 * locale/Makefile: Likewise.
14582 * intl/Makefile: Likewise.
14583 * conform/Makefile: Likewise.
14584 * nss/Makefile: Likewise.
14585 * time/Makefile: Likewise.
14586 * soft-fp/Makefile: Likewise.
14587 * dirent/Makefile: Likewise.
14588 * gmon/Makefile: Likewise.
14589 * po/Makefile: Likewise.
14590 * rt/Makefile: Likewise.
14591 * socket/Makefile: Likewise.
14592 * math/Makefile: Likewise.
14593 * signal/Makefile: Likewise.
14594 * debug/Makefile: Likewise.
14595 * elf/Makefile: Likewise.
14596 * timezone/Makefile: Likewise.
14597 * stdlib/Makefile: Likewise.
14598 * iconvdata/Makefile: Likewise.
14599 * sunrpc/Makefile: Likewise.
14600 * io/Makefile: Likewise.
14601 * argp/Makefile: Likewise.
14602 * inet/Makefile: Likewise.
14603 * hesiod/Makefile: Likewise.
14604 * grp/Makefile: Likewise.
14605 * csu/Makefile: Likewise.
14606 * wctype/Makefile: Likewise.
14607 * crypt/Makefile: Likewise.
14608 * libio/Makefile: Likewise.
14609 * string/Makefile: Likewise.
14610 * nis/Makefile: Likewise.
14611 * resolv/Makefile: Likewise.
14612 * stdio-common/Makefile: Likewise.
14613 * wcsmbs/Makefile: Likewise.
14614 * dlfcn/Makefile: Likewise.
14615 * posix/Makefile: Likewise.
14616
3b7c4e74 14617 [BZ #6959]
482ff4da
UD
14618 * timezone/Makefile: Don't install timezone files, just the programs
14619 and scripts.
14620
f72ed77d
UD
146212012-03-06 Ulrich Drepper <drepper@gmail.com>
14622
a000466f
UD
14623 * nss/databases.def: Add missing gshadow entry.
14624
f72ed77d
UD
14625 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14626
a53b7a4e
MP
146272012-03-06 Marek Polacek <polacek@redhat.com>
14628
14629 [BZ #13726]
14630 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14631 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14632 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14633 * stdio-common/tst-long-dbl-fphex.c: New file.
14634
e9258400
DM
146352012-03-06 David S. Miller <davem@davemloft.net>
14636
14637 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14638 (set_obp_int): New function.
14639 (get_obp_int): New function.
14640 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14641 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14642 Avoid unused variable warnings on 'val' and use builtin_expect.
14643 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14644 __builtin_expect.
e9258400
DM
14645 (INLINE_CLONE_SYSCALL): Likewise.
14646
3bd2c723
DM
146472012-03-05 David S. Miller <davem@davemloft.net>
14648
14649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14650
bbb78d03
AS
146512012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14652
884c5db4
AS
14653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14654
bbb78d03
AS
14655 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14656 only for |x| >= 40.
14657 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14658
1c9f702a 146592012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14660
14661 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14662 Replace gettimeofday with __vdso_gettimeofday.
14663
7be16f82
RM
14664 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14665 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14666 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14667
14668 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14669 time with __vdso_time.
14670
ed58a00f
JM
146712012-03-05 Joseph Myers <joseph@codesourcery.com>
14672
14673 * manual/lang.texi (size_t): Note types to which size_t may be
14674 equivalent with the GNU C Library, but do not describe when
14675 differences between them are significant.
14676
30ee4ced
AJ
146772012-03-05 Andreas Jaeger <aj@suse.de>
14678
14679 * sysdeps/i386/fpu/libm-test-ulps: Update.
14680
b7cd39e8
JM
146812012-03-05 Joseph Myers <joseph@codesourcery.com>
14682
14683 [BZ #3976]
14684 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14685 (__ieee754_pow): Save and restore rounding mode and use
14686 round-to-nearest for main computations.
14687 * math/libm-test.inc (pow_test_tonearest): New function.
14688 (pow_test_towardzero): Likewise.
14689 (pow_test_downward): Likewise.
14690 (pow_test_upward): Likewise.
14691 (main): Call the new functions.
14692 * sysdeps/i386/fpu/libm-test-ulps: Update.
14693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14694
14695 [BZ #3976]
14696 * math/libm-test.inc (cosh_test_tonearest): New function.
14697 (cosh_test_towardzero): Likewise.
14698 (cosh_test_downward): Likewise.
14699 (cosh_test_upward): Likewise.
14700 (sinh_test_tonearest): Likewise.
14701 (sinh_test_towardzero): Likewise.
14702 (sinh_test_downward): Likewise.
14703 (sinh_test_upward): Likewise.
14704 (main): Call the new functions.
14705 * sysdeps/i386/fpu/libm-test-ulps: Update.
14706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14707
6c6a98c9
TV
147082012-03-05 Tom de Vries <tom@codesourcery.com>
14709
14710 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14711 default stack guard is set in last bytes.
14712 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14713
21bb2d2e 147142012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14715
21bb2d2e 14716 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14717
21bb2d2e
AJ
14718 [BZ #13656]
14719 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14720 possibly allocate from heap instead of stack.
14721 * stdio-common/bug-vfprintf-nargs.c: New file.
14722 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14723
c6922934
AS
147242012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14725
14726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14727
bc957d53
MP
147282012-03-03 Marek Polacek <polacek@redhat.com>
14729
14730 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14731 * math/math_private.h: Likewise.
14732 * stdlib/tst-strtod.c: Likewise.
14733 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14734 * sysdeps/x86_64/bits/atomic.h: Likewise.
14735
6358490d
DM
147362012-03-02 David S. Miller <davem@davemloft.net>
14737
14738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14742 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14743 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14744 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14745 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14746
01ae168d
RM
147472012-03-02 Roland McGrath <roland@hack.frob.com>
14748
d9a17c07
RM
14749 [BZ #13792]
14750 * manual/examples/README: New file, says the example source files
14751 can be used under GPL>=2.
14752 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14753 line containing just "*/".
14754 * manual/examples/add.c: Add copyright header (GPL>=2).
14755 * manual/examples/argp-ex1.c: Likewise.
14756 * manual/examples/argp-ex2.c: Likewise.
14757 * manual/examples/argp-ex3.c: Likewise.
14758 * manual/examples/argp-ex4.c: Likewise.
14759 * manual/examples/atexit.c: Likewise.
14760 * manual/examples/db.c: Likewise.
14761 * manual/examples/dir.c: Likewise.
14762 * manual/examples/dir2.c: Likewise.
14763 * manual/examples/execinfo.c: Likewise.
14764 * manual/examples/filecli.c: Likewise.
14765 * manual/examples/filesrv.c: Likewise.
14766 * manual/examples/fmtmsgexpl.c: Likewise.
14767 * manual/examples/genpass.c: Likewise.
14768 * manual/examples/inetcli.c: Likewise.
14769 * manual/examples/inetsrv.c: Likewise.
14770 * manual/examples/isockad.c: Likewise.
14771 * manual/examples/longopt.c: Likewise.
14772 * manual/examples/memopen.c: Likewise.
14773 * manual/examples/memstrm.c: Likewise.
14774 * manual/examples/mkfsock.c: Likewise.
14775 * manual/examples/mkisock.c: Likewise.
14776 * manual/examples/mygetpass.c: Likewise.
14777 * manual/examples/pipe.c: Likewise.
14778 * manual/examples/popen.c: Likewise.
14779 * manual/examples/rprintf.c: Likewise.
14780 * manual/examples/search.c: Likewise.
14781 * manual/examples/select.c: Likewise.
14782 * manual/examples/setjmp.c: Likewise.
14783 * manual/examples/sigh1.c: Likewise.
14784 * manual/examples/sigusr.c: Likewise.
14785 * manual/examples/stpcpy.c: Likewise.
14786 * manual/examples/strdupa.c: Likewise.
14787 * manual/examples/strftim.c: Likewise.
14788 * manual/examples/strncat.c: Likewise.
14789 * manual/examples/subopt.c: Likewise.
14790 * manual/examples/swapcontext.c: Likewise.
14791 * manual/examples/termios.c: Likewise.
14792 * manual/examples/testopt.c: Likewise.
14793 * manual/examples/testpass.c: Likewise.
14794 * manual/examples/timeval_subtract.c: Likewise.
14795
01ae168d
RM
14796 [BZ #13792]
14797 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14798 function to ...
14799 * manual/timeval_subtract.c.texi: ... here, new file.
14800
49efa33d
DM
148012012-03-02 David S. Miller <davem@davemloft.net>
14802
14803 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14804
28afd92d
JM
148052012-03-02 Joseph Myers <joseph@codesourcery.com>
14806
804360ed
JM
14807 [BZ #3976]
14808 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14809 (__sin): Save and restore rounding mode and use round-to-nearest
14810 for all computations.
14811 (__cos): Save and restore rounding mode and use round-to-nearest
14812 for all computations.
14813 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14814 <fenv.h>.
14815 (tan): Save and restore rounding mode and use round-to-nearest for
14816 all computations.
14817 * math/libm-test.inc (cos_test_tonearest): New function.
14818 (cos_test_towardzero): Likewise.
14819 (cos_test_downward): Likewise.
14820 (cos_test_upward): Likewise.
14821 (sin_test_tonearest): Likewise.
14822 (sin_test_towardzero): Likewise.
14823 (sin_test_downward): Likewise.
14824 (sin_test_upward): Likewise.
14825 (tan_test_tonearest): Likewise.
14826 (tan_test_towardzero): Likewise.
14827 (tan_test_downward): Likewise.
14828 (tan_test_upward): Likewise.
14829 (main): Call the new functions.
14830 * sysdeps/i386/fpu/libm-test-ulps: Update.
14831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14832
a6d06d7b
JM
14833 [BZ #10135]
14834 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14835 small n, then large n, before computing and testing k+n.
14836 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14837 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14838 Likewise.
14839 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14840 Likewise.
14841 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14842 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14843 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14844 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14845 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14846 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14847 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14848 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14849 * math/libm-test.inc (scalbn_test): Add more tests.
14850 (scalbln_test): Likewise.
14851
07e12bb3
JM
14852 * manual/filesys.texi (mode_t): Describe constraints on size and
14853 signedness, not exact equivalence to a particular type.
14854 (ino_t): Likewise.
14855 (ino64_t): Likewise.
14856 (dev_t): Likewise.
14857 (nlink_t): Likewise.
14858 (blkcnt_t): Likewise.
14859 (blkcnt64_t): Likewise.
14860 * manual/llio.texi (off_t): Likewise.
14861
28afd92d
JM
14862 [BZ #3976]
14863 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14864 (__ieee754_exp): Save and restore rounding mode and use
14865 round-to-nearest for all computations.
14866 * math/libm-test.inc (exp_test_tonearest): New function.
14867 (exp_test_towardzero): Likewise.
14868 (exp_test_downward): Likewise.
14869 (exp_test_upward): Likewise.
14870 (main): Call the new functions.
14871 * sysdeps/i386/fpu/libm-test-ulps: Update.
14872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14873
b1eeb65d
CD
148742012-03-01 Chris Demetriou <cgd@google.com>
14875
14876 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14877 have predictable order.
14878
53362a4b
DM
148792012-03-01 David S. Miller <davem@davemloft.net>
14880
3c969083
DM
14881 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14882
759707de
DM
14883 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14884 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14885 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14886 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14887
dfdb8ff2
DM
14888 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14889 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14890 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14892 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14893 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14894 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14895 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14896 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14897
ead89f96
DM
14898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14899
7f66bd07
DM
14900 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14901 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14902 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14903
53362a4b
DM
14904 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14905 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14906 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14907 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14908 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14909 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14910 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14911 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14912 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14913 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14914 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14915 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14916 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14917 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14918 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14919 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14920 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14921 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14922 * sysdeps/sparc/elf/configure: Regenerated.
14923
7b1902cb
JM
149242012-03-01 Joseph Myers <joseph@codesourcery.com>
14925
bec039bc
JM
14926 * configure.in (AS, LD): Require binutils 2.20 or later.
14927 * configure: Regenerated.
14928 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14929 as required minimum version.
14930 * INSTALL: Regenerated.
14931
7b1902cb
JM
14932 [BZ #2541]
14933 [BZ #4108]
14934 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14935 before squaring exponent.
14936 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14937 bottom long double and 27 bits of top long double before squaring
14938 exponent.
14939 * math/libm-test.inc (erfc_test): Add more tests.
14940 * sysdeps/i386/fpu/libm-test-ulps: Update.
14941 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14943
f775c276
KT
149442012-03-01 Kai Tietz <ktietz@redhat.com>
14945
14946 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14947 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14948 containing bit-fields.
14949 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14950 * soft-fp/single.h (_FP_UNION_S): Likewise.
14951 * soft-fp/double.h (_FP_UNION_D): Likewise.
14952
5b8a4d4a
JM
149532012-02-29 Joseph Myers <joseph@codesourcery.com>
14954
0bab47b6
JM
14955 [BZ #13786]
14956 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14957 not include ../strcmp.S.
14958 [USE_AS_STRNCASECMP_L]: Likewise.
14959 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14960 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14961 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14962 (__strncasecmp_l_ia32): Define as alias to
14963 __strncasecmp_l_nonascii.
14964
0fcad3e2
JM
14965 [BZ #5794]
14966 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14967 * sysdeps/i386/fpu/libm-test-ulps: Update.
14968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14969
5b8a4d4a
JM
14970 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14972
8fdceb2e
JL
149732012-02-29 Jeff Law <law@redhat.com>
14974
14975 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14976 out of bounds read.
14977
1f393a11
MP
149782012-02-29 Marek Polacek <polacek@redhat.com>
14979
14980 [BZ #13706]
14981 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14982 * elf/Makefile: Add rules to run tst-unused-dep.out.
14983
8847f037
DM
149842012-02-28 David S. Miller <davem@davemloft.net>
14985
14986 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14987 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14988 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14989 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14990 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14991 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14992
169d7f11
JM
149932012-02-29 Joseph Myers <joseph@codesourcery.com>
14994
14995 * math/libm-test.inc (llround_test): Move one test from
14996 lround_test. Use TEST_f_L in moved test.
14997 (lround_test): Move misplaced test to llround_test. Add testcase
14998 from bug 2561.
14999
39adf059
UD
150002012-02-28 Ulrich Drepper <drepper@gmail.com>
15001
15002 * sysdeps/x86_64/fpu/e_expf.S: New file.
15003 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15004
71b5d1c5
SB
150052012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15006
15007 [BZ #13637]
15008 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15009 of remain_len that may cause incomplete multi-byte character and
15010 false match.
15011 * posix/bug-regex33.c: New file.
15012 * posix/Makefile (tests): Add bug-regex33.
15013
1f77f049
JM
150142012-02-28 Joseph Myers <joseph@codesourcery.com>
15015
15016 * manual/macros.texi: New file.
15017 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15018 * manual/libc.texinfo: Include macros.texi.
15019 * manual/creatute.texi: Likewise.
15020 * manual/install.texi: Likewise.
15021 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15022 @glibcadj{} in references to the GNU C Library.
15023 * manual/charset.texi: Likewise.
15024 * manual/conf.texi: Likewise.
15025 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15026 when not using those macros.
15027 * manual/creature.texi: Likewise.
15028 * manual/crypt.texi: Likewise.
15029 * manual/errno.texi: Likewise.
15030 * manual/filesys.texi: Likewise.
15031 * manual/header.texi: Likewise.
15032 * manual/install.texi: Likewise.
15033 * manual/intro.texi: Likewise.
15034 * manual/io.texi: Likewise.
15035 * manual/job.texi: Likewise.
15036 * manual/lang.texi: Likewise.
15037 * manual/libc.texiinfo: Likewise.
15038 * manual/llio.texi: Likewise.
15039 * manual/locale.texi: Likewise.
15040 * manual/maint.texi: Likewise.
15041 * manual/math.texi: Likewise.
15042 * manual/memory.texi: Likewise.
15043 * manual/message.texi: Likewise.
15044 * manual/nss.texi: Likewise.
15045 * manual/pattern.texi: Likewise.
15046 * manual/process.texi: Likewise.
15047 * manual/resource.texi: Likewise.
15048 * manual/search.texi: Likewise.
15049 * manual/setjmp.texi: Likewise.
15050 * manual/signal.texi: Likewise.
15051 * manual/socket.texi: Likewise.
15052 * manual/startup.texi: Likewise.
15053 * manual/stdio.texi: Likewise.
15054 * manual/string.texi: Likewise.
15055 * manual/sysinfo.texi: Likewise.
15056 * manual/syslog.texi: Likewise.
15057 * manual/terminal.texi: Likewise.
15058 * manual/time.texi: Likewise.
15059 * manual/users.texi: Likewise.
15060 * INSTALL: Regenerated.
15061 * NOTES: Regenerated.
d40c5d54 15062 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 15063
450bf206
AS
150642012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15065
15066 * include/dirent.h: Include <dirstream.h> before
15067 <dirent/dirent.h>.
15068
741a235b
DM
150692012-02-28 David S. Miller <davem@davemloft.net>
15070
15071 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15072 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15073 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15074 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15075
d6b5aa58
DM
150762012-02-27 David S. Miller <davem@davemloft.net>
15077
1aff59a3
DM
15078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15080 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15081 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15082
d6b5aa58
DM
15083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15084 frame pointer instead of stack pointer relative arg slot.
15085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15086 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15087 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15088
433f48bf
CD
150892012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15090
15091 [BZ #3992]
15092 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15093
d674b76d
DM
150942012-02-27 David S. Miller <davem@davemloft.net>
15095
15096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15100 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15101 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15102 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15103 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15104
0e7727f7
JM
151052012-02-27 Joseph Myers <joseph@codesourcery.com>
15106
15107 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15108 later. Allow versions 5-9.
43be4ca2 15109 * configure: Regenerated.
0e7727f7
JM
15110 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15111 required minimum version and 4.6 as recommended version. Do not
15112 mention bugs in GCC 2.7 and 2.8.
43be4ca2 15113 * INSTALL: Regenerated.
0e7727f7 15114
a78bc654
DM
151152012-02-27 David S. Miller <davem@davemloft.net>
15116
428d5830
DM
15117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15121 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15122 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15123 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15124 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15125
a78bc654
DM
15126 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15127 manipulate bits before adding and subtracting TWO112[sx].
15128 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15129
4579f81c
RM
151302012-02-27 Roland McGrath <roland@hack.frob.com>
15131
36c8acb4
RM
15132 [BZ #13775]
15133 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15134 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15135 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15136 being in POSIX, because they are in 1003.1-2008.
15137
84ad622b
RM
15138 * rt/tst-aio.c: Include <fcntl.h>.
15139 * rt/tst-aio7.c: Likewise.
15140 * rt/tst-aio64.c: Likewise.
15141
4579f81c
RM
15142 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15143
abd923db
JM
151442012-02-27 Joseph Myers <joseph@codesourcery.com>
15145
15146 * manual/install.texi (--with-headers): Describe headers as
15147 interface headers, not private headers.
15148 (Specific advice for GNU/Linux systems): Describe use of headers
15149 from "make headers_install", not private headers from older
15150 kernels.
43be4ca2 15151 * INSTALL: Regenerated.
abd923db
JM
15152 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15153 Change to 2.6.19.
15154 * sysdeps/unix/sysv/linux/configure: Regenerated.
15155
6664049b
JM
15156 * manual/llio.texi (fclean): Remove documentation.
15157
bb8b6697
JM
15158 * manual/Makefile (libc-texi-generated): New variable. Include
15159 version.texi.
15160 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15161 $(libc-texi-generated), not duplicated list of files.
15162 (version.texi, stamp-version): New rules.
15163 (realclean): Remove $(libc-texi-generated), not individual files
15164 from that list. Do not remove dir-add.texinfo.
15165 * manual/libc.texinfo: Comment out uses of edition numbers and
15166 references to printed manual. Remove last-updated dates.
15167 (EDITION): Comment out.
15168 (ISBN): Likewise.
15169 (VERSION, UPDATED): Remove.
15170 (version.texi): Include.
15171
12e5c3b9
AS
151722012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15173
15174 * sysdeps/posix/spawni.c: Include <signal.h>.
15175 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15176 * sysdeps/pthread/aio_fsync.c: Likewise.
15177
4efeffc1 151782012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 15179
ba63ba08
UD
15180 * conform/Makefile (tests): Run only when not cross-compiling and
15181 when fast-check is not defined.
15182
d94a4670
UD
15183 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15184 * conform/data/limits.h-data: Fixes for POSIX2008.
15185 * conform/run-conformtest.sh: Run all tests.
15186 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15187 headers.
15188 * include/bits/dlfcn.h: Likewise.
15189 * include/langinfo.h: Likewise.
15190 * include/monetary.h: Likewise.
15191 * include/sys/poll.h: Likewise.
15192
15193 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15194 for __USE_GNU.
15195 * posix/spawn.h: Define __need_sigset_t.
15196 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15197 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15198 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15199 to get sigevent_t only.
15200 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15201 only for __USE_GNU.
15202 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15203 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15204 process_vm_writev only for __USE_GNU.
15205 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
15206
15207 * conform/Makefile: For now ignore errors from run-conformtest.
15208 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15209 POSIX to avoid namespace pollution. Don't prepend headers.
15210 * conform/data/aio.h-data: Fixes for POSIX testing.
15211 * conform/data/fcntl.h-data: Likewise.
15212 * conform/data/glob.h-data: Likewise.
15213 * conform/data/grp.h-data: Likewise.
15214 * conform/data/pthread.h-data: Likewise.
15215 * conform/data/pwd.h-data: Likewise.
15216 * conform/data/signal.h-data: Likewise.
15217 * conform/data/spawn.h-data: Likewise.
15218 * conform/data/stdio.h-data: Likewise.
15219 * conform/data/stdlib.h-data: Likewise.
15220 * conform/data/stropts.h-data: Likewise.
15221 * conform/data/sys/mman.h-data: Likewise.
15222 * conform/data/sys/stat.h-data: Likewise.
15223 * conform/data/sys/types.h-data: Likewise.
15224 * conform/data/sys/wait.h-data: Likewise.
15225 * conform/data/time.h-data: Likewise.
15226 * conform/data/unistd.h-data: Likewise.
15227 * conform/data/utime.h-data: Likewise.
15228
15229 * io/sys/stat.h: fchmod was always in POSIX.
15230 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15231 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15232 * rt/aio.h: Define __need_timespec before including <time.h>.
15233 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15234 struct. Add forward declaration of pthread_attr_t and use it in
15235 sigevent.
15236 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15237 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15238 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15239 always remove CLK_TCK definition.
15240
c20105c3
AS
152412012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15242
15243 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15244
7a270350
UD
152452012-02-25 Ulrich Drepper <drepper@gmail.com>
15246
31341567
UD
15247 * conform/run-conformtest.sh: New file.
15248 * conform/Makefile: Run run-conformtest for tests.
15249 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15250 support.
15251
15252 * conform/data/uchar.h-data: New file.
15253 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15254 * conform/data/arpa/inet.h-data: Likewise.
15255 * conform/data/assert.h-data: Likewise.
15256 * conform/data/complex.h-data: Likewise.
15257 * conform/data/cpio.h-data: Likewise.
15258 * conform/data/ctype.h-data: Likewise.
15259 * conform/data/dirent.h-data: Likewise.
15260 * conform/data/dlfcn.h-data: Likewise.
15261 * conform/data/errno.h-data: Likewise.
15262 * conform/data/fcntl.h-data: Likewise.
15263 * conform/data/float.h-data: Likewise.
15264 * conform/data/fmtmsg.h-data: Likewise.
15265 * conform/data/fnmatch.h-data: Likewise.
15266 * conform/data/ftw.h-data: Likewise.
15267 * conform/data/glob.h-data: Likewise.
15268 * conform/data/grp.h-data: Likewise.
15269 * conform/data/iconv.h-data: Likewise.
15270 * conform/data/inttypes.h-data: Likewise.
15271 * conform/data/langinfo.h-data: Likewise.
15272 * conform/data/libgen.h-data: Likewise.
15273 * conform/data/limits.h-data: Likewise.
15274 * conform/data/locale.h-data: Likewise.
15275 * conform/data/math.h-data: Likewise.
15276 * conform/data/monetary.h-data: Likewise.
15277 * conform/data/mqueue.h-data: Likewise.
15278 * conform/data/ndbm.h-data: Likewise.
15279 * conform/data/net/if.h-data: Likewise.
15280 * conform/data/netdb.h-data: Likewise.
15281 * conform/data/netinet/in.h-data: Likewise.
15282 * conform/data/nl_types.h-data: Likewise.
15283 * conform/data/poll.h-data: Likewise.
15284 * conform/data/pthread.h-data: Likewise.
15285 * conform/data/pwd.h-data: Likewise.
15286 * conform/data/regex.h-data: Likewise.
15287 * conform/data/sched.h-data: Likewise.
15288 * conform/data/search.h-data: Likewise.
15289 * conform/data/semaphore.h-data: Likewise.
15290 * conform/data/setjmp.h-data: Likewise.
15291 * conform/data/signal.h-data: Likewise.
15292 * conform/data/spawn.h-data: Likewise.
15293 * conform/data/stdarg.h-data: Likewise.
15294 * conform/data/stdio.h-data: Likewise.
15295 * conform/data/stdlib.h-data: Likewise.
15296 * conform/data/string.h-data: Likewise.
15297 * conform/data/strings.h-data: Likewise.
15298 * conform/data/stropts.h-data: Likewise.
15299 * conform/data/sys/ipc.h-data: Likewise.
15300 * conform/data/sys/mman.h-data: Likewise.
15301 * conform/data/sys/msg.h-data: Likewise.
15302 * conform/data/sys/resource.h-data: Likewise.
15303 * conform/data/sys/select.h-data: Likewise.
15304 * conform/data/sys/sem.h-data: Likewise.
15305 * conform/data/sys/shm.h-data: Likewise.
15306 * conform/data/sys/socket.h-data: Likewise.
15307 * conform/data/sys/stat.h-data: Likewise.
15308 * conform/data/sys/statvfs.h-data: Likewise.
15309 * conform/data/sys/time.h-data: Likewise.
15310 * conform/data/sys/timeb.h-data: Likewise.
15311 * conform/data/sys/times.h-data: Likewise.
15312 * conform/data/sys/types.h-data: Likewise.
15313 * conform/data/sys/uio.h-data: Likewise.
15314 * conform/data/sys/un.h-data: Likewise.
15315 * conform/data/sys/utsname.h-data: Likewise.
15316 * conform/data/sys/wait.h-data: Likewise.
15317 * conform/data/syslog.h-data: Likewise.
15318 * conform/data/tar.h-data: Likewise.
15319 * conform/data/termios.h-data: Likewise.
15320 * conform/data/utime.h-data: Likewise.
15321 * conform/data/utmpx.h-data: Likewise.
15322 * conform/data/varargs.h-data: Likewise.
15323 * conform/data/wchar.h-data: Likewise.
15324 * conform/data/wctype.h-data: Likewise.
15325 * conform/data/wordexp.h-data: Likewise.
15326
15327 * include/stropts.h: New file.
15328 * include/uchar.h: New file.
15329 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15330 * include/assert.h: Likewise.
15331 * include/ctype.h: Likewise.
15332 * include/dirent.h: Likewise.
15333 * include/dlfcn.h: Likewise.
15334 * include/fcntl.h: Likewise.
15335 * include/fnmatch.h: Likewise.
15336 * include/glob.h: Likewise.
15337 * include/grp.h: Likewise.
15338 * include/libio.h: Likewise.
15339 * include/locale.h: Likewise.
15340 * include/math.h: Likewise.
15341 * include/net/if.h: Likewise.
15342 * include/netdb.h: Likewise.
15343 * include/netinet/in.h: Likewise.
15344 * include/pthread.h: Likewise.
15345 * include/pwd.h: Likewise.
15346 * include/regex.h: Likewise.
15347 * include/sched.h: Likewise.
15348 * include/search.h: Likewise.
15349 * include/setjmp.h: Likewise.
15350 * include/signal.h: Likewise.
15351 * include/stdio.h: Likewise.
15352 * include/stdlib.h: Likewise.
15353 * include/string.h: Likewise.
15354 * include/sys/cdefs.h: Likewise.
15355 * include/sys/mman.h: Likewise.
15356 * include/sys/msg.h: Likewise.
15357 * include/sys/resource.h: Likewise.
15358 * include/sys/select.h: Likewise.
15359 * include/sys/socket.h: Likewise.
15360 * include/sys/stat.h: Likewise.
15361 * include/sys/statvfs.h: Likewise.
15362 * include/sys/time.h: Likewise.
15363 * include/sys/times.h: Likewise.
15364 * include/sys/uio.h: Likewise.
15365 * include/sys/utsname.h: Likewise.
15366 * include/sys/wait.h: Likewise.
15367 * include/termios.h: Likewise.
15368 * include/time.h: Likewise.
15369 * include/ulimit.h: Likewise.
15370 * include/unistd.h: Likewise.
15371 * include/utime.h: Likewise.
15372 * include/wchar.h: Likewise.
15373 * include/wctype.h: Likewise.
15374 * include/wordexp.h: Likewise.
15375
15376 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15377
7a270350
UD
15378 * time/time.h: TIME_UTC must be a macro.
15379 Make timespec_get available for ISO C11 only as well.
15380
7724defc
UD
153812012-02-24 Ulrich Drepper <drepper@gmail.com>
15382
15383 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15384 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15385
6b1d1d46
JM
153862012-02-24 Joseph Myers <joseph@codesourcery.com>
15387
15388 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 15389
0f8bbd69
JM
153902012-02-24 Joseph Myers <joseph@codesourcery.com>
15391
15392 * manual/texinfo.tex: Update to version 2012-01-19.16.
15393
66ab80bc
JM
153942012-02-24 Joseph Myers <joseph@codesourcery.com>
15395
15396 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15397
74981cc5
RM
153982012-02-24 Roland McGrath <roland@hack.frob.com>
15399
ee968201
RM
15400 [BZ #13738]
15401 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15402 * manual/fdl-1.3.texi: New file.
15403 * manual/fdl-1.1.texi: File removed.
15404
74981cc5
RM
15405 [BZ #13738]
15406 * manual/libc.texinfo (FDL_VERSION): New @set.
15407 Use it for mention of FDL in cover text.
15408 (Documentation License): Use it in @include file name.
15409
7bb764bc
JM
154102012-02-22 Joseph Myers <joseph@codesourcery.com>
15411 Roland McGrath <roland@hack.frob.com>
15412
15413 [BZ #5461]
15414 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15415 not LONG_LONG_MAX and LONG_LONG_MIN.
15416 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15417 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15418 name.
15419 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15420
6cbeae47
JM
154212012-02-22 Joseph Myers <joseph@codesourcery.com>
15422
15423 [BZ #2547]
15424 [BZ #11365]
15425 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15426 manipulate bits before adding and subtracting TWO23[sx].
15427 * math/libm-test.inc (nearbyint_test): Add more tests.
15428
fe45ce09
JM
154292012-02-22 Joseph Myers <joseph@codesourcery.com>
15430
15431 [BZ #2548]
15432 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15433 bits before adding and subtracting TWO23[sx].
15434 * math/libm-test.inc (rint_test): Add more tests.
15435 (rint_test_tonearest): Likewise.
15436 (rint_test_towardzero): Likewise.
15437 (rint_test_downward): Likewise.
15438 (rint_test_upward: Likewise.
15439
ff3b3d82
JM
154402012-02-22 Joseph Myers <joseph@codesourcery.com>
15441
15442 [BZ #10110]
15443 * include/stdc-predef.h: New file. Extracted from features.h.
15444 * include/features.h: Include stdc-predef.h.
15445 * Makefile (headers): Add stdc-predef.h.
15446 * CONFORMANCE (Compiler limitations): Update.
15447
ef0aab35
JM
154482012-02-22 Joseph Myers <joseph@codesourcery.com>
15449
15450 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15451
58639409
DM
154522012-02-21 David S. Miller <davem@davemloft.net>
15453
15454 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15455 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15456
c0e70b25
DM
154572012-02-20 David S. Miller <davem@davemloft.net>
15458
15459 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15460 using a normal save/restore sequence, rather than allocating a
15461 dummy stack frame just to store a frame pointer and restore.
15462 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15463
fb06851d
JM
154642012-02-21 Joseph Myers <joseph@codesourcery.com>
15465
15466 * manual/install.texi: Fix stray word in line-wrapped comment.
15467
7a8b71c3
DM
154682012-02-20 David S. Miller <davem@davemloft.net>
15469
d510c123
DM
15470 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15471 both binutils and gcc support GOTDATA.
15472
0722d7c2
DM
15473 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15474 "rd %pc" in the PIC register setup sequences.
15475
3d2b3019
DM
15476 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15477 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15478 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15479 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15480 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15481 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15482 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15483 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15484 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15485 (SYSCALL_ERROR_HANDLER): Likewise.
15486 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15487 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15488 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15489 (SYSCALL_ERROR_HANDLER): Likewise.
15490
c80098a9
DM
15491 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15492 (HAVE_GCC_GOTDATA): New.
15493 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15494 relocation support in both binutils and gcc.
15495 * sysdeps/sparc/elf/configure: Regenerate.
15496
3a2545a0
DM
15497 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15498 * sysdeps/sparc/sparc32/elf/configure: Delete.
15499 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15500 * sysdeps/sparc/sparc64/elf/configure: Delete.
15501 * sysdeps/sparc/elf/configure.in: New file.
15502 * sysdeps/sparc/elf/configure: Generate.
15503
7a8b71c3
DM
15504 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15505 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15506 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15507 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15508 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15509
f1e86fca
JM
155102012-02-21 Joseph Myers <joseph@codesourcery.com>
15511
15512 * manual/install.texi: Do not mention specific glibc version
15513 numbers.
15514 * manual/libc.texinfo (VERSION, UPDATED): Update.
15515 (@copying): Use @copyright{} and range of years.
15516
0e7dfaef
JM
155172012-02-21 Joseph Myers <joseph@codesourcery.com>
15518
15519 [BZ #13695]
15520 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15521 [crti.S not in sysdirs] (generated): Do not append.
15522 [crti.S not in sysdirs] (omit-deps): Likewise.
15523 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15524 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15525 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15526 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15527 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15528 Likewise.
15529 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15530 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15531 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15532 * csu/defs.awk: Remove file.
15533 * sysdeps/generic/initfini.c: Likewise.
15534 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15535 variable.
15536 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15537 Likewise.
15538
599af3ca
JM
155392012-02-20 Joseph Myers <joseph@codesourcery.com>
15540
15541 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15542 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15543 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15544 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15545 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15546 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15547 <bits/epoll.h>.
15548 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15549 (__EPOLL_PACKED): Define to empty if not defined by
15550 <bits/epoll.h>.
15551 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15553 bits/epoll.h.
15554
0e499750
JM
155552012-02-20 Joseph Myers <joseph@codesourcery.com>
15556
15557 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15558 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15559 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15560 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15561 <bits/timerfd.h>.
15562 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15564 bits/timerfd.h.
15565
5ad91f6e
JM
155662012-02-20 Joseph Myers <joseph@codesourcery.com>
15567
15568 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15569 in C locale.
15570 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15571 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15572 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15574
06b99b02
AJ
155752012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15576
15577 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15578 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15579
7638c0fd
AS
155802012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15581
15582 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15583 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15584 defined.
15585 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15586 Likewise.
15587 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15588 entry for 2.16.
15589
92221550
AJ
155902012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15591
15592 * math/w_acos.c: Use non-signaling floating-point comparisons.
15593 * math/w_acosf.c: Likewise.
15594 * math/w_acosh.c: Likewise.
15595 * math/w_acoshf.c: Likewise.
15596 * math/w_acoshl.c: Likewise.
15597 * math/w_acosl.c: Likewise.
15598 * math/w_asin.c: Likewise.
15599 * math/w_asinf.c: Likewise.
15600 * math/w_asinl.c: Likewise.
15601 * math/w_atanh.c: Likewise.
15602 * math/w_atanhf.c: Likewise.
15603 * math/w_atanhl.c: Likewise.
15604 * math/w_exp2.c: Likewise.
15605 * math/w_exp2f.c: Likewise.
15606 * math/w_exp2l.c: Likewise.
15607 * math/w_j0.c: Likewise.
15608 * math/w_j0f.c: Likewise.
15609 * math/w_j0l.c: Likewise.
15610 * math/w_j1.c: Likewise.
15611 * math/w_j1f.c: Likewise.
15612 * math/w_j1l.c: Likewise.
15613 * math/w_jn.c: Likewise.
15614 * math/w_jnf.c: Likewise.
15615 * math/w_log.c: Likewise.
15616 * math/w_log10.c: Likewise.
15617 * math/w_log10f.c: Likewise.
15618 * math/w_log10l.c: Likewise.
15619 * math/w_log2.c: Likewise.
15620 * math/w_log2f.c: Likewise.
15621 * math/w_log2l.c: Likewise.
15622 * math/w_logf.c: Likewise.
15623 * math/w_logl.c: Likewise.
15624 * math/w_sqrt.c: Likewise.
15625 * math/w_sqrtf.c: Likewise.
15626 * math/w_sqrtl.c: Likewise.
15627 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15628 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15629 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15630 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15631 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15632
ebaf36eb
JM
156332012-02-19 Joseph Myers <joseph@codesourcery.com>
15634
15635 [BZ #9739]
15636 * manual/string.texi (strnlen): Use correct parameter name in
15637 equivalent expression.
15638
71c254a6
JM
156392012-02-19 Joseph Myers <joseph@codesourcery.com>
15640
15641 [BZ #11174]
15642 * manual/users.texi (seteuid): Consistently use neweuid for
15643 argument name.
15644
16d2c631
JM
156452012-02-19 Joseph Myers <joseph@codesourcery.com>
15646
15647 [BZ #13704]
15648 * manual/nss.texi (Services in the NSS configuration): Correct
15649 list of services in example configuration file.
15650
cd837b09
NB
156512012-02-19 Nick Bowler <nbowler@draconx.ca>
15652
15653 [BZ #11322]
15654 * manual/arith.texi: Remove statements about negative zero
15655 behaving identically to zero.
15656
02c4bbad
JM
156572012-02-18 Joseph Myers <joseph@codesourcery.com>
15658
15659 [BZ #5993]
15660 * manual/install.texi: Do not document upgrading from libc5.
15661
366842e7
JM
156622012-02-18 Joseph Myers <joseph@codesourcery.com>
15663
15664 [BZ #4596]
15665 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15666
dd54084d
DM
156672012-02-18 David S. Miller <davem@davemloft.net>
15668
15669 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15670 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15671 %o7 across the call.
15672 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15673 instead.
15674 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15675 SETUP_PIC_REG_LEAF.
15676 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15677 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15678 * sysdeps/sparc/crtn.S: Likewise.
15679
2bcc53a3
UD
156802012-02-17 Ulrich Drepper <drepper@gmail.com>
15681
15682 * aout/Makefile: Remove.
15683
09c093b5
RK
156842012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15685
15686 [BZ #13058]
15687 * manual/examples/argp-ex1.c (main): Format definition in GNU
15688 style.
15689 * manual/examples/argp-ex2.c (main): Likewise.
15690 * manual/examples/argp-ex3.c (main): Likewise.
15691 * manual/examples/argp-ex4.c (main): Likewise.
15692 * manual/examples/longopt.c (main): Use new-style prototype
15693 definition.
15694 * manual/examples/strncat.c (main): Specify return type and use
15695 (void) for arguments.
15696 * manual/examples/subopt.c (main): Use char **argv argument.
15697
2ee633a2
JM
156982012-02-17 Joseph Myers <joseph@codesourcery.com>
15699
15700 [BZ #5077]
15701 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15702 rounding modes.
15703
0520adde
FB
157042012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15705
15706 [BZ #6907]
15707 * manual/string.texi (strchr): Change when strchrnul is
15708 recommended.
15709
3f4081cd
DGM
157102012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15711
15712 [BZ #174]
15713 * manual/locale.texi (setlocale): Document LOCPATH.
15714
d1b10e78
JM
157152012-02-17 Joseph Myers <joseph@codesourcery.com>
15716
15717 [BZ #10210]
15718 * manual/process.texi (execle): Move @dots{} before last argument.
15719
79c6869c
PB
157202012-02-17 Paul Bolle <pebolle@tiscali.nl>
15721
15722 [BZ #12047]
15723 * manual/charset.texi (Generic Charset Conversion): Fix typo
15724 (LC_TYPE -> LC_CTYPE).
15725
cc6e48bc
NB
157262012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15727
15728 [BZ #5805]
15729 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15730 (scalbnf): Likewise.
15731 (scalbnl): Likewise.
15732 (scalbln): Likewise.
15733 (scalblnf): Likewise.
15734 (scalblnl): Likewise.
15735 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15736 (vwarnx): Likewise.
15737 (verr): Likewise.
15738 (verrx): Likewise.
15739 * manual/filesys.texi (telldir): Use braces around return type.
15740 * manual/llio.texi (mmap): Add space after comma.
15741 (mmap64): Likewise.
15742 * manual/math.texi (jn): Use @var{} on parameter names.
15743 (jnf): Likewise.
15744 (jnl): Likewise.
15745 (yn): Likewise.
15746 (ynf): Likewise.
15747 (ynl): Likewise.
15748 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15749 line.
15750 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15751 "...".
15752 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15753 (sched_get_priority_max): Likewise.
15754 * manual/signal.texi (sigvec): Add space after comma.
15755 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15756 names.
15757 (if_indextoname): Likewise.
15758 (if_freenameindex): Likewise.
15759 (sendto): Use ',' instead of '.' in prototype.
15760 * manual/startup.texi (syscall): Use @dots{} instead of literal
15761 "...".
15762 * manual/stdio.texi (__fpending): Separate initial words of
15763 paragraph from @deftypefun line.
15764 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15765 "...".
15766 (vsyslog): Use @var{} on parameter names.
15767 * manual/terminal.texi (stty): Use @var{} on parameter names.
15768 * manual/users.texi (getutmp): Use @var{} on parameter names.
15769 (getutmpx): Likewise.
15770
5b23062f
JM
157712012-02-17 Joseph Myers <joseph@codesourcery.com>
15772
15773 [BZ #6884]
15774 * manual/stdio.texi (fopen): Fix typos in description of
15775 ",ccs=STRING".
15776
8dee4833
AJ
157772012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15778
15779 [BZ #4026]
15780 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15781 get clock_id definition.
15782
9078ce93
TS
157832012-02-17 Thomas Schwinge <thomas@schwinge.name>
15784
15785 [BZ #4822]
15786 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15787 (madvise): Cast every argument to void on its own.
15788
3835c55f
JM
157892012-02-17 Joseph Myers <joseph@codesourcery.com>
15790
15791 [BZ #9902]
15792 * manual/startup.texi (Exit Status): Fix typo.
15793
35c47e37
JM
157942012-02-17 Joseph Myers <joseph@codesourcery.com>
15795
15796 [BZ #10140]
15797 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15798 * manual/examples/argp-ex2.c: Likewise.
15799 * manual/examples/argp-ex3.c: Likewise.
15800
e3b69ca7
RH
158012012-02-16 Richard Henderson <rth@redhat.com>
15802
15803 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15804 * sysdeps/s390/s390-32/initfini.c: Remove.
15805 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15806 * sysdeps/s390/s390-64/initfini.c: Remove.
15807
df83af67
KK
158082012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15809
15810 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15811 compiler output for sysdeps/generic/initfini.c.
15812 * sysdeps/sh/elf/initfini.c: Remove file.
15813
f63f3380
DM
158142012-02-16 David S. Miller <davem@davemloft.net>
15815
fb59b3a4
DM
15816 [BZ #11494]
15817 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15818
f63f3380
DM
15819 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15820 * sysdeps/sparc/crti.S: New file.
15821 * sysdeps/sparc/crtn.S: New file.
15822 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15823 * sysdeps/sparc/sparc64/Makefile: Likewise.
15824
df6a4a4a
MF
158252012-02-15 Mike Frysinger <vapier@gentoo.org>
15826
6dd8f3dc 15827 [BZ #3335]
df6a4a4a
MF
15828 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15829
1cac7236
RM
158302012-02-15 Roland McGrath <roland@hack.frob.com>
15831
d2c736f8
RM
15832 [BZ #4822]
15833 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15834
1cac7236
RM
15835 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15836 (write, read, close): Likewise.
15837 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15838
8e475601
JM
158392012-02-15 Joseph Myers <joseph@codesourcery.com>
15840
15841 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15842 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15843 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15844 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15845 <bits/signalfd.h>.
15846 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15848 bits/signalfd.h.
15849
ed656b40
MP
158502012-02-14 Marek Polacek <polacek@redhat.com>
15851
15852 * sysdeps/x86_64/crti.S: New file.
15853 * sysdeps/x86_64/crtn.S: New file.
15854 * sysdeps/x86_64/elf/initfini.c: Remove file.
15855
2a979d3a
JM
158562012-02-13 Joseph Myers <joseph@codesourcery.com>
15857
15858 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15859 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15860 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15861 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15862 <bits/inotify.h>.
15863 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15865 bits/inotify.h.
15866
2a418ac3
JM
158672012-02-13 Joseph Myers <joseph@codesourcery.com>
15868
15869 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15870 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15871 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15872 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15873 <bits/eventfd.h>.
15874 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15876 bits/eventfd.h.
15877
fb779be7
TS
158782012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15879
e19e83c5
RM
15880 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15881 __feraiseexcept instead of feraiseexcept.
7c35ffed 15882
fb779be7
TS
15883 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15884 nanosleep invocations.
15885 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15886 strings, and add error checking for a nanosleep invocations.
15887
59ba27a6
PE
158882012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15889
15890 Replace FSF snail mail address with URLs, as per GNU coding standards.
15891 Most of the snail mail addresses were wrong anyway, and omitting
15892 them makes the source code easier to maintain. Almost all of the
15893 changes are to license notices and to locale LC_IDENTIFICATION
15894 addresses, except for this one:
15895 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15896 not its snail mail address.
15897
57b957eb
RH
158982012-02-09 Richard Henderson <rth@twiddle.net>
15899
af850b1c
RH
15900 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15901 of kernel-features.h.
15902
57b957eb
RH
15903 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15904
6b73181a
MP
159052012-02-08 Marek Polacek <polacek@redhat.com>
15906
15907 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15908 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15909 * sysdeps/gnu/_G_config.h: Likewise.
15910 * sysdeps/generic/_G_config.h: Likewise.
15911
26ecc33a
AS
159122012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15913
6c6dbc63
AS
15914 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15915 tests.
15916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15917
e216c012
AS
15918 * sysdeps/powerpc/powerpc32/crti.S: New file.
15919 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15920 * sysdeps/powerpc/powerpc64/crti.S: New file.
15921 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15922
26ecc33a
AS
15923 * Makeconfig (have-initfini): Don't set.
15924 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15925 * configure.in (nopic_initfini): Don't substitute.
15926 * config.h.in (HAVE_INITFINI): Don't #undef.
15927 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15928 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15929
3add8e13
JM
159302012-02-08 Joseph Myers <joseph@codesourcery.com>
15931
15932 Support crti.S and crtn.S provided directly by architectures.
15933 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15934 [crti.S in sysdirs] (omit-deps): Likewise.
15935 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15936 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15937 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15938 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15939 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15940 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15941 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15942 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15943 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15944 compiler output for sysdeps/generic/initfini.c.
15945 * sysdeps/i386/elf/Makefile: Remove file.
15946 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15947
a22f12b4
MP
159482012-02-07 Marek Polacek <polacek@redhat.com>
15949
15950 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15951 * sysdeps/gnu/_G_config.h: Likewise.
15952 * sysdeps/mach/hurd/_G_config.h: Likewise.
15953
148cf100
MP
159542012-02-07 Marek Polacek <polacek@redhat.com>
15955
15956 * math/Makefile (tests): Add tst-CMPLX2.
15957 * math/tst-CMPLX2.c: New file.
15958
cfdc0dd7
AS
159592012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15960
84ba42c4
AS
15961 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15962
cfdc0dd7
AS
15963 * math/libm-test.inc (jn_test): Add missing L suffix.
15964
622c86f4
MP
159652012-02-06 Marek Polacek <polacek@redhat.com>
15966
15967 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15968 * sysdeps/i386/fpu/e_powf.S: Likewise.
15969 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15970 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15971 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15972 * sysdeps/i386/fpu/e_pow.S: Likewise.
15973 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15974 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15975 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15976 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15977 * sysdeps/i386/fpu/e_log2.S: Likewise.
15978 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15979 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15980 * sysdeps/i386/fpu/e_powl.S: Likewise.
15981 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15982 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15983 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15984 * sysdeps/i386/fpu/e_logl.S: Likewise.
15985 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15986 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15987 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15988 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15989 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15990 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15991 * sysdeps/i386/fpu/e_log.S: Likewise.
15992 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15993 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15994 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15995 * sysdeps/i386/fpu/e_logf.S: Likewise.
15996 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15997 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15998 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15999 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16000 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16001 * sysdeps/i386/fpu/e_log10.S: Likewise.
16002 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16003 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16004 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16005 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16006 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16007 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16008 * sysdeps/i386/asm-syntax.h: Likewise.
16009 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16010 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16011 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16012 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16013 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16014 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16015 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16016 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16017 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16018 * sysdeps/powerpc/sysdep.h: Likewise.
16019 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16020 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16021
d4a54ac6
JM
160222012-02-06 Joseph Myers <joseph@codesourcery.com>
16023
16024 [BZ #411]
16025 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16026
314054ea
JM
160272012-02-06 Joseph Myers <joseph@codesourcery.com>
16028
16029 * sysdeps/i386/sysdep.h: Include <features.h>.
16030 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16031 version.
16032
d8e0ca50
JM
160332012-02-05 Joseph Myers <joseph@codesourcery.com>
16034
16035 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16036 Define.
16037 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16038 LOAD_PIC_REG_STR.
16039
b1da7dd9
JM
160402012-02-03 Joseph Myers <joseph@codesourcery.com>
16041
16042 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16043 (SETUP_PIC_REG): Use GET_PC_THUNK.
16044 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16045 macro.
16046
9a1d9254
JM
160472012-02-03 Joseph Myers <joseph@codesourcery.com>
16048
16049 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16050 for non-PIC compilation.
16051 (SETUP_PIC_REG): Add .p2align directive.
16052 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16053 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16054 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16055 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16056 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16057 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16058 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16059 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16060 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16061 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16062 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16063 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16064 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16065 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16066 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16067 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16068 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16069 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16070 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16071 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16072 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16073 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16074 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16075 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16076 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16077 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16078 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16079 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16080 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16081 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16082 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16083 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16084 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16085 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16086 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16087 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16088 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16089 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16090 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16091 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16092 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16093
65dc3b75
JM
160942012-02-03 Joseph Myers <joseph@codesourcery.com>
16095
16096 * math/tst-CMPLX.c: Include <stdio.h>.
16097
d55bf177
JM
160982012-01-31 Joseph Myers <joseph@codesourcery.com>
16099
16100 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16101 float.
16102 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16103 * sysdeps/sparc/bits/mathdef.h: Likewise.
16104
69db4f8f
MP
161052012-01-31 Marek Polacek <polacek@redhat.com>
16106
16107 * libio/libio.h: Don't define _PARAMS.
16108 * locale/programs/config.h: Don't define PARAMS.
16109 * stdlib/strtol_l.c: Likewise.
16110 (__strtol_l): Remove PARAMS from the prototype.
16111
41b81892
UD
161122012-01-31 Ulrich Drepper <drepper@gmail.com>
16113
3b49edc0
UD
16114 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16115 names. Just use the correct names. Remove unnecessary wrapper
16116 functions.
16117 * malloc/arena.c: Likewise.
16118 * malloc/hooks.c: Likewise.
16119
41b81892
UD
16120 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16121 ARENA_TEST says not to. Simplify test for creation of a new arena.
16122 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16123
27a25b6e
UD
161242012-01-30 Ulrich Drepper <drepper@gmail.com>
16125
16126 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16127 into tail calls.
16128 (update_get_addr): New function.
16129 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16130 GET_ADDR_MODULE parameter.
16131
c8a89e7d
JM
161322012-01-30 Joseph Myers <joseph@codesourcery.com>
16133
16134 * crypt/cert.c: Remove __STDC__ conditionals.
16135 * crypt/crypt-entry.c: Likewise.
16136 * crypt/crypt_util.c: Likewise.
16137 * libio/filedoalloc.c: Likewise.
16138 * libio/fileops.c: Likewise.
16139 * libio/genops.c: Likewise.
16140 * libio/iofclose.c: Likewise.
16141 * libio/iofdopen.c: Likewise.
16142 * libio/iofopen.c: Likewise.
16143 * libio/iofopen64.c: Likewise.
16144 * libio/iogetdelim.c: Likewise.
16145 * libio/iopopen.c: Likewise.
16146 * libio/obprintf.c: Likewise.
16147 * libio/oldfileops.c: Likewise.
16148 * libio/oldiofclose.c: Likewise.
16149 * libio/oldiofdopen.c: Likewise.
16150 * libio/oldiofopen.c: Likewise.
16151 * libio/oldiopopen.c: Likewise.
16152 * libio/wfiledoalloc.c: Likewise.
16153 * libio/wgenops.c: Likewise.
16154 * locale/programs/xmalloc.c: Likewise.
16155 * misc/syslog.c: Likewise.
16156 * stdio-common/xbug.c: Likewise.
16157 * string/memchr.c: Likewise.
16158 * string/memcmp.c: Likewise.
16159 * string/memrchr.c: Likewise.
16160 * string/rawmemchr.c: Likewise.
16161 * sysdeps/posix/getcwd.c: Likewise.
16162 * time/strftime_l.c: Likewise.
16163
3b100462
JM
161642012-01-30 Joseph Myers <joseph@codesourcery.com>
16165
16166 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
16167 * config.make.in (config-cflags-sse2avx): Define.
16168 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16169 Fix typo.
16170
607998af
CM
161712012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16172
16173 * scripts/config.guess: Update from upstream config git repository.
16174 * scripts/config.sub: Likewise.
16175
3601428f
CM
161762012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16177
3ac8b282
CM
16178 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16179 (EM_NUM): Update.
16180 (R_TILEPRO_*, R_TILEGX_*): New macros.
16181
e034841e
CM
16182 * scripts/firstversions.awk: Fix bug in version range handling.
16183
540d7568
CM
16184 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16185
3601428f
CM
16186 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16187
463de862
CM
16188 * include/sys/epoll.h: New file.
16189 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16190 libc_hidden_def.
16191
73139a76
UD
161922012-01-28 Ulrich Drepper <drepper@gmail.com>
16193
96bc5b45
UD
16194 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16195 Avoid unnecessary __WORDSIZE == 64 test.
16196 (fmaxf): Use VEX format if possible.
16197 (fmax): Likewise.
16198 (fminf): Likewise.
16199 (fmin): Likewise.
16200
56f6f6a2
UD
16201 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16202 * math/math_private.h: Remove libc_fegetround* and
16203 libc_fesetround*.
16204 * sysdeps/i386/configure.in: Check for -msse2avx.
16205 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16206 also if SSE2AVX is defined.
16207 Remove libc_fegetround* and libc_fesetround*.
16208 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16209 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16210 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16211 of HAS_YMM_USABLE.
16212 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16213 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16214 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16215 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16216 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16217
73139a76
UD
16218 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16219
d73f93a4
AZ
162202012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16221
16222 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16223 size is not set.
16224 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16225
6ee65ed6
UD
162262012-01-27 Ulrich Drepper <drepper@gmail.com>
16227
16228 [BZ #13618]
16229 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16230 relocation.
16231 * Makeconfig (libm): Define.
16232 * elf/Makefile: Add rules to build and run tst-relsort1.
16233 * elf/tst-relsort1.c: New file.
16234 * elf/tst-relsort1mod1.c: New file.
16235 * elf/tst-relsort1mod2.c: New file.
16236
8db21882
JM
162372012-01-27 Joseph Myers <joseph@codesourcery.com>
16238
16239 * math/s_ldexp.c: Remove __STDC__ conditionals.
16240 * math/s_ldexpf.c: Likewise.
16241 * math/s_ldexpl.c: Likewise.
16242 * math/s_nextafter.c: Likewise.
16243 * math/s_nexttowardf.c: Likewise.
16244 * math/s_significand.c: Likewise.
16245 * math/s_significandf.c: Likewise.
16246 * math/s_significandl.c: Likewise.
16247 * math/w_jnl.c: Likewise.
16248 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16249 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16250 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16251 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16252 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16253 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16254 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16255 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16256 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16257 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16258 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16259 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16260 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16261 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16262 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16263 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16264 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16265 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16266 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16267 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16268 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16269 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16270 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16271 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16272 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16273 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16274 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16275 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16276 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16277 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16278 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16279 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16280 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16281 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16282 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16283 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16284 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16285 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16286 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16287 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16288 * sysdeps/ieee754/k_standard.c: Likewise.
16289 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16290 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16291 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16292 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16293 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16294 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16295 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16296 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16297 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16298 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16299 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16300 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16301 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16302 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16303 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16304 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16305 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16306 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16307 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16308 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16309 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16310 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16311 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16312 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16313 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16314 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16315 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16316 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16317 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16318 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16319 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16320 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16321 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16322 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16323 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16324 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16325 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16326 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16327 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16328 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16329 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16330 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16331 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16332 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16333 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16334 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16335 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16336 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16337 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16338 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16339 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16340 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16341 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16342 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16343 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16344 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16345 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16346 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16347 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16348 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16349 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16350 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16351 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16352 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16353 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16354 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16355 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16356 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16357 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16358 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16359 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16360 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16361 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16362 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16363 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16364 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16365 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16366 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16367 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16368 * sysdeps/ieee754/s_matherr.c: Likewise.
16369 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16370 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16371 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16372 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16373
965a54a4
JM
163742012-01-26 Joseph Myers <joseph@codesourcery.com>
16375
16376 * crypt/md5.h: Remove __STDC__ conditionals.
16377 * libio/libioP.h: Likewise.
16378 * locale/programs/config.h: Likewise.
16379 * sysdeps/generic/sysdep.h: Likewise.
16380 * sysdeps/i386/asm-syntax.h: Likewise.
16381 * sysdeps/s390/asm-syntax.h: Likewise.
16382 * sysdeps/unix/sysdep.h: Likewise.
16383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16385
7071ad79
JM
163862012-01-26 Joseph Myers <joseph@codesourcery.com>
16387
16388 * libio/libio.h: Remove __STDC__ conditionals.
16389 * malloc/obstack.h: Likewise.
16390 * math/complex.h: Likewise.
16391 * math/math.h: Likewise.
16392 * sysdeps/generic/_G_config.h: Likewise.
16393 * sysdeps/gnu/_G_config.h: Likewise.
16394 * sysdeps/mach/hurd/_G_config.h: Likewise.
16395 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16396 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16397 * sysdeps/sparc/bits/mathdef.h: Likewise.
16398
afc5ed09
UD
163992012-01-26 Ulrich Drepper <drepper@gmail.com>
16400
16401 [BZ #13583]
16402 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 16403 Clean up HAS_* macros.
afc5ed09 16404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
16405 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16406 possible.
16407 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16408 HAS_AVX.
16409 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16410 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16411 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16412 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16413 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 16414
bdb6de1d
JM
164152012-01-25 Joseph Myers <joseph@codesourcery.com>
16416
16417 * elf/tst-unique3.cc (gets): Remove declaration.
16418 * elf/tst-unique3lib.cc (gets): Likewise.
16419 * elf/tst-unique3lib2.cc (gets): Likewise.
16420 * elf/tst-unique4.cc (gets): Likewise.
16421
b15549e6
UD
164222012-01-24 Ulrich Drepper <drepper@gmail.com>
16423
16424 * include/stdio.h: Add C++ protection. Add gets declarations and
16425 definitions.
16426 * debug/tst-chk1.c: Don't declare gets here.
16427 * stdio-common/tst-gets.c: Likewise.
16428
a037381f
JM
164292012-01-24 Joseph Myers <joseph@codesourcery.com>
16430
16431 * posix/glob: Remove directory.
16432
f1d4aa75
JM
164332012-01-24 Joseph Myers <joseph@codesourcery.com>
16434
16435 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16436
81c0c964
PT
164372012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16438
16439 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16440 of the non-standard EPFNOSUPPORT.
16441
0ea698ae
ST
164422011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16443
16444 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16445 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16446 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16447
d220b117
UD
164482012-01-21 Ulrich Drepper <drepper@gmail.com>
16449
16450 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16451
3e1aa84e
UD
164522012-01-20 Ulrich Drepper <drepper@gmail.com>
16453
16454 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16455 transient errors.
16456 * nscd/grpcache.c (cache_addgr): Likewise.
16457 * nscd/hstcache.c (cache_addhst): Likewise.
16458 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16459 * nscd/pwdcache.c (cache_addpw): Likewise.
16460 * nscd/servicescache.c (cache_addserv): Likewise.
16461
400aa020
UD
164622012-01-16 Ulrich Drepper <drepper@gmail.com>
16463
d77e7869
UD
16464 * malloc/malloc.c: Various cleanups.
16465 * malloc/hooks.c: Likewise.
16466
400aa020
UD
16467 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16468 * stdlib/bug-fmtmsg1.c: New file.
16469
16470 * stdlib/fmtmsg.c (init): Add missing unlock.
16471 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16472
e0a309cf
MP
164732012-01-12 Marek Polacek <polacek@redhat.com>
16474
16475 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16476 and _GNU_SOURCE.
16477
929d11c7
WS
164782012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16479
16480 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16481 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16482 macro to ensure uniqueness of label name.
16483 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16484 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16485
41d0e869
UD
164862012-01-11 Ulrich Drepper <drepper@gmail.com>
16487
0cc5ed3b
UD
16488 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16489
41d0e869
UD
16490 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16491 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16492 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16493 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16494
a47a831a
UD
164952012-01-10 Ulrich Drepper <drepper@gmail.com>
16496
daa891c0
UD
16497 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16498
16499 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16500 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16501 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16502
e58ef0f2
UD
16503 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16504
a47a831a 16505 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
16506 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16507 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 16508 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
16509
16510 * math/bits/math-finite.h: Add ldexp support.
16511
a0bfc9c7
MP
165122012-01-10 Marek Polacek <polacek@redhat.com>
16513
16514 * locale/programs/localedef.h (show_archive_content): Add noreturn
16515 attribute.
16516
d6e97a1d
UD
165172012-01-09 Ulrich Drepper <drepper@gmail.com>
16518
16519 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16520
d5835c26
UD
165212012-01-08 Ulrich Drepper <drepper@gmail.com>
16522
e5f484c6
UD
16523 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16524
d5835c26
UD
16525 * io/Makefile (headers): Add bits/poll2.h.
16526
d1f741e9
WS
165272011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16528
16529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16530 typo #include statement.
16531
ec09c1c4
UD
165322012-01-08 Ulrich Drepper <drepper@gmail.com>
16533
16534 * include/sys/cdefs.h: Define __attribute_alloc_size.
16535 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16536 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16537 * elf/pldd.c: Likewise.
16538 * iconv/iconv_charmap.c: Likewise.
16539 * iconv/iconvconfig.c: Likewise.
16540 * iconv/strtab.c: Likewise.
16541 * locale/programs/locale.c: Likewise.
16542 * locale/programs/localedef.h: Likewise.
16543 * locale/programs/simple-hash.c: Likewise.
16544 * nscd/nscd.h: Likewise.
16545 * nss/makedb.c: Likewise.
16546 * sysdeps/generic/ldconfig.h: Likewise.
16547 * locale/programs/localedef.c: Remove xmalloc prototype.
16548 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16549
20b38e03
PP
165502012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16551
16552 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16553 appropriate.
16554
a0da5fe1
UD
165552012-01-08 Ulrich Drepper <drepper@gmail.com>
16556
1d5a644a 16557 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16558 * math/tst-CMPLX.c: New file.
1d5a644a 16559
8784a6db
UD
16560 * math/complex.h (CMPLXL): Fix typo.
16561
d9a216c0
UD
16562 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16563 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16564 GLIBC_2.16.
16565 * debug/tst-chk1.c: Add poll and ppoll tests.
16566 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16567 * include/sys/poll.h: Add hidden proto for ppoll.
16568 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16569 * sysdeps/mach/hurd/ppoll.c: Likewise.
16570 * io/ppoll.c: Likewise.
16571 * debug/poll_chk.c: New file.
16572 * debug/ppoll_chk.c: New file.
16573 * include/bits/poll2.h: New file.
16574 * io/bits/poll2.h: New file.
16575
ac097f5c
UD
16576 [BZ #1350]
16577 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16578
2119dcfa
UD
16579 * configure.in: static is always set to yes. Remove.
16580 * config.make.in: Don't set build-static.
16581 * Makeconfig: Remove use of build-static.
16582 * dlfcn/Makefile: Likewise.
16583 * elf/Makefile: Likewise.
16584 * math/Makefile: Likewise.
16585 * misc/Makefile: Likewise.
16586 * nptl/Makefile: Likewise.
16587 * sysdeps/mach/hurd/Makefile: Likewise.
16588
121766a9
UD
16589 * configure.in: PWD_P is not used anymore.
16590 * config.make.in: Remove PWD_P entry.
16591
51a1d39c 16592 * configure.in: Remove last remnants of RANLIB.
8720d066 16593 No need to check for signed size_t anymore.
215f4bdc
UD
16594 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16595 and IA-64.
3857022a 16596 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16597 * aclocal.m4: Likewise.
16598
d3ed7225
UD
16599 * wcsmbs/mbrtoc16.c: Implement using towc function.
16600 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16601 * wcsmbs/wcsmbsload.c: Likewise.
16602 * iconv/gconv_simple.c: Likewise.
16603 * iconv/gconv_int.h: Likewise.
16604 * iconv/gconv_builtin.h: Likewise.
16605 * iconv/iconv_prog.c: Remove CHAR16 handling.
16606
16607 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16608
16609 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16610
a0da5fe1
UD
16611 * configure.in: Remove --with-elf and --enable-bounded options.
16612 Dont set base_machine for ia64. More non-ELF conditions removed.
16613 Remove testing and setting of leading underscore information.
16614 * config.make.in (build-bounded): Set to no.
16615 * config.h.in: Remove NO_UNDERSCORES entry.
16616 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16617 them.
16618 * csu/start.c: Remove !NO_UNDERSCORE code.
16619 * locale/localeinfo.h: Likewise.
16620 * sysdeps/generic/machine-gmon.h: Likewise.
16621 * sysdeps/generic/sysdep.h: Likewise.
16622 * sysdeps/i386/sysdep.h: Likewise.
16623 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16624 * sysdeps/mach/sysdep.h: Likewise.
16625 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16626 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16627 * sysdeps/sh/sysdep.h: Likewise.
16628 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16629 * sysdeps/unix/i386/sysdep.S: Likewise.
16630 * sysdeps/unix/sparc/start.c: Likewise.
16631 * sysdeps/unix/sparc/sysdep.S: Likewise.
16632 * sysdeps/unix/sparc/sysdep.h: Likewise.
16633 * sysdeps/unix/start.c: Likewise.
16634 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16635 * sysdeps/x86_64/sysdep.h: Likewise.
16636
df78418a
UD
166372012-01-07 Ulrich Drepper <drepper@gmail.com>
16638
a784e502
UD
16639 [BZ #13553]
16640 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16641 for non-gcc.
16642 * argp/argp-fmtstream.h: Use const instead __const.
16643 * argp/argp.h: Likewise.
16644 * assert/assert.h: Likewise.
16645 * bits/fenv.h: Likewise.
16646 * bits/sched.h: Likewise.
16647 * bits/sigset.h: Likewise.
16648 * bits/sigthread.h: Likewise.
16649 * catgets/nl_types.h: Likewise.
16650 * conform/data/pthread.h-data: Likewise.
16651 * crypt/crypt-private.h: Likewise.
16652 * crypt/crypt.h: Likewise.
16653 * crypt/crypt_util.c: Likewise.
16654 * ctype/ctype.h: Likewise.
16655 * debug/execinfo.h: Likewise.
16656 * debug/mbsnrtowcs_chk.c: Likewise.
16657 * debug/mbsrtowcs_chk.c: Likewise.
16658 * debug/wcsnrtombs_chk.c: Likewise.
16659 * debug/wcsrtombs_chk.c: Likewise.
16660 * debug/wcstombs_chk.c: Likewise.
16661 * dirent/dirent.h: Likewise.
16662 * dlfcn/dlfcn.h: Likewise.
16663 * elf/neededtest4.c: Likewise.
16664 * grp/grp.h: Likewise.
16665 * gshadow/gshadow.h: Likewise.
16666 * iconv/gconv.h: Likewise.
16667 * iconv/gconv_int.h: Likewise.
16668 * iconv/gconv_simple.c: Likewise.
16669 * iconv/iconv.h: Likewise.
16670 * iconv/loop.c: Likewise.
16671 * iconv/skeleton.c: Likewise.
16672 * include/aio.h: Likewise.
16673 * include/aliases.h: Likewise.
16674 * include/argz.h: Likewise.
16675 * include/arpa/inet.h: Likewise.
16676 * include/assert.h: Likewise.
16677 * include/dirent.h: Likewise.
16678 * include/dlfcn.h: Likewise.
16679 * include/execinfo.h: Likewise.
16680 * include/fcntl.h: Likewise.
16681 * include/fenv.h: Likewise.
16682 * include/glob.h: Likewise.
16683 * include/grp.h: Likewise.
16684 * include/libintl.h: Likewise.
16685 * include/mntent.h: Likewise.
16686 * include/netdb.h: Likewise.
16687 * include/pwd.h: Likewise.
16688 * include/rpc/netdb.h: Likewise.
16689 * include/sched.h: Likewise.
16690 * include/search.h: Likewise.
16691 * include/shadow.h: Likewise.
16692 * include/signal.h: Likewise.
16693 * include/stdio.h: Likewise.
16694 * include/stdlib.h: Likewise.
16695 * include/string.h: Likewise.
16696 * include/sys/socket.h: Likewise.
16697 * include/sys/stat.h: Likewise.
16698 * include/sys/statfs.h: Likewise.
16699 * include/sys/statvfs.h: Likewise.
16700 * include/sys/syslog.h: Likewise.
16701 * include/sys/time.h: Likewise.
16702 * include/sys/uio.h: Likewise.
16703 * include/time.h: Likewise.
16704 * include/unistd.h: Likewise.
16705 * include/utmp.h: Likewise.
16706 * include/wchar.h: Likewise.
16707 * include/wctype.h: Likewise.
16708 * inet/aliases.h: Likewise.
16709 * inet/arpa/inet.h: Likewise.
16710 * inet/netinet/ether.h: Likewise.
16711 * inet/netinet/in.h: Likewise.
16712 * intl/libintl.h: Likewise.
16713 * io/bits/fcntl2.h: Likewise.
16714 * io/fcntl.h: Likewise.
16715 * io/ftw.h: Likewise.
16716 * io/sys/poll.h: Likewise.
16717 * io/sys/stat.h: Likewise.
16718 * io/sys/statfs.h: Likewise.
16719 * io/sys/statvfs.h: Likewise.
16720 * io/utime.h: Likewise.
16721 * libio/bits/stdio.h: Likewise.
16722 * libio/bits/stdio2.h: Likewise.
16723 * libio/libio.h: Likewise.
16724 * libio/libioP.h: Likewise.
16725 * libio/stdio.h: Likewise.
16726 * locale/lc-ctype.c: Likewise.
16727 * locale/locale.h: Likewise.
16728 * login/utmp.h: Likewise.
16729 * malloc/arena.c: Likewise.
16730 * malloc/malloc.c: Likewise.
16731 * malloc/malloc.h: Likewise.
16732 * malloc/mcheck.c: Likewise.
16733 * malloc/mtrace.c: Likewise.
16734 * math/bits/mathcalls.h: Likewise.
16735 * math/fenv.h: Likewise.
16736 * math/math_private.h: Likewise.
16737 * misc/bits/error.h: Likewise.
16738 * misc/bits/syslog.h: Likewise.
16739 * misc/err.h: Likewise.
16740 * misc/error.h: Likewise.
16741 * misc/fstab.h: Likewise.
16742 * misc/mntent.h: Likewise.
16743 * misc/regexp.h: Likewise.
16744 * misc/search.h: Likewise.
16745 * misc/sgtty.h: Likewise.
16746 * misc/sys/mman.h: Likewise.
16747 * misc/sys/syslog.h: Likewise.
16748 * misc/sys/uio.h: Likewise.
16749 * misc/sys/xattr.h: Likewise.
16750 * misc/ttyent.h: Likewise.
16751 * nis/rpcsvc/ypclnt.h: Likewise.
16752 * nss/nss.h: Likewise.
16753 * posix/bits/unistd.h: Likewise.
16754 * posix/fnmatch.h: Likewise.
16755 * posix/glob.h: Likewise.
16756 * posix/sched.h: Likewise.
16757 * posix/spawn.h: Likewise.
16758 * posix/sys/wait.h: Likewise.
16759 * posix/unistd.h: Likewise.
16760 * posix/wordexp.h: Likewise.
16761 * pwd/pwd.h: Likewise.
16762 * resolv/netdb.h: Likewise.
16763 * resource/sys/resource.h: Likewise.
16764 * rt/aio.h: Likewise.
16765 * rt/bits/mqueue2.h: Likewise.
16766 * rt/mqueue.h: Likewise.
16767 * shadow/shadow.h: Likewise.
16768 * signal/signal.h: Likewise.
16769 * socket/send.c: Likewise.
16770 * socket/sendto.c: Likewise.
16771 * socket/sys/socket.h: Likewise.
16772 * stdio-common/printf.h: Likewise.
16773 * stdlib/bits/stdlib.h: Likewise.
16774 * stdlib/fmtmsg.h: Likewise.
16775 * stdlib/monetary.h: Likewise.
16776 * stdlib/stdlib.h: Likewise.
16777 * stdlib/ucontext.h: Likewise.
16778 * streams/stropts.h: Likewise.
16779 * string/argz.h: Likewise.
16780 * string/bits/string2.h: Likewise.
16781 * string/string.h: Likewise.
16782 * string/strings.h: Likewise.
16783 * sunrpc/rpc/auth.h: Likewise.
16784 * sunrpc/rpc/auth_des.h: Likewise.
16785 * sunrpc/rpc/clnt.h: Likewise.
16786 * sunrpc/rpc/netdb.h: Likewise.
16787 * sunrpc/rpc/pmap_clnt.h: Likewise.
16788 * sunrpc/rpc/xdr.h: Likewise.
16789 * sysdeps/generic/inttypes.h: Likewise.
16790 * sysdeps/generic/net/if.h: Likewise.
16791 * sysdeps/generic/sys/swap.h: Likewise.
16792 * sysdeps/gnu/net/if.h: Likewise.
16793 * sysdeps/gnu/utmpx.h: Likewise.
16794 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16795 * sysdeps/i386/i486/bits/string.h: Likewise.
16796 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16797 * sysdeps/s390/bits/string.h: Likewise.
16798 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16799 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16800 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16801 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16802 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16803 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16804 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16805 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16806 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16807 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16808 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16809 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16810 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16811 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16812 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16813 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16814 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16815 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16816 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16817 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16818 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16819 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16820 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16821 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16822 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16823 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16824 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16825 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16826 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16827 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16828 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16829 * sysvipc/sys/ipc.h: Likewise.
16830 * sysvipc/sys/msg.h: Likewise.
16831 * sysvipc/sys/sem.h: Likewise.
16832 * sysvipc/sys/shm.h: Likewise.
16833 * termios/termios.h: Likewise.
16834 * time/sys/time.h: Likewise.
16835 * time/time.h: Likewise.
16836 * wcsmbs/bits/wchar2.h: Likewise.
16837 * wcsmbs/uchar.h: Likewise.
16838 * wcsmbs/wchar.h: Likewise.
16839 * wctype/wctype.h: Likewise.
16840
0269750c
UD
16841 [BZ #13551]
16842 * Makeconfig: Remove all but ELF support including AIX support.
16843 * Makerules: Likewise.
16844 * config.h.in: Likewise.
16845 * config.make.in: Likewise.
16846 * configure: Likewise.
16847 * configure.in: Likewise.
16848 * csu/Makefile: Likewise.
16849 * csu/version.c: Likewise.
16850 * debug/Makefile: Likewise.
16851 * dlfcn/Makefile: Likewise.
16852 * elf/Makefile: Likewise.
16853 * extra-lib.mk: Likewise.
16854 * iconv/Makefile: Likewise.
16855 * include/libc-symbols.h: Likewise.
16856 * include/shlib-compat.h: Likewise.
16857 * resolv/Makefile: Likewise.
16858 * resolv/res_libc.c: Likewise.
16859 * rt/Makefile: Likewise.
16860 * sysdeps/i386/asm-syntax.h: Likewise.
16861 * sysdeps/i386/sysdep.h: Likewise.
16862 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16863 * sysdeps/mach/sysdep.h: Likewise.
16864 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16865 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16866 * sysdeps/s390/asm-syntax.h: Likewise.
16867 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16868 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16869 * sysdeps/sh/sysdep.h: Likewise.
16870 * sysdeps/unix/sparc/sysdep.h: Likewise.
16871 * sysdeps/wordsize-32/divdi3.c: Likewise.
16872 * sysdeps/x86_64/sysdep.h: Likewise.
16873
00bbd29b
UD
16874 * argp/Versions: Remove _argp_unlock_xxx.
16875
16876 [BZ #13559]
16877 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16878 * abilist/libBrokenLocale.abilist: Likewise.
16879 * abilist/libanl.abilist: Likewise.
16880 * abilist/libc.abilist: Likewise.
16881 * abilist/libcrypt.abilist: Likewise.
16882 * abilist/libdl.abilist: Likewise.
16883 * abilist/libm.abilist: Likewise.
16884 * abilist/libnsl.abilist: Likewise.
16885 * abilist/libpthread.abilist: Likewise.
16886 * abilist/libresolv.abilist: Likewise.
16887 * abilist/librt.abilist: Likewise.
16888 * abilist/libthread_db.abilist: Likewise.
16889 * abilist/libutil.abilist: Likewise.
16890 * abilist/libnss_db.abilist: New file.
16891
16892 * scripts/abilist.awk: Add support for indirect functions.
16893
a2693a0e
UD
16894 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16895
3f05895f
UD
16896 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16897
ecb6fb48
UD
16898 * shlib-versions: Remove entries for ports architectures.
16899
664f8cb9
UD
16900 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16901 files in ports.
16902 * elf/stackguard-macros.h: Remove support for IA-64.
16903 * elf/tst-auditmod1.c: Likewise.
16904 * sysdeps/generic/ldsodefs.h: Likewise.
16905
7ae81d88
UD
16906 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16907 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16908 configure files.
16909
bdeba135
UD
16910 [BZ #13552]
16911 * configure.in: Remove --enable-omitfp support.
16912 * FAQ.in: Adjust.
16913 * config.make.in: Likewise.
16914 * Makeconfig: Likewise.
16915 * manual/install.texi: Likewise.
16916
d75a0a62
UD
16917 In case anyone cares, the IA-64 architecture could move to ports.
16918 * sysdeps/ia64/*: Removed.
16919 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16920 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16921
dcc9756b
UD
16922 [BZ #13555]
16923 * configure.in: Remove entries for unsupported architectures.
16924
d3761ebc 16925 [BZ #13533]
9954432e
UD
16926 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16927 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16928 routines.
16929 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16930 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16931 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16932 fall back to using wcrtomb.
16933 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16934 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16935 renaming.
16936 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16937 * wcsmbs/tst-c16c32-1.c: New file.
16938
16939 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16940 local variable.
16941
c3a87236
UD
16942 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16943
28926a1b
UD
16944 * elf/tst-unique3.cc: Add explicit declaration of gets.
16945 * elf/tst-unique3lib.cc: Likewise.
16946 * elf/tst-unique3lib2.cc: Likewise.
16947 * elf/tst-unique4.cc: Likewise.
16948
df78418a
UD
16949 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16950
8ecd6b2a
JM
169512012-01-06 Joseph Myers <joseph@codesourcery.com>
16952
16953 [BZ #13566]
16954 * assert/assert.h (static_assert): Don't define for C++.
16955 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16956 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16957
9f115170
UD
169582012-01-03 Ulrich Drepper <drepper@gmail.com>
16959
5e0d0300
UD
16960 * iconv/loop.c (single loop): Fix assertion in storing of
16961 remaining bytes.
16962
9f115170
UD
16963 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16964
81fb02b0
UD
169652012-01-01 Ulrich Drepper <drepper@gmail.com>
16966
16967 * posix/getconf.c: Update copyright year.
16968 * nss/getent.c: Likewise.
a316c1f6 16969 * nss/makedb.c: Likewise.
81fb02b0
UD
16970 * iconv/iconvconfig.c: Likewise.
16971 * iconv/iconv_prog.c: Likewise.
16972 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16973 * elf/pldd.c: Likewise.
16974 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16975 * catgets/gencat.c: Likewise.
16976 * csu/version.c: Likewise.
16977 * elf/ldd.bash.in: Likewise.
16978 * elf/sprof.c (print_version): Likewise.
16979 * locale/programs/locale.c: Likewise.
16980 * locale/programs/localedef.c: Likewise.
a316c1f6 16981 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16982 * nscd/nscd.c (print_version): Likewise.
16983 * debug/xtrace.sh: Likewise.
16984 * malloc/memusage.sh: Likewise.
16985 * malloc/mtrace.pl: Likewise.
16986 * debug/catchsegv.sh: Likewise.
16987
2ba92745
JJ
169882011-12-30 Jakub Jelinek <jakub@redhat.com>
16989
16990 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16991 pure attribute.
16992
dadebdae
UD
169932011-12-24 Ulrich Drepper <drepper@gmail.com>
16994
d3761ebc 16995 [BZ #13533]
db6af3eb
UD
16996 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16997 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16998 transformations.
16999 * iconv/gconv_int.h: Likewise.
17000 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17001 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17002 from libc for GLIBC_2.16.
17003 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17004 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17005 * wcsmbs/uchar.h: Really define mbstate_t.
17006 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17007 * wcsmbs/c16rtomb.c: New file.
17008 * wcsmbs/mbrtoc16.c: New file.
17009 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17010 for C/POSIX locale.
17011 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17012 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17013
dadebdae
UD
17014 * wcsmbs/wchar.h: Add missing __restrict.
17015
67371b56
UD
170162011-12-23 Ulrich Drepper <drepper@gmail.com>
17017
74033a25
UD
17018 [BZ #13532]
17019 * time/Makefile (routines): Add timespec_get.
17020 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17021 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17022 timespec for ISO C11.
17023 * time/timespec_get.c: New file.
17024 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17025 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17026
380d7e87
UD
17027 [BZ #13531]
17028 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17029 * stdlib/stdlib.h: Declare aligned_alloc.
17030 * Versions.def: Add GLIBC_2.16 for libc.
17031 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17032
4e9e7a35
UD
17033 [BZ 13527]
17034 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17035 ISO C11.
17036
380d7e87 17037 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
17038 code.
17039
03a71829
UD
17040 [BZ #13528]
17041 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17042
839e283e
UD
17043 [BZ #13529]
17044 * assert/assert.h (static_assert): Define.
17045
ce5294e2 17046 * version.h: Update for 2.16 development version.
90fa7312 17047
8d44e150 17048 [BZ #13526]
d7809905
UD
17049 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17050 _ISOC11_SOURCE.
17051
c0da14cd
UD
17052 * version.h (RELEASE): Bump for 2.15 release.
17053 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17054
530a3249
MP
17055 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17056 Patch by Marek Polacek <mpolacek@redhat.com>.
17057
67371b56
UD
17058 * bits/byteswap.h: Protect long long constants with __extension__.
17059 * sysdeps/i386/bits/byteswap.h: Likewise.
17060 * sysdeps/ia64/bits/byteswap.h: Likewise.
17061 * sysdeps/s390/bits/byteswap.h: Likewise.
17062 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17063
15db4de1
LD
170642011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17065
17066 [BZ #13540]
bbe315ea
LD
17067 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17068 destination buffer.
15db4de1
LD
17069 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17070
2b2596b1
MP
170712011-12-23 Marek Polacek <polacek@redhat.com>
17072
17073 * elf/dl-addr.c (determine_info): Add inline keyword.
17074 * elf/tst-auditmod4b.c (check_avx): Likewise.
17075 * elf/tst-auditmod6b.c (check_avx): Likewise.
17076 * elf/tst-auditmod6c.c (check_avx): Likewise.
17077 * elf/tst-auditmod7b.c (check_avx): Likewise.
17078
70c6c246
UD
170792011-12-23 Ulrich Drepper <drepper@gmail.com>
17080
17081 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17082 !__SSE_MATH__.
17083
c044cf14
LD
170842011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17085
15db4de1 17086 [BZ #13540]
c044cf14
LD
17087 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17088 processing for last bytes.
17089
6b13d9d9
BH
170902011-08-06 Bruno Haible <bruno@clisp.org>
17091
d455f537
BH
17092 [BZ #13061]
17093 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17094 U+0385, not to U+1FEE.
17095
6b13d9d9
BH
17096 [BZ #13062]
17097 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17098 entry for U+00A5 U+0301.
17099
db910efd
UD
171002011-12-22 Ulrich Drepper <drepper@gmail.com>
17101
27deeafc
UD
17102 [BZ #13166]
17103 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17104 buffer for the output is too small.
17105
aed9d171
UD
17106 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17107 optimization.
17108
db910efd
UD
17109 [BZ #13185]
17110 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17111 SSE flags if possible.
17112
2bd779ae
LD
171132011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17114
e7f9dac3 17115 [BZ #13540]
2bd779ae
LD
17116 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17117 processing for last bytes.
17118
154bfc16
JM
171192011-12-22 Joseph Myers <joseph@codesourcery.com>
17120
17121 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17122 (syscall-list-default-options, syscall-list-default-condition)
17123 (syscall-list-includes): Define.
17124 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17125 list of ABIs and options and #if conditions for each ABI. Do not
17126 handle common syscalls between ABIs specially.
17127 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17128 Remove.
17129 (syscall-list-variants, syscall-list-32bit-options)
17130 (syscall-list-32bit-condition, syscall-list-64bit-options)
17131 (syscall-list-64bit-condition): Define.
17132 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17133 (syscall-list-variants, syscall-list-32bit-options)
17134 (syscall-list-32bit-condition, syscall-list-64bit-options)
17135 (syscall-list-64bit-condition): Define.
17136 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17137 Remove.
17138 (syscall-list-variants, syscall-list-32bit-options)
17139 (syscall-list-32bit-condition, syscall-list-64bit-options)
17140 (syscall-list-64bit-condition): Define.
17141 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17142 Remove.
17143 (syscall-list-variants, syscall-list-32bit-options)
17144 (syscall-list-32bit-condition, syscall-list-64bit-options)
17145 (syscall-list-64bit-condition): Define.
17146
21eaf3a5
UD
171472011-12-22 Ulrich Drepper <drepper@gmail.com>
17148
16c6f992
UD
17149 * locale/iso-639.def: Add brx entry.
17150
41043168
UD
17151 [BZ #13328]
17152 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17153 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17154
21eaf3a5
UD
17155 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17156 __feraiseexcept_renamed.
17157
e3a851a2
UD
171582011-12-21 Ulrich Drepper <drepper@gmail.com>
17159
4920765e
UD
17160 [BZ #13538]
17161 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17162 EPOLLET with unsigned values.
17163 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17164 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17165
e3a851a2
UD
17166 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17167 to large cancellation.
17168 * math/s_cacoshf.c: Likewise.
17169 * math/s_cacoshl.c: Likewise.
17170
b27e24b8
RK
171712011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17172
17173 [BZ #13305]
aebefeee 17174 [BZ #12786]
b27e24b8
RK
17175 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17176 * math/s_cacoshf.c: Likewise.
17177 * math/s_cacoshl.c: Likewise.
17178
ee190f67
UD
171792011-12-21 Ulrich Drepper <drepper@gmail.com>
17180
17181 [BZ #13439]
17182 * iconv/gconv.h: Define __GCONV_SWAP.
17183 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17184 * iconvdata/utf-16.c: Likewise.
17185 * iconvdata/utf-32.c: Likewise.
17186
707f25df
AS
171872011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17188
17189 [BZ #13524]
17190 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17191 numerator after shifting it by one limb.
17192
d2daaa1e
RÁE
171932011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17194
17195 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17196 under [__USE_EXTERN_INLINES].
17197
a4647e72
UD
171982011-12-17 Ulrich Drepper <drepper@gmail.com>
17199
17200 [BZ #13446]
17201 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17202
f0b264f1
AZ
172032011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17204
17205 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17206 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17207 optimized code.
17208 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17209 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17210 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17211 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17212 for strncasecmp/strncasecmp_l compilation.
17213 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17214 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17215
8ef4f244
MP
172162011-12-08 Marek Polacek <mpolacek@redhat.com>
17217
17218 [BZ #13484]
17219 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17220 of __asm__.
17221
97ac2654
UD
172222011-12-17 Ulrich Drepper <drepper@gmail.com>
17223
17224 [BZ #13506]
17225 * time/tzfile.c (__tzfile_read): Check values from file header.
17226
91d2a845
WS
172272011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17228
17229 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17230 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17231 * powerpc/powerpc32/dl-start.S: Likewise.
17232 * powerpc/powerpc32/elf/start.S: Likewise.
17233 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17234 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17235 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17236 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17237 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17238 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17239 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17240 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17241 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17242 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17243 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17244 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17245 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17246 * powerpc/powerpc32/memset.S: Likewise.
17247 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17248 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17249 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17250 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17251 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17252 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17253 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17254 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17255 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17256 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17257 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17258 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17259 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17260
a1267ba1
AZ
172612011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17262
17263 * math/libm-test.inc: Added more nearbyint tests.
17264 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17265 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17266 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17267 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17268
ad8ac1bd
RL
172692011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17270
17271 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17272 FD_CLOEXEC.
17273
1d3e4b61
UD
172742011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17275
17276 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17277 Add wcscpy-ssse3 wcscpy-c.
17278 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17279 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17280 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17281 * sysdeps/x86_64/wcschr.S: New file.
17282 * sysdeps/x86_64/wcsrchr.S: New file.
17283 * string/test-strcmp.c: Remove checking of wcscmp function for
17284 wrong alignments.
17285 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17286 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17287 wcsrchr-sse2 wcsrchr-c.
17288 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17289 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17290 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17291 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17292 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17293 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17294 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17295 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17296 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17297 * wcsmbc/wcschr.c (WCSCHR): New macro.
17298
5b330a2d
UD
172992011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17300
17301 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17302 * wcsmbs/test-wcsrchr.c: New file.
17303 * string/test-strrchr.c: Add wcsrchr support.
17304 (WIDE): New macro.
17305 * wcsmbs/test-wcscpy.c: New file.
17306 * string/test-strcpy.c: Add wcscpy support.
17307 (WIDE): New macro.
26428b7c 17308
f039c043
UD
173092011-12-10 Ulrich Drepper <drepper@gmail.com>
17310
17311 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17312 the inner loop.
17313
850fb039
AS
173142011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17315
17316 [BZ #13472]
17317 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17318
4efbd5cb
UD
173192011-12-04 Ulrich Drepper <drepper@gmail.com>
17320
52ff5dd0 17321 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 17322 Minor optimizations.
52ff5dd0 17323
4efbd5cb
UD
17324 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17325 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17326 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17327
8a426e12
UD
173282011-12-03 Ulrich Drepper <drepper@gmail.com>
17329
aff2453d
UD
17330 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17331 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17332 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17333 for gcc to avoid warnings.
17334 * inet/Makefile (tests): Add tst-checks.
17335 * inet/tst-checks.c: New file.
17336
17337 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17338 warning.
17339
17340 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17341 __wmemcmp_sse2.
17342
17343 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17344 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17345
8a426e12
UD
17346 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17347
9bea3473
UD
173482011-12-02 Ulrich Drepper <drepper@gmail.com>
17349
3a965496
UD
17350 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17351 problem.
17352
9bea3473
UD
17353 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17354
f101631b
UD
173552011-11-29 Joseph Myers <joseph@codesourcery.com>
17356
17357 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17358 conditional on GCC version.
17359 (__arch_compare_and_exchange_val_8_acq)
17360 (__arch_compare_and_exchange_val_16_acq)
17361 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17362 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17363 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17364
a98275aa
UD
173652011-12-02 Joseph Myers <joseph@codesourcery.com>
17366
17367 * sysdeps/sh/backtrace.c: New file.
17368
d4cc29a2
AS
173692011-12-02 Andreas Schwab <schwab@redhat.com>
17370
17371 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17372 parenthesis.
17373
6257af2d
AS
173742011-12-01 Andreas Schwab <schwab@redhat.com>
17375
17376 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17377 falling back to utime.
17378
b5f44c1a
AS
173792011-11-30 Andreas Schwab <schwab@redhat.com>
17380
17381 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17382 expectations for float.
17383
f3a6cc0a
AS
173842011-11-29 Andreas Schwab <schwab@redhat.com>
17385
17386 * locale/weight.h (findidx): Add parameter len.
17387 * locale/weightwc.h (findidx): Likewise.
17388 * posix/fnmatch_loop.c (FCT): Adjust caller.
17389 * posix/regcomp.c (build_equiv_class): Likewise.
17390 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17391 * posix/regexec.c (check_node_accept_bytes): Likewise.
17392 * string/strcoll_l.c (STRCOLL): Likewise.
17393 * string/strxfrm_l.c (STRXFRM): Likewise.
17394
9d65ea3a
UD
173952011-11-17 Ulrich Drepper <drepper@gmail.com>
17396
17397 * Makefile.in: Remove CVSOPT handling.
17398 * configure.in: Remove use of AC_REVISION.
17399 * iconvdata/Makefile (distribute): No need to filter out CVS.
17400 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17401 handling.
17402
5583a086
AS
174032011-11-16 Andreas Schwab <schwab@redhat.com>
17404
17405 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17406 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17407 [USE_AS_STRNCASECMP_L]: Likewise.
17408 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17409 NO_TLS_DIRECT_SEG_REFS.
17410 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17411 Fix argument offsets for non-PIC.
17412 [USE_AS_STRNCASECMP_L]: Likewise.
17413 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17414 NO_TLS_DIRECT_SEG_REFS.
17415
d62a8200
UD
174162011-11-15 Ulrich Drepper <drepper@gmail.com>
17417
9d65ea3a 17418 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
17419 O_CLOEXEC.
17420 * locale/loadlocale.c (_nl_load_locale): Likewise.
17421
09f93bd3
AS
174222011-11-15 Andreas Schwab <schwab@redhat.com>
17423
446514f9
AS
17424 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17425 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17426 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17427 (SYSCALL_GETTIME): Set errno on error.
17428
09f93bd3
AS
17429 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17430 count references to noai6ai_cached.
17431
312be3f9
UD
174322011-11-15 Ulrich Drepper <drepper@gmail.com>
17433
17434 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17435
17436 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17437 FD_CLOEXEC for /proc/self/maps.
17438
17439 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17440 FD_CLOEXEC for /proc/meminfo.
17441
17442 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17443 gai.conf.
17444
17445 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17446 FD_CLOEXEC for given file.
17447
17448 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17449
17450 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17451 FD_CLOEXEC for /etc/hosts.
17452 (_gethtent): Likewise.
17453
17454 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17455
17456 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17457 cancellation and set FD_CLOEXEC for /etc/netgroup.
17458
17459 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17460 reading /etc/publickey.
17461
17462 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17463 allow cancellation when reading /etc/group.
17464
17465 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17466 cancellation.
17467 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17468
17469 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17470 when using data file.
17471
17472 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17473
17474 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17475 (write_nis_obj): Use "c" and "e" in fopen.
17476
17477 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17478
17479 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17480
17481 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17482
17483 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17484
17485 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17486 locale.alias.
17487
17488 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17489
17490 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17491
17492 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17493
17494 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17495 file parsing and set FD_CLOEXEC.
17496
82af0fa8
UD
174972011-11-14 Ulrich Drepper <drepper@gmail.com>
17498
17499 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17500
a5fb313c
AS
175012011-11-14 Andreas Schwab <schwab@redhat.com>
17502
17503 * malloc/arena.c (arena_get2): Don't call reused_arena when
17504 _int_new_arena failed.
17505
6abf3465
UD
175062011-11-14 Ulrich Drepper <drepper@gmail.com>
17507
17508 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17509 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17510 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17511 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17512 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17513 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17514 to compile strcasecmp and strncasecmp.
17515 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17516 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17517
17518 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17519
76e3966e
UD
175202011-11-13 Ulrich Drepper <drepper@gmail.com>
17521
17522 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17523 locale-defines.sym to gen-as-const-headers.
17524 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17525 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17526 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17527 to compile strcasecmp and strncasecmp.
17528 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17529 strcasecmp_l and strncasecmp_l.
17530 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17531 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17532 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17533 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17534 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17535 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17536 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17537 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17538 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17539 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17540 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17541
ab26144e
UD
175422011-11-12 Ulrich Drepper <drepper@gmail.com>
17543
7edb22ef
UD
17544 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17545 result of SYSDEP_GETTIME_CPU to retval.
17546 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17547 parameter list to macro. Remove trailing semicolon. Adjust users.
17548
9694fc44
UD
17549 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17550 variable.
17551
8ad89ef8
UD
17552 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17553 mantissa words.
17554 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17555
0c822ef9
UD
17556 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17557 from unused variable.
17558
874e0564
UD
17559 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17560 DWARF definitions.
17561 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17562 for assembling.
17563
3a2edc79
UD
17564 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17565 over namespaces.
17566
f3c2577f
UD
17567 * sunrpc/rpc_prot.c (rejected): Fix case value.
17568
294ce126
UD
17569 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17570 unsigned long long int to avoid warnings in shift.
17571
5e2b63c6
UD
17572 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17573 of use of trans.
17574 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17575 variable tmp.
17576
e7f4b08e
UD
17577 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17578 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17579 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17580
ab26144e
UD
17581 * nis/nis_table.c (nis_list): Use variable of correct type for
17582 result of __follow_path call.
17583
8a6d5255
AZ
175842011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17585
17586 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17587 of math functions ceil, trunc, floor, round, and sqrt, when
17588 avaliable on the platform.
17589 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17590 name clash.
17591 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17592 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17593 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17594
aaddc98c
MP
175952011-10-30 Marek Polacek <mpolacek@redhat.com>
17596
17597 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17598 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17599
95b7042b
RM
176002011-11-11 Roland McGrath <roland@hack.frob.com>
17601
17602 * include/unistd.h: Fix __readlink return type.
17603 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17604
57769839
UD
176052011-11-11 Ulrich Drepper <drepper@gmail.com>
17606
17607 * stdlib/ucontext.h: Undo last change for makecontext.
17608
edc5984d
AS
176092011-11-11 Andreas Schwab <schwab@redhat.com>
17610
98591e58
AS
17611 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17612
edc5984d
AS
17613 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17614 * setjmp/setjmp.h: Mark functions as non-leaf.
17615 * setjmp/bits/setjmp2.h: Likewise.
17616 * stdlib/ucontext.h: Likewise.
17617
77cdc054
AS
176182011-11-10 Andreas Schwab <schwab@redhat.com>
17619
17620 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17621 (reused_arena): Don't check arena limit.
17622 (arena_get2): Atomically check arena limit.
17623
fe72eebd
UD
176242011-11-08 Ulrich Drepper <drepper@gmail.com>
17625
5f078c32
UD
17626 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17627 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17628
fe72eebd
UD
17629 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17630 instructions.
17631
ae1bc2fa
AS
176322011-11-07 Andreas Schwab <schwab@redhat.com>
17633
7583a88d
AS
17634 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17635 handler when locking.
17636
ae1bc2fa
AS
17637 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17638 Fix size of allocated buffer.
17639
10fb0bfa
AS
176402011-11-04 Andreas Schwab <schwab@redhat.com>
17641
998832a4
AS
17642 [BZ #10103]
17643 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17644 declarations for long double functions.
17645 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17646
10fb0bfa
AS
17647 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17648
3d7ba52b
AS
176492011-11-03 Andreas Schwab <schwab@redhat.com>
17650
a9ae54a1
AS
17651 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17652 installed.
17653
3d7ba52b
AS
17654 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17655 is disabled.
17656
bc8db248
ST
176572011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17658
17659 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17660
45b96dd6
AS
176612011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17662
647776f6
AS
17663 * include/alloca.h (stackinfo_alloca_round): Define.
17664 (extend_alloca): Use it.
17665 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17666 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17667 here.
17668
d91a8b93
AS
17669 * scripts/check-local-headers.sh: Ignore libaudit.h.
17670
45b96dd6
AS
17671 * nscd/Makefile (extra-objs): Make recursively expanded.
17672
432d41ce
UD
176732011-11-01 Ulrich Drepper <drepper@gmail.com>
17674
34372fc6
UD
17675 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17676 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17677
fadb59f8
UD
17678 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17679 * posix/tst-rfc3484-2.c: Likewise.
17680 * posix/tst-rfc3484-3.c: Likewise.
17681
78239589
UD
17682 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17683 process_vm_writev.
17684 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17685 process_vm_writev.
17686 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17687 process_vm_writev from libc using GLIBC_2.15 version.
17688
432d41ce
UD
17689 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17690
02f9c6cf
PP
176912011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17692
17693 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17694 stack usage.
17695
3a2c0242
UD
176962011-10-31 Ulrich Drepper <drepper@gmail.com>
17697
f4ec4833
UD
17698 [BZ #13367]
17699 * nss/getent.c (initgroups_keys): Show error message in case no group
17700 names are given.
17701
3a2c0242
UD
17702 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17703 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17704 __bump_nl_timestamp.
17705 * nscd/connections (nscd_init): When host database is served open
17706 netlink socket and request notification about configuration changes.
17707 (main_loop_poll): Track netlink file descriptor and bump timestamp
17708 in case data becomes available.
17709 (main_loop_epoll): Likewise.
17710 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17711 (database_pers_head): Add extra_data fileds.
17712 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17713 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17714 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17715 Adjust caller.
17716 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17717 in6ai data, call __free_in6ai.
17718 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17719 Add -DHAVE_NETLINK.
17720 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17721 interface information. Reuse previous data if netlink timestamp
17722 is not changed.
17723 (__bump_nl_timestamp): New function.
17724 (__free_in6ai): New function.
17725
636064eb
UD
177262011-10-30 Ulrich Drepper <drepper@gmail.com>
17727
17728 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17729 close_not_cancel_no_status here.
17730 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17731
9beb2334
UD
177322011-10-29 Ulrich Drepper <drepper@gmail.com>
17733
6ef76f3b
UD
17734 [BZ #13276]
17735 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17736 return value.
17737
0ffc4f3e 17738 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17739 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17740 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17741
cb95113e
UD
177422011-07-03 Andreas Jaeger <aj@suse.de>
17743
17744 [BZ #10709]
17745 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17746 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17747 * math/libm-test.inc (sin_test): Add test case.
17748
a1b560ff
UD
177492011-10-29 Ulrich Drepper <drepper@gmail.com>
17750
c9aaface
UD
17751 [BZ #13337]
17752 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17753 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17754
d272e7f1
UD
17755 * elf/chroot_canon.c (chroot_canon): Cleanups.
17756
1bc33071
UD
17757 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17758
1760874d
TJ
17759 [BZ #13335]
17760 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17761 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17762
51d91b18
UD
17763 * string/test-strchr.c: Make usable for strchrnul testing.
17764 * string/test-strchrnul.c: New file.
17765 * string/Makefile (strop-tests): Add strchrnul.
17766
a1b560ff 17767 * po/it.po: Update from translation team.
b611fb81 17768 * po/es.po: Likewise.
a1b560ff 17769
a5b81e1f
UD
177702011-10-28 Ulrich Drepper <drepper@gmail.com>
17771
fd52bc6d
UD
17772 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17773 the three constants needed as parameters. Drop the others.
17774 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17775 __m128i_strloadu_tolower.
52e4b9eb
UD
17776 Create and initialize variable zero and use it in all the places
17777 where _mm_setzero_si128 was used.
fd52bc6d 17778
a5b81e1f
UD
17779 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17780 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17781 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17782 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17783 anymore.
17784 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17785 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17786 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17787 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17788 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17789 __mpranred, __mptan.
17790 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17791 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17792 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17793 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17794 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17795 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17796 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17797 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17798 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17799
b4343346
AS
178002011-10-28 Andreas Schwab <schwab@redhat.com>
17801
0c92d8a8
AS
17802 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17803 redefine if SHARED.
17804 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17805
b4343346
AS
17806 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17807 wide char related routines to wcsmbs subdir.
17808
3871f58f
AS
178092011-10-27 Andreas Schwab <schwab@redhat.com>
17810
17811 [BZ #13344]
17812 * misc/sys/cdefs.h (__THROWNL): Define.
17813 * posix/unistd.h: Use __THREADNL instead of __THREAD
17814 for memory synchronization functions.
17815
94d44d9f
RM
178162011-10-26 Roland McGrath <roland@hack.frob.com>
17817
21b64b15 17818 [BZ #13349]
94d44d9f
RM
17819 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17820 doesn't exist.
17821 * manual/stdio.texi (Obstack Streams): Node removed.
17822
f6ce9294
AS
178232011-10-26 Andreas Schwab <schwab@redhat.com>
17824
80479147
AS
17825 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17826 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17827 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17828
f6ce9294
AS
17829 * math/math_private.h (math_force_eval): Allow non-addressable
17830 arguments.
17831 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17832
618280a1
UD
178332011-10-25 Ulrich Drepper <drepper@gmail.com>
17834
e0016b11
UD
17835 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17836 file is not needed.
17837
17838 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17839 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17840 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17841 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17842 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17843 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17844 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17845 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17846 Add AVX variants.
17847 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17848 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17849 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17850 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17851 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17852 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17853 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17854 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17855 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17856 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17857 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17858 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17859 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17860 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17861 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17862 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17863 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17864 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17865 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17866
17867 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17868 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17869
618280a1
UD
17870 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17871 place. Use VEX encoding when compiling for AVX.
17872
37822576
AS
178732011-10-25 Andreas Schwab <schwab@redhat.com>
17874
1f1e1947
AS
17875 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17876 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17877
37822576
AS
17878 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17879
31ea014d
UD
178802011-10-25 Ulrich Drepper <drepper@gmail.com>
17881
d7826aa1 17882 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17883 useless if() expression.
d7826aa1
UD
17884 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17885 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17886 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17887 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17888 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17889 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17890 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17891 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17892 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17893 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17894 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17895 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17896 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17897 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17898 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17899 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17900 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17901 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17902 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17903
31ea014d
UD
17904 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17905
16437fec
AS
179062011-10-25 Andreas Schwab <schwab@redhat.com>
17907
17908 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17909 condition.
17910 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17911
31d3cc00
UD
179122011-10-25 Ulrich Drepper <drepper@gmail.com>
17913
17914 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17915 .text section. Avoid duplicate constants.
17916 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17917 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17918 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17919 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17920 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17921 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17922 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17923 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17924 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17925 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17926 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17927 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17928 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17929 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17930 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17931 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17932 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17933 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17934 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17935 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17936 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17937 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17938 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17939 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17940 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17941 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17942 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17943 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17944 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17945 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17946 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17947 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17948 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17949 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17950 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17951 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17952 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17953 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17954 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17955 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17956 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17957 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17958 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17959 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17960 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17961
58985aa9
UD
179622011-10-24 Ulrich Drepper <drepper@gmail.com>
17963
202c9deb
UD
17964 * sysdeps/x86_64/dla.h: Move to ...
17965 * sysdeps/x86_64/fpu/dla.h: ...here.
17966 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17967 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17968
af968f62
UD
17969 * config.make.in: Add have-mfma4 entry.
17970 * configure.in: Substitute libc_cv_cc_fma4.
17971 * math/Makefile (dbl-only-routines): Add sincostab.
17972 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17973 Use __sincostab not sincos.
17974 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17975 name is a macro.
17976 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17977 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17978 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17979 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17980 using __copysign.
17981 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17982 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17983 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17984 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17985 and __inv.
17986 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17987 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17988 __copysign.
17989 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17990 define aliases when function name is a macro.
17991 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17992 sysdeps/ieee754/dbl-64/sincos.tbl.
17993 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17994 fma4-enabled routines.
17995 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17996 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17997 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17998 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17999 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18000 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18001 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18002 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18003 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18004 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18005 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18006 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18007 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18008 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18009 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18010 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18011 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18012 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18013 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18014 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18015 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18016 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18017 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18018 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18019 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18020 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18021 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18022 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18023 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18024 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18025
58985aa9
UD
18026 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18027 rename.
18028 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18029 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18031 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18032 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18033 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18034 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18035 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18036
a201fbcf
AS
180372011-10-24 Andreas Schwab <schwab@redhat.com>
18038
18039 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18040
fc2ee42a
LD
180412011-10-23 Ulrich Drepper <drepper@gmail.com>
18042
bb3129bd
UD
18043 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18044
0275fff8
UD
18045 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18046 prediction.
18047 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18048
2fa2ae85
UD
18049 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18050 Remove unused variable magic_bits.
18051 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18052
fc2ee42a
LD
18053 * string/strnlen.c: Define and use STRNLEN macro.
18054 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18055 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18056 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18057 * wcsmbs/wcslen.c: Define and use WCSLEN.
18058 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18059 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18060 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18061 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18062 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18063 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18064 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18065
ce7dd29f
LD
180662011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18067
18068 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18069 strnlen-sse2-no-bsf.
18070 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18071 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18072 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18073 Add strnlen support.
18074 (USE_AS_STRNLEN): New macro.
18075 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18076 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18077 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18078 * sysdeps/x86_64/wcslen.S: New file.
18079
979c70a3
MZ
180802011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18081
18082 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18083 XMM-moves are used for copying on small sizes.
18084
2d09f82f
LD
180852011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18086
18087 * wcsmbs/Makefile (strop-tests): Add wcschr.
18088 * wcsmbs/test-wcschr.c: New file.
18089 * string/test-strchr.c: Update.
18090 Add wcschr support.
18091 (WIDE): New macro.
18092
619fccca
LD
180932011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18094
2d09f82f 18095 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
18096 * wcsmbs/test-wcslen.c: New file.
18097 * string/test-strlen.c: Update.
18098 Add wcslen support.
18099 (WIDE): New macro.
18100
09f699ea
UD
181012011-10-23 Ulrich Drepper <drepper@gmail.com>
18102
18103 * po/it.po: Update from translation team.
18104
95584d3b
LD
181052011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18106
18107 * sysdeps/x86_64/wcscmp.S: Update.
18108 Fix wrong comparison semantics.
18109 wcscmp shall use signed comparison not unsigned.
18110 Don't use substraction to avoid overflow bug.
18111 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18112 * wcsmbc/wcscmp.c: Likewise.
18113 * string/test-strcmp.c: Likewise.
18114 Add new tests to check cases with negative values.
18115
c8b3296b
UD
181162011-10-23 Ulrich Drepper <drepper@gmail.com>
18117
18118 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18119 * sysdeps/x86_64/dla.h: ...here. New file.
18120 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18121 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18122 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18123 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18124 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18125 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18126 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18127 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18128 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18129
246ad57a
AS
181302011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18131
18132 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18133 __ynl_finite aliases.
18134
a1a87169
UD
181352011-10-22 Ulrich Drepper <drepper@gmail.com>
18136
0d355eb7
UD
18137 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18138
a1a87169
UD
18139 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18140 define DLA_FMA.
18141 [DLA_FMA] (EMULV): Use DLA_FMA.
18142 [DLA_FMA] (MUL12): Use EMULV.
18143 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18144 that are not needed.
18145 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18146 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18148 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18149 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18150 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18151 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18152
ee2aafe0
AS
181532011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18154
18155 * math/s_nan.c: Undef __nan.
18156 * math/s_nanf.c: Undef __nanf.
18157 * math/s_nanl.c: Undef __nanl.
18158 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18159 "math_private.h".
18160
bc62c2fb
UD
181612011-10-22 Ulrich Drepper <drepper@gmail.com>
18162
77425c63
UD
18163 * math/s_catan.c: Add branch predictions.
18164 * math/s_catanf.c: Likewise.
18165 * math/s_catanh.c: Likewise.
18166 * math/s_catanhf.c: Likewise.
18167 * math/s_catanhl.c: Likewise.
18168 * math/s_catanl.c: Likewise.
18169 * math/s_cexp.c: Likewise.
18170 * math/s_cexpf.c: Likewise.
18171 * math/s_cexpl.c: Likewise.
18172 * math/s_clog.c: Likewise.
18173 * math/s_clog10.c: Likewise.
18174 * math/s_clog10f.c: Likewise.
18175 * math/s_clog10l.c: Likewise.
18176 * math/s_clogf.c: Likewise.
18177 * math/s_clogl.c: Likewise.
18178 * math/s_csqrt.c: Likewise.
18179 * math/s_csqrtf.c: Likewise.
18180 * math/s_csqrtl.c: Likewise.
18181 * math/s_ctanf.c: Likewise.
18182 * math/s_ctanh.c: Likewise.
18183 * math/s_ctanhf.c: Likewise.
18184 * math/s_ctanhl.c: Likewise.
18185 * math/s_ctanl.c: Likewise.
18186
bc62c2fb
UD
18187 * math/math_private.h: Define __nan, __nanf, __nanl.
18188 * math/s_cacosh.c: Include <math_private.h>.
18189 * math/s_cacoshl.c: Likewise.
18190 * math/s_casinh.c: Likewise.
18191 * math/s_casinhf.c: Likewise.
18192 * math/s_casinhl.c: Likewise.
18193 * math/s_ccos.c: Rely entire on ccosh.
18194 * math/s_ccosf.c: Rely entire on ccoshf.
18195 * math/s_ccosl.c: Rely entirely on ccoshl.
18196 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18197 Remove tests for FE_INVALID.
18198 * math/s_ccoshf.c: Likewise.
18199 * math/s_ccoshl.c: Likewise.
18200 * math/s_csin.c: Likewise.
18201 * math/s_csinf.c: Likewise.
18202 * math/s_csinh.c Likewise.
18203 * math/s_csinhf.c: Likewise.
18204 * math/s_csinhl.c: Likewise.
18205 * math/s_csinl.c: Likewise.
18206 * math/s_ctan.c: Likewise.
18207 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18208 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18209 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18210
8ec250a4
UD
182112011-10-21 Ulrich Drepper <drepper@gmail.com>
18212
c196fed8
UD
18213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18214 compilation problems.
18215
8ec250a4
UD
18216 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18217 __builtin_expect.
18218
8d4f46c6
UD
182192011-10-20 Ulrich Drepper <drepper@gmail.com>
18220
ed72b654
UD
18221 * sysdeps/i386/configure.in: Test for -mfma4 option.
18222 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18223 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18224 COMMON_CPUID_INDEX_80000001.
18225 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18226 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18227 use it if FMA3 is not supported.
18228 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18229
8d4f46c6
UD
18230 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18231 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18232
d45c60c2
AS
182332011-10-20 Andreas Schwab <schwab@redhat.com>
18234
18235 [BZ #12892]
18236 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18237 it would create a cycle with a link time dependency.
18238
d9a4d2ab
UD
182392011-10-19 Ulrich Drepper <drepper@gmail.com>
18240
855d1560
UD
18241 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18242 instruction.
18243 * string/Makefile (strop-tests): Add rawmemchr.
18244 * string/test-rawmemchr.c: New file.
18245
d9a4d2ab
UD
18246 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18247 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18248 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18249 when compiling str{,n}casecmp and when AVX is available. Hook up
18250 new optimized code in initializers.
18251
8f3b1ffe
AS
182522011-10-19 Andreas Schwab <schwab@redhat.com>
18253
18254 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18255 __feraiseexcept instead of feraiseexcept.
18256
d38f1dba
UD
182572011-10-18 Ulrich Drepper <drepper@gmail.com>
18258
d9a8d0ab
UD
18259 * math/math_private.h: Define defaults for libc_fetestexcept and
18260 libc_feupdateenv.
18261 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18262 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18263 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18264 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18265 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18266 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18267 libc_fetestexcept and libc_feupdateenv.
18268
4855e3dd
UD
18269 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18270 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18271 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18272 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18273 libc_feholdexcept_setround.
18274
581d30e3
UD
18275 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18276 Add s_nearbyint-c and s_nearbyintf-c.
18277 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18278 nearbyintf inlines.
18279 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18280 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18281 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18282 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18283
d38f1dba
UD
18284 * math/math_private.h: Define defaults for libc_fegetround,
18285 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18286 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18287 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18288 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18289 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18290 standard functions.
18291 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18292 Remove comments and hacks for old compiler versions.
18293 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18294 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18295 libc_feholdexceptl.
18296
caa6c9d8
AS
182972011-10-18 Andreas Schwab <schwab@redhat.com>
18298
18299 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
18300 (__feraiseexcept_renamed): Add __NTH.
18301 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
18302 namespace violations.
18303
97c066e6
UD
183042011-10-17 Ulrich Drepper <drepper@gmail.com>
18305
99ce7b04
UD
18306 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18307
1004d182
UD
18308 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18309
228a984d
UD
18310 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18311 recently added interfaces.
18312 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18313
c8553a6a
UD
18314 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18315 about macro parameter expansion.
18316
ed22dcf6
UD
18317 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18318 __NO_MATH_INLINES is defined. Cleanups.
18319
18320 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18321 and __floorf is target has SSE4.1.
18322 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18323 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18324 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18325 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18326
b171c137
UD
18327 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18328 name.
18329 (floorf): Likewise.
18330
97c066e6
UD
18331 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18332
629f62ef
AS
183332011-10-17 Andreas Schwab <schwab@redhat.com>
18334
49a43d80
AS
18335 * misc/sys/cdefs.h: Fix last change.
18336
629f62ef
AS
18337 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18338 database lookup.
18339
e453f6cd
UD
183402011-10-16 Ulrich Drepper <drepper@gmail.com>
18341
aa78043a
UD
18342 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18343
ad0f5cad
UD
18344 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18345 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18346 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18347 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18348 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18349 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18350 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18351 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18352 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18353 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18354 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18355 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18356 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18357 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18358 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18359 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18360 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18361 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18362 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18363 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18364 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18365 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18366
18367 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18368 ceil, ceilf, floor, floorf.
18369
18370 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18371 Perform IRELATIVE relocations last.
18372
e453f6cd
UD
18373 * elf/do-rel.h: Add another parameter nrelative, replacing the
18374 local variable with the same name. Change name of the function
18375 to end in Rel or Rela (uppercase).
18376 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18377 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18378 elf_dynamic_do_##reloc function.
18379
fd5bdc09
UD
183802011-10-15 Ulrich Drepper <drepper@gmail.com>
18381
79b195b5
UD
18382 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18383 is sufficient, at least on modern CPUs.
18384
d4a28569
UD
18385 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18386
b61099b5
UD
18387 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18388 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18389
bcf01e6d
UD
18390 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18391 __expl_finite.
18392 * math/bits/math-finite.h: Add entries for exp.
18393 * math/e_expl.c: Add __*_finite alias.
18394 * sysdeps/i386/fpu/e_exp.S: Likewise.
18395 * sysdeps/i386/fpu/e_expf.S: Likewise.
18396 * sysdeps/i386/fpu/e_expl.c: Likewise.
18397 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18398 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18399 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18400 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18401 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18402 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18403 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18404
ba1a0d59
UD
18405 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18406 is sufficient, at least on modern CPUs.
18407
fd5bdc09
UD
18408 * ctype/ctype-info.c (__ctype_init): Define.
18409 * include/ctype.h (__ctype_init): Declare.
18410 (__ctype_b_loc): The variable is always initialized.
18411 (__ctype_toupper_loc): Likewise.
18412 (__ctype_tolower_loc): Likewise.
18413 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18414 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18415
7872cfb0
AS
184162011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18417
b468825a
AS
18418 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18419
7872cfb0
AS
18420 * configure.in: Also look in $cxxmachine/include for C++ system
18421 headers.
18422
be13f7bf
LD
184232011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18424
18425 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18426 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18427 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18428 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18429 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18430 (USE_AS_WMEMCMP): New macro.
18431 Fixing indents.
18432 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18433 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18434 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18435 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18436 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18437 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18438 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18439 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18440 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18441 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18442 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18443 (USE_AS_WMEMCMP): New macro.
18444 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18445 * sysdeps/string/test-memcmp.c: Update.
18446 Fix simple_wmemcmp.
18447 Add new tests.
18448 * wcsmbs/wmemcmp.c: Update.
18449 (WMEMCMP): New macro.
18450 Fix overflow bug.
18451
556a2007
AJ
184522011-10-12 Andreas Jaeger <aj@suse.de>
18453
18454 [BZ #13268]
18455 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18456
538faaa7
UD
184572011-10-15 Ulrich Drepper <drepper@gmail.com>
18458
ab6737ff
UD
18459 * libio/iofwide.c (do_length): Avoid warning.
18460
538faaa7
UD
18461 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18462
396a21b1
UD
184632011-10-14 Ulrich Drepper <drepper@gmail.com>
18464
cdf2901f
UD
18465 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18466
38ad40ce
UD
18467 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18468 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18469 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18470 * sysdeps/i386/i686/fpu/e_log.S: New file.
18471 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18472 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18473
396a21b1
UD
18474 * ctype/ctype.h: Add support for inlined isXXX functions when
18475 compiling C++ code.
18476
6b1f68c9
AS
184772011-10-14 Andreas Schwab <schwab@redhat.com>
18478
349290c0
AS
18479 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18480
6b1f68c9
AS
18481 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18482
f2282d42
RM
184832011-10-13 Roland McGrath <roland@hack.frob.com>
18484
18485 [BZ #13291]
18486 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18487
5298ffa8
AS
184882011-10-13 Andreas Schwab <schwab@redhat.com>
18489
714fad23
AS
18490 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18491 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18492 feraiseexcept.
18493
81dcc7fb
AS
18494 * sysdeps/x86_64/memrchr.S: Check for zero size.
18495
5298ffa8
AS
18496 * string/stratcliff.c: Add memrchr tests.
18497
951fbcec
LD
184982011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18499
18500 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18501 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18502 rawmemchr-sse2 rawmemchr-sse2-bsf.
18503 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18504 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18505 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18506 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18507 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18508 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18509 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18510 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18511 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18512 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18513 * string/memrchr.c (MEMRCHR): New macro.
18514
0ac5ae23
UD
185152011-10-12 Ulrich Drepper <drepper@gmail.com>
18516
18517 Add integration with gcc's -ffinite-math-only and optimize wrapper
18518 functions in libm.
18519 * Versions.def: Define GLIBC_2.15 version for libm.
18520 * math/Makefile (headers): Add bits/math-finite.h.
18521 * math/bits/math-finite.h: New file.
18522 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18523 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18524 * math/e_acoshl.c: Add __*_finite alias.
18525 * math/e_acosl.c: Likewise.
18526 * math/e_asinl.c: Likewise.
18527 * math/e_atan2l.c: Likewise.
18528 * math/e_atanhl.c: Likewise.
18529 * math/e_coshl.c: Likewise.
18530 * math/e_exp10.c: Likewise.
18531 * math/e_exp10f.c: Likewise.
18532 * math/e_exp10l.c: Likewise.
18533 * math/e_exp2l.c: Likewise.
18534 * math/e_fmodl.c: Likewise.
18535 * math/e_gammal_r.c: Likewise.
18536 * math/e_hypotl.c: Likewise.
18537 * math/e_j0l.c: Likewise.
18538 * math/e_j1l.c: Likewise.
18539 * math/e_jnl.c: Likewise.
18540 * math/e_lgammal_r.c: Likewise.
18541 * math/e_log10l.c: Likewise.
18542 * math/e_log2l.c: Likewise.
18543 * math/e_logl.c: Likewise.
18544 * math/e_powl.c: Likewise.
18545 * math/e_sinhl.c: Likewise.
18546 * math/e_sqrtl.c: Likewise.
18547 * math/e_scalb.c: Completely rewritten and optimized.
18548 * math/e_scalbf.c: Likewise.
18549 * math/e_scalbl.c: Likewise.
18550 * math/w_acos.c: Likewise.
18551 * math/w_acosf.c: Likewise.
18552 * math/w_acosl.c: Likewise.
18553 * math/w_acosh.c: Likewise.
18554 * math/w_acoshf.c: Likewise.
18555 * math/w_acoshl.c: Likewise.
18556 * math/w_asin.c: Likewise.
18557 * math/w_asinf.c: Likewise.
18558 * math/w_asinl.c: Likewise.
18559 * math/w_atan2.c: Likewise.
18560 * math/w_atan2f.c: Likewise.
18561 * math/w_atan2l.c: Likewise.
18562 * math/w_atanh.c: Likewise.
18563 * math/w_atanhf.c: Likewise.
18564 * math/w_atanhl.c: Likewise.
18565 * math/w_exp10.c: Likewise.
18566 * math/w_exp10f.c: Likewise.
18567 * math/w_exp10l.c: Likewise.
18568 * math/w_fmod.c: Likewise.
18569 * math/w_fmodf.c: Likewise.
18570 * math/w_fmodl.c: Likewise.
18571 * math/w_j0.c: Likewise.
18572 * math/w_j0f.c: Likewise.
18573 * math/w_j0l.c: Likewise.
18574 * math/w_j1.c: Likewise.
18575 * math/w_j1f.c: Likewise.
18576 * math/w_j1l.c: Likewise.
18577 * math/w_jn.c: Likewise.
18578 * math/w_jnf.c: Likewise.
18579 * math/w_log.c: Likewise.
18580 * math/w_logf.c: Likewise.
18581 * math/w_logl.c: Likewise.
18582 * math/w_log10.c: Likewise.
18583 * math/w_log10f.c: Likewise.
18584 * math/w_log10l.c: Likewise.
18585 * math/w_log2.c: Likewise.
18586 * math/w_log2f.c: Likewise.
18587 * math/w_log2l.c: Likewise.
18588 * math/w_pow.c: Likewise.
18589 * math/w_powf.c: Likewise.
18590 * math/w_powl.c: Likewise.
18591 * math/w_remainder.c: Likewise.
18592 * math/w_remainderf.c: Likewise.
18593 * math/w_remainderl.c: Likewise.
18594 * math/w_scalb.c: Likewise.
18595 * math/w_scalbf.c: Likewise.
18596 * math/w_scalbl.c: Likewise.
18597 * math/w_sqrt.c: Likewise.
18598 * math/w_sqrtf.c: Likewise.
18599 * math/w_sqrtl.c: Likewise.
18600 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18601 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18602 used.
18603 * math/math_private.h: Declare __kernel_standard_f.
18604 * math/w_cosh.c: Remove cruft and optimize a bit.
18605 * math/w_coshf.c: Likewise.
18606 * math/w_coshl.c: Likewise.
18607 * math/w_exp2.c: Likewise.
18608 * math/w_exp2f.c: Likewise.
18609 * math/w_exp2l.c: Likewise.
18610 * math/w_hypot.c: Likewise.
18611 * math/w_hypotf.c: Likewise.
18612 * math/w_hypotl.c: Likewise.
18613 * math/w_lgamma.c: Likewise.
18614 * math/w_lgamma_r.c: Likewise.
18615 * math/w_lgammaf.c: Likewise.
18616 * math/w_lgammaf_r.c: Likewise.
18617 * math/w_lgammal.c: Likewise.
18618 * math/w_lgammal_r.c: Likewise.
18619 * math/w_sinh.c: Likewise.
18620 * math/w_sinhf.c: Likewise.
18621 * math/w_sinhl.c: Likewise.
18622 * math/w_tgamma.c: Likewise.
18623 * math/w_tgammaf.c: Likewise.
18624 * math/w_tgammal.c: Likewise.
18625 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18626 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18627 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18628 Minor optimizations. Pretty printing. Remove cruft.
18629 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18630 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18631 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18632 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18633 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18634 * sysdeps/i386/fpu/e_asin.S: Likewise.
18635 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18636 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18637 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18638 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18639 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18640 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18641 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18642 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18643 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18644 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18645 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18646 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18647 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18648 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18649 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18650 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18651 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18652 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18653 * sysdeps/i386/fpu/e_log.S: Likewise.
18654 * sysdeps/i386/fpu/e_log10.S: Likewise.
18655 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18656 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18657 * sysdeps/i386/fpu/e_log2.S: Likewise.
18658 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18659 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18660 * sysdeps/i386/fpu/e_logf.S: Likewise.
18661 * sysdeps/i386/fpu/e_logl.S: Likewise.
18662 * sysdeps/i386/fpu/e_pow.S: Likewise.
18663 * sysdeps/i386/fpu/e_powf.S: Likewise.
18664 * sysdeps/i386/fpu/e_powl.S: Likewise.
18665 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18666 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18667 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18668 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18669 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18670 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18671 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18672 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18673 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18674 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18675 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18676 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18677 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18678 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18679 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18680 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18681 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18682 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18683 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18684 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18685 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18686 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18687 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18688 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18689 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18690 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18691 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18692 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18693 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18694 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18695 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18696 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18697 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18698 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18699 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18700 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18701 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18702 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18703 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18704 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18705 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18706 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18707 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18708 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18709 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18710 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18711 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18712 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18713 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18714 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18715 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18716 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18717 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18718 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18719 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18720 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18721 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18722 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18723 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18724 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18725 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18726 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18727 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18728 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18729 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18730 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18731 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18732 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18733 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18734 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18735 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18736 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18737 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18738 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18739 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18740 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18741 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18742 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18743 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18744 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18745 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18746 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18747 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18748 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18749 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18750 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18751 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18752 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18753 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18754 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18755 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18756 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18757 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18758 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18759 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18760 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18761 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18762 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18763 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18764 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18765 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18766 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18767 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18768 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18769 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18770 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18771 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18772 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18773 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18774 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18775 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18776 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18777 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18778 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18779 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18780 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18781 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18782 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18783 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18784 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18785 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18786 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18787 (__isnanf): Likewise.
18788 (__isinf_ns): Likewise.
18789 (__isinf_nsf): Likewise.
18790 (__finite): Likewise.
18791 (__finitef): Likewise.
18792 (__ieee754_sqrt): Define as macro.
18793 (__ieee754_sqrtf): Define as macro.
18794 (__ieee754_sqrtl): Define as macro.
18795 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18796 inlined copy.
18797 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18798 __FINITE_MATH_ONLY__ consistent.
18799 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18800
12cc2fcd
AS
188012011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18802
a843a204
AS
18803 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18804 of rawmemchr.
18805
12cc2fcd
AS
18806 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18807
c853acd5
UD
188082011-10-09 Ulrich Drepper <drepper@gmail.com>
18809
18810 * po/ja.po: Update from translation team.
18811
c658d255
RM
188122011-10-08 Roland McGrath <roland@hack.frob.com>
18813
110946e4
RM
18814 * locale/programs/locarchive.c (prepare_address_space): New function.
18815 (create_archive, enlarge_archive, open_archive): Use it.
18816
50604220
RM
18817 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18818 inside [SHARED], where it is used.
18819
c658d255
RM
18820 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18821
18822 * nss/getent.c (netgroup_keys): Remove unused variable.
18823 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18824
6a621eb7
UD
188252011-10-08 Ulrich Drepper <drepper@gmail.com>
18826
7edb55ce
UD
18827 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18828 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18829 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18830 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18831 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18832 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18833 * math/Makefile (libm-calls): Add s_isinf_ns.
18834 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18835 * math/multc3.c: Likewise.
18836 * math/s_casin.c: Likewise.
18837 * math/s_casinf.c: Likewise.
18838 * math/s_casinl.c: Likewise.
18839 * math/s_ccos.c: Likewise.
18840 * math/s_ccosf.c: Likewise.
18841 * math/s_ccosl.c: Likewise.
18842 * math/s_ctan.c: Likewise.
18843 * math/s_ctanf.c: Likewise.
18844 * math/s_ctanh.c: Likewise.
18845 * math/s_ctanhf.c: Likewise.
18846 * math/s_ctanhl.c: Likewise.
18847 * math/s_ctanl.c: Likewise.
18848 * math/w_fmod.c: Likewise.
18849 * math/w_fmodf.c: Likewise.
18850 * math/w_fmodl.c: Likewise.
18851 * math/w_remainder.c: Likewise.
18852 * math/w_remainderf.c: Likewise.
18853 * math/w_remainderl.c: Likewise.
18854 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18855 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18856 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18857 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18858 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18859 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18860 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18861 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18862
187da0ae
UD
18863 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18864 of the number.
18865 * stdio-common/printf_fphex.c: Likewise.
18866 * stdio-common/printf_size.c: Likewise.
18867
9277c064
UD
18868 * math/e_exp10.c: Include math_private.h using <...> not "...".
18869 * math/e_exp10f.c: Likewise.
18870 * math/e_exp10l.c: Likewise.
18871 * math/e_exp2l.c: Likewise.
18872 * math/e_j0l.c: Likewise.
18873 * math/e_j1l.c: Likewise.
18874 * math/e_jnl.c: Likewise.
18875 * math/e_lgammal_r.c: Likewise.
18876 * math/e_rem_pio2l.c: Likewise.
18877 * math/e_scalb.c: Likewise.
18878 * math/e_scalbf.c: Likewise.
18879 * math/e_scalbl.c: Likewise.
18880 * math/k_cosl.c: Likewise.
18881 * math/k_sinl.c: Likewise.
18882 * math/k_tanl.c: Likewise.
18883 * math/s_cacoshf.c: Likewise.
18884 * math/s_catan.c: Likewise.
18885 * math/s_catanf.c: Likewise.
18886 * math/s_catanh.c: Likewise.
18887 * math/s_catanhf.c: Likewise.
18888 * math/s_catanhl.c: Likewise.
18889 * math/s_catanl.c: Likewise.
18890 * math/s_ccosh.c: Likewise.
18891 * math/s_ccoshf.c: Likewise.
18892 * math/s_ccoshl.c: Likewise.
18893 * math/s_cexp.c: Likewise.
18894 * math/s_cexpf.c: Likewise.
18895 * math/s_cexpl.c: Likewise.
18896 * math/s_clog.c: Likewise.
18897 * math/s_clog10.c: Likewise.
18898 * math/s_clog10f.c: Likewise.
18899 * math/s_clog10l.c: Likewise.
18900 * math/s_clogf.c: Likewise.
18901 * math/s_clogl.c: Likewise.
18902 * math/s_csin.c: Likewise.
18903 * math/s_csinf.c: Likewise.
18904 * math/s_csinh.c: Likewise.
18905 * math/s_csinhf.c: Likewise.
18906 * math/s_csinhl.c: Likewise.
18907 * math/s_csinl.c: Likewise.
18908 * math/s_csqrt.c: Likewise.
18909 * math/s_csqrtf.c: Likewise.
18910 * math/s_csqrtl.c: Likewise.
18911 * math/s_ctan.c: Likewise.
18912 * math/s_ctanf.c: Likewise.
18913 * math/s_ctanh.c: Likewise.
18914 * math/s_ctanhf.c: Likewise.
18915 * math/s_ctanhl.c: Likewise.
18916 * math/s_ctanl.c: Likewise.
18917 * math/s_ldexp.c: Likewise.
18918 * math/s_ldexpf.c: Likewise.
18919 * math/s_ldexpl.c: Likewise.
18920 * math/s_significand.c: Likewise.
18921 * math/s_significandf.c: Likewise.
18922 * math/s_significandl.c: Likewise.
18923 * math/w_acos.c: Likewise.
18924 * math/w_acosf.c: Likewise.
18925 * math/w_acosh.c: Likewise.
18926 * math/w_acoshf.c: Likewise.
18927 * math/w_acoshl.c: Likewise.
18928 * math/w_acosl.c: Likewise.
18929 * math/w_asin.c: Likewise.
18930 * math/w_asinf.c: Likewise.
18931 * math/w_asinl.c: Likewise.
18932 * math/w_atan2.c: Likewise.
18933 * math/w_atan2f.c: Likewise.
18934 * math/w_atan2l.c: Likewise.
18935 * math/w_atanh.c: Likewise.
18936 * math/w_atanhf.c: Likewise.
18937 * math/w_atanhl.c: Likewise.
18938 * math/w_cosh.c: Likewise.
18939 * math/w_coshf.c: Likewise.
18940 * math/w_coshl.c: Likewise.
18941 * math/w_dremf.c: Likewise.
18942 * math/w_exp10.c: Likewise.
18943 * math/w_exp10f.c: Likewise.
18944 * math/w_exp10l.c: Likewise.
18945 * math/w_exp2.c: Likewise.
18946 * math/w_exp2f.c: Likewise.
18947 * math/w_fmod.c: Likewise.
18948 * math/w_fmodf.c: Likewise.
18949 * math/w_fmodl.c: Likewise.
18950 * math/w_hypot.c: Likewise.
18951 * math/w_hypotf.c: Likewise.
18952 * math/w_hypotl.c: Likewise.
18953 * math/w_j0.c: Likewise.
18954 * math/w_j0f.c: Likewise.
18955 * math/w_j0l.c: Likewise.
18956 * math/w_j1.c: Likewise.
18957 * math/w_j1f.c: Likewise.
18958 * math/w_j1l.c: Likewise.
18959 * math/w_jn.c: Likewise.
18960 * math/w_jnf.c: Likewise.
18961 * math/w_jnl.c: Likewise.
18962 * math/w_lgamma.c: Likewise.
18963 * math/w_lgamma_r.c: Likewise.
18964 * math/w_lgammaf.c: Likewise.
18965 * math/w_lgammaf_r.c: Likewise.
18966 * math/w_lgammal.c: Likewise.
18967 * math/w_lgammal_r.c: Likewise.
18968 * math/w_log.c: Likewise.
18969 * math/w_log10.c: Likewise.
18970 * math/w_log10f.c: Likewise.
18971 * math/w_log10l.c: Likewise.
18972 * math/w_log2.c: Likewise.
18973 * math/w_log2f.c: Likewise.
18974 * math/w_log2l.c: Likewise.
18975 * math/w_logf.c: Likewise.
18976 * math/w_logl.c: Likewise.
18977 * math/w_pow.c: Likewise.
18978 * math/w_powf.c: Likewise.
18979 * math/w_powl.c: Likewise.
18980 * math/w_remainder.c: Likewise.
18981 * math/w_remainderf.c: Likewise.
18982 * math/w_remainderl.c: Likewise.
18983 * math/w_scalb.c: Likewise.
18984 * math/w_scalbf.c: Likewise.
18985 * math/w_scalbl.c: Likewise.
18986 * math/w_sinh.c: Likewise.
18987 * math/w_sinhf.c: Likewise.
18988 * math/w_sinhl.c: Likewise.
18989 * math/w_sqrt.c: Likewise.
18990 * math/w_sqrtf.c: Likewise.
18991 * math/w_sqrtl.c: Likewise.
18992 * math/w_tgamma.c: Likewise.
18993 * math/w_tgammaf.c: Likewise.
18994 * math/w_tgammal.c: Likewise.
18995
6a621eb7
UD
18996 * po/ja.po: Update from translation team.
18997
bf582445
AJ
189982011-09-29 Andreas Jaeger <aj@suse.de>
18999
f9efbf3a
AJ
19000 [BZ #13179]
19001 * sunrpc/netname.c (netname2host): Fix logic.
19002
bf582445
AJ
19003 [BZ #6779]
19004 [BZ #6783]
19005 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19006 correctly.
19007 * math/w_remainder.c (__remainder): Likewise.
19008 * math/w_remainderf.c (__remainderf): Likewise.
19009 * math/libm-test.inc (remainder_test): Add test cases.
19010
48693bea
AK
190112011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19012
19013 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19014 sdiv_qrnnd.
19015
42622229
LD
190162011-10-07 Ulrich Drepper <drepper@gmail.com>
19017
19018 * string/test-memcmp.c: Avoid unncessary #defines.
19019 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19020
093ecf92
LD
190212011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19022
19023 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19024 Use new sse2 version for core i3 - i7 as it's faster
19025 than sse42 version.
19026 (bit_Prefer_PMINUB_for_stringop): New.
19027 * sysdeps/x86_64/rawmemchr.S: Update.
19028 Replace with faster SSE2 version.
19029 * sysdeps/x86_64/memrchr.S: New file.
19030 * sysdeps/x86_64/memchr.S: Update.
19031 Replace with faster SSE2 version.
19032
fde56e5c
MP
190332011-09-12 Marek Polacek <mpolacek@redhat.com>
19034
19035 * elf/dl-load.c (lose): Add cast to avoid warning.
19036
21fd49a9
UD
190372011-10-07 Ulrich Drepper <drepper@gmail.com>
19038
5a06e643
UD
19039 * po/ca.po: Update from translation team.
19040
684ae515
UD
19041 * inet/getnetgrent_r.c: Hook up nscd.
19042 * nscd/Makefile (routines): Add nscd_netgroup.
19043 (nscd-modules): Add netgroupcache.
19044 (CFLAGS-netgroupcache.c): Define.
19045 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19046 (cache_search): Add const to second parameter.
19047 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19048 INNETGR.
19049 (dbs): Add netgrdb entry.
19050 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19051 (verify_persistent_db): Handle netgrdb.
19052 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19053 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19054 GETFDNETGR.
19055 (netgroup_response_header): Define.
19056 (innetgroup_response_header): Define.
19057 (datahead): Add netgroup_response_header and innetgroup_response_header
19058 elements.
19059 * nscd/nscd.conf: Add entries for netgroup cache.
19060 * nscd/nscd.h (dbtype): Add netgrdb.
19061 (_PATH_NSCD_NETGROUP_DB): Define.
19062 (netgroup_iov_disabled): Declare.
19063 (xmalloc, xcalloc, xrealloc): Move declarations here.
19064 (cache_search): Adjust prototype.
19065 Add netgroup-related prototypes.
19066 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19067 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19068 (__nscd_innetgr): Declare.
19069 * nscd/selinux.c (perms): Use access_vector_t as element type and
19070 add netgroup-related initializers.
19071 * nscd/netgroupcache.c: New file.
19072 * nscd/nscd_netgroup.c: New file.
19073 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19074 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19075 For four parameters use innetgr.
19076 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19077 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19078 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19079 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19080
21fd49a9
UD
19081 * nscd/connections.c (register_traced_file): Don't register file
19082 for disabled databases.
19083
054c0457
UD
190842011-10-06 Ulrich Drepper <drepper@gmail.com>
19085
32b63198
UD
19086 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19087
054c0457
UD
19088 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19089 from tree and freeing node.
19090
64031225
JO
190912011-09-25 Jiri Olsa <jolsa@redhat.com>
19092
19093 * nss/nsswitch.c (__nss_database_lookup): Handle
19094 nss_parse_service_list out of memory case.
19095
0490345c
JO
190962011-09-15 Jiri Olsa <jolsa@redhat.com>
19097
19098 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19099 out of memory case.
19100
3a62d00d
AS
191012011-10-04 Andreas Schwab <schwab@redhat.com>
19102
19103 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19104 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19105 pass it down.
19106 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19107 elf_machine_rela, elf_machine_lazy_rel.
19108 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19109 (ELF_DYNAMIC_DO_REL): Likewise.
19110 (ELF_DYNAMIC_DO_RELA): Likewise.
19111 (ELF_DYNAMIC_RELOCATE): Likewise.
19112 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19113 to ELF_DYNAMIC_DO_REL.
19114 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19115 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19116 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19117 elf_machine_rela.
19118 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19119 skip_ifunc, don't call ifunc function if non-zero.
19120 (elf_machine_rela): Likewise.
19121 (elf_machine_lazy_rel): Likewise.
19122 (elf_machine_lazy_rela): Likewise.
19123 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19124 (elf_machine_lazy_rel): Likewise.
19125 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19126 Likewise.
19127 (elf_machine_lazy_rel): Likewise.
19128 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19129 Likewise.
19130 (elf_machine_lazy_rel): Likewise.
19131 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19132 (elf_machine_lazy_rel): Likewise.
19133 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19134 (elf_machine_lazy_rel): Likewise.
19135 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19136 (elf_machine_lazy_rel): Likewise.
19137 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19138 (elf_machine_lazy_rel): Likewise.
19139 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19140 (elf_machine_lazy_rel): Likewise.
19141 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19142 (elf_machine_lazy_rel): Likewise.
19143
68577918
UD
191442011-09-28 Ulrich Drepper <drepper@gmail.com>
19145
19146 * nss/nss_files/files-init.c (_nss_files_init): Use static
19147 initialization for all the *_traced_file variables.
19148
68822d74
AS
191492011-09-28 Andreas Schwab <schwab@redhat.com>
19150
19151 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19152
2056100b
RM
191532011-09-27 Roland McGrath <roland@hack.frob.com>
19154
19155 [BZ #13226]
19156 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19157
32c76b63
AS
191582011-09-27 Andreas Schwab <schwab@redhat.com>
19159
19160 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19161 Reread the line before reparsing it.
19162
bf972c9d
AS
191632011-09-26 Andreas Schwab <schwab@redhat.com>
19164
19165 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19166
e057a1b5
JM
191672011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19168 Maxim Kuvyrkov <maxim@codesourcery.com>
19169 Joseph Myers <joseph@codesourcery.com>
19170
19171 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19172 if needed for __stack_chk_guard.
19173
bc7e1c36
RM
191742011-09-19 Roland McGrath <roland@hack.frob.com>
19175
ecb1482f
RM
19176 * sysdeps/posix/spawni.c (script_execute): Always define it.
19177 It will be optimized away if unused.
19178 (maybe_script_execute): New function.
19179 (__spawni): Call it.
19180
bc7e1c36
RM
19181 * Makerules: Don't include tls.make.
19182 (config-tls): Always set to thread.
19183 * tls.make.c: File removed.
19184
1c3b002b
MF
191852011-09-19 Mike Frysinger <vapier@gentoo.org>
19186
19187 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19188 * config.make.in (CPPFLAGS-config): New substituted variable.
19189
2840865d
UD
191902011-09-15 Ulrich Drepper <drepper@gmail.com>
19191
88738eb6
UD
19192 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19193
cbf645a6 19194 [BZ #13192]
2840865d
UD
19195 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19196 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19197
b402e91a
RM
191982011-09-15 Roland McGrath <roland@hack.frob.com>
19199
19200 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19201 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19202 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19203 (CALL_FAIL): Likewise.
19204 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19205 (CALL_FAIL): Macro removed.
19206 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19207
4c1a1f71
UD
192082011-09-15 Ulrich Drepper <drepper@gmail.com>
19209
19210 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19211 for __FINITE_MATH_ONLY__ == 1.
19212
edc121be
AS
192132011-09-15 Andreas Schwab <schwab@redhat.com>
19214
19215 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19216 __ieee754_sqrt instead of sqrt.
19217 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19218 __ieee754_sqrtf instead of sqrtf.
19219 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19220 __floorf instead of floorf.
19221 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19222 __floorf, __truncf instead of floorf, truncf.
19223
cd205654
UD
192242011-09-14 Ulrich Drepper <drepper@gmail.com>
19225
ee4d0315
UD
19226 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19227
cd205654
UD
19228 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19229 __extern_always_inline.
19230 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19231 32-bit.
19232
48b67d71
AS
192332011-09-14 Andreas Schwab <schwab@redhat.com>
19234
19235 * elf/rtld.c (dl_main): Also relocate in dependency order when
19236 doing symbol dependency testing.
19237
1ae12c75
AS
192382011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19239
19240 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19241 Always define `refsym'.
19242
995a80df
AS
192432011-09-13 Andreas Schwab <schwab@redhat.com>
19244
e529793b
AS
19245 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19246 (__FD_ELT): Renamed from __FDELT.
19247 * misc/bits/select2.h (__FD_ELT): Likewise.
19248 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19249 __FD_MASK instead of __FDELT, __FDMASK.
19250 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19251 Likewise.
19252 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19253 Likewise.
19254
52d4fef8
AS
19255 * elf/Makefile (gen-ldd): Fix pattern.
19256
995a80df
AS
19257 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19258 (init_tls): Likewise.
19259
8682f8b0
UD
192602011-09-12 Ulrich Drepper <drepper@gmail.com>
19261
19262 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19263
de82006d
AS
192642011-09-12 Andreas Schwab <schwab@redhat.com>
19265
a7c8e6a1
AS
19266 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19267 `struct cmsghdr *' instead of `void *'.
19268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19269 Likewise.
19270
0f31fe77
AS
192712011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19272
19273 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19274 if non-absolute.
19275 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19276 ldd_rewrite_script.
0f31fe77 19277
32b4c839
UD
192782011-09-11 Ulrich Drepper <drepper@gmail.com>
19279
83cd1420
UD
19280 * configure.in: Remove --with-tls option.
19281 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19282 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19283 out in case it is missing.
19284 * sysdeps/ia64/elf/configure.in: Likewise.
19285 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19286 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19287 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19288 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19289 * sysdeps/sh/elf/configure.in: Likewise.
19290 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19291 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19292 * sysdeps/x86_64/elf/configure.in: Likewise.
19293 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19294 * sysdeps/mach/hurd/tls.h: Likewise.
19295
633f745d
UD
19296 [BZ #13067]
19297 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19298
f318beb8
UD
19299 [BZ #13090]
19300 * configure.in: Fix use of AC_INIT.
19301
32b4c839
UD
19302 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19303
3ce1f295
UD
193042011-09-10 Ulrich Drepper <drepper@gmail.com>
19305
bb016596
UD
19306 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19307 __set_errno.
8e58439c
UD
19308 * malloc/hooks.c: Likewise.
19309
aebae053 19310 [BZ #11929]
02d46fc4
UD
19311 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19312 variables statically.
19313 (narenas): Initialize.
19314 (list_lock): Initialize.
bb016596
UD
19315 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19316 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
19317 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19318 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19319 Add initializers to main_arena and mp_.
19320 (malloc_state): Remove pagesize member. Change all users to use
19321 GLRO(dl_pagesize).
19322
19323 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19324 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19325 is always initialized.
19326
22a89187
UD
19327 * malloc/malloc.c: Removed unused configurations and dead code.
19328 * malloc/arena.c: Likewise.
19329 * malloc/hooks.c: Likewise.
02d46fc4 19330 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 19331
d063d164
UD
19332 * include/tls.h: Removed. USE___THREAD must always be defined.
19333 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19334 * elf/dl-libc.c: Likewise.
19335 * elf/dl-tsd.c: Likewise.
19336 * include/errno.h: Likewise.
19337 * include/netdb.h: Likewise.
19338 * include/resolv.h: Likewise.
19339 * inet/herrno-loc.c: Likewise.
19340 * inet/herrno.c: Likewise.
19341 * malloc/arena.c: Likewise.
19342 * malloc/hooks.c: Likewise.
19343 * malloc/malloc.c: Likewise.
19344 * resolv/res-state.c: Likewise.
19345 * resolv/res_libc.c: Likewise.
19346 * sysdeps/i386/dl-machine.h: Likewise.
19347 * sysdeps/ia64/dl-machine.h: Likewise.
19348 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19349 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19350 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19351 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19352 * sysdeps/sh/dl-machine.h: Likewise.
19353 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19354 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19355 * sysdeps/unix/i386/sysdep.S: Likewise.
19356 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19357 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19358 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19359 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19360 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19361 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19362 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19363 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19364 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19365 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19366 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19367 * sysdeps/x86_64/dl-machine.h: Likewise.
19368 * tls.make.c: Likewise.
19369
3ce1f295
UD
19370 * configure.in: Remove --with-__thread option. Make tests for
19371 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19372 tls_model attribute fail if no support is available. Remove
19373 USE_IN_LIBIO.
19374 * Makeconfig: Adjust for dropped configure option. All features are
19375 now mandatory.
19376 * Makerules: Likewise.
19377 * Versions.def: Likewise.
19378 * argp/argp-fmtstream.c: Likewise.
19379 * argp/argp-fmtstream.h: Likewise.
19380 * argp/argp-help.c: Likewise.
19381 * assert/assert.c: Likewise.
19382 * config.h.in: Likewise.
19383 * config.make.in: Likewise.
19384 * configure: Likewise.
19385 * configure.in: Likewise.
19386 * csu/Versions: Likewise.
19387 * csu/init.c: Likewise.
19388 * elf/tst-audit2.c: Likewise.
19389 * elf/tst-tls10.c: Likewise.
19390 * elf/tst-tls10.h: Likewise.
19391 * elf/tst-tls11.c: Likewise.
19392 * elf/tst-tls12.c: Likewise.
19393 * elf/tst-tls14.c: Likewise.
19394 * elf/tst-tlsmod11.c: Likewise.
19395 * elf/tst-tlsmod12.c: Likewise.
19396 * elf/tst-tlsmod13.c: Likewise.
19397 * elf/tst-tlsmod13a.c: Likewise.
19398 * elf/tst-tlsmod14a.c: Likewise.
19399 * elf/tst-tlsmod15b.c: Likewise.
19400 * elf/tst-tlsmod16a.c: Likewise.
19401 * elf/tst-tlsmod16b.c: Likewise.
19402 * elf/tst-tlsmod7.c: Likewise.
19403 * elf/tst-tlsmod8.c: Likewise.
19404 * elf/tst-tlsmod9.c: Likewise.
19405 * gmon/gmon.c: Likewise.
19406 * grp/fgetgrent_r.c: Likewise.
19407 * grp/putgrent.c: Likewise.
19408 * hurd/fopenport.c: Likewise.
19409 * include/libc-symbols.h: Likewise.
19410 * include/tls.h: Likewise.
19411 * intl/gettextP.h: Likewise.
19412 * intl/loadinfo.h: Likewise.
19413 * locale/global-locale.c: Likewise.
19414 * locale/localeinfo.h: Likewise.
19415 * mach/devstream.c: Likewise.
19416 * malloc/arena.c: Likewise.
19417 * malloc/set-freeres.c: Likewise.
19418 * misc/err.c: Likewise.
19419 * misc/getttyent.c: Likewise.
19420 * misc/mntent_r.c: Likewise.
19421 * posix/getopt.c: Likewise.
19422 * posix/wordexp.c: Likewise.
19423 * pwd/fgetpwent_r.c: Likewise.
19424 * resolv/Versions: Likewise.
19425 * resolv/res_hconf.c: Likewise.
19426 * shadow/fgetspent_r.c: Likewise.
19427 * shadow/putspent.c: Likewise.
19428 * stdio-common/printf_fphex.c: Likewise.
19429 * stdio-common/tmpfile.c: Likewise.
19430 * stdlib/abort.c: Likewise.
19431 * stdlib/fmtmsg.c: Likewise.
19432 * sunrpc/auth_unix.c: Likewise.
19433 * sunrpc/clnt_perr.c: Likewise.
19434 * sunrpc/clnt_tcp.c: Likewise.
19435 * sunrpc/clnt_udp.c: Likewise.
19436 * sunrpc/clnt_unix.c: Likewise.
19437 * sunrpc/openchild.c: Likewise.
19438 * sunrpc/svc_simple.c: Likewise.
19439 * sunrpc/svc_tcp.c: Likewise.
19440 * sunrpc/svc_udp.c: Likewise.
19441 * sunrpc/svc_unix.c: Likewise.
19442 * sunrpc/xdr.c: Likewise.
19443 * sunrpc/xdr_array.c: Likewise.
19444 * sunrpc/xdr_rec.c: Likewise.
19445 * sunrpc/xdr_ref.c: Likewise.
19446 * sunrpc/xdr_stdio.c: Likewise.
19447
1248c1c4
PB
194482011-09-09 Ulrich Drepper <drepper@gmail.com>
19449
19450 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19451
194522011-07-03 Andreas Jaeger <aj@suse.de>
19453
19454 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19455 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19456 regenerate with gen-libm-tests.pl.
19457
194582010-05-12 Petr Baudis <pasky@suse.cz>
19459
19460 [BZ #11589]
19461 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19462 around j0() zero points by switching to j1().
19463 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19464 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19465 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19466 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19467
f22e1074
UD
194682011-09-09 Ulrich Drepper <drepper@gmail.com>
19469
f19009c1
UD
19470 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19471 instead of 0.
19472 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19473 instead of 0. .
19474 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19475 Patch in part by Pavel Roskin <proski@gnu.org>.
19476
3f8cc204
UD
19477 [BZ #13138]
19478 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19479 realloc.
19480 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19481 Free memory block if necessary.
19482
f22e1074
UD
19483 [BZ #12847]
19484 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19485 be NULL. Don't lock in this case.
19486
0a2349f9
RM
194872011-09-09 Roland McGrath <roland@hack.frob.com>
19488
19489 * elf/elf.h (ELFOSABI_GNU): New macro.
19490 (ELFOSABI_LINUX): Define to that.
19491
f3cdd467
DZ
194922011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19493
19494 * string/strncat.c (strncat): Undef the symbol in case it has been
19495 defined in bits/string.h.
19496
74718d13
UD
194972011-09-09 Ulrich Drepper <drepper@gmail.com>
19498
633e9e0f
UD
19499 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19500
0a2349f9 19501 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
19502 link map.
19503
f9924780
AJ
195042011-08-17 Andreas Jaeger <aj@suse.de>
19505
19506 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19507
7f5517aa
PP
195082011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19509 Ian Lance Taylor <iant@google.com>
19510
19511 * math/libm-test.inc (lround_test): New testcase.
19512 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19513
762011fe
UD
195142011-09-08 Ulrich Drepper <drepper@gmail.com>
19515
92963737
UD
19516 * Makefile: Remove support for automatic cvs check-ins.
19517 * Makerules: Likewise.
19518 * config.make.in: Likewise.
19519 * configure.in: Likewise.
19520 * intl/Makefile: Likewise.
19521 * locale/Makefile: Likewise.
19522 * po/Makefile: Likewise.
19523 * posix/Makefile: Likewise.
19524 * sysdeps/gnu/Makefile: Likewise.
19525 * sysdeps/mach/hurd/Makefile: Likewise.
19526 * sysdeps/sparc/sparc32/Makefile: Likewise.
19527
b0727fd8
JS
19528 [BZ #13118]
19529 * posix/Makefile (bug-regex32-ENV): Define.
19530 Patch by John Stanley <jpsinthemix@verizon.net>.
19531
a0f33f99
UD
19532 * misc/Makefile (headers): Add bits/select2.h.
19533 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19534 * misc/bits/select2.h: New file.
19535 * include/bits/select2.h: New file.
19536 * debug/Makefile (routines): Add fdelt_chk.
19537 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19538 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19539 FD_ISSET.
19540 * debug/fdelt_chk.c: New file.
19541
762011fe
UD
19542 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19543 * wcsmbs/test-wmemcmp.c: Likewise.
19544 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19545 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19546
195472011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19548
19549 * string/Makefile (strop-tests): Add memcmp.
19550 * string/test-wmemcmp.c: New file.
19551 * string/test-memcmp.c: Add wmemcmp support.
19552
7f513ec8
RM
195532011-09-08 Roland McGrath <roland@hack.frob.com>
19554
0442afb4
RM
19555 [BZ #13153]
19556 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19557 2011-07-19 change.
19558
7f513ec8
RM
19559 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19560 garbage value in a __mach_port_mod_refs call in the cases of the
19561 task-self and thread-self ports.
19562
a12b2239
ST
195632011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19564
19565 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19566
610f9ab4
AS
195672011-09-08 Andreas Schwab <schwab@redhat.com>
19568
7f513ec8 19569 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19570
48882a1a
LD
195712011-09-07 Ulrich Drepper <drepper@gmail.com>
19572
b49865be
UD
19573 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19574
fdc86bc9
UD
19575 * elf/dl-libc.c (dlerror_run): Pass back error code from
19576 dl_catch_error.
19577
c966526a
UD
19578 [BZ #13123]
19579 * elf/dl-load.c (lose): Free l_origin if it is valid.
19580
48882a1a
LD
19581 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19582 names.
19583 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19584 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19585 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19586 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19587 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19588 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19589
77a2a8b4
AZ
195902011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19591
19592 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19593 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19594 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19595 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19596 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19597 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19598 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19599 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19600 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19601 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19602
24f579d8
AM
196032011-08-15 Alan Modra <amodra@gmail.com>
19604
19605 [BZ #13092]
19606 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19607 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19608 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19609 ppc_mcount to static-only-routines.
19610 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19611 __mcount_internal.
19612 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19613 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19614
3d4837df
UD
196152011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19616
19617 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19618 for finite and infinity parameters.
19619
22700377
WS
196202011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19621
19622 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19623 and add nop instructions for throughput optimization.
19624 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19625
5025581e
WS
196262011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19627
19628 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19629 aligned copy for power7 with vector-scalar instructions.
19630 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19631
08a300c9
L
196322011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19633
19634 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19635 AVX check.
19636
59178ef9
AS
196372011-09-07 Andreas Schwab <schwab@redhat.com>
19638
19639 [BZ #13144]
19640 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19641 last change.
19642
e38ba7ab
UD
196432011-09-07 Ulrich Drepper <drepper@gmail.com>
19644
19645 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19646 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19647 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19648 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19649 clock_gettime.
19650
d53a73ac
UD
196512011-09-06 Ulrich Drepper <drepper@gmail.com>
19652
fc8bffcc
UD
19653 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19654 Forgot to demangle the pointer.
19655
ceaa0c5d
UD
19656 * sysdeps/i386/sysdep.h: Define atom_text_section.
19657 * sysdeps/x86_64/sysdep.h: Likewise.
19658 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19659 section with atom_text_section.
19660 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19661 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19662 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19663 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19664 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19665
a77d3c17
UD
19666 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19667 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19668 already be defined. Change to take two parameters and don't assign
19669 result to variable. Adjust all users.
19670 Define INTERNAL_GETTIME if not already defined.
19671 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19672 call.
19673 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19674 HAVE_CLOCK_GETTIME_VSYSCALL.
19675 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19676
d53a73ac
UD
19677 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19678 gettimeofday vsyscall, just use time.
19679
a8f84144
AS
196802011-09-06 Andreas Schwab <schwab@redhat.com>
19681
19682 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19683 <errno.h>.
19684
ef606249
UD
196852011-09-06 Ulrich Drepper <drepper@gmail.com>
19686
19687 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19688 syscall on x86-64.
19689 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19690 syscall.
19691 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19692 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19693 syscall if possible.
19694
6585cb60
UD
196952011-09-05 Ulrich Drepper <drepper@gmail.com>
19696
19697 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19698 e_ident. Don't pass to find_mapsXX.
19699 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19700
a5f524e4
LD
197012011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19702
19703 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19704 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19705 * sysdeps/x86_64/multiarch/strchr.S: Update.
19706 Check bit_slow_BSF bit.
19707 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19708 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19709 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19710
554881ef
UD
197112011-09-05 Ulrich Drepper <drepper@gmail.com>
19712
d96de963
UD
19713 [BZ #13134]
19714 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19715 before glibc 2.15.
19716 (tryshell): Define.
19717 (__spawni): Change last parameter to be flag. Test
19718 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19719 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19720 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19721 * posix/spawni.c: Likewise.
19722 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19723 * posix/spawnp.c: Likewise. Change normal version to use
19724 SPAWN_XFLAGS_USE_PATH.
19725 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19726 SPAWN_XFLAGS_TRY_SHELL.
19727
d48e5868
UD
19728 [BZ #13150]
19729 * posix/glob.h: Remove gcc 1.x support.
19730
554881ef
UD
19731 [BZ #13068]
19732 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19733
693fb948
LD
197342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19735
19736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19737 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19738 strrchr-sse2-bsf
19739 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19740 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19741 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19742 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19743 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19744 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19745
1b48c537
UD
197462011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19747
49d42c37
UD
19748 * sysdeps/x86_64/wcscmp.S: New file.
19749
1b48c537
UD
19750 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19751 wcscmp-c wcscmp-sse2
19752 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19753 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19754 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19755 * wcsmbs/wcscmp.c: Allow renaming.
19756
15c95c5d
DM
197572011-09-05 David S. Miller <davem@davemloft.net>
19758
19759 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19760 stack slot, rather than the struct return pointer slot.
19761 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19762 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19764 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19765
2f0ad8f3
UD
197662011-09-05 Ulrich Drepper <drepper@gmail.com>
19767
d88ae418
UD
19768 * po/ja.po: Update from translation team.
19769
2f0ad8f3
UD
19770 [BZ #13144]
19771 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19772 kernel in 64-bit binaries.
19773
5f4318d1
DM
197742011-09-01 David S. Miller <davem@davemloft.net>
19775
19776 * elf/elf.h (HWCAP_SPARC_*): Move to..
19777 * sysdeps/sparc/sysdep.h: this new file and add new values.
19778 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19779 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19780 _DL_HWCAP_COUNT to 24.
19781 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19782 entries.
19783 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19784 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19785 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19786 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19787 instead of magic constants.
19788 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19789
3ba57516
DM
197902011-08-31 David S. Miller <davem@davemloft.net>
19791
19792 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19793 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19794 Reimplement to do errno handling inline.
19795 (SYSCALL_ERROR_HANDLER): New macro.
19796 (__SYSCALL_STRING): Do not do errno handling in asm.
19797 (__CLONE_SYSCALL_STRING): Delete.
19798 (__INTERNAL_SYSCALL_STRING): Delete.
19799 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19800 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19801 (PSEUDO): Reimplement to do errno handling inline.
19802 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19803 (SYSCALL_ERROR_HANDLER): New macro.
19804 (__SYSCALL_STRING): Do not do errno handling in asm.
19805 (__CLONE_SYSCALL_STRING): Delete.
19806 (__INTERNAL_SYSCALL_STRING): Delete.
19807 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19808 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19809 i386.
19810 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19811 (inline_syscall*): Add 'err' argument.
19812 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19813 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19814 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19815 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19816
19817 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19818 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19819
2bc17433
AS
198202011-08-30 Andreas Schwab <schwab@redhat.com>
19821
19822 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19823
fbeb5f4d
JO
198242011-08-29 Jiri Olsa <jolsa@redhat.com>
19825
19826 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19827 directive.
19828
ad69cc26
DM
198292011-08-24 David S. Miller <davem@davemloft.net>
19830
19831 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19832
39dd69df
AS
198332011-08-24 Andreas Schwab <schwab@redhat.com>
19834
19835 * elf/Makefile: Add rules to build and run unload8 test.
19836 * elf/unload8.c: New file.
19837 * elf/unload8mod1.c: New file.
19838 * elf/unload8mod1x.c: New file.
19839 * elf/unload8mod2.c: New file.
19840 * elf/unload8mod3.c: New file.
19841
19842 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19843 it wasn't used.
19844
2c0b250a
DM
198452011-08-23 David S. Miller <davem@davemloft.net>
19846
19847 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19848 subtract stack bias.
19849 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19850 %sp not %fp in calculations.
19851 (_JMPBUF_UNWINDS_ADJ): Likewise.
19852
22044b48
DM
19853 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19854 (aio_suspend): Call it to force an exception region around the
19855 AIO_MISC_WAIT() invocation.
19856
2cae4995
AS
198572011-08-23 Andreas Schwab <schwab@redhat.com>
19858
19859 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19860 backslash.
19861
873a772e
AJ
198622011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19863
19864 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19865 protection macro.
19866 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19867 and <dl-machine.h>.
19868 (Elf64_FuncDesc): Remove.
19869
25ad0df1
DM
198702011-08-22 David S. Miller <davem@davemloft.net>
19871
19872 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19873 sigaltstack check, add missing cfi directives.
19874 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19875 missing cfi directives, and sigaltstack handling.
19876
e888bcbe
AS
198772011-08-16 Andreas Schwab <schwab@redhat.com>
19878
19879 [BZ #11724]
19880 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19881 object is seen twice.
19882 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19883
19884 * elf/Makefile (distribute): Add tst-initorder2.c.
19885 (tests): Add tst-initorder2.
19886 (modules-names): Add tst-initorder2a tst-initorder2b
19887 tst-initorder2c tst-initorder2d. Add rules to build them.
19888 ($(objpfx)tst-initorder2.out): New rule.
19889 * elf/tst-initorder2.c: New file.
19890 * elf/tst-initorder2.exp: New file.
19891
87162f46
AS
198922011-08-22 Andreas Schwab <schwab@redhat.com>
19893
70538b7f
AS
19894 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19895
f55ffe58
AS
19896 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19897 dependencies back to end of function.
19898
87162f46
AS
19899 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19900 $(elfobjdir)/ld.so.
19901
91b392a4
UD
199022011-08-21 Ulrich Drepper <drepper@gmail.com>
19903
19904 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19905 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19906 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19907 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19908 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19909 of __vdso_gettimeofday.
19910 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19911 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19912 attribute_hidden.
19913 (_libc_vdso_platform_setup): Remove initialization of
19914 __vdso_gettimeofday and __vdso_time.
19915
5c43483f
UD
199162011-08-20 Ulrich Drepper <drepper@gmail.com>
19917
775a77e7
UD
19918 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19919 and fgetc_unlocked.
19920 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19921 getc_unlocked.
89f447ed 19922
49c74ba9
UD
19923 * elf/dl-open.c (add_to_global): Report additions to the global scope
19924 for LD_DEBUG=scopes.
19925 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19926 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19927
5c43483f
UD
19928 [BZ #13114]
19929 * stdio-common/Makefile (tests): Add bug24.
19930 * stdio-common/bug24.c: New file.
19931
a101b025
AJ
199322011-08-19 Andreas Jaeger <aj@suse.de>
19933
19934 [BZ #13114]
19935 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19936 non-existant file when using close-on-exec mode.
19937
c88f1766
UD
199382011-08-20 Ulrich Drepper <drepper@gmail.com>
19939
0276a718
UD
19940 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19941 the very first instruction.
19942
c88f1766
UD
19943 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19944 the CFI state in the end.
19945 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19946 inclusion of dl-trampoline.h.
19947 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19948
51ccffa0
AS
199492011-08-19 Andreas Schwab <schwab@redhat.com>
19950
94d7165f
AS
19951 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19952 expectations for long double.
19953
51ccffa0
AS
19954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19955 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19956
fd708658 199572011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19958
19959 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19960 artificual limit depends upon the system page size.
19961
44f0a71e
UD
199622011-08-17 Ulrich Drepper <drepper@gmail.com>
19963
19964 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19965 * resolv/Makefile: Define CFLAGS-libresolv.
19966
8de79a24
AS
199672011-08-17 Andreas Schwab <schwab@redhat.com>
19968
19969 * nss/makedb.c (compute_tables): Make variables used in nested
19970 function static.
19971
27724598
UD
199722011-08-17 Ulrich Drepper <drepper@gmail.com>
19973
c5305d88
UD
19974 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19975 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19976 if buffer was too small.
19977
27724598
UD
19978 * elf/pldd.c (main): Attach to all threads in the process.
19979 Rewrite /proc handling to use *at functions.
19980
076fe015
UD
199812011-08-16 Ulrich Drepper <drepper@gmail.com>
19982
174baab3
UD
19983 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19984 specifies first scope to show.
19985 (dl_open_worker): Update callers. Move printing scope of new
19986 object to before the relocation.
44f0a71e 19987 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19988 * sysdeps/generic/ldsodefs.h: Update declaration.
19989
076fe015
UD
19990 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19991 string for the scope number.
19992
a60df2c3
UD
199932011-08-14 Ulrich Drepper <drepper@gmail.com>
19994
19995 * nscd/servicescache.c (cache_addserv): Make sure written is always
19996 initialized.
19997
5e4287d1
RM
199982011-08-14 Roland McGrath <roland@hack.frob.com>
19999
85ae0589
RM
20000 * sysdeps/i386/i486/bits/atomic.h
20001 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20002 statement expression, so as to suppress "set but not used" warning.
20003 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20004
69f63097
RM
20005 * string/strncat.c (STRNCAT): Use prototype definition.
20006
675456ef
RM
20007 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20008 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20009 -Iprograms here.
20010 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20011 (localedef-modules): Add localedef.
20012 (locale-modules): Add locale.
20013
5e4287d1
RM
20014 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20015 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20016 to avoid a warning.
20017
9c96ff23
DM
200182011-08-14 David S. Miller <davem@davemloft.net>
20019
20020 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20021 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20022
f9ddf089
UD
200232011-08-13 Ulrich Drepper <drepper@gmail.com>
20024
44f0a71e 20025 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
20026 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20027 * elf/rtld.c (dl_main): Set l_name of vDSO.
20028 Call _dl_show_scope when DL_DEBUG_SCOPES.
20029 (process_dl_debug): Recognize scopes flag and also set it for all.
20030 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20031 Declare _dl_show_scope.
20032
1dc27704
UD
20033 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20034 (do_dlopen): Pass caller_dlopen to dl_open.
20035 (__libc_dlopen_mode): Initialize caller_dlopen.
20036
f9ddf089
UD
20037 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20038 of libc. Make tolower call locale-independent. Optimize a bit by
20039 using isdigit instead of isalnum.
20040 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20041
9ac533d3
UD
200422011-08-12 Ulrich Drepper <drepper@gmail.com>
20043
20044 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20045 was a dependency or dynamically loaded.
20046
89edf2e9
UD
200472011-08-11 Ulrich Drepper <drepper@gmail.com>
20048
8e999d29
UD
20049 * intl/l10nflist.c: Allow architecture-specific pop function.
20050 * sysdeps/x86_64/l10nflist.c: New file.
20051
89edf2e9
UD
20052 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20053 classification.
20054
14d96785
AS
200552011-08-10 Andreas Schwab <schwab@redhat.com>
20056
20057 * include/dirent.h: Add libc_hidden_proto for scandirat and
20058 scandirat64. Don't declare __scandirat64.
20059 * dirent/scandirat.c: Add libc_hidden_def.
20060 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20061 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20062
6761ac04
DM
200632011-08-10 David S. Miller <davem@davemloft.net>
20064
20065 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20066 enum.
20067 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20068 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20069 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20070
c55fbd1e
UD
200712011-08-09 Ulrich Drepper <drepper@gmail.com>
20072
20073 * Versions.def [libc]: Add GLIBC_2.15.
20074 * dirent/Makefile (routines): Add scandirat and scandirat64.
20075 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20076 GLIBC_2.15.
20077 * dirent/dirent.h: Declare scandirat and scandirat64.
20078 * dirent/scandirat.c: New file.
20079 * dirent/scandirat64.c: New file.
20080 * sysdeps/wordsize-64/scandirat.c: New file.
20081 * sysdeps/wordsize-64/scandirat64.c: New file.
20082 * dirent/opendir.c: Define opendirat.
20083 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20084 using scandirat.
20085 * dirent/scandir64.c: Adjust for scandir.c change.
20086 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20087 __scandirat64, and __scandir_cancel_handler.
20088 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20089 additional parameter and use openat instead of open (outside of ld.so).
20090 Add new __opendir as wrapper around __opendirat.
20091 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20092 here without requiring old scandirat implementation.
20093
879165f2
UD
200942011-08-08 Ulrich Drepper <drepper@gmail.com>
20095
20096 * dirent/scandir.c (cancel_handler): Renamed to
20097 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20098 defined. Adjust users.
20099 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20100 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20101
cb7e923b
UD
201022011-08-04 Ulrich Drepper <drepper@gmail.com>
20103
16292edd
UD
20104 * string/test-string.h (IMPL): Use __STRING to expand name and then
20105 stringify it.
20106
cb7e923b
UD
20107 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20108 of cleanups.
20109
cff82933
LD
201102011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20111
20112 * string/Makefile: Update.
20113 (strop-tests): Append strncat.
20114 * string/test-wcscmp.c: New file.
20115 New comprehensive test for wcscmp.
20116 * string/test-strcmp.c: Update.
20117 (WIDE): New define.
20118
9be9bfcc
AS
201192011-07-22 Andreas Schwab <schwab@redhat.com>
20120
20121 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20122 line.
20123
2e96f1c7
AS
201242011-07-26 Andreas Schwab <schwab@redhat.com>
20125
20126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20127 encoding to ACE if AI_IDN.
20128
85188888
JJ
201292011-08-01 Jakub Jelinek <jakub@redhat.com>
20130
20131 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20132 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20133
5fa16e9b
LD
201342011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20135
20136 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20137 Fix overflow bug in strncat.
20138 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20139
20140 * string/test-strncat.c: Update.
20141 Add new tests for checking overflow bugs.
20142
201432011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20144
20145 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20146 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20147 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20148 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20149 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20150 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20151 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20152 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20153 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20154
20155 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20156 (USE_AS_STRCAT): Define.
20157 Add strcat and strncat support.
20158 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20159
8c1a459f
AS
201602011-07-25 Andreas Schwab <schwab@redhat.com>
20161
20162 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20163 __n bigger than INT_MAX+1.
20164 (__strncmp_g): Likewise.
20165
bba33c28
UD
201662011-07-23 Ulrich Drepper <drepper@gmail.com>
20167
798be72d
UD
20168 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20169 * libio/stido.h: Likewise.
20170
8accd4dc
UD
20171 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20172 (AF_NFC): Define.
20173 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20174 (AF_NFC): Define.
20175
cbff0d96
UD
20176 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20177 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20178 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20179 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20180 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20181
9191c04a
UD
20182 [BZ #13021]
20183 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20184 installed.
20185
bba33c28
UD
20186 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20187 typo.
20188 (_dl_x86_64_save_sse): Likewise.
20189
90f139dd
UD
201902011-07-22 Ulrich Drepper <drepper@gmail.com>
20191
1aae088a
UD
20192 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20193 OSXSAVE.
20194 (_dl_x86_64_save_sse): Likewise.
20195
8e2045f5
UD
20196 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20197
90f139dd
UD
20198 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20199
1d002f25
AS
202002011-07-21 Andreas Schwab <schwab@redhat.com>
20201
20202 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20203 change.
20204 (_dl_x86_64_save_sse): Use correct AVX check.
20205
21137f89
UD
202062011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20207
20208 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20209 bug in strncpy/strncat.
20210 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20211
a65c0b7a
UD
202122011-07-21 Ulrich Drepper <drepper@gmail.com>
20213
20214 * string/tester.c (test_strcat): Add tests for different alignments
20215 of source and destination.
20216 (test_strncat): Likewise.
20217
6986b98a
UD
202182011-07-20 Ulrich Drepper <drepper@gmail.com>
20219
90bb2039
UD
20220 [BZ #12852]
20221 * posix/glob.c (glob): Check passed in values before using them in
20222 expressions to avoid some overflows.
20223 (glob_in_dir): Likewise.
20224
5644ef54
UD
20225 [BZ #13007]
20226 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20227 check for AVX enablement so that we don't crash with old kernels and
20228 new hardware.
20229 * elf/tst-audit4.c: Add same checks here.
20230 * elf/tst-audit6.c: Likewise.
20231
20232 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 20233
bfc9dc9b
AS
202342011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20235
20236 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20237
702e64bb
UD
202382011-07-20 Ulrich Drepper <drepper@gmail.com>
20239
20240 * po/cs.po: Update from translation team.
20241 * po/bg.po: Likewise.
20242
295e904f
MP
202432011-07-12 Marek Polacek <mpolacek@redhat.com>
20244
20245 * misc/sys/cdefs.h: Add support for const attribute.
20246 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20247 to gnu_dev_{major,minor,makedev} functions.
20248
3ff94596
MP
202492011-07-20 Marek Polacek <mpolacek@redhat.com>
20250
20251 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20252
28b59fca
AS
202532011-07-20 Andreas Schwab <schwab@redhat.com>
20254
20255 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20256 strlen results.
20257
19df733e
AK
202582011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20259
20260 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20261 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20262 register in order to avoid conflicts with the soft frame pointer
20263 being held in r11 when necessary.
20264 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20265 (INTERNAL_VSYSCALL_NCS): Likewise.
20266
c8835729
MP
202672011-07-14 Marek Polacek <mpolacek@redhat.com>
20268
20269 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20270 * elf/dl-fini.c (_dl_fini): Adjust caller.
20271 * elf/dl-close.c (_dl_close_worker): Likewise.
20272 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20273
b902330c
MP
202742011-07-15 Marek Polacek <mpolacek@redhat.com>
20275
8991e135
MP
20276 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20277 "aux_cache->nlibs < 0".
20278
b902330c
MP
20279 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20280 in the reload-count case.
20281
99710781
LD
202822011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20283
20284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20285 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20286 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20287 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20288 * sysdeps/x86_64/multiarch/strcat.S: New file.
20289 * sysdeps/x86_64/multiarch/strncat.S: New file.
20290 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20291 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20292 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20293 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20294 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20295 (USE_AS_STRCAT): Define.
20296 Add strcat and strncat support.
20297 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20298 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20299 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20300 * string/strncat.c: Update.
20301 (USE_AS_STRNCAT): Define.
20302 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20303 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20304 and i7.
20305 * sysdeps/x86_64/multiarch/init-arch.h
20306 (bit_Prefer_PMINUB_for_stringop): New.
20307 (index_Prefer_PMINUB_for_stringop): Likewise.
20308 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20309 bit_Prefer_PMINUB_for_stringop.
20310
7dc6bd90
UD
203112011-07-19 Ulrich Drepper <drepper@gmail.com>
20312
20313 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20314 buffer64.
20315 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20316 of casting of buffer.
20317 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20318 buffer32 and buffer64.
20319 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20320 writes instead of casting of buffer.
20321 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20322 buffer32.
20323 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20324 casting of buffer.
20325
e0e72284
AS
203262011-07-19 Andreas Schwab <schwab@redhat.com>
20327
20328 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20329
feb1eb0b
UD
203302011-07-19 Ulrich Drepper <drepper@gmail.com>
20331
20332 * nscd/nscd.c (termination_handler): Don't do anything for a database
20333 if it has not yet been initialized.
20334
298711ff
UD
203352011-07-18 Ulrich Drepper <drepper@gmail.com>
20336
20337 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20338
203392011-07-15 Marek Polacek <mpolacek@redhat.com>
20340
20341 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20342
f9d68389
UD
203432011-07-18 Ulrich Drepper <drepper@gmail.com>
20344
20345 * po/nl.po: Update from translation team.
20346 * po/sv.po: Likewise.
20347
db290cf5
RM
203482011-07-16 Roland McGrath <roland@hack.frob.com>
20349
20350 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20351 now disallowed by GCC.
5c550700 20352
fd5e21c7
RM
20353 * configure.in (use-default-link): Default to yes if a test -shared
20354 link meets our qualifications.
20355 * configure: Regenerated.
20356
5c550700
RM
20357 * config.make.in (output-format): New variable.
20358 * configure.in: Check for ld --print-output-format support.
20359 * configure: Regenerated.
20360 * Makerules ($(common-objpfx)format.lds)
20361 [$(output-format) != unknown]: Just use $(output-format),
20362 instead of the linker-script munging.
20363
9fa2c032
RM
203642011-07-14 Roland McGrath <roland@hack.frob.com>
20365
a6928d51
RM
20366 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20367 of $(common-objpfx)shlib.lds.
20368 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20369
661607b3
RM
20370 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20371 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20372
9fa2c032
RM
20373 * configure.in (-z relro check): Adjust test code to add a large
20374 writable data section after it.
20375 * configure: Regenerated.
20376
defe9061
RM
203772011-07-11 Roland McGrath <roland@hack.frob.com>
20378
20379 * configure.in (-z relro check): Fix test code to make the variable
20380 truly const.
20381 * configure: Regenerated.
20382
319b9ad4
UD
203832011-07-11 Ulrich Drepper <drepper@gmail.com>
20384
20385 * nscd/nscd.h (struct traced_file): Define.
20386 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20387 elements. Add traced_files.
20388 (inotify_fd): Declare.
20389 (register_traced_file): Declare.
20390 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20391 (inotify_fd): Export.
20392 (resolv_conf_descr): Remove.
20393 (nscd_init): Move inotify descriptor creation to main.
20394 Don't register files for notification here.
20395 (register_traced_file): New function.
20396 (invalidate_cache): Don't use reset_res to determine whether to call
20397 res_init, go through the list of registered files.
20398 (main_loop_poll): The inotify descriptors are now stored in the
20399 structures for the traced files.
20400 (main_loop_epoll): Likewise
20401 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20402 to __nss_disable_nscd.
20403 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20404 for a database anymore. Check the records for all the registered
20405 files instead.
20406 * nss/Makefile (libnss_files-routines): Add files-init.
20407 (libnss_db-routines): Add db-init.
20408 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20409 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20410 * nss/nss_db/db-init.c: New file.
20411 * nss/nss_files/files-init.c: New file.
20412 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20413 __nss_lookup_function.
20414 (__nss_lookup_function): Call nss_load_library.
20415 (nss_load_all_libraries): New function.
20416 (__nss_disable_nscd): Take parameter with callback function for files
20417 to register. Set is_nscd. Load all the DSOs for the NSS modules
20418 used for the cached services.
20419 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20420 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20421 options for features to all the files in nscd.
20422
20423 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20424
23bee3e8
RM
204252011-07-10 Roland McGrath <roland@hack.frob.com>
20426
20427 * csu/elf-init.c (__libc_csu_init): Comment typo.
20428
46a5b7f0
UD
204292011-07-09 Ulrich Drepper <drepper@gmail.com>
20430
20431 * po/pl.po: Update from translation team.
20432 * po/ja.po: Likewise.
20433 * po/ru.po: Likewise.
20434 * po/ko.po: Likewise.
20435 * po/fr.po: Likewise.
20436
d30cf5bb
RM
204372011-07-09 Roland McGrath <roland@hack.frob.com>
20438
113ddea4
RM
20439 * configure.in (.ctors/.dtors header and trailer check):
20440 Use an empirical test on a built program.
20441 * configure: Regenerated.
20442
574920b4
RM
20443 * configure.in (-z relro check): Use an empirical test on a built DSO.
20444 Detect, but do not require, on ia64.
20445 * configure: Regenerated.
20446
d30cf5bb
RM
20447 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20448 Update tests that use readelf to use $READELF instead.
20449 * configure: Regenerated.
20450
8538fdb3
UD
204512011-07-08 Ulrich Drepper <drepper@gmail.com>
20452
20453 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20454 if the result is not used.
20455
04d08991
AJ
204562011-07-05 Andreas Jaeger <aj@suse.de>
20457
20458 [BZ#9696]
20459 * stdlib/tst-strtod.c: Add testcase.
20460
de283087
AD
204612011-07-07 Ulrich Drepper <drepper@gmail.com>
20462
4e5f31c8 20463 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 20464 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
20465 The latter has a higher limit. Take additional parameter to pass to
20466 the new function.
20467 (__pathconf): Pass file to __statfs_link_max.
20468 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20469 __statfs_link_max.
20470 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20471 __statfs_link_max.
20472
de283087
AD
20473 [BZ #12868]
20474 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20475 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20476 Handle Lustre.
20477 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20478 (__statfs_filesize_max): Likewise.
20479 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20480
c75fa153
AJ
204812011-07-05 Andreas Jaeger <aj@suse.de>
20482
20483 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20484
1a544854
UD
204852011-07-06 Marek Polacek <mpolacek@redhat.com>
20486
20487 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20488 `status' variable.
20489 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20490 Likewise.
20491
6f0eec67
UD
204922011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20493
20494 * Makefile (strop-tests): Add strncat.
20495 * string/test-strncat.c: New file.
20496
aae30307
UD
204972011-06-30 Marek Polacek <mpolacek@redhat.com>
20498
20499 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20500
c0cfb5eb
UD
205012011-06-21 Andreas Jaeger <aj@suse.de>
20502
20503 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20504 Copy rule from iconvdata/Makefile.
20505
01636b21
UD
205062011-07-06 Ulrich Drepper <drepper@gmail.com>
20507
20508 [BZ #12922]
20509 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20510 but no long options are defined, just return 'W'.
20511
9895c8bc
UD
205122011-06-22 Marek Polacek <mpolacek@redhat.com>
20513
20514 [BZ #9696]
20515 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20516
5d4cf042
UD
205172011-07-06 Ulrich Drepper <drepper@gmail.com>
20518
20519 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20520 netgroups to read.
960e5535 20521 (innetgr): Likewise.
5d4cf042 20522
751eb97e
RM
205232011-07-05 Roland McGrath <roland@hack.frob.com>
20524
20525 * config.make.in (install_root): Default to $(DESTDIR).
20526
f15f1e45
UD
205272011-07-05 Ulrich Drepper <drepper@gmail.com>
20528
20529 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20530
4e34ac6a
RM
205312011-07-02 Roland McGrath <roland@hack.frob.com>
20532
5e9b6af4
RM
20533 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20534
84f9ea0f
RM
20535 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20536 containing directory rather than embedding absolute directory names.
20537
ea5ee9f7
RM
20538 * scripts/check-local-headers.sh: Rewritten using awk.
20539 Match by word, not by line. Print error messages for matches.
20540 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20541
1b74661a
RM
20542 * Makerules [shlib-lds-flags empty]:
20543 ($(common-objpfx)libc_pic.opts): New target.
20544 ($(common-objpfx)libc_pic.os.clean): New target.
20545 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20546
20547 * config.make.in (OBJCOPY): New variable.
20548 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20549 * configure: Regenerated.
20550
f781ef40
RM
20551 * config.make.in (use-default-link): New variable.
20552 * configure.in (use_default_link): Grok --with-default-link to set it.
20553 * configure: Regenerated.
20554 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20555 (shlib-lds, shlib-lds-flags): Define to empty.
20556
2d4fa81e
RM
20557 * Makerules (shlib-lds): New variable.
20558 (shlib-lds-flags): New variable.
20559 (build-shlib, build-moduile, build-module-asneeded): Use it.
20560 ($(common-objpfx)libc.so): Use $(shlib-lds).
20561 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20562 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20563
31fffa6b
RM
20564 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20565 DT_FLAGS/DT_FLAGS_1 with zero flags.
20566
4e34ac6a
RM
20567 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20568 linker script munging.
20569
fcfc776b
UD
205702011-07-02 Ulrich Drepper <drepper@gmail.com>
20571
20572 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20573 as 128-bit value.
20574 * crypt/sha512.c (sha512_process_block): Perform total addition using
20575 128-bit if possible.
20576 (__sha512_finish_ctx): Likewise.
20577 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20578 as 64-bit value.
20579 * crypt/sha256.c (SWAP64): Define.
20580 (sha256_process_block): Perform total addition using 64-bit if
20581 possible.
20582 (__sha256_finish_ctx): Likewise.
20583
99231d9a
UD
205842011-07-01 Ulrich Drepper <drepper@gmail.com>
20585
20586 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20587 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20588 * nscd/hstcache.c (cache_addhst): Likewise.
20589 * nscd/grpcache.c (cache_addgr): Likewise.
20590 * nscd/aicache.c (addhstaiX): Likewise
20591 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20592
445b4a53
TK
205932011-07-01 Thorsten Kukuk <kukuk@suse.de>
20594
20595 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20596 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20597 * nscd/hstcache.c (cache_addhst): Likewise.
20598 * nscd/grpcache.c (cache_addgr): Likewise.
20599 * nscd/aicache.c (addhstaiX): Likewise
20600
6d4d8e8e
AS
206012011-07-01 Andreas Schwab <schwab@redhat.com>
20602
20603 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20604 domain only when needed.
20605
89f654c5
AS
206062011-06-30 Andreas Schwab <schwab@redhat.com>
20607
20608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20609 is always restored.
20610
cf3b23ff
UD
206112011-06-29 Ulrich Drepper <drepper@gmail.com>
20612
20613 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20614 are re-adding the entry.
20615 * nscd/servicescache.c (cache_addserv): Likewise.
20616
751626f9
AJ
206172011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20618
20619 * sysdeps/generic/dl-irel.h: fix protection against multiple
20620 inclusions.
20621 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20622
9113ea1f
UD
206232011-06-28 Ulrich Drepper <drepper@gmail.com>
20624
5c0b8d90
UD
20625 [BZ #12935]
20626 * malloc/memusage.sh: Fix quoting in message.
20627 * debug/xtrace.sh: Likewise.
20628
9113ea1f
UD
20629 * configure.in: Remove support for --experimental-malloc option, make
20630 it the default.
20631 * config.make.in: Likewise.
20632 * malloc/Makefile: Likewise.
20633
a4172181
AS
206342011-06-27 Andreas Schwab <schwab@redhat.com>
20635
20636 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20637 two-byte characters.
20638
78a7eee7
RM
206392011-06-27 Roland McGrath <roland@hack.frob.com>
20640
62bede13
RM
20641 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20642 AC_CACHE_CHECK invocation.
20643 * configure: Regenerated.
20644
78a7eee7
RM
20645 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20646
5ce33a62
UD
206472011-06-27 Ulrich Drepper <drepper@gmail.com>
20648
034807a9
UD
20649 [BZ #12350]
20650 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20651 bit from old_res_options.
20652
4902da17
UD
20653 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20654
5ce33a62
UD
20655 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20656 value type for setfct.
20657
c2344f56
L
206582011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20659
20660 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20661 __gettimeofday instead of gettimeofday.
20662
68468076
UD
206632011-06-26 Ulrich Drepper <drepper@gmail.com>
20664
20665 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20666
acb0d739
L
206672011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20668
20669 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20670
20671 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20672 info.
20673
8912479f
L
206742011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20675
20676 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20677 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20678 strcpy-sse2-unaligned strncpy-sse2-unaligned
20679 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20680 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20681 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20682 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20683 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20684 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20685 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20686 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20687 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20688 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20689 (STRCPY): Support SSE2 and SSSE3 versions.
20690
d5495a11
UD
206912011-06-24 Ulrich Drepper <drepper@gmail.com>
20692
20693 [BZ #12874]
20694 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20695 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20696 kernels which artificially limit size of requests.
20697
0b1cbaae
L
206982011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20699
20700 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20701 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20702 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20703 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20704 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20705 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20706 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20707 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20708 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20709 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20710 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20711 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20712 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20713 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20714 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20716 Enable unaligned load optimization for Intel Core i3, i5 and i7
20717 processors.
20718 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20719 Define.
20720 (index_Fast_Unaligned_Load): Define.
20721 (HAS_FAST_UNALIGNED_LOAD): Define.
20722
07f494a0
MP
207232011-06-23 Marek Polacek <mpolacek@redhat.com>
20724
20725 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20726
fa3fc0fe
UD
207272011-06-22 Ulrich Drepper <drepper@gmail.com>
20728
20729 [BZ #12907]
20730 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20731 until it is clear that the information is realy needed.
20732 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20733
e12df166
AS
207342011-06-22 Andreas Schwab <schwab@redhat.com>
20735
20736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20737
852eb34d
UD
207382011-06-22 Ulrich Drepper <drepper@gmail.com>
20739
84e2a551
UD
20740 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20741 /sys/devices/system/cpu/online if it is usable.
20742
852eb34d
UD
20743 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20744 reading the information from the /proc filesystem to once a second.
20745
6e502e19
UD
207462011-06-21 Andreas Jaeger <aj@suse.de>
20747
20748 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20749 NULL after inclusion of kernel headers.
20750
75d39ff2
UD
207512011-06-21 Ulrich Drepper <drepper@gmail.com>
20752
51f9aa6a
UD
20753 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20754 calls to internal_setent.
20755
c0244a9d
UD
20756 [BZ #12885]
20757 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20758 addresses using gethostbyname4_r ignore IPv4 addresses.
20759
c5e3c2ae
UD
20760 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20761 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20762
75d39ff2
UD
20763 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20764
42675c6f
DM
207652011-06-20 David S. Miller <davem@davemloft.net>
20766
20767 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20768 inclusions.
20769 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20770
20771 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20772 (elf_irel): Use it.
20773 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20774 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20775 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20776 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20777 * sysdeps/x86_64/dl-irel.h: Likewise.
20778
20779 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20780 * elf/dl-sym.c: Likewise.
20781
57912a71
UD
207822011-06-15 Ulrich Drepper <drepper@gmail.com>
20783
20784 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20785 need to dereference resplen2.
20786
ee22793d
AS
207872011-06-14 Andreas Schwab <schwab@redhat.com>
20788
20789 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20790
a9e836b0
UD
207912011-06-15 Ulrich Drepper <drepper@gmail.com>
20792
77fb9117
UD
20793 * Makeconfig: Define vardbdir and inst_vardbdir.
20794 * nss/Makefile: Add rules to install db-Makefile.
20795
40c1b22c
UD
20796 * nss/nss_db/db-XXX.c: Cleanup.
20797
9f2da732
UD
20798 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20799 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20800 GLIBC_PRIVATE.
20801 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20802 * nss/makedb.c: Implement -g option to specify that value strings
20803 are generated and should not be added to table iterated over for
20804 get*ent calls.
20805 * nss/nss_db/db-initgroups.c: New file.
20806
82e9a1f7
UD
20807 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20808 interface.
20809
c41af17e
UD
20810 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20811 (internal_getgrouplist): Adjust to name change.
20812 Update use_initgroups_entry if this is not the first call.
20813 * nss/databases.def: Add initgroups entry.
20814
a9e836b0
UD
20815 * nss/makedb.c (compute_tables): Check result of multiple hash table
20816 sizes to minimize maximum chain length.
20817
2666d441
UD
208182011-06-14 Ulrich Drepper <drepper@gmail.com>
20819
20820 * Versions.def: Add entry for libnss_db.
20821 * shlib-versions: Likewise.
20822 * nss/Makefile: Add rules to build libnss_db.
20823 * nss/Versions: Add libnss_db information. Organize libnss_files
20824 entries better.
20825 * nss/db-Makefile: Add gshadow support. Change rules for the new
20826 makedb progra. Some minor improvements to generate smaller files.
20827 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20828 here from...
20829 * nss/makedb.c: ...here.
20830 Improve database format to be smaller and require less memory at
20831 runtime.
20832 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20833 db anymore.
20834 * nss/nss_db/db-netgrp.c: Likewise.
20835 * nss/nss_db/db-open.c: Likewise.
20836 * nss/nss_files/flies-XXX.x: Adjust comments.
20837 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20838 * nss/nss_files/files-grp.c: Likewise.
20839 * nss/nss_files/files-hosts.c: Likewise.
20840 * nss/nss_files/files-network.c: Likewise.
20841 * nss/nss_files/files-proto.c: Likewise.
20842 * nss/nss_files/files-pwd.c: Likewise.
20843 * nss/nss_files/files-rpc.c: Likewise.
20844 * nss/nss_files/files-service.c: Likewise.
20845 * nss/nss_files/files-sgrp.c: Likewise.
20846 * nss/nss_files/files-spwd.c: Likewise.
20847 * nss/nss_db/db-alias.c: Removed.
20848 * nss/nss_db/dummy-db.h: Removed.
20849
9ee76b5a
UD
208502011-06-02 Ulrich Drepper <drepper@gmail.com>
20851
20852 * nss/makedb.c: Rewritten to not use database library.
20853 * nss/Makefile: Update to build new makedb program.
20854
c71ca1f8
AJ
208552011-06-14 Andreas Jaeger <aj@suse.de>
20856
20857 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20858 memset declaration.
20859
3154bfb8
UD
208602011-06-10 Andreas Schwab <schwab@redhat.com>
20861
20862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20863 tmpbuf.
20864
b350afab
RM
208652011-06-10 Roland McGrath <roland@hack.frob.com>
20866
decd4e50
RM
20867 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20868 * elf/Makefile ($(objpfx)ld.so): Likewise.
20869
5615eaf2
RM
20870 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20871 Don't list ld.so twice in dependencies.
20872
20873 * posix/bug-regex31.c: Include <stdlib.h>.
20874
20875 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20876
20877 * nis/nss_compat/compat-spwd.c
20878 (getspent_next_nss_netgr): Remove unused variable.
20879 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20880
20881 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20882 nonmembers" output to use the right array.
20883
20884 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20885
20886 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20887
20888 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20889 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20890 * catgets/gencat.c (read_input_file): Likewise.
20891 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20892
20893 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20894 variable definition inside #if's controlling its use.
20895
20896 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20897
20898 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20899
20900 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20901
20902 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20903 unreachable code.
20904
20905 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20906
b68e08db
RM
20907 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20908 * configure: Regenerated.
20909
b350afab
RM
20910 * Makerules: Revert last change.
20911 * elf/Makefile: Likewise.
20912
28368601
RM
209132011-06-09 Roland McGrath <roland@hack.frob.com>
20914
20915 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20916 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20917 (reloc-link): Likewise.
20918
11988f8f
UD
209192011-06-09 Ulrich Drepper <drepper@gmail.com>
20920
20921 * elf/Makefile: Add rules to build pldd.
20922 * elf/pldd.c: New file.
20923 * elf/pldd-xx.c: New file.
20924
e80fab37
UD
209252011-06-07 Ulrich Drepper <drepper@gmail.com>
20926
20927 * version.h: Update for 2.15 development version.
20928
9b849836
DM
209292011-06-07 David S. Miller <davem@davemloft.net>
20930
20931 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20932 ifuncs.
20933 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20934 elf_machine_lazy_rel): Likewise.
20935 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20936 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20937 elf_machine_lazy_rel): Likewise.
20938 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20939 dl_hwcap via passed in argument.
20940 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20941 Likewise.
20942
5a31b283
AK
209432011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20944
20945 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20946
069e52f8
RM
209472011-06-06 Roland McGrath <roland@hack.frob.com>
20948
20949 [BZ #12849]
20950 * manual/fdl-1.1.texi: New file, verbatim from:
20951 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20952 * manual/lgpl-2.1.texi: New file, verbatim from:
20953 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20954 * manual/Makefile (licenses): New variable, list those new file names.
20955 (texis): Use it.
20956 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20957
20958 * manual/fdl.texi: File removed.
20959 * manual/lesser.texi: File removed.
20960 * manual/libc.texinfo (Copying, Documentation License):
20961 Use new @include file names, put @appendix directive before @include.
20962
f16846a5
JJ
209632011-06-04 Jakub Jelinek <jakub@redhat.com>
20964
20965 [BZ #12841]
20966 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20967 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20968 (mq_open): Add __NTH.
20969
3d29045b
L
209702011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20971
20972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20973 Assume Intel Core i3/i5/i7 processor if AVX is available.
20974
8c297311
UD
209752011-05-31 Ulrich Drepper <drepper@gmail.com>
20976
20977 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20978 typo.
20979
c8fc0c91
UD
209802011-05-31 Andreas Schwab <schwab@redhat.com>
20981
20982 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20983 memory. Use alloca_account. Fix memory leak when retrying.
20984
5b27a807
UD
209852011-05-31 Ulrich Drepper <drepper@gmail.com>
20986
356f8bc6
UD
20987 * version.h (RELEASE): Bump for 2.14 release.
20988 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20989
5b27a807
UD
20990 * config.make.in (RANLIB): Remove entry.
20991
01f16ab0
UD
209922011-05-30 Ulrich Drepper <drepper@gmail.com>
20993
41fce8bd
UD
20994 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20995 (libc.pot): Work around missing support for .ksh extension in xgettext.
20996
4769ae77
UD
20997 [BZ #12684]
20998 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20999 if both request failed.
21000 (send_dg): In case of server errors clear resplen or *resplen2.
21001
6b1e7d19
UD
21002 [BZ #12454]
21003 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21004 when there are multiple maps.
21005 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21006 (_dl_fini): Remove test here.
21007
01f16ab0
UD
21008 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21009
b1ebd700
UD
210102011-05-29 Ulrich Drepper <drepper@gmail.com>
21011
7ae22829
UD
21012 [BZ #12350]
21013 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21014 bit from old_res_options.
21015 (gaih_inet): Likewise.
21016
553149f6 21017 [BZ #11099]
18a84741 21018 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
21019 as signed.
21020
652ffab1
UD
21021 * resolv/res_init.c (res_setoptions): Make the code more compact.
21022
16985fd0
UD
21023 [BZ #11558]
21024 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21025 set RES_USEVC.
21026
0464f746
UD
21027 [BZ #11634]
21028 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21029
7d17596c
UD
21030 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21031
cf6bbbd7
UD
21032 [BZ #11781]
21033 * malloc/malloc.h: Declare malloc hook variables as volatile.
21034
13f1ab36
UD
21035 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21036 in last patch.
21037
b1ebd700
UD
21038 [BZ #11799]
21039 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 21040 raise in the comment.
80e2212d
UD
21041 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21042 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21043 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 21044
ce67228d
UD
210452011-05-28 Ulrich Drepper <drepper@gmail.com>
21046
8887a920
UD
21047 [BZ #12811]
21048 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21049 grow the buffers more if it already has to be sufficient.
21050 (build_wcs_upper_buffer): Likewise.
21051 * posix/regexec.c (check_matching): Likewise.
21052 (clean_state_log_if_needed): Likewise.
21053 (extend_buffers): Don't enlarge buffers beyond size of the input
21054 buffer.
21055 Patches mostly by Emil Wojak <emil@wojak.eu>.
21056 * posix/bug-regex32.c: New file.
21057 * posix/Makefile (tests): Add bug-regex32.
21058
4f031072
UD
21059 * locale/findlocale.c (_nl_find_locale): Return right away if
21060 _nl_explode_name failed.
21061 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21062
d0478f0c
UD
21063 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21064
de81b246
UD
21065 * debug/xtrace.sh: Unify messages.
21066 * malloc/memusage.sh: Likewise.
21067
c738465a
UD
21068 [BZ #12813]
21069 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21070 time symbol from vDSO. Substitute with vsyscall if not available.
21071 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21072 __vdso_time.
21073
f1f929d7
UD
21074 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21075 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21076 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21077 Add sendmmsg and internal_sendmmsg.
21078 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21079 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21080 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21081
ce67228d
UD
21082 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21083 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21084 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21085
e57420c6
UD
210862011-05-27 Ulrich Drepper <drepper@gmail.com>
21087
a8509ca5
UD
21088 [BZ #12813]
21089 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21090 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21091 available.
21092 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21093 __vdso_getcpu.
21094
e57420c6
UD
21095 [BZ #12814]
21096 * iconvdata/Makefile (tests): Add bug-iconv9.
21097 * iconvdata/bug-iconv9.c: New file.
21098
4d07db15
AS
210992011-05-27 Andreas Schwab <schwab@redhat.com>
21100
21101 [BZ #12814]
21102 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21103
ea486f69
JJ
211042011-05-25 Jakub Jelinek <jakub@redhat.com>
21105
21106 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21107 (struct user_regs_struct): Change intcs field back to cs.
21108
6f038433
UD
211092011-05-25 Ulrich Drepper <drepper@gmail.com>
21110
21111 * po/ja.po: Update from translation team.
21112
67f86a25
UD
211132011-05-23 Ulrich Drepper <drepper@gmail.com>
21114
21115 [BZ #12795]
21116 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21117 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21118
def7fbd6
AS
211192011-05-20 Andreas Schwab <schwab@redhat.com>
21120
21121 * stdlib/longlong.h: Update from GCC.
21122
f50ef8f1
AS
211232011-05-23 Andreas Schwab <schwab@redhat.com>
21124
21125 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21126 parameter name.
21127 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21128 Add parameter name.
21129 (__sysconf): Pass it down.
21130
de7ce8f1
UD
211312011-05-22 Ulrich Drepper <drepper@gmail.com>
21132
f2962a71
UD
21133 [BZ #12671]
21134 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21135 some situations.
21136 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21137 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21138 add in in __libc_use_alloca calls. Adjust callers.
21139 (glob): Use malloc in some situations.
21140
de7ce8f1
UD
21141 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21142 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21143 pltexit.
21144
aec84f53
UD
211452011-05-21 Ulrich Drepper <drepper@gmail.com>
21146
05bb4a68
UD
21147 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21148 and CLOCK_BOOTTIME_ALARM.
21149
7ea72f99
UD
21150 [BZ #12782]
21151 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21152 is returned.
21153
7e4afad5
UD
21154 * string/_strerror.c (__strerror_r): Print negative errors as signed
21155 numbers.
21156
8e211fec
UD
21157 [BZ #12777]
21158 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21159 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21160 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21161
f7d82dc9
UD
21162 * configure.in: Fix typo in redirection and correct removal of test
21163 files in two cases.
21164
cc9e536d
UD
21165 [BZ #12788]
21166 * locale/setlocale.c (new_composite_name): Fix test to check for
21167 identical name of all categories.
21168
aec84f53
UD
21169 [BZ #12792]
21170 * libio/filedoalloc.c (local_isatty): New function.
21171 (_IO_file_doallocate): Use local_isatty.
21172 * stdio-common/perror.c (perror): In case a new stream is used
21173 forward the stream error.
21174 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21175 error flag.
21176
78e64fdc
RT
211772011-05-20 Ulrich Drepper <drepper@gmail.com>
21178
34a9094f
UD
21179 [BZ #11869]
21180 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21181 alloca.
21182 * include/alloca.h (extend_alloca_account): Define.
21183
78e64fdc
RT
21184 [BZ #11857]
21185 * posix/regex.h: Fix comments with documentation of user-accessible
21186 fields after compilation and describe correct free'ing of pattern
21187 after re_compile_pattern.
21188 Patch by Reuben Thomas <rrt@sc3d.org>.
21189
457bddfc
RA
211902011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21191
21192 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21193 and -mno-altivec to prevent the compiler from using Altivec and/or
21194 VSX instructions when the corresponding registers are not available.
21195
a4527b51
AS
211962011-05-19 Andreas Schwab <schwab@redhat.com>
21197
21198 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21199
ed690b2f
UD
212002011-05-19 Ulrich Drepper <drepper@gmail.com>
21201
21202 * libio/freopen.c (freopen): Use __dup2, not dup2.
21203 * libio/freopen64.c (freopen64): Likewise.
21204
8db73634
L
212052011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21206
21207 [BZ #12775]
21208 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21209 * math/Makefile (tests): Add test-powl.
21210 (CFLAGS-test-powl.c): Define.
21211 * math/test-powl.c: New file.
21212
0a197a9d
L
212132011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21214
21215 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21216
ee30c380
UD
212172011-05-17 Ulrich Drepper <drepper@gmail.com>
21218
21219 [BZ #11837]
21220 * iconvdata/gb18030.c: Update to GB18020-2005.
21221
6ce75379
UD
212222011-05-16 Ulrich Drepper <drepper@gmail.com>
21223
a4b89fd8
AR
21224 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21225 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21226 Patch by Aharon Robbins <arnold@skeeve.com>.
21227
ea389b12
UD
21228 [BZ #11892]
21229 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21230 on the stack.
21231
68a3f91f
UD
21232 [BZ #11895]
21233 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21234 through underflows.
21235
15cc7dd1
UD
21236 [BZ #12766]
21237 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21238 point to strings before performing equality test for error_one_per_line
21239 mode.
21240
f3799213
UD
21241 [BZ #11697]
21242 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21243
d79a9c94
UD
21244 [BZ #11820]
21245 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21246 (struct user_fpregs_struct): Avoid __uint*_t types.
21247
56e5eb46
UD
21248 [BZ #6420]
21249 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21250 symbol info. Use it instead of calling _dl_addr locally.
21251 (lock_and_info): New function.
21252 (tr_freehook): Call lock_and_info and pass symbol info as additional
21253 parameter to tr_where.
21254 (tr_mallochook): Likewise.
21255 (tr_reallochook): Likewise.
21256 (tr_memalignhook): Likewise.
21257
6ce75379
UD
21258 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21259 used and couldn't be at all thread-safe.
21260
f8a3b5bf
UD
212612011-05-15 Ulrich Drepper <drepper@gmail.com>
21262
94b7cc37
UD
21263 * libio/freopen.c (freopen): Don't close old file descriptor
21264 before the new one is opened. Instead dup the new file descriptor
21265 to the old one after the new stream is created.
21266 * libio/freopen64.c (freopen64): Likewise.
21267 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21268 * libio/fileops.c (_IO_new_file_close_it): Handle new
21269 _IO_FLAGS2_NOCLOSE flag.
21270 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21271 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21272 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21273 _IO_FLAGS2_NOCLOSE flag.
21274 * include/unistd.h: Add hidden_proto for dup3.
21275 Define __have_dup3.
21276 * io/dup3.c: Define hidden symbol.
21277 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21278
bd25564e
UD
21279 [BZ #7101]
21280 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21281 when an incomplete long option is used.
21282 * posix/tst-getopt_long1.c: New file.
21283 * posix/Makefile (tests): Add tst-getopt_long1.
21284
c84cfef4
UD
21285 [BZ #10138]
21286 * scripts/config.guess: Update from autoconf-2.68.
21287 * scripts/config.sub: Likewise.
21288
3b85df27
UD
21289 [BZ #10157]
21290 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21291 tests into ...
21292 (has_cpuclock): ...this. New function.
21293 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21294 macro here based on has_cpuclock code.
21295
15a856b1
UD
21296 [BZ #10149]
21297 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21298 First byte (not low byte) is now always NUL.
21299 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21300
05f399e6
UD
21301 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21302 Use non-cancelable interfaces.
21303
10a52685 21304 [BZ #9809]
94ecc67d
UD
21305 * locale/iso-639.def: Add entry for Sorani.
21306
f8a3b5bf
UD
21307 [BZ #11901]
21308 * include/stdlib.h: Move include protection to the right place.
21309 Define abort_msg_s. Declare __abort_msg with it.
21310 * stdlib/abort.c (__abort_msg): Adjust type.
21311 * assert/assert.c (__assert_fail_base): New function. Majority
21312 of code from __assert_fail. Allocate memory for __abort_msg with
21313 mmap.
21314 (__assert_fail): Now call __assert_fail_base.
21315 * assert/assert-perr.c: Remove bulk of implementation. Use
21316 __assert_fail_base.
21317 * include/assert.hL Declare __assert_fail_base.
21318 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21319 mmap.
21320 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21321
1af4e298
UD
213222011-05-14 Ulrich Drepper <drepper@gmail.com>
21323
f8a3b5bf 21324 [BZ #11952]
d26dfc60
MG
21325 [BZ #12453]
21326 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21327 until all modules are registered in the DTV.
21328 * elf/Makefile: Add rules to build and run tst-tls19.
21329 * elf/tst-tls19.c: New file.
21330 * elf/tst-tls19mod1.c: New file.
21331 * elf/tst-tls19mod2.c: New file.
21332 * elf/tst-tls19mod3.c: New file.
21333 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21334
2fc54d6f
UD
21335 [BZ #12083]
21336 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21337 correctly.
21338
98d76b46
UD
21339 [BZ #12601]
21340 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21341 two-byte sequence errors.
21342 * iconvdata/Makefile (tests): Add bug-iconv8.
21343 * iconvdata/bug-iconv8.c: New file.
21344
da3c19ef
UD
21345 [BZ #12626]
21346 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21347 buf2 definition.
21348
ca408c15
UD
21349 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21350
d6f67f7d
UD
21351 [BZ #12432]
21352 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21353 (dummy_getcfa): New function.
21354 (init): Get _Unwind_GetCFA address, use dummy if not found.
21355 (backtrace_helper): In recursion check, also check whether CFA changes.
21356 (__backtrace): Completely initialize arg.
21357
1af4e298 21358 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
21359 storing incomplete byte sequence in state object. Avoid testing for
21360 guaranteed too small input if we know there is enough data available.
1af4e298 21361
da62f81b
AS
213622011-05-11 Andreas Schwab <schwab@redhat.com>
21363
21364 * Makeconfig (+link-pie): Indent.
21365 * Rules (binaries-pie): Define if $(have-fpie) and
21366 $(build-shared).
21367 (binaries-shared): Also filter out $(binaries-pie).
21368 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21369 * nscd/Makefile (others-pie): Add nscd.
21370 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21371 ($(objpfx)nscd): Remove command override.
21372 * login/Makefile (others-pie): Add pt_chown.
21373 ($(objpfx)pt_chown): Remove command override.
21374 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21375 remove command overrides.
21376
fcabc0f8
UD
213772011-05-13 Ulrich Drepper <drepper@gmail.com>
21378
20030ae6
UD
21379 * libio/tst_putwc.c: Fix error messages.
21380
fcabc0f8
UD
21381 [BZ #12724]
21382 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21383 currently writing and seek to current position when not.
21384 * libio/Makefile (tests): Add bug-fclose1.
21385 * libio/bug-fclose1.c: New file.
21386
320a5dc0
PB
213872011-05-12 Ulrich Drepper <drepper@gmail.com>
21388
21389 [BZ #12511]
21390 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21391 don't set DF_1_NODELETE here.
21392 (do_lookup_x): When entering new entry test for copy relocation
21393 and if necessary set DF_1_NODELETE flag.
21394 * elf/tst-unique4.cc: New file.
21395 * elf/tst-unique4.h: New file.
21396 * elf/tst-unique4lib.cc: New file.
21397 * elf/Makefile: Add rules to build and run tst-unique4.
21398 Patch by Piotr Bury <pbury@goahead.com>.
21399
22836f52
UD
214002011-05-11 Ulrich Drepper <drepper@gmail.com>
21401
f574184a
UD
21402 [BZ #12052]
21403 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21404
e1fb097f
UD
21405 [BZ #12625]
21406 * misc/mntent_r.c (addmntent): Flush the stream after the output
21407
22836f52
UD
21408 [BZ #12393]
21409 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21410 (is_trusted_path_normalize): Skip initial colon. Append slash
21411 to empty buffer. Duplicate is_trusted_path code but allow
21412 constructed patch to be prefix.
21413 (is_dst): Allow $ORIGIN followed by /.
21414 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21415 Correct testing of result of is_trusted_path_normalize
21416 (decompose_rpath): Fix warning.
21417
7b3b0b2a
UD
214182011-05-10 Ulrich Drepper <drepper@gmail.com>
21419
21420 [BZ #11257]
21421 * grp/initgroups.c (internal_getgrouplist): When we found the service
21422 list through the initgroups entry in nsswitch.conf do not always
21423 continue on a successful lookup. Don't always use the
eac80ce2 21424 __nss_group_database value if it is set.
7b3b0b2a
UD
21425 * nss/nsswitch.conf (initgroups): Change action for successful db
21426 lookup to continue for compatibility.
21427
2a81eaa5
UD
214282011-05-09 Ulrich Drepper <drepper@gmail.com>
21429
be97a69e
UD
21430 [BZ #11532]
21431 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21432 and CP774 modules.
21433 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21434 and CP774 modules.
21435 * iconvdata/tst-tables.sh: Likewise.
21436 * iconvdata/cp770.c: New file.
21437 * iconvdata/cp771.c: New file.
21438 * iconvdata/cp772.c: New file.
21439 * iconvdata/cp773.c: New file.
21440 * iconvdata/cp774.c: New file.
21441 * iconvdata/testdata/CP770: New file.
21442 * iconvdata/testdata/CP770..UTF8: New file.
21443 * iconvdata/testdata/CP771: New file.
21444 * iconvdata/testdata/CP771..UTF8: New file.
21445 * iconvdata/testdata/CP772: New file.
21446 * iconvdata/testdata/CP772..UTF8: New file.
21447 * iconvdata/testdata/CP773: New file.
21448 * iconvdata/testdata/CP773..UTF8: New file.
21449 * iconvdata/testdata/CP774: New file.
21450 * iconvdata/testdata/CP774..UTF8: New file.
21451
21452 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21453 END CHARMAP line.
21454 * iconvdata/gen-8bit-gap.sh: Likewise.
21455 * iconvdata/gen-8bit.sh: Likewise.
21456
c1e9e399
UD
21457 * locale/iso-639.def: Add ary entry.
21458
24c55fb3 21459 [BZ #11258]
96b4b1b0
UD
21460 * locale/C-translit.h.in: Add U20A1 transliteration.
21461
bdc2f971
KB
21462 [BZ #12178]
21463 * locale/iso-639.def: Add wae entry.
21464 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21465
2952b117
UD
21466 [BZ #12545]
21467 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21468 for n.
21469
2a81eaa5
UD
21470 [BZ #12711]
21471 * locale/C-translit.h.in: Add entry for U20B9.
21472 Patch by pravin.d.s@gmail.com.
21473
28377d1b
UD
214742011-05-08 Ulrich Drepper <drepper@gmail.com>
21475
7fb90fb8
UD
21476 [BZ #12713]
21477 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21478 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
21479 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21480 in rtld. Use *stat64.
7fb90fb8 21481 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 21482 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 21483 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
21484 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21485 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21486 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21487 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21488 __fstatat64 macros.
7fb90fb8
UD
21489 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21490 * dirent/rewinddir.c: Add libc_hidden_def.
21491 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 21492 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 21493
28377d1b
UD
21494 * include/dirent.h (__alloc_dir): Add flags parameter.
21495 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21496 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21497 __alloc_dir.
21498 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21499 from fdopendir if O_CLOEXEC is already set.
21500
66bdbaa4
AM
215012011-03-15 Alan Modra <amodra@gmail.com>
21502
21503 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21504 l_tls_firstbyte_offset non-zero. Save padding offset in
21505 l_tls_firstbyte_offset for later use.
21506 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21507 freeing static tls block.
21508
95721191
JN
215092011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21510
21511 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21512 where #ifdef was intended. The intent is to prevent ARG_MAX from
21513 being defined by the kernel headers.
21514
f87dfb1f
UD
215152011-05-07 Ulrich Drepper <drepper@gmail.com>
21516
21517 [BZ #12734]
21518 * resolv/resolv.h: Define RES_NOTLDQUERY.
21519 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21520 no-tld-query and set RES_NOTLDQUERY.
21521 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21522 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21523 modern BIND to search name as TLD unless forbidden.
21524
47c3cd7a
UD
215252011-05-07 Petr Baudis <pasky@suse.cz>
21526 Ulrich Drepper <drepper@gmail.com>
21527
21528 [BZ #12393]
21529 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21530 (is_trusted_path): ...to here.
c1e9ea35 21531 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 21532 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 21533 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 21534
8a35c912
PP
215352011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21536
21537 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21538 __BEGIN/__END_DECLS.
21539
acd41f47
UD
215402011-05-06 Ulrich Drepper <drepper@gmail.com>
21541
21542 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21543 NSS_STATUS_NOTFOUND if no record was found.
21544
597df647
AS
215452011-05-05 Andreas Schwab <schwab@redhat.com>
21546
21547 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21548 (headers-not-in-tirpc): Remove rpc/netdb.h
21549 * resolv/netdb.h: Revert last change.
21550
b9af1301
PP
215512011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21552
21553 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21554 circular dependency between libgcc.a and libc.a.
21555
4e34d5f5
AS
215562011-05-05 Andreas Schwab <schwab@redhat.com>
21557
21558 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21559 * nis/Makefile: Don't install rpcsvc/*.
21560 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21561 instead of <rpc/types.h>.
21562 (MAXHOSTNAMELEN): Define.
21563
00ee369c
AS
215642011-05-03 Andreas Schwab <schwab@redhat.com>
21565
21566 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21567
0b592a30
MB
215682011-04-28 Maciej Babinski <mbabinski@google.com>
21569
21570 [BZ #12714]
21571 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21572 gethostbyname4_r when IPv6 results are possible.
21573
6e04cbbe
UD
215742011-05-02 Ulrich Drepper <drepper@gmail.com>
21575
21576 [BZ #12723]
21577 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21578 _PC_PIPE_BUF handling.
21579
e4ecafe0
BH
215802011-04-30 Bruno Haible <bruno@clisp.org>
21581
21582 [BZ #12717]
21583 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21584 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21585 to 'int'.
21586 * inet/getnameinfo.c (getnameinfo): Likewise.
21587
125ee683
UD
215882011-04-29 Ulrich Drepper <drepper@gmail.com>
21589
21590 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21591 to groups setting in database lookup.
21592 * nss/nsswitch.conf: Add initgroups entry.
21593
b722481a
EB
215942011-04-22 Ulrich Drepper <drepper@gmail.com>
21595
21596 [BZ #12685]
21597 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21598 mode string.
21599 Patch by Eric Blake <eblake@redhat.com>.
21600
4df46dbd
L
216012011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21602
21603 * sunrpc/Makefile (need-export-routines): Add svc_run.
21604 (routines): Remove svc_run.
21605 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21606 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21607 * sunrpc/svc_run.c (svc_run): Likewise.
21608 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21609
e84142d2
UD
216102011-04-21 Ulrich Drepper <drepper@gmail.com>
21611
21612 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21613 problem in reallocation in last patch.
21614
877175d8
UD
216152011-04-20 Ulrich Drepper <drepper@gmail.com>
21616
21617 * sunrpc/Makefile: Move inclusion of Rules.
21618
ab8eed78
UD
216192011-04-19 Ulrich Drepper <drepper@gmail.com>
21620
21621 * nss/nss_files/files-initgroups.c: New file.
21622 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21623 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21624 _nss_files_initgroups_dyn.
21625
e3d8f584
RS
216262011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21627
21628 * elf/elf.h (R_ARM_IRELATIVE): Define.
21629
af190f45
UD
216302011-04-19 Ulrich Drepper <drepper@gmail.com>
21631
21632 * po/ru.po: Update from translation team.
21633
53cf59ef
UD
216342011-04-17 Ulrich Drepper <drepper@gmail.com>
21635
21636 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21637 dependencies.
21638
4c559bcd
MF
216392011-02-06 Mike Frysinger <vapier@gentoo.org>
21640
21641 [BZ #12653]
21642 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21643 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21644 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21645 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21646 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21647
4420675c
AS
216482011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21649
21650 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21651 differing bytes.
21652 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21653 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21654 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21655
75ea32ab
UD
216562011-04-17 Ulrich Drepper <drepper@gmail.com>
21657
21658 [BZ #12420]
21659 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21660 storing it.
21661 * stdlib/bug-getcontext.c: New file.
21662 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21663
27390476
AK
216642011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21665
21666 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21667 instructions into .machine "z9-109".
21668 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21669 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21670
10442705
AK
216712011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21672
21673 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21674 between environment variables and auxiliary vector.
21675
7b57bfe5
UD
216762011-04-16 Ulrich Drepper <drepper@gmail.com>
21677
21678 * Makefile: Add rules to build linkobj/libc.so.
21679 * include/libc-symbols.h: Define libc_hidden_nolink.
21680 * include/rpc/auth.h: Mark functions which are to be hidden.
21681 * include/rpc/auth_des.h: Likewise.
21682 * include/rpc/auth_unix.h: Likewise.
21683 * include/rpc/clnt.h: Likewise.
21684 * include/rpc/des_crypt.h: Likewise.
21685 * include/rpc/key_prot.h: Likewise.
21686 * include/rpc/pmap_clnt.h: Likewise.
21687 * include/rpc/pmap_prot.h: Likewise.
21688 * include/rpc/pmap_rmt.h: Likewise.
21689 * include/rpc/rpc_msg.h: Likewise.
21690 * include/rpc/svc.h: Likewise.
21691 * include/rpc/svc_auth.h: Likewise.
21692 * include/rpc/xdr.h: Likewise.
21693 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21694 * nss/Makefile: Likewise.
21695 * sunrpc/Makefile: Don't install headers. Build library with normal
21696 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21697 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21698 for the compat linking library. Remove use of INTDEF/INTUSE.
21699 * sunrpc/auth_none.c: Likewise.
21700 * sunrpc/auth_unix.c: Likewise.
21701 * sunrpc/authdes_prot.c: Likewise.
21702 * sunrpc/authuxprot.c: Likewise.
21703 * sunrpc/clnt_gen.c: Likewise.
21704 * sunrpc/clnt_perr.c: Likewise.
21705 * sunrpc/clnt_raw.c: Likewise.
21706 * sunrpc/clnt_simp.c: Likewise.
21707 * sunrpc/clnt_tcp.c: Likewise.
21708 * sunrpc/clnt_udp.c: Likewise.
21709 * sunrpc/clnt_unix.c: Likewise.
21710 * sunrpc/des_crypt.c: Likewise.
21711 * sunrpc/des_soft.c: Likewise.
21712 * sunrpc/get_myaddr.c: Likewise.
21713 * sunrpc/key_call.c: Likewise.
21714 * sunrpc/key_prot.c: Likewise.
21715 * sunrpc/netname.c: Likewise.
21716 * sunrpc/pm_getmaps.c: Likewise.
21717 * sunrpc/pm_getport.c: Likewise.
21718 * sunrpc/pmap_clnt.c: Likewise.
21719 * sunrpc/pmap_prot.c: Likewise.
21720 * sunrpc/pmap_prot2.c: Likewise.
21721 * sunrpc/pmap_rmt.c: Likewise.
21722 * sunrpc/publickey.c: Likewise.
21723 * sunrpc/rpc_cmsg.c: Likewise.
21724 * sunrpc/rpc_common.c: Likewise.
21725 * sunrpc/rpc_dtable.c: Likewise.
21726 * sunrpc/rpc_prot.c: Likewise.
21727 * sunrpc/rpc_thread.c: Likewise.
21728 * sunrpc/rtime.c: Likewise.
21729 * sunrpc/svc.c: Likewise.
21730 * sunrpc/svc_auth.c: Likewise.
21731 * sunrpc/svc_authux.c: Likewise.
21732 * sunrpc/svc_raw.c: Likewise.
21733 * sunrpc/svc_run.c: Likewise.
21734 * sunrpc/svc_simple.c: Likewise.
21735 * sunrpc/svc_tcp.c: Likewise.
21736 * sunrpc/svc_udp.c: Likewise.
21737 * sunrpc/svc_unix.c: Likewise.
21738 * sunrpc/svcauth_des.c: Likewise.
21739 * sunrpc/xcrypt.c: Likewise.
21740 * sunrpc/xdr.c: Likewise.
21741 * sunrpc/xdr_array.c: Likewise.
21742 * sunrpc/xdr_float.c: Likewise.
21743 * sunrpc/xdr_intXX_t.c: Likewise.
21744 * sunrpc/xdr_mem.c: Likewise.
21745 * sunrpc/xdr_rec.c: Likewise.
21746 * sunrpc/xdr_ref.c: Likewise.
21747 * sunrpc/xdr_sizeof.c: Likewise.
21748 * sunrpc/xdr_stdio.c: Likewise.
21749
e6c61494
UD
217502011-04-10 Ulrich Drepper <drepper@gmail.com>
21751
21752 [BZ #12650]
21753 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21754 * sysdeps/ia64/dl-tls.h: Likewise.
21755 * sysdeps/powerpc/dl-tls.h: Likewise.
21756 * sysdeps/s390/dl-tls.h: Likewise.
21757 * sysdeps/sh/dl-tls.h: Likewise.
21758 * sysdeps/sparc/dl-tls.h: Likewise.
21759 * sysdeps/x86_64/dl-tls.h: Likewise.
21760 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21761
34fe483e
AS
217622011-03-14 Andreas Schwab <schwab@redhat.com>
21763
21764 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21765 rpath element also skip the following colon.
21766 (expand_dynamic_string_token): Add is_path parameter and pass
21767 down to DL_DST_REQUIRED and _dl_dst_substitute.
21768 (decompose_rpath): Call expand_dynamic_string_token with
21769 non-zero is_path. Ignore empty rpaths.
21770 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21771 with zero is_path.
21772
f12a32e6
AS
217732011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21774
21775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21776 Make cancelable.
21777
38a7d692
UD
217782011-04-09 Ulrich Drepper <drepper@gmail.com>
21779
21780 [BZ #12655]
21781 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21782 Patch by Filipe David Manana <fdmanana@apache.org>.
21783
e451d22b
AS
217842011-04-07 Andreas Schwab <schwab@redhat.com>
21785
21786 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21787 Maintain aligned stack.
21788 (CHECK_RSP): Remove unused macro.
21789
dedc7c7b
UD
217902011-04-03 Ulrich Drepper <drepper@gmail.com>
21791
21792 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21793 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21794
94521213
UD
217952011-04-02 Ulrich Drepper <drepper@gmail.com>
21796
21797 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21798
8cb700c0 21799 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21800
0354e355
L
218012011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21802
21803 [BZ #12518]
21804 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21805 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21806 * sysdeps/x86_64/memmove.c: New file.
21807 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21808 (memcpy): Renamed to ...
21809 (__new_memcpy): This.
21810 (memcpy): Provide GLIBC_2_14 memcpy.
21811 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21812 (memcpy): Provide GLIBC_2_2_5 memcpy.
21813
8593482f
UD
218142011-04-01 Ulrich Drepper <drepper@gmail.com>
21815
21816 [BZ #12631]
21817 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21818
81a5726b
AS
218192011-03-30 Andreas Schwab <schwab@redhat.com>
21820
21821 * misc/syncfs.c: New file.
21822 * misc/Makefile (routines): Add syncfs.
21823 * posix/unistd.h: Declare syncfs.
21824 * sysdeps/unix/syscalls.list: Add syncfs.
21825
00e5419f
AS
218262011-04-01 Andreas Schwab <schwab@redhat.com>
21827
21828 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21829 open_by_handle_at.
21830 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21831 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21832 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21833 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21834 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21835 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21836 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21837
748876bf
UD
218382011-04-01 Ulrich Drepper <drepper@gmail.com>
21839
658e451d
UD
21840 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21841 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21842 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21843 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21844 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21845 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21846 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21847
748876bf
UD
21848 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21849 sync_file_range.c with -fexceptions.
21850 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21851 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21852 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21853 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21854 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21855 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21856 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21857 sync_file_range as cancellation point
21858 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21859 now a wrapper around __call_sync_file_range with cancellation handling.
21860 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21861 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21862 function name to __call_sync_file_range.
21863 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21864 Add call_sync_file_range.
748876bf 21865
6e63d5e1
AS
218662011-04-01 Andreas Schwab <schwab@redhat.com>
21867
21868 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21869 bits/timex.h.
6e63d5e1 21870
46998f74
UD
218712011-04-01 Ulrich Drepper <drepper@gmail.com>
21872
4c1423ed
UD
21873 * iconv/iconv.h: Fix typo in comment.
21874 * io/fcntl.h: Likewise.
21875 * libio/stdio.h: Likewise.
21876 * posix/spawn.h: Likewise.
21877 * posix/unistd.h: Likewise.
21878 * stdlib/stdlib.h: Likewise.
21879 * time/time.h: Likewise.
21880 * wcsmbs/wchar.h: Likewise.
21881
158648c0
UD
21882 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21883 open_by_handle): Add.
21884 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21885 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21886 Augment a few comments.
21887 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21888 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21889 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21890 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21891 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21892 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21893 open_by_handle.
21894
46998f74
UD
21895 * io/fcntl.h (AT_EMPTY_PATH): Define.
21896
83fe108b
UD
218972011-03-30 Ulrich Drepper <drepper@gmail.com>
21898
21899 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21900 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21901 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21902 to...
21903 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21904 * Versions.def: Add GLIBC_2.14.
21905 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21906 Export.
83fe108b 21907
bb242059
UD
219082011-03-22 Ulrich Drepper <drepper@gmail.com>
21909
21910 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21911 round counter.
21912 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21913
c97a1282
L
219142011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21915
21916 [BZ #12597]
21917 * string/test-strncmp.c (do_page_test): New function.
21918 (check2): Likewise.
21919 (test_main): Call check2.
21920 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21921
2a115601
UD
219222011-03-20 Ulrich Drepper <drepper@gmail.com>
21923
21924 [BZ #12587]
21925 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21926 Handle cache information in CPU leaf 4.
21927 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21928
8126d904
UD
219292011-03-18 Ulrich Drepper <drepper@gmail.com>
21930
042c49c6 21931 [BZ #12583]
8126d904
UD
21932 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21933 character representation.
21934 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21935
ccfe366e
RA
219362011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21937
21938 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21939 END(__isnan) to END(__isnanf) to match function entry point/label
21940 EALIGN(__isnanf,...).
21941
c6e13027
JJ
219422011-03-10 Jakub Jelinek <jakub@redhat.com>
21943
21944 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21945
33f85a3f
UD
219462011-03-10 Ulrich Drepper <drepper@gmail.com>
21947
028478fa
UD
21948 [BZ #12510]
21949 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21950 copy from the symbol referenced in the relocation to initialize the
21951 used variable.
21952 Patch by Piotr Bury <pbury@goahead.com>.
21953 * elf/Makefile: Add rules to build and tst-unique3.
21954 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21955 * elf/tst-unique3.cc: New file.
21956 * elf/tst-unique3.h: New file.
21957 * elf/tst-unique3lib.cc: New file.
21958 * elf/tst-unique3lib2.cc: New file.
21959
33f85a3f
UD
21960 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21961
03592fc7
MF
219622011-03-10 Mike Frysinger <vapier@gentoo.org>
21963
21964 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21965 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21966 to _start.
03592fc7 21967
6a5ee102
UD
219682011-03-06 Ulrich Drepper <drepper@gmail.com>
21969
21970 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21971 to-be-loaded object along a path to loader is ld.so.
21972
7e4ba49c
HJ
219732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21974 Ulrich Drepper <drepper@gmail.com>
21975
21976 * sysdeps/x86_64/memset.S: After aligning destination, code
21977 branches to different locations depending on the value of
21978 misalignment, when multiarch is enabled. Fix this.
21979
219802011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21981
21982 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21983 Set _x86_64_preferred_memory_instruction for AMD processsors.
21984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21985 Set bit_Prefer_SSE_for_memop for AMD processors.
21986
13a804de
UD
219872011-03-04 Ulrich Drepper <drepper@gmail.com>
21988
21989 * libio/fmemopen.c (fmemopen): Optimize a bit.
21990
9d25c392
AS
219912011-03-03 Andreas Schwab <schwab@redhat.com>
21992
21993 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21994
a5543c6a
RM
219952011-03-03 Roland McGrath <roland@redhat.com>
21996
21997 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21998
012d35f7
DM
219992011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22000
7e4ba49c 22001 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
22002 __bzero_ultra1 instead of __memset_ultra1.
22003
4bff6e01
AS
220042011-02-23 Andreas Schwab <schwab@redhat.com>
22005 Ulrich Drepper <drepper@gmail.com>
22006
22007 [BZ #12509]
22008 * include/link.h (struct link_map): Add l_orig_initfini.
22009 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22010 returning unsuccessfully.
22011 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22012 close of a file loaded at startup, restore the original l_initfini
22013 list.
22014 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22015 list, store the pointer.
22016 * elf/Makefile ($(objpfx)noload-mem): New rule.
22017 (noload-ENV): Define.
22018 (tests): Add $(objpfx)noload-mem.
22019 * elf/noload.c: Include <memcheck.h>.
22020 (main): Call mtrace. Close all opened handles.
22021
f2092faf
AS
220222011-02-17 Andreas Schwab <schwab@redhat.com>
22023
22024 [BZ #12454]
22025 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22026 dependencies are missing.
22027
6c8a2e88
ST
220282011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22029
f2092faf 22030 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
22031 Hurd needs munmap.
22032 * sysdeps/mach/hurd/ifreq.h: New file.
22033
84a42118
PB
220342011-01-27 Petr Baudis <pasky@suse.cz>
22035 Ulrich Drepper <drepper@gmail.com>
22036
071f805e 22037 [BZ 12445]#
84a42118
PB
22038 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22039 to extend_alloca().
22040 * stdio-common/bug23.c: New file.
22041 * stdio-common/Makefile (tests): Add bug23.
22042
e23fe25b
AS
220432010-09-28 Andreas Schwab <schwab@redhat.com>
22044 Ulrich Drepper <drepper@gmail.com>
22045
22046 [BZ #12489]
22047 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22048 before performing relro protection. At old place add assertion
22049 to make sure nothing changed.
22050
d3f02e10
NS
220512011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22052 Glauber de Oliveira Costa <glommer@gmail.com>
22053
22054 * elf/elf.h: Add new ARM TLS relocs.
22055
d55fd7a5
RA
220562011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22057
22058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22059 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22060 cast from r3.
22061 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22062 'tests' variable.
22063 * sysdeps/wordsize-64/tst-writev.c: New file.
22064
2206397e
RA
220652011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22066
22067 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22068 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22069 insns in _dl_start to prevent a TOC reference before relocs are
22070 resolved.
22071
e9433893
UD
220722011-02-15 Ulrich Drepper <drepper@gmail.com>
22073
22074 [BZ #12469]
22075 * Makeconfig: Remove RANLIB definition.
22076 * Makerules: Don't use RANLIB.
22077 * aclocal.m4: Remove ranlib test.
22078 * configure.in: No need to check for ranlib.
22079 * elf/rtld-Rules: Don't use RANLIB.
22080
f75286c6
ST
220812011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22082
8e31c82d
ST
22083 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22084 protection macro.
22085 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22086 inclusion protection macro.
22087
f75286c6
ST
22088 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22089 SIGRTMIN and SIGRTMAX and print information in that case only when
22090 SIGRTMIN is defined.
22091
c1d0e639
JJ
220922011-02-11 Jakub Jelinek <jakub@redhat.com>
22093
22094 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22095 arginfo fn returning -1.
22096
22097 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22098 and thousands string is zero terminated.
22099
edf9294e
AS
221002011-02-03 Andreas Schwab <schwab@redhat.com>
22101
22102 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22103 sysdeps/unix/sysv/linux/bits/socket.h.
22104
2b7e92df
ST
221052011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22106
edf9294e
AS
22107 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22108 (__CPU_COUNT): Remove old macros.
22109 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22110 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22111 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
22112 (__sched_cpualloc, __sched_cpufree): Add declarations.
22113
a4c7ea7b
UD
221142011-02-05 Ulrich Drepper <drepper@gmail.com>
22115
22116 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22117 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22118 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22119 (readdhstai): Return value of addhstaiX call.
22120 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22121 (addgrbyX): Return value returned by cache_addgr.
22122 (readdgrbyname): Return value returned by addgrbyX.
22123 (readdgrbygid): Likewise.
22124 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22125 (addpwbyX): Return value returned by cache_addpw.
22126 (readdpwbyname): Return value returned by addhstbyX.
22127 (readdpwbyuid): Likewise.
22128 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22129 (addservbyX): Return value returned by cache_addserv.
22130 (readdservbyname): Return value returned by addservbyX:
22131 (readdservbyport): Likewise.
22132 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22133 (addhstbyX): Return value returned by cache_addhst.
22134 (readdhstbyname): Return value returned by addhstbyX.
22135 (readdhstbyaddr): Likewise.
22136 (readdhstbynamev6): Likewise.
22137 (readdhstbyaddrv6): Likewise.
22138 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22139 (readdinitgroups): Return value returned by addinitgroupsX.
22140 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22141 (prune_cache): Keep track of timeout value of re-added entries.
22142 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22143 * nscd/nscd.h: Adjust prototypes of readd* functions.
22144
a0bf67cc
RM
221452011-02-04 Roland McGrath <roland@redhat.com>
22146
22147 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22148 (nis_stats): Likewise.
22149 * nis/nis_modify.c (nis_modify): Likewise.
22150 * nis/nis_remove.c (nis_remove): Likewise.
22151 * nis/nis_add.c (nis_add): Likewise.
22152
22153 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22154
22155 * posix/fnmatch_loop.c: Add some consts.
22156
22157 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22158
435b95eb
L
221592011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22160
22161 [BZ #12460]
22162 * config.make.in (config-cflags-novzeroupper): Define.
22163 * configure.in: Substitute libc_cv_cc_novzeroupper.
22164 * elf/Makefile (AVX-CFLAGS): Define.
22165 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22166 (CFLAGS-tst-auditmod4a.c): Likewise.
22167 (CFLAGS-tst-auditmod4b.c): Likewise.
22168 (CFLAGS-tst-auditmod6b.c): Likewise.
22169 (CFLAGS-tst-auditmod6c.c): Likewise.
22170 (CFLAGS-tst-auditmod7b.c): Likewise.
22171 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22172
8517b15e
UD
221732011-02-02 Ulrich Drepper <drepper@gmail.com>
22174
22175 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22176 function to the callback.
22177 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22178
10a656fe
AS
221792011-02-02 Andreas Schwab <schwab@redhat.com>
22180
22181 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22182 of errno.
22183
968dad0a
UD
221842011-01-19 Ulrich Drepper <drepper@gmail.com>
22185
9f94d2ea 22186 [BZ #11724]
968dad0a
UD
22187 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22188 of constructors.
22189 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22190 of destructors.
22191 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22192
22193 [BZ #11724]
22194 * elf/Makefile: Add rules to build and run new test.
22195 * elf/tst-initorder.c: New file.
22196 * elf/tst-initorder.exp: New file.
22197 * elf/tst-initordera1.c: New file.
22198 * elf/tst-initordera2.c: New file.
22199 * elf/tst-initordera3.c: New file.
22200 * elf/tst-initordera4.c: New file.
22201 * elf/tst-initorderb1.c: New file.
22202 * elf/tst-initorderb2.c: New file.
22203 * elf/tst-order-a1.c: New file.
22204 * elf/tst-order-a2.c: New file.
22205 * elf/tst-order-a3.c: New file.
22206 * elf/tst-order-a4.c: New file.
22207 * elf/tst-order-b1.c: New file.
22208 * elf/tst-order-b2.c: New file.
22209 * elf/tst-order-main.c: New file.
22210 New test case by George Gensure <werkt0@gmail.com>.
22211
86e92359
UD
222122010-10-01 Andreas Schwab <schwab@redhat.com>
22213
22214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22215 decoding ACE if AI_CANONIDN.
22216
5d5732b0
UD
222172011-01-18 Ulrich Drepper <drepper@gmail.com>
22218
22219 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22220
a77e8cbc
UD
222212011-01-17 Ulrich Drepper <drepper@gmail.com>
22222
6392473f
UD
22223 * version.h (RELEASE): Bump for 2.13 release.
22224 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22225
620a0529
UD
22226 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22227
18ba70a5
UD
22228 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22229 MADV_NOHUGEPAGE.
32465c3e
UD
22230 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22231 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22232 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22233 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22234 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22235 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22236
c0dafcf1
UD
22237 * posix/getconf.c: Update copyright year.
22238 * catgets/gencat.c: Likewise.
22239 * csu/version.c: Likewise.
22240 * debug/catchsegv.sh: Likewise.
22241 * debug/xtrace.sh: Likewise.
22242 * elf/ldconfig.c: Likewise.
22243 * elf/ldd.bash.in: Likewise.
22244 * elf/sprof.c (print_version): Likewise.
22245 * iconv/iconv_prog.c: Likewise.
22246 * iconv/iconvconfig.c: Likewise.
22247 * locale/programs/locale.c: Likewise.
22248 * locale/programs/localedef.c: Likewise.
22249 * malloc/memusage.sh: Likewise.
22250 * malloc/mtrace.pl: Likewise.
22251 * nscd/nscd.c (print_version): Likewise.
22252 * nss/getent.c: Likewise.
22253
a77e8cbc
UD
22254 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22255 PF_CAIF, and PF_ALG.
22256 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22257
77e8bddf
AS
222582011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22259
1f20b93a
AS
22260 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22261 (modules-names): Use them.
22262 (ifunc-test-modules, ifunc-pie-tests): Define.
22263 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22264 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22265 (test-extras): Likewise.
22266 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22267 $(compile-command.c).
22268 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22269 (all-built-dso): Define.
22270 (check-textrel.out, check-execstack.out): Depend on it.
22271
77e8bddf
AS
22272 * configure.in: Don't override --enable-multi-arch.
22273
bc425b33
UD
222742011-01-15 Ulrich Drepper <drepper@gmail.com>
22275
22276 [BZ #6812]
22277 * nscd/hstcache.c (tryagain): Define.
22278 (cache_addhst): Return tryagain not notfound for temporary errors.
22279 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22280 failed.
22281
794c3ad3
UD
222822011-01-14 Ulrich Drepper <drepper@gmail.com>
22283
70181fdd
UD
22284 [BZ #10563]
22285 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22286 to make the syscall.
22287 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22288
794c3ad3
UD
22289 [BZ #12378]
22290 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22291 and fall back to matching as normal character if the string ends before
22292 the matching ']' is found. This is what POSIX requires.
22293 * posix/testfnm.c: Adjust test result.
22294 * posix/globtest.sh: Adjust test result. Add new test.
22295 * posix/tst-fnmatch.input: Likewise.
22296 * posix/tst-fnmatch2.c: Add new test.
22297
68dc9497
AS
222982010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22299
22300 * elf/Makefile (check-execstack): Revert last change. Depend on
22301 check-execstack.h.
22302 (check-execstack.h): New target.
22303 (generated): Add check-execstack.h.
22304 * elf/check-execstack.c: Include "check-execstack.h".
22305 (main): Revert last change.
22306 (handle_file): Return zero if GNU_STACK is absent and
22307 DEFAULT_STACK_PERMS doesn't include PF_X.
22308
451f001b
UD
223092011-01-13 Ulrich Drepper <drepper@gmail.com>
22310
cfa28e56
UD
22311 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22312 in child fails because the descriptor is already closed.
8cf8ce17
UD
22313 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22314 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22315 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 22316
1086d70d
UD
22317 [BZ #12397]
22318 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22319 syscall.
22320
451f001b
UD
22321 [BZ #10484]
22322 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22323 temporary buffer used to handle multi lookups locally.
a85b5cb4 22324 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 22325
08769175
UD
223262011-01-12 Ulrich Drepper <drepper@gmail.com>
22327
22328 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22329 loader is ld.so.
22330
5e49c52e
UD
223312011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22332
22333 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22334 alignment for SSE2.
22335
60522a5f
UD
223362011-01-12 Ulrich Drepper <drepper@gmail.com>
22337
22338 [BZ #12394]
22339 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22340 characters. When rounding increased number of integer digits recompute
22341 number of groups.
22342 * stdio-common/tst-grouping.c: New file.
22343 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22344
f257bbd7
UD
223452011-01-09 Ulrich Drepper <drepper@gmail.com>
22346
22347 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22348 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22349
22350 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22351 void.
22352 * bits/select.h: Likewise.
22353
fa9c15cb
UD
223542011-01-08 Ulrich Drepper <drepper@gmail.com>
22355
22356 * po/ja.po: Update from translation team.
22357
16c2895f
DM
223582011-01-04 David S. Miller <davem@sunset.davemloft.net>
22359
22360 [BZ #11155]
22361 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22362 implementation just like for lxstat, fxstatat, et al.
22363
2543fef2
JM
223642010-12-27 Jim Meyering <meyering@redhat.com>
22365
22366 [BZ #12348]
22367 * posix/regexec.c (build_trtable): Return failure indication upon
22368 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22369
98727dbe
UD
223702010-12-25 Ulrich Drepper <drepper@gmail.com>
22371
5bd6dc5c
UD
22372 [BZ #12201]
22373 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22374 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22375 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22376 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22377
97983464
UD
22378 [BZ #12207]
22379 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22380
98727dbe
UD
22381 [BZ #12204]
22382 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22383 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22384
4a531bb0
L
223852010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22386
22387 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22388 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22389 script has SORT_BY_INIT_PRIORITY.
22390 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22391 NO_CTORS_DTORS_SECTIONS is defined.
22392 * elf/soinit.c: Likewise.
22393 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22394 NO_CTORS_DTORS_SECTIONS is defined.
22395 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22396 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22397 * sysdeps/sh/init-first.c: Likewise.
22398 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22399
07eb4b71
UD
224002010-12-24 Ulrich Drepper <drepper@gmail.com>
22401
22402 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22403 always use the slow path.
22404
30950a5f
RA
224052010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22406
22407 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22408 similar rule which adds the sysdep directories to the header search in
22409 order to pick up the correct platform stackinfo.h.
22410 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22411 perform test if it is, otherwise return successfully without testing.
22412 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22413 DEFAULT_STACK_PERMS define in stackinfo.h.
22414 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22415 defined in stackinfo.h.
22416 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22417 DEFAULT_STACK_PERMS defined in stackinfo.h.
22418 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22419 * sysdeps/ia64/stackinfo.h: Likewise.
22420 * sysdeps/s390/stackinfo.h: Likewise.
22421 * sysdeps/sh/stackinfo.h: Likewise.
22422 * sysdeps/sparc/stackinfo.h: Likewise.
22423 * sysdeps/x86_64/stackinfo.h: Likewise.
22424 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22425 PF_X for powerpc64. Retain PF_X for powerpc32.
22426
db753e2c
UD
224272010-12-19 Ulrich Drepper <drepper@gmail.com>
22428
14b697f7
UD
22429 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22430 accurately.
db753e2c
UD
22431 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22432 GETDENTS_64BIT_ALIGNED.
22433
28300719
UD
224342010-12-14 Ulrich Drepper <dreper@gmail.com>
22435
14b697f7 22436 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 22437
4f197237
AS
224382010-12-10 Andreas Schwab <schwab@redhat.com>
22439
dbb0472f
AS
22440 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22441 _GNU_SOURCE.
22442
4f197237
AS
22443 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22444 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22445 Remove __restrict.
22446 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22447 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22448
fb88ac72
UD
224492010-12-09 Ulrich Drepper <drepper@gmail.com>
22450
22451 [BZ #11655]
22452 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22453 are initialized.
22454
42acbb92
JJ
224552010-12-09 Jakub Jelinek <jakub@redhat.com>
22456
22457 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22458
c038d98d
UD
224592010-12-03 Ulrich Drepper <drepper@gmail.com>
22460
22461 * po/it.po: Update from translation team.
22462
3a4a2499
L
224632010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22464
22465 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22466 unused codes.
22467
1e24cf6e
UD
224682010-11-30 Ulrich Drepper <drepper@gmail.com>
22469
22470 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22471
a7690819
AS
224722010-11-24 Andreas Schwab <schwab@redhat.com>
22473
22474 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22475 specially.
22476 (gaih_getanswer_slice): Likewise.
22477
3bf8d1b1
JJ
224782010-10-20 Jakub Jelinek <jakub@redhat.com>
22479
22480 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22481
6db52fbb
PB
224822010-05-31 Petr Baudis <pasky@suse.cz>
22483
22484 [BZ #11149]
22485 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22486 silently even in the chroot mode.
22487
eaca7569
UD
224882010-11-22 Ulrich Drepper <drepper@gmail.com>
22489
22490 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22491 last patch a bit. Pretty printing
22492
3056dcdb
UD
224932010-05-31 Petr Baudis <pasky@suse.cz>
22494
22495 [BZ #10085]
22496 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22497 initialization of skip_initgroups_dyn.
22498
cf7c9078
UD
224992010-11-19 Ulrich Drepper <drepper@gmail.com>
22500
22501 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22502 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22503
a1fb5e3e
UD
225042010-11-16 Ulrich Drepper <drepper@gmail.com>
22505
22506 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22507
3540d66b
AS
225082010-11-11 Andreas Schwab <schwab@redhat.com>
22509
22510 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22511 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22512 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22513 ($(objpfx)tst-fnmatch-mem): New rule.
22514 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22515 * posix/tst-fnmatch.c (main): Call mtrace.
22516
13b69574
L
225172010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22518
22519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22520 Support Intel processor model 6 and model 0x2c.
22521
da93d214
LM
225222010-11-10 Luis Machado <luisgpm@br.ibm.com>
22523
22524 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22525 signed comparison.
22526
8ca52c6e
L
225272010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22528
22529 [BZ #12205]
22530 * string/test-strncasecmp.c (check_result): New function.
22531 (do_one_test): Use it.
22532 (check1): New function.
22533 (test_main): Use it.
22534 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22535 Support strcasecmp and strncasecmp.
22536
69da074d
UD
225372010-11-08 Ulrich Drepper <drepper@gmail.com>
22538
22539 [BZ #12194]
22540 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22541 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22542
ff02d528
L
225432010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22544
22545 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22546 IFUNC support.
22547 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22548 memset-x86-64.
22549 * sysdeps/x86_64/multiarch/bzero.S: New file.
22550 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22551 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22552 * sysdeps/x86_64/multiarch/memset.S: New file.
22553 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22555 Set bit_Prefer_SSE_for_memop for Intel processors.
22556 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22557 Define.
22558 (index_Prefer_SSE_for_memop): Define.
22559 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22560
344d0b54
LM
225612010-11-04 Luis Machado <luisgpm@br.ibm.com>
22562
22563 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22564 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22565
c0dde15b
UD
225662010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22567
22568 [BZ #12191]
22569 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22570 (__x86_64_raw_data_cache_size_half): Likewise.
22571 (__x86_64_raw_shared_cache_size): Likewise.
22572 (__x86_64_raw_shared_cache_size_half): Likewise.
22573
22574 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22575 (__x86_64_raw_data_cache_size_half): Likewise.
22576 (__x86_64_raw_shared_cache_size): Likewise.
22577 (__x86_64_raw_shared_cache_size_half): Likewise.
22578 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22579 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22580 and __x86_64_raw_shared_cache_size_half. Round
22581 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22582 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22583 to multiple of 256 bytes.
22584
0e516e0e
MS
225852010-11-03 Ulrich Drepper <drepper@gmail.com>
22586
22587 [BZ #12167]
22588 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22589 of inacessible symlinks. Verify result of symlink before returning it.
22590 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22591 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22592
0e012e87
ER
225932010-10-28 Erich Ritz <erichritz@gmail.com>
22594
22595 * math/math.h (isinf): Fix typo in comment.
22596
de0ff7bc
UD
225972010-11-01 Ulrich Drepper <drepper@gmail.com>
22598
22599 * po/da.po: Update from translation team.
22600
fa41c84d
UD
226012010-10-26 Ulrich Drepper <drepper@gmail.com>
22602
22603 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22604 is added to the list.
22605
f0967738
AK
226062010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22607 Ulrich Drepper <drepper@gmail.com>
22608
22609 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22610 the global list here. Move code to...
22611 (_dl_add_to_namespace_list): ...here. New function.
22612 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22613 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22614 * elf/dl-load.c (lose): Don't remove the element from the list.
22615 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22616 (_dl_map_object): Likewise.
22617
226182010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22619
22620 [BZ #12159]
22621 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22622 into all bytes of SSE register.
22623 Patch by Richard Li <richardpku@gmail.com>.
22624
f0967738 226252010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22626
22627 [BZ #12140]
22628 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22629 perturbing.
22630
d0b9e94f
MB
226312010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22632
22633 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22634 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22635 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22636 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22638 submachine.
22639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22640
8e9f92e9
AS
226412010-10-22 Andreas Schwab <schwab@redhat.com>
22642
22643 * include/dlfcn.h (__RTLD_SECURE): Define.
22644 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22645 mode & __RTLD_SECURE instead.
22646 (open_path): Rename preloaded parameter to secure.
22647 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22648 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22649 * elf/dl-deps.c (openaux): Likewise.
22650 * elf/rtld.c (struct map_args): Remove is_preloaded.
22651 (map_doit): Don't use it.
22652 (dl_main): Likewise.
22653 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22654 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22655
bc96fbda
AS
226562010-09-09 Andreas Schwab <schwab@redhat.com>
22657
22658 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22659 (sysd-rules-targets): Remove duplicates.
22660 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22661 rtld-%.$o dependency.
22662
22cd1c9b
AS
226632010-10-18 Andreas Schwab <schwab@redhat.com>
22664
22665 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22666 _dl_map_object do it.
22667
18edac48
UD
226682010-10-19 Ulrich Drepper <drepper@gmail.com>
22669
22670 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22671 fast fma builtins, define the macros in the C99 standard.
22672 (FP_FAST_FMAF): Likewise.
22673 (FP_FAST_FMAL): Likewise.
22674 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22675
22676 * bits/mathdef.h: Update copyright year.
22677 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22678
d2050124
MM
226792010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22680
22681 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22682 builtins, define the macros in the C99 standard.
22683 (FP_FAST_FMAF): Likewise.
22684 (FP_FAST_FMAL): Likewise.
22685 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22686 multiply/add.
22687 (FP_FAST_FMAF): Likewise.
22688
475facd1
JJ
226892010-10-15 Jakub Jelinek <jakub@redhat.com>
22690
22691 [BZ #3268]
22692 * math/libm-test.inc (fma_test): Some new testcases.
22693 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22694 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22695 y and infinite z. Do multiplication by C already in long double.
22696 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22697 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22698 y and infinite z. Do bitwise or of inexact bit into u.d.
22699 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22700 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22701 * sysdeps/i386/fpu/s_fma.S: Removed.
22702 * sysdeps/i386/fpu/s_fmal.S: Removed.
22703
7c08a05c
JJ
227042010-10-16 Jakub Jelinek <jakub@redhat.com>
22705
22706 [BZ #3268]
22707 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22708 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22709 computation is not scheduled after fetestexcept. Fix value
22710 of minimum denormal long double.
22711
f3f7372d
JJ
227122010-10-14 Jakub Jelinek <jakub@redhat.com>
22713
22714 [BZ #3268]
22715 * math/libm-test.inc (fma_test): Add some more tests.
22716 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22717 correctly.
22718
14d43591
AS
227192010-10-15 Andreas Schwab <schwab@redhat.com>
22720
22721 * scripts/data/localplt-s390-linux-gnu.data: New file.
22722 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22723
5e908464
JJ
227242010-10-13 Jakub Jelinek <jakub@redhat.com>
22725
22726 [BZ #3268]
22727 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22728 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22729 instead of dbl-64.
22730 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22731 inlines.
22732 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22734 if one of x and y is very large and the other is subnormal.
22735 * sysdeps/s390/fpu/s_fmaf.c: New file.
22736 * sysdeps/s390/fpu/s_fma.c: New file.
22737 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22738 * sysdeps/powerpc/fpu/s_fma.S: New file.
22739 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22740 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22741 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22742
227432010-10-12 Jakub Jelinek <jakub@redhat.com>
22744
22745 [BZ #3268]
22746 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22747 fma tests.
22748 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22749 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22750 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22751 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22752 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22753 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22754 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22755
b833d51f
UD
227562010-10-12 Ulrich Drepper <drepper@redhat.com>
22757
22758 [BZ #12078]
22759 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22760 * posix/bug-regex31.input: Add test case.
22761
1751705d
UD
227622010-10-11 Ulrich Drepper <drepper@gmail.com>
22763
e9b9cbf5
UD
22764 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22765 * posix/bug-regex31.input: New file.
22766
22767 [BZ #12078]
22768 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22769 (parse_sub_exp): Fix last change, use postorder.
22770
ef06edbe
UD
22771 * posix/bug-regex31.c: New file.
22772 * posix/Makefile: Add rules to build and run bug-regex31.
22773
a129c80d
UD
22774 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22775
22776 [BZ #12078]
22777 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22778
b76b818e
UD
22779 [BZ #12108]
22780 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22781 to have entries in sys_siglist.
22782
1751705d
UD
22783 [BZ #12093]
22784 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22785 be NULL.
22786
9ff8d36f
JJ
227872010-10-07 Jakub Jelinek <jakub@redhat.com>
22788
22789 [BZ #3268]
22790 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22791 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22792 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22793 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22794 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22795 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22796 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22797 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22798 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22799 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22800 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22801 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22802 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22803 * math/ftestexcept.c (fetestexcept): Likewise.
22804 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22805 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22806 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22807 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22808 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22809 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22810 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22811
af325969
UD
228122010-10-11 Ulrich Drepper <drepper@gmail.com>
22813
c579b202 22814 [BZ #12107]
af325969
UD
22815 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22816 newline.
22817
67a67b95
UD
228182010-10-06 Ulrich Drepper <drepper@gmail.com>
22819
22820 * string/bug-strstr1.c: New file.
22821 * string/Makefile: Add rules to build and run bug-strstr1.
22822
5fb308bc
EB
228232010-10-05 Eric Blake <eblake@redhat.com>
22824
22825 [BZ #12092]
22826 * string/str-two-way.h (two_way_long_needle): Always clear memory
22827 when skipping input due to the shift table.
22828
45db99c7
UD
228292010-10-03 Ulrich Drepper <drepper@gmail.com>
22830
3b111893
UD
22831 [BZ #12005]
22832 * malloc/mcheck.c: Handle large requests.
22833
45db99c7
UD
22834 [BZ #12077]
22835 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22836 for strncmp and strncasecmp.
22837 * string/stratcliff.c: Add tests for strcmp and strncmp.
22838 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22839
cf7a1eb8
NI
228402010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22841
22842 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22843 __set_fpscr.
22844
6484ba5e
AJ
228452010-09-30 Andreas Jaeger <aj@suse.de>
22846
22847 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22848 (CGROUP_SUPER_MAGIC): Define.
22849 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22850 Handle btrfs and cgroup file systems.
22851 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22852 Likewise.
22853
91c42559
LM
228542010-09-27 Luis Machado <luisgpm@br.ibm.com>
22855
22856 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22857 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22858
87a97932
AK
228592010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22860
22861 [BZ #12067]
22862 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22863 trying to locate the ELF header.
22864
c21cc9bc
AS
228652010-09-27 Andreas Schwab <schwab@redhat.com>
22866
22867 [BZ #11611]
22868 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22869 Mask out sign-bit copies when constructing f_fsid.
22870
315970f6
PB
228712010-09-24 Petr Baudis <pasky@suse.cz>
22872
22873 * debug/stack_chk_fail_local.c: Add missing licence exception.
22874 * debug/warning-nop.c: Likewise.
22875
1ac7a2c7
JM
228762010-09-15 Joseph Myers <joseph@codesourcery.com>
22877
22878 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22879 implementing getdents64 using getdents syscall, set d_type if
22880 __ASSUME_GETDENTS32_D_TYPE.
22881
56801c50
AS
228822010-09-16 Andreas Schwab <schwab@redhat.com>
22883
22884 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22885 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22886
dda51327
UD
228872010-09-21 Ulrich Drepper <drepper@redhat.com>
22888
22889 [BZ #12037]
22890 * posix/unistd.h: Undo change of feature selection for ftruncate from
22891 2010-01-11.
22892
8ffcee4a
UD
228932010-09-20 Ulrich Drepper <drepper@redhat.com>
22894
a545ecd9 22895 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22896 detection.
22897
e24f0a8b
AS
228982010-09-20 Andreas Schwab <schwab@redhat.com>
22899
22900 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22901 fanotify_mark.
22902 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22903
7291c56f
AS
229042010-09-14 Andreas Schwab <schwab@redhat.com>
22905
22906 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22907 variables after CHECK_SP call.
22908 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22909
bc5fb037
AS
229102010-09-13 Andreas Schwab <schwab@redhat.com>
22911 Ulrich Drepper <drepper@redhat.com>
22912
22913 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22914 re-relocationg ld.so.
22915 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22916 _dl_init_paths call.
22917 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22918 here anymore.
22919
e66e7419
UD
229202010-09-14 Ulrich Drepper <drepper@redhat.com>
22921
22922 * resolv/res_init.c (__res_vinit): Count the default server we added.
22923
c044aa75
CLT
229242010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22925 Ulrich Drepper <drepper@redhat.com>
22926
22927 [BZ #11968]
22928 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22929 (____longjmp_chk): Use %ebx for saving value across system call.
22930 Add unwind info.
22931
32cf4069
AS
229322010-09-06 Andreas Schwab <schwab@redhat.com>
22933
22934 * manual/Makefile: Don't mix pattern rules with normal rules.
22935
817328ee
AS
229362010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22937
22938 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22939 operation.
22940 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22941 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22942 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22943 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22944 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22945 Likewise.
22946
29fddf61
UD
229472010-09-04 Ulrich Drepper <drepper@redhat.com>
22948
22949 [BZ #11979]
22950 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22951 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22952
0959ffc9
UD
229532010-09-02 Ulrich Drepper <drepper@redhat.com>
22954
22955 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22956 * sysdeps/x86_64/addmul_1.S: Likewise.
22957 * sysdeps/x86_64/lshift.S: Likewise.
22958 * sysdeps/x86_64/mul_1.S: Likewise.
22959 * sysdeps/x86_64/rshift.S: Likewise.
22960 * sysdeps/x86_64/sub_n.S: Likewise.
22961 * sysdeps/x86_64/submul_1.S: Likewise.
22962
ece29840
ST
229632010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22964
0959ffc9
UD
22965 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22966 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22967 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22968 * bits/sched.h [__need_schedparam]
ece29840 22969 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22970 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22971 (__defined_schedparam): Define to 1.
ece29840
ST
22972 (__sched_param): New structure, identical to sched_param.
22973 (__need_schedparam): Undefine.
22974
e53a31fe
MF
229752010-08-31 Mike Frysinger <vapier@gentoo.org>
22976
fdc0c10d
MF
22977 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22978 (epoll_create1): Declare.
22979
e53a31fe
MF
22980 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22981
a726d796
AS
229822010-08-31 Andreas Schwab <schwab@redhat.com>
22983
22984 [BZ #7066]
22985 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22986 shifting retval into place.
22987
2f3e3dc7
UD
229882010-09-01 Ulrich Drepper <drepper@redhat.com>
22989
f2933da9
UD
22990 * nis/rpcsvc/nis.h: Update copyright notice.
22991 * nis/rpcsvc/nis.x: Likewise.
22992 * nis/rpcsvc/nis_callback.h: Likewise.
22993 * nis/rpcsvc/nis_callback.x: Likewise.
22994 * nis/rpcsvc/nis_object.x: Likewise.
22995 * nis/rpcsvc/nis_tags.h: Likewise.
22996 * nis/rpcsvc/yp.h: Likewise.
22997 * nis/rpcsvc/yp.x: Likewise.
22998 * nis/rpcsvc/ypupd.h: Likewise.
22999 * nis/yp_xdr.c: Likewise.
23000 * nis/ypupdate_xdr.c: Likewise.
23001
2f3e3dc7
UD
23002 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23003 mainly the body of pmap_getport. Add parameters to specify timeouts.
23004 (pmap_getport): Use __libc_rpc_getport.
23005 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23006 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23007 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23008
f3dcc2f9
AS
230092010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23010
23011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23012 fanotify_mark.
23013
6d34eb5b
RM
230142010-08-27 Roland McGrath <roland@redhat.com>
23015
23016 * sysdeps/i386/i686/multiarch/Makefile
23017 (CFLAGS-varshift.c): New variable.
23018
9ea3de11
UD
230192010-08-27 Ulrich Drepper <drepper@redhat.com>
23020
c96d23fc
UD
23021 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23022 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23023
9ea3de11
UD
23024 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23025
23026 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23027
623aac7f
L
230282010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23029
23030 * sysdeps/x86_64/strlen.S: Unroll the loop.
23031 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23032 strlen-sse2 strlen-sse2-bsf.
23033 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23034 __strlen_no_bsf if bit_Slow_BSF is set.
23035 (__strlen_sse42): Removed.
23036 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23037 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23038
8b2b7715
RM
230392010-08-25 Roland McGrath <roland@redhat.com>
23040
23041 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23042 * sysdeps/x86_64/multiarch/varshift.c: New file.
23043 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23044 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23045 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23046 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23047
e73015f2
L
230482010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23049
23050 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23051 strlen-sse2 strlen-sse2-bsf.
23052 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23053 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23054 (__strlen_sse2): Removed.
23055 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23056 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23058 bit_Slow_BSF for Atom.
23059 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23060 (index_Slow_BSF): Define.
23061 (HAS_SLOW_BSF): Define.
23062
df24a73e
UD
230632010-08-25 Ulrich Drepper <drepper@redhat.com>
23064
23065 [BZ #10851]
23066 * resolv/res_init.c (__res_vinit): When no server address at all
23067 is given default to loopback.
23068
f2ac4868
RM
230692010-08-24 Roland McGrath <roland@redhat.com>
23070
09055553
RM
23071 * configure.in: Remove config-name.h generation.
23072 * configure: Regenerated.
23073 * config-name.in: File removed.
23074 * scripts/config-uname.sh: New file.
23075 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23076 ($(objdir)config-name.h): New target.
23077
f2ac4868
RM
23078 * sunrpc/rpc_parse.h: Avoid nested comment.
23079
73f27d5e
RH
230802010-08-24 Richard Henderson <rth@redhat.com>
23081 Ulrich Drepper <drepper@redhat.com>
23082 H.J. Lu <hongjiu.lu@intel.com>
23083
23084 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23085 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23086 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23087 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23088 _mm_alignr_epi8 with _mm_loadu_si128.
23089 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23090 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23091 (__m128i_shift_right): Removed.
23092 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23093 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23094 * sysdeps/x86_64/multiarch/varshift.h: New file.
23095 * sysdeps/x86_64/multiarch/varshift.S: New file.
23096
84b9230c
MF
230972010-08-21 Mike Frysinger <vapier@gentoo.org>
23098
23099 * configure.in: Move assembler checks to before sysdep dir checking.
23100
9bbd0ddc
PB
231012010-08-20 Petr Baudis <pasky@suse.cz>
23102
23103 * LICENSES: Sync the sunrpc license.
23104
9da4bb31
UD
231052010-08-19 Ulrich Drepper <drepper@redhat.com>
23106
a7ab6ec8
UD
23107 * sunrpc/auth_des.c: Update copyright notice once again.
23108 * sunrpc/auth_none.c: Likewise.
23109 * sunrpc/auth_unix.c: Likewise.
23110 * sunrpc/authdes_prot.c: Likewise.
23111 * sunrpc/authuxprot.c: Likewise.
23112 * sunrpc/bindrsvprt.c: Likewise.
23113 * sunrpc/clnt_gen.c: Likewise.
23114 * sunrpc/clnt_perr.c: Likewise.
23115 * sunrpc/clnt_raw.c: Likewise.
23116 * sunrpc/clnt_simp.c: Likewise.
23117 * sunrpc/clnt_tcp.c: Likewise.
23118 * sunrpc/clnt_udp.c: Likewise.
23119 * sunrpc/clnt_unix.c: Likewise.
23120 * sunrpc/des_crypt.c: Likewise.
23121 * sunrpc/des_soft.c: Likewise.
23122 * sunrpc/get_myaddr.c: Likewise.
23123 * sunrpc/getrpcport.c: Likewise.
23124 * sunrpc/key_call.c: Likewise.
23125 * sunrpc/key_prot.c: Likewise.
23126 * sunrpc/openchild.c: Likewise.
23127 * sunrpc/pm_getmaps.c: Likewise.
23128 * sunrpc/pm_getport.c: Likewise.
23129 * sunrpc/pmap_clnt.c: Likewise.
23130 * sunrpc/pmap_prot.c: Likewise.
23131 * sunrpc/pmap_prot2.c: Likewise.
23132 * sunrpc/pmap_rmt.c: Likewise.
23133 * sunrpc/rpc/auth.h: Likewise.
23134 * sunrpc/rpc/auth_unix.h: Likewise.
23135 * sunrpc/rpc/clnt.h: Likewise.
23136 * sunrpc/rpc/des_crypt.h: Likewise.
23137 * sunrpc/rpc/key_prot.h: Likewise.
23138 * sunrpc/rpc/netdb.h: Likewise.
23139 * sunrpc/rpc/pmap_clnt.h: Likewise.
23140 * sunrpc/rpc/pmap_prot.h: Likewise.
23141 * sunrpc/rpc/pmap_rmt.h: Likewise.
23142 * sunrpc/rpc/rpc.h: Likewise.
23143 * sunrpc/rpc/rpc_des.h: Likewise.
23144 * sunrpc/rpc/rpc_msg.h: Likewise.
23145 * sunrpc/rpc/svc.h: Likewise.
23146 * sunrpc/rpc/svc_auth.h: Likewise.
23147 * sunrpc/rpc/types.h: Likewise.
23148 * sunrpc/rpc/xdr.h: Likewise.
23149 * sunrpc/rpc_clntout.c: Likewise.
23150 * sunrpc/rpc_cmsg.c: Likewise.
23151 * sunrpc/rpc_common.c: Likewise.
23152 * sunrpc/rpc_cout.c: Likewise.
23153 * sunrpc/rpc_dtable.c: Likewise.
23154 * sunrpc/rpc_hout.c: Likewise.
23155 * sunrpc/rpc_main.c: Likewise.
23156 * sunrpc/rpc_parse.c: Likewise.
23157 * sunrpc/rpc_parse.h: Likewise.
23158 * sunrpc/rpc_prot.c: Likewise.
23159 * sunrpc/rpc_sample.c: Likewise.
23160 * sunrpc/rpc_scan.c: Likewise.
23161 * sunrpc/rpc_scan.h: Likewise.
23162 * sunrpc/rpc_svcout.c: Likewise.
23163 * sunrpc/rpc_tblout.c: Likewise.
23164 * sunrpc/rpc_util.c: Likewise.
23165 * sunrpc/rpc_util.h: Likewise.
23166 * sunrpc/rpcinfo.c: Likewise.
23167 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23168 * sunrpc/rpcsvc/key_prot.x: Likewise.
23169 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23170 * sunrpc/rpcsvc/mount.x: Likewise.
23171 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23172 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23173 * sunrpc/rpcsvc/rex.x: Likewise.
23174 * sunrpc/rpcsvc/rstat.x: Likewise.
23175 * sunrpc/rpcsvc/rusers.x: Likewise.
23176 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23177 * sunrpc/rpcsvc/spray.x: Likewise.
23178 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23179 * sunrpc/rtime.c: Likewise.
23180 * sunrpc/svc.c: Likewise.
23181 * sunrpc/svc_auth.c: Likewise.
23182 * sunrpc/svc_authux.c: Likewise.
23183 * sunrpc/svc_raw.c: Likewise.
23184 * sunrpc/svc_run.c: Likewise.
23185 * sunrpc/svc_simple.c: Likewise.
23186 * sunrpc/svc_tcp.c: Likewise.
23187 * sunrpc/svc_udp.c: Likewise.
23188 * sunrpc/svc_unix.c: Likewise.
23189 * sunrpc/svcauth_des.c: Likewise.
23190 * sunrpc/xcrypt.c: Likewise.
23191 * sunrpc/xdr.c: Likewise.
23192 * sunrpc/xdr_array.c: Likewise.
23193 * sunrpc/xdr_float.c: Likewise.
23194 * sunrpc/xdr_mem.c: Likewise.
23195 * sunrpc/xdr_rec.c: Likewise.
23196 * sunrpc/xdr_ref.c: Likewise.
23197 * sunrpc/xdr_sizeof.c: Likewise.
23198 * sunrpc/xdr_stdio.c: Likewise.
23199
9da4bb31
UD
23200 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23201 handling.
23202
bdaa77bc
AS
232032010-08-19 Andreas Schwab <schwab@redhat.com>
23204
23205 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23206
fe2f79db
LM
232072010-08-19 Luis Machado <luisgpm@br.ibm.com>
23208
23209 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23210 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23211 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23212 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23213 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23214 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23215 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23216 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23217 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23218 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23219 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23220 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23221 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23222 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23223
b9b42ee0
AB
232242010-07-26 Anton Blanchard <anton@samba.org>
23225
23226 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23227 * malloc/arena.c (heap_trim): Likewise.
23228
1c06ba31
UD
232292010-08-16 Ulrich Drepper <drepper@redhat.com>
23230
23231 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23232 here. Not...
23233 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23234 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23235
f8392f40
L
232362010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23237
23238 * sysdeps/i386/elf/Makefile: New file.
23239
3162f12e
AS
232402010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23241
23242 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23243 from fanotify_init.
23244 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23245 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23246
28c90b2c
UD
232472010-08-15 Ulrich Drepper <drepper@redhat.com>
23248
23249 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23250 of strncasecmp_l.
1feccb6c 23251 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23252
ca6bb004
UD
232532010-08-14 Ulrich Drepper <drepper@redhat.com>
23254
e9f82e0d
UD
23255 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23256 strncase_l-nonascii.
23257 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23258 Add strncase_l-ssse3.
23259 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23260 * sysdeps/x86_64/strcmp.S: Likewise.
23261 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23262 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23263 * sysdeps/x86_64/strncase.S: New file.
23264 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23265 * sysdeps/x86_64/strncase_l.S: New file.
23266 * string/Makefile (strop-tests): Add strncasecmp.
23267 * string/test-strncasecmp.c: New file.
23268
23269 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23270 warning.
23271
ca6bb004
UD
23272 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23273 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23274
052fa7b3
AS
232752010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23276
23277 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23278
962dba78
UD
232792010-08-12 Ulrich Drepper <drepper@redhat.com>
23280
23281 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23282 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23283 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23284
bebff237
AM
232852010-05-01 Alan Modra <amodra@gmail.com>
23286
23287 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23288 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23289 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23290 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23291 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23292 tidying. Don't tail-call __sigjmp_save for static lib.
23293 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23294 save location.
23295 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23296 (CALL_MCOUNT): Add eh info, and nop after bl.
23297 (TAIL_CALL_SYSCALL_ERROR): New macro.
23298 (PSEUDO_RET): Use it.
23299 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23300 Correct save location of integer regs and cr.
23301 (_dl_profile_resolve): Correct cr save location. Delete nops
23302 after bl when SHARED. Reduce cfi size a little by better
23303 placement of cfi directives.
23304 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23305 make a stack frame. Instead use parm save area as a temp.
23306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23307 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23309 Don't make a stack frame for parent, use parm save area.
23310 Increase child stack frame to 112 bytes. Don't save unused reg,
23311 and adjust reg usage. Set up cfi on error recovery and
23312 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23314 (__makecontext): Add dummy nop after jump to exit.
23315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23316 Use correct parm save area and cr save, reduce stack frame.
23317 Correct cfi for possible PSEUDO_RET frame setup.
23318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23319 Branch to local label emitted by PSEUDO_RET rather than
23320 __syscall_error.
23321
02637374
AS
233222010-08-12 Andreas Schwab <schwab@redhat.com>
23323
23324 [BZ #11904]
23325 * locale/programs/locale.c (print_assignment): New function.
23326 (show_locale_vars): Use it.
23327
c3e2f19b
UD
233282010-08-11 Ulrich Drepper <drepper@redhat.com>
23329
3cdaa6ad
UD
23330 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23331 field.
23332 (struct statfs64): Likewise.
23333 (_STATFS_F_FLAGS): Define.
23334 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23335 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23336 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23337 (ST_VALID): Define locally.
23338 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23339 __statvfs_getflags, use the provided value.
23340 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23341 __ASSUME_STATFS_F_FLAGS.
23342
754f7da3
UD
23343 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23344
10b3bedc
UD
23345 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23346 Add sys/fanotify.h.
23347 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23348 fanotify_mask for GLIBC_2.13.
23349 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23350 fanotify_init and fanotify_mark.
23351 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23352 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23353
c08fb0d7
UD
23354 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23355 Add prlimit.
23356 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23357 prlimit64 for GLIBC_2.13.
23358 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23359 prlimit64.
23360 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23361 syscall.
23362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23363 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23364 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23365 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23366 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23367 add prlimit alias.
23368 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23369
15bac72b
UD
23370 [BZ #11903]
23371 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23372 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23373
c3e2f19b
UD
23374 * nss/Makefile: Add rules to build and run tst-nss-test1.
23375 * shlib-versions: Add entry for libnss_test1.
23376 * nss/nss_test1.c: New file.
23377 * nss/tst-nss-test1.c: New file.
23378
23379 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23380 (__nss_configure_lookup): Set appropriate entry in
23381 __nss_configure_lookup to true.
23382 * nss/nsswitch.h: Define enum with indeces of databases in
23383 databases and __nss_database_custom arrays. Declare
23384 __nss_database_custom.
23385 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23386 to avoid using nscd when custom rules are installed.
23387 * nss/getXXbyYY_r.c: Likewise.
23388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23389
23390 * nss/nss_files/files-parse.c: Whitespace fixes.
23391
f15ce4d8
UD
233922010-08-09 Ulrich Drepper <drepper@redhat.com>
23393
23394 [BZ #11883]
23395 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23396 * posix/fnmatch_loop.c: Likewise.
23397
d22e4cc9
AK
233982010-07-17 Andi Kleen <ak@linux.intel.com>
23399
23400 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23401 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23402 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23403 * Versions.def [GLIBC_2.13]: Add.
23404
805bc17d
UD
234052010-08-06 Ulrich Drepper <drepper@redhat.com>
23406
23407 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23408 Also fail if tpwd after pwuid call is NULL.
23409
5a42321d
ST
234102010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23411
23412 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23413 when converting to ms.
23414
fd3ebeda
ST
234152010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23416
23417 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23418 EOPNOTSUPP errors with ENOTTY.
23419 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23420 EOPNOTSUPP errors with ENOTTY.
23421
73507d3a
UD
234222010-07-31 Ulrich Drepper <drepper@redhat.com>
23423
23424 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23425 Add strcasecmp_l-ssse3.
23426 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23427 strcasecmp.
23428 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23429 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23430 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23431
fe36dd02
UD
234322010-07-30 Ulrich Drepper <drepper@redhat.com>
23433
66f6765a
UD
23434 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23435
42e08a54
UD
23436 * string/Makefile (strop-tests): Add strcasecmp.
23437 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23438 strcasecmp_l-nonascii.
23439 (gen-as-const-headers): Add locale-defines.sym.
23440 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23441 * sysdeps/x86_64/strcasecmp.S: New file.
23442 * sysdeps/x86_64/strcasecmp_l.S: New file.
23443 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23444 * sysdeps/x86_64/locale-defines.sym: New file.
23445 * string/test-strcasecmp.c: New file.
23446
fe36dd02
UD
23447 * string/test-strcasestr.c: Test both ends of the range of characters.
23448 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23449
48cbc0d6
RM
234502010-07-29 Roland McGrath <roland@redhat.com>
23451
76e6d6bc 23452 [BZ #11856]
48cbc0d6
RM
23453 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23454
880113d9
UD
234552010-07-27 Ulrich Drepper <drepper@redhat.com>
23456
23457 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23458 for ld.so.
23459
deb9cabb
AS
234602010-07-27 Andreas Schwab <schwab@redhat.com>
23461
23462 * manual/memory.texi (Malloc Tunable Parameters): Document
23463 M_PERTURB.
23464
1c7570ff
RM
234652010-07-26 Roland McGrath <roland@redhat.com>
23466
23467 [BZ #11840]
23468 * configure.in (-fgnu89-inline check): Set and substitute
23469 gnu89_inline, not libc_cv_gnu89_inline.
23470 * configure: Regenerated.
23471 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23472
24fb0f88
UD
234732010-07-26 Ulrich Drepper <drepper@redhat.com>
23474
23475 * string/test-strnlen.c: New file.
23476 * string/Makefile (strop-tests): Add strnlen.
23477 * string/tester.c (test_strnlen): Add a few more test cases.
23478 * string/tst-strlen.c: Better error reporting.
23479
23480 * sysdeps/x86_64/strnlen.S: New file.
23481
8e96b93a
UD
234822010-07-24 Ulrich Drepper <drepper@redhat.com>
23483
23484 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23485 lower-latency instructions.
23486
dbc676d4
UD
234872010-07-23 Ulrich Drepper <drepper@redhat.com>
23488
23489 * string/test-strcasestr.c: New file.
23490 * string/test-strstr.c: New file.
23491 * string/Makefile (strop-tests): Add strstr and strcasestr.
23492 * string/str-two-way.h: Don't undefine MAX.
23493 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23494
f6a31e0e
AS
234952010-07-21 Andreas Schwab <schwab@redhat.com>
23496
23497 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23498 strcasestr-nonascii.
23499 (CFLAGS-strcasestr-nonascii.c): Define.
23500 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23501 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23502 Remove unused attribute.
23503
5dbc3b6c
RM
235042010-07-20 Roland McGrath <roland@redhat.com>
23505
23506 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23507 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23508 ld.so.cache was broken. With it, there is no way to disable dsocaps
23509 like LD_HWCAP_MASK can disable hwcaps.
23510
23d101d8
EPM
235112010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23512
23513 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23514
cc9f2e47
UD
235152010-07-16 Ulrich Drepper <drepper@redhat.com>
23516
23517 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23518 call in strcasestr.
23519 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23520 __strcasestr_sse42_nonascii.
23521 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23522 strcasestr-nonascii.c.
23523 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23524
77c1b069
LM
235252010-06-15 Luis Machado <luisgpm@br.ibm.com>
23526
23527 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23528 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23529 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23530 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23531
440566c3
UD
235322010-07-09 Ulrich Drepper <drepper@redhat.com>
23533
23534 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23535 fcntl.
23536
5be9d05d
AS
235372010-07-06 Andreas Schwab <schwab@redhat.com>
23538
c30b7ee2 23539 [BZ #11577]
5be9d05d
AS
23540 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23541 dl_signal_cerror.
23542
8a492a67
UD
235432010-07-06 Ulrich Drepper <drepper@redhat.com>
23544
23545 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23546 _PC_PIPE_BUF using F_GETPIPE_SZ.
23547
713df3d5
RM
235482010-07-05 Roland McGrath <roland@redhat.com>
23549
23550 * manual/arith.texi (Rounding Functions): Fix rint description
23551 implicit in round description.
23552
702e8f14
UD
235532010-07-02 Ulrich Drepper <drepper@redhat.com>
23554
23555 * elf/Makefile: Fix linking for a few tests to make recent linker
23556 happy.
23557
52ed8be9
AS
235582010-06-30 Andreas Schwab <schwab@redhat.com>
23559
23560 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23561 $(common-objpfx)libc_nonshared.a.
23562
f47c9a11
LM
235632010-06-21 Luis Machado <luisgpm@br.ibm.com>
23564
23565 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23566 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23567 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23568 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23569 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23570 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23571 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23572 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23587 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23588 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23589 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23590 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23591 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23592 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23593 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23594 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23595 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23596 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23597 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23598 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23613
6fb8cbcb
L
236142010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23615
23616 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23617 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23618 * string/memmove.c (memmove): Renamed to ...
23619 (MEMMOVE): ...this. Default to memmove.
23620 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23621 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23622 (END_CHK): Define.
23623 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23624 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23625 mempcpy-ssse3-back memmove-ssse3-back.
23626 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23627 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23628 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23629 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23630 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23631 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23632 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23633 * sysdeps/x86_64/multiarch/memmove.c: New file.
23634 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23635 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23636 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23637 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23638 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23639 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23640 Define.
23641 (index_Fast_Copy_Backward): Define.
23642 (HAS_ARCH_FEATURE): Define.
23643 (HAS_FAST_REP_STRING): Define.
23644 (HAS_FAST_COPY_BACKWARD): Define.
23645
4e733bac 236462010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23647
23648 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23649 Restore proper fallback handling.
23650
63c4ed22
UD
236512010-06-19 Ulrich Drepper <drepper@redhat.com>
23652
ac2b484c
UD
23653 [BZ #11701]
23654 * posix/group_member.c (__group_member): Correct checking loop.
23655
63c4ed22
UD
23656 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23657 OOM in getpwuid_r correctly. Return error number when the caller
23658 should return, otherwise -1.
23659 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23660 call returning > 0 value.
23661 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23662
765ade4b
AS
236632010-06-07 Andreas Schwab <schwab@redhat.com>
23664
23665 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23666 libc_nonshared.a from targets in modules-names.
23667
80da2e09
KS
236682010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23669
23670 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23671 requires it.
23672
158db122
LM
236732010-06-10 Luis Machado <luisgpm@br.ibm.com>
23674
23675 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23676 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23677 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23678 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23679
caa78cf8
AS
236802010-06-02 Andreas Schwab <schwab@redhat.com>
23681
23682 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23683
b2ef2c01
UD
236842010-06-14 Ulrich Drepper <drepper@redhat.com>
23685
23686 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23687 and F_GETPIPE_SZ.
23688 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23689 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23690 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23691 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23692 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23693 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23694
fbd643b6
RM
236952010-06-14 Roland McGrath <roland@redhat.com>
23696
23697 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23698
f32f2869
JJ
236992010-06-07 Jakub Jelinek <jakub@redhat.com>
23700
23701 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23702 __REDIRECT followed by __THROW.
23703 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23704 * posix/getopt.h (getopt): Likewise.
23705
2a50c078
EPM
237062010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23707
23708 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23709 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23710 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23711 in AT_FLAGS.
23712 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23713 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23714
eb5ad2eb
LM
237152010-05-28 Luis Machado <luisgpm@br.ibm.com>
23716
23717 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23718
3c88fe1e
L
237192010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23720
23721 [BZ #11640]
23722 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23723 Properly check family and model.
23724
d2f73151
TY
237252010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23726
23727 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23728
ebd2e13d
LM
237292010-05-24 Luis Machado <luisgpm@br.ibm.com>
23730
23731 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23732
b32b8b45
UD
237332010-05-21 Ulrich Drepper <drepper@redhat.com>
23734
23735 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23736 symbol reference.
23737
9acbe24d
AS
237382010-05-19 Andreas Schwab <schwab@redhat.com>
23739
23740 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23741 symbol reference.
23742
f0ccf6ea
AS
237432010-05-21 Andreas Schwab <schwab@redhat.com>
23744
3d04ff3a
AS
23745 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23746 and internal_recvmmsg.
23747 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23748 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23749 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23750 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23751
f0ccf6ea
AS
23752 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23753 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23754 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23755
5b08ac57
AS
237562010-05-20 Andreas Schwab <schwab@redhat.com>
23757
23758 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23759
4828935d
LM
237602010-05-17 Luis Machado <luisgpm@br.ibm.com>
23761
23762 POWER7 optimizations.
23763 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23764 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23765
373d545e
UD
237662010-05-19 Ulrich Drepper <drepper@redhat.com>
23767
23768 * version.h: Update for 2.13 development version.
23769
21a2b1ae
AS
237702010-05-12 Andrew Stubbs <ams@codesourcery.com>
23771
23772 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23773 exceptions. Return 0.
23774
3f7dcb2b
RM
237752010-05-07 Roland McGrath <roland@redhat.com>
23776
23777 * elf/ldconfig.c (main): Add a const.
23778
5f24d53a 237792010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23780
a160f8d8
UD
23781 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23782 (args_options): Add no-idn option.
23783 (ahosts_keys_int): Add idn_flags to ai_flags.
23784 (parse_option): Handle 'i' option to clear idn_flags.
23785
5f24d53a
UD
23786 * malloc/malloc.c (_int_free): Possible race in the most recently
23787 added check. Only act on the data if no current modification
23788 happened.
265bb1ce
UD
23789
23790See ChangeLog.17 for earlier changes.
This page took 3.03375 seconds and 5 git commands to generate.