]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
BZ#14985: Remove erroneous EPOLL_NONBLOCK
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c40ea3d9
AJ
12013-01-08 Andreas Jaeger <aj@suse.de>
2
3 [BZ# 14985]
4 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5 Remove.
6 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8
2ccdea26
AB
92013-01-07 Anton Blanchard <anton@samba.org>
10
11 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
35 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
36 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
49 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
50 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
52 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54
a9708fed
JM
552013-01-07 Joseph Myers <joseph@codesourcery.com>
56
375607b9
JM
57 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
58 (__MALLOC_PMT): Likewise.
59 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
60 [__GNUC__], only on [_LIBC].
61 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
63 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
64 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
65 forward declaration.
66 (realloc_hook_ini): Likewise.
67 (memalign_hook_ini): Likewise.
68 (__libc_memalign): Do not use __MALLOC_PMT in variable
69 declaration.
70 (__libc_valloc): Likewise.
71 (__libc_pvalloc): Likewise.
72 (__libc_calloc): Likewise.
73 (__posix_memalign): Likewise.
74
a9708fed
JM
75 [BZ #14996]
76 * math/s_casinh.c: Include <float.h>.
77 (__casinh): Do not do computation with squaring and square root
78 for large arguments.
79 * math/s_casinhf.c: Include <float.h>.
80 (__casinhf): Do not do computation with squaring and square root
81 for large arguments.
82 * math/s_casinhl.c: Include <float.h>.
83 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
84 (__casinhl): Do not do computation with squaring and square root
85 for large arguments.
86 * math/libm-test.inc (casin_test): Add more tests.
87 (casinh_test): Likewise.
88 * sysdeps/i386/fpu/libm-test-ulps: Update.
89 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
90
afec409a
L
912013-01-04 H.J. Lu <hongjiu.lu@intel.com>
92
93 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
94 (__x86_64_raw_data_cache_size): Likewise.
95 (__x86_64_data_cache_size_half): Likewise.
96 (__x86_64_raw_data_cache_size_half): Likewise.
97 (__x86_64_shared_cache_size): Likewise.
98 (__x86_64_raw_shared_cache_size): Likewise.
99 (__x86_64_shared_cache_size_half): Likewise.
100 (__x86_64_raw_shared_cache_size_half): Likewise.
101 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
102 to ...
103 (__x86_data_cache_size): This.
104 (__x86_64_raw_data_cache_size): Renamed to ...
105 (__x86_raw_data_cache_size): This.
106 (__x86_64_data_cache_size_half): Renamed to ...
107 (__x86_data_cache_size_half): This.
108 (__x86_64_raw_data_cache_size_half): Renamed to ...
109 (__x86_raw_data_cache_size_half): This.
110 (__x86_64_shared_cache_size): Renamed to ...
111 (__x86_shared_cache_size): This.
112 (__x86_64_raw_shared_cache_size): Renamed to ...
113 (__x86_raw_shared_cache_size): This.
114 (__x86_64_shared_cache_size_half): Renamed to ...
115 (__x86_shared_cache_size_half): This.
116 (__x86_64_raw_shared_cache_size_half): Renamed to ...
117 (__x86_raw_shared_cache_size_half): This.
118 * sysdeps/x86_64/memcpy.S: Updated.
119 * sysdeps/x86_64/memset.S: Likewise.
120 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
121 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
122 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
123
0b3986d0
DM
1242013-01-04 David S. Miller <davem@davemloft.net>
125
126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
127
e47686e9
AS
1282013-01-04 Andreas Schwab <schwab@linux-m68k.org>
129
d643bac1
AS
130 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
131 1 to avoid redefinition warning.
132 (__USE_GNU): Don't define.
133 (init_signaling_nan): Protoize.
134
e47686e9
AS
135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
136
b18decba
SP
1372013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
138
fffb407f
SP
139 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
140 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
141 (__cpymn): Likewise.
142 (norm): Remove commented code.
143 (denorm): Likewise.
144 (__mp_dbl): Likewise.
145 (__inv): Likewise.
146 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
147 (__cpymn): Likewise.
148 (norm): Remove commented code.
149 (denorm): Likewise.
150 (__mp_dbl): Likewise.
151 (__inv): Likewise.
152
b18decba
SP
153 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
154 mp_no value for 1.0 and 2.0.
155 (norm): Use RADIXI instead of radixi.d.
156 (denorm): Likewise.
157 (__mul): Use 0.0 instead of zero.d.
158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
159 mp_no value for 1.0 and 2.0.
160 (norm): Use RADIXI instead of radixi.d.
161 (denorm): Likewise.
162 (__mul): Use 0.0 instead of zero.d.
163
cdc1c96f
JM
1642013-01-04 Joseph Myers <joseph@codesourcery.com>
165
166 [BZ #14994]
167 * math/s_casinh.c (__casinh): Reduce finite argument to first
168 quadrant then set signs of results at the end.
169 * math/s_casinhf.c (__casinhf): Likewise.
170 * math/s_casinhl.c (__casinhl): Likewise.
171 * math/libm-test.inc (casin_test): Add more tests.
172 (casinh_test): Likewise.
173 * sysdeps/i386/fpu/libm-test-ulps: Update.
174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
175
302913e1
SP
1762013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
177
6420d207
SP
178 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
179
a9e48ab4
SP
180 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
181
b7837264
SP
182 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
183 declarations.
184 (denorm): Likewise.
185 (__mp_dbl): Likewise.
186 (__inv): Likewise.
187
f8af25d2
SP
188 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
189 and adjust the header comment.
190
302913e1
SP
191 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
192 variable name from declaration.
193
5d7dd1ca
L
1942013-01-03 H.J. Lu <hongjiu.lu@intel.com>
195
196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
197 Initialize COMMON_CPUID_INDEX_7 element.
198 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
199 (CPUID_RTM): Likewise.
200 (HAS_RTM): Likewise.
201 (COMMON_CPUID_INDEX_7): New enum.
202
2f5f40f4
AS
2032013-01-03 Andreas Schwab <schwab@linux-m68k.org>
204
205 [BZ #14981]
206 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
207 size is zero, record memory as freed.
208
4056f4a0
AJ
2092013-01-03 Andreas Jaeger <aj@suse.de>
210
211 * po/ia.po: Add new Interlingua translation.
212
ab15736f 2132012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
214
215 * locale/programs/localedef.c: Fix description of '--posix' flag.
216
568035b7
JM
2172013-01-02 Joseph Myers <joseph@codesourcery.com>
218
e6898b8d
JM
219 * NEWS: Update dates in second copyright notice.
220 * README: Update copyright dates in example.
221 * manual/libc.texinfo: Update copyright dates.
222 * scripts/test-installation.pl: Update copyright date in --version
223 output.
224
0e2f9562
JM
225 * hurd/ctty-input.c: Fix copyright notice formatting.
226 * hurd/ctty-output.c: Likewise.
227 * hurd/dtable.c: Likewise.
228 * hurd/hurd-raise.c: Likewise.
229 * hurd/hurdprio.c: Likewise.
230 * hurd/msgportdemux.c: Likewise.
231 * misc/sys/file.h: Likewise.
232 * misc/sys/ioctl.h: Likewise.
233 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
234 * sysdeps/mach/hurd/chdir.c: Likewise.
235 * sysdeps/mach/hurd/fchdir.c: Likewise.
236 * sysdeps/mach/hurd/rename.c: Likewise.
237 * sysdeps/mach/hurd/rmdir.c: Likewise.
238 * sysdeps/mach/hurd/seekdir.c: Likewise.
239 * sysdeps/mach/hurd/setsid.c: Likewise.
240 * sysdeps/posix/wait3.c: Likewise.
241
568035b7
JM
242 * All files with FSF copyright notices: Update copyright dates
243 using scripts/update-copyrights.
244 * intl/plural.c: Regenerated.
245 * locale/programs/charmap-kw.h: Likewise.
246 * locale/programs/locfile-kw.h: Likewise.
247
da08f647
SP
2482013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
249
0f5477af
SP
250 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
251 four values.
252
44e0d4c2
SP
253 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
254 calculation loop and add branch prediction.
255
4d55b4e5
SP
256 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
257 check access beyond bounds of m1np.
258
da08f647
SP
259 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
260 MPTWO.
261 (__inv): Remove local variable MPTWO to use the global
262 constant.
263 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
264 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
265 variable MPTWO.
266 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
267 MP3HALFS static const.
268
8e051029
DM
2692013-01-01 David S. Miller <davem@davemloft.net>
270
271 * po/ca.po: Update from translation team.
272
f4cf5f2d
JM
2732013-01-01 Joseph Myers <joseph@codesourcery.com>
274
275 * scripts/update-copyrights: New file.
276 * Makeconfig: Reformat copyright notice.
277 * ctype/ctype.h: Likewise.
278 * debug/swprintf_chk.c: Likewise.
279 * elf/dl-cache.c: Likewise.
280 * elf/dl-debug.c: Likewise.
281 * elf/dl-object.c: Likewise.
282 * grp/initgroups.c: Likewise.
283 * hurd/Makefile: Likewise.
284 * hurd/hurd/signal.h: Likewise.
285 * hurd/hurdfault.c: Likewise.
286 * hurd/hurdioctl.c: Likewise.
287 * hurd/hurdlookup.c: Likewise.
288 * hurd/intr-msg.c: Likewise.
289 * iconv/gconv_open.c: Likewise.
290 * libio/swprintf.c: Likewise.
291 * locale/lc-ctype.c: Likewise.
292 * locale/nl_langinfo.c: Likewise.
293 * mach/Machrules: Likewise.
294 * mach/Makefile: Likewise.
295 * malloc/obstack.h: Likewise.
296 * manual/Makefile: Likewise.
297 * manual/tsort.awk: Likewise.
298 * misc/bits/stab.def: Likewise.
299 * nis/nis_print_group_entry.c: Likewise.
300 * nis/nis_table.c: Likewise.
301 * nis/nss_compat/compat-pwd.c: Likewise.
302 * nis/nss_compat/compat-spwd.c: Likewise.
303 * po/Makefile: Likewise.
304 * posix/fnmatch.c: Likewise.
305 * posix/regex.h: Likewise.
306 * resolv/Makefile: Likewise.
307 * resolv/nss_dns/dns-network.c: Likewise.
308 * resolv/res_hconf.c: Likewise.
309 * scripts/gen-sorted.awk: Likewise.
310 * soft-fp/soft-fp.h: Likewise.
311 * stdio-common/printf.h: Likewise.
312 * stdlib/monetary.h: Likewise.
313 * stdlib/random.c: Likewise.
314 * stdlib/random_r.c: Likewise.
315 * sysdeps/generic/Makefile: Likewise.
316 * sysdeps/gnu/Makefile: Likewise.
317 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
318 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
319 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
320 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
321 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
322 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
323 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
324 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
325 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
326 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
327 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
328 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
329 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
330 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
331 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
332 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
333 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
334 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
335 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
336 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
337 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
338 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
339 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
340 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
341 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
342 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
343 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
344 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
345 * sysdeps/mach/hurd/errnos.awk: Likewise.
346 * sysdeps/mach/hurd/fork.c: Likewise.
347 * sysdeps/mach/hurd/getcwd.c: Likewise.
348 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
349 * sysdeps/mach/hurd/mmap.c: Likewise.
350 * sysdeps/mach/hurd/utimes.c: Likewise.
351 * sysdeps/mach/hurd/xmknod.c: Likewise.
352 * sysdeps/posix/profil.c: Likewise.
353 * sysdeps/posix/readdir_r.c: Likewise.
354 * sysdeps/powerpc/bits/mathdef.h: Likewise.
355 * sysdeps/powerpc/bits/setjmp.h: Likewise.
356 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
357 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
358 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
359 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
360 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
361 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
362 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
363 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
364 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
365 * sysdeps/pthread/lio_listio.c: Likewise.
366 * sysdeps/sparc/dl-procinfo.h: Likewise.
367 * sysdeps/unix/i386/sysdep.S: Likewise.
368 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
369 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
370 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
371 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
373 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
374 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
375 * sysdeps/unix/sysv/linux/speed.c: Likewise.
376 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
377 * sysdeps/wordsize-32/divdi3.c: Likewise.
378 * time/sys/time.h: Likewise.
379 * wcsmbs/Makefile: Likewise.
380
0549fbba
DM
3812013-01-01 David S. Miller <davem@davemloft.net>
382
a141f1a7
DM
383 * po/fr.po: Update from translation team.
384
0549fbba
DM
385 * catgets/gencat.c: Update copyright year.
386 * csu/version.c: Likewise.
387 * debug/catchsegv.sh: Likewise.
388 * debug/pcprofiledump.c: Likewise.
389 * debug/xtrace.sh: Likewise.
390 * elf/ldconfig.c: Likewise.
391 * elf/ldd.bash.in: Likewise.
392 * elf/pldd.c: Likewise.
393 * elf/sotruss.ksh: Likewise.
394 * elf/sprof.c: Likewise.
395 * iconv/iconv_prog.c: Likewise.
396 * iconv/iconvconfig.c: Likewise.
397 * locale/programs/locale.c: Likewise.
398 * locale/programs/localedef.c: Likewise.
399 * login/programs/pt_chown.c: Likewise.
400 * malloc/memusage.sh: Likewise.
401 * malloc/memusagestat.c: Likewise.
402 * malloc/mtrace.pl: Likewise.
403 * nscd/nscd.c: Likewise.
404 * nss/getent.c: Likewise.
405 * nss/makedb.c: Likewise.
406 * posix/getconf.c: Likewise.
407
18ea052c
SP
4082012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
409
410 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
411 numbers.
412
9c89fca6
MF
4132012-12-30 Mike Frysinger <vapier@gentoo.org>
414
415 * math/bits/mathcalls.h (modf): Use __nonnull.
416
085ec079
SP
4172012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
418
419 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
420 (split): Use macro CN instead of the bare value.
421 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
422 could be used.
423 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
424 instead of the bare value.
425 (power1): Likewise.
426
6d9f97e1
SP
4272012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
428
d63f73be
SP
429 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
430 __ATAN_TWOM.
431 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
432
6d9f97e1
SP
433 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
434 their values.
435 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
436 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
437 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
438 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
439
4c4febf5
AJ
4402012-12-28 Andreas Jaeger <aj@suse.de>
441
af5843ef
AJ
442 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
443 values are from Linux 3.7.
444
4c4febf5
AJ
445 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
446 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
447
99136f82
SP
4482012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
449
2f216c3c 450 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
451 TRUE case.
452
99136f82
SP
453 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
454 (norm): Likewise.
455 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
456 variables with preprocessor constants.
457 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
458 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
459 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
460
7fffbdff
BH
4612012-12-27 Bruno Haible <bruno@clisp.org>
462
463 [BZ #14317]
464 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
465 only if needed.
466
b76eb5f0
SP
4672012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
468
31a7fe5c
SP
469 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
470 and use variable directly.
471 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
472
b76eb5f0
SP
473 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
474 MPONE.
475 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
476 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
477 variable MPONE.
478 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
479 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
480 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
481 include directive. Remove local variable MPONE.
482 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
483 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
484 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
485
2c8bfe7d
DM
4862012-12-25 David S. Miller <davem@davemloft.net>
487
488 * version.h (RELEASE): Set to "development".
489 (VERSION): Set to "2.17.90".
490 * NEWS: Add 2.18 section.
491
147d03b0
DM
4922012-12-21 David S. Miller <davem@davemloft.net>
493
494 * po/hr.po: Update from translation team.
495
a8ebb2b9
AK
4962012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
497
498 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
499
95b4f1b6
SE
5002012-12-19 Steve Ellcey <sellcey@mips.com>
501
b2d94007 502 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 503
cedb2a90
MS
5042012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
505
506 * manual/contrib.texi (Contributors): Spelling correction.
507
bbf527d6
DM
5082012-12-15 David S. Miller <davem@davemloft.net>
509
510 * po/ru.po: Update from translation team.
511
bc38c906
DM
5122012-12-13 David S. Miller <davem@davemloft.net>
513
85429b1a
DM
514 * NEWS: Mention IFUNC testsuite enhancements.
515
d283e353
DM
516 * po/pl.po: Update from translation team.
517 * po/bg.po: Likewise.
518
bc38c906
DM
519 * manual/contrib.texi (Contributors): Update entries for Hongjiu
520 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
521
a181b0d7
DM
5222012-12-11 David S. Miller <davem@davemloft.net>
523
4641d57e
DM
524 * po/sv.po: Update from translation team.
525
f7bc6495
DM
526 * po/vi.po: Update from translation team.
527
6fc9048f
DM
528 * po/cs.po: Update from translation team.
529
a181b0d7
DM
530 * po/de.po: Update from translation team.
531 * po/eo.po: Likewise.
532 * po/nl.po: Likewise.
533
f70bfe80
SP
5342012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
535
3c8b4190
SP
536 [BZ #14246]
537 * manual/argp.texi (Argp Helper Functions): Move node to follow
538 Argp Parsing State.
539
f70bfe80
SP
540 [BZ #14872]
541 * manual/conf.texi (Limits on File System Capacity): Mention if
542 terminating null is included in the max size.
543
188f0adf
AJ
5442012-12-10 Andreas Jaeger <aj@suse.de>
545
546 * po/cs.po: Update from translation team.
547
56e7d3ad
SP
5482012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
549
550 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
551 void pointer and cast to uintptr_t.
552 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
553 path.
554 * sysdeps/s390/s390-64/memcpy.S: Likewise.
555 * sysdeps/s390/s390-64/memset.S: Likewise.
556
76f2d2ea 5572012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
558
559 [BZ #14833]
560 * menual/message.texi (Message Translation): Fix typos.
561 (Helper programs for gettext): Likewise.
562
67cbf9a2
AS
5632012-12-07 Andreas Schwab <schwab@linux-m68k.org>
564
565 [BZ #14898]
566 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
567 Change to -1.
568
682d0e9a
DM
5692012-12-07 David S. Miller <davem@davemloft.net>
570
571 * po/libc.pot: Update.
572
573cd484
RH
5732012-12-07 Richard Henderson <rth@redhat.com>
574
7e9da188 575 [BZ #10114]
573cd484
RH
576 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
577 normal/normal case to before the switch.
578 (_FP_DIV): Likewise.
579
e933a943
MF
5802012-12-06 Carlos O'Donell <carlos@systemhalted.org>
581 Mike Frysinger <vapier@gentoo.org>
582
583 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
584 check for __NR_fadvise64_64.
585
82123268
CM
5862012-12-06 Chris Metcalf <cmetcalf@tilera.com>
587
588 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
589 0, not just to plain "0" as a statement.
590 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
591 with cw.
592
d9814526
JM
5932012-12-06 Joseph Myers <joseph@codesourcery.com>
594
595 * NEWS: Use sourceware.org in Bugzilla URL.
596
7728c574
SP
5972012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
598
f16946dd
SP
599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
600 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
601
5704bbcb
SP
602 * stdio-common/tst-put-error.c (do_test): Add newline to the
603 padded test to ensure flush.
604
17aa0516
JL
6052012-12-05 Jeff Law <law@redhat.com>
606
607 * sunrpc/etc.rpc (fedfs_admin): Add entry.
608
363313b5
JM
6092012-12-05 Joseph Myers <joseph@codesourcery.com>
610
effbd42a
JM
611 * README: Don't refer to ports add-on as distributed separately.
612 Mention AArch64 in list of systems supported in the ports add-on.
613
87600365
JM
614 * LICENSES: Add more non-FSF copyright and license notices.
615
a0d7066a
JM
616 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
617 ((unused)).
618
66ca5a5b
JM
619 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
620
363313b5
JM
621 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
622 10000 as width of padded output.
623
b37984ad
JM
6242012-12-04 Joseph Myers <joseph@codesourcery.com>
625
9003570a
JM
626 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
627
b37984ad
JM
628 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
629 variable LX with __attribute__ ((unused)).
630 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
631 Likewise.
632 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
633 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
634 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
635 with __attribute__ ((unused)).
636
c8df52ec
DM
6372012-12-04 David S. Miller <davem@abraco.davemloft.net>
638
639 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
640
b3b099af
JM
6412012-12-04 Joseph Myers <joseph@codesourcery.com>
642
c33aa6e3
JM
643 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
644 (CFLAGS-nldbl-acos.c): New variable.
645 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
646 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
647 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
648 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
649 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
650 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
651 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
652 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
653 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
654 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
655 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
656 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
657 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
658 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
659 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
660 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
661 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
662 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
663 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
664 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
665 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
666 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
667 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
668 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
669 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
670 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
671 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
672 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
673 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
674 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
675 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
676 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
677 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
678 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
679 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
680 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
681 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
682 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
683 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
684 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
685 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
686 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
687 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
688 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
689 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
690 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
691 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
692 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
693 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
694 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
695 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
696 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
697 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
698 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
699 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
700 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
701 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
702 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
703 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
704 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
705 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
706 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
707 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
708 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
709 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
710 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
711 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
712 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
713 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
714 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
715 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
716 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
717 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
718 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
719 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
720 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
721 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
722 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
723 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
724 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
725 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
726 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
727 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
728 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
729 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
730 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
731 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
732 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
733 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
734 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
735 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
736 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
737 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
738 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
739 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
740 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
741 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
742
20f0018d
JM
743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
744 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
745
b3b099af
JM
746 [BZ #14914]
747 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
748 whole low double instead of just low 47 bits when splitting values
749 into two parts.
750
029264d1
AM
7512012-12-03 Allan McRae <allan@archlinux.org>
752
753 * manual/stdio.texi (Predefined Printf Handlers): Remove
754 @hsep and @vsep usage.
755
c9d6789e
MF
7562012-12-03 Mike Frysinger <vapier@gentoo.org>
757
758 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
759 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
760
4b7634a5
JL
7612012-12-03 Jeff Law <law@redhat.com>
762
763 * time/sys/time.h (settimeofday): Do not mark TV argument
764 as __nonnull.
765
eb6cbd24
MF
7662012-12-01 Mike Frysinger <vapier@gentoo.org>
767
768 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
769 when currently writing and seek to current position when not.
770 * libio/Makefile (tests): Remove bug-fclose1.
771 * libio/bug-fclose1.c: Delete.
772
f638872a
JM
7732012-12-01 Joseph Myers <joseph@codesourcery.com>
774
775 * manual/arith.texi (feenableexcept): Fix typo.
776 (fedisableexcept): Likewise.
777
48085d14
RM
7782012-11-30 Roland McGrath <roland@hack.frob.com>
779
780 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
781 second, differently-typed declaration, rather than a cast.
782
1a538b9f
SP
7832012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
784
785 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
786 * include/rpc/svc.h: ... here.
787
d07f2ff1 7882012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
789
790 [BZ #13013]
791 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
792 depending n and resplen2 to catch cases where answer
793 equals answerp2.
794
c93ec1f0
CD
7952012-11-29 Carlos O'Donell <carlos@systemhalted.org>
796
797 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
798 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
799
37db69de
MF
8002012-11-29 Mike Frysinger <vapier@gentoo.org>
801
802 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
803
e10c4e4f
RM
8042012-11-29 Roland McGrath <roland@hack.frob.com>
805
806 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
807
2af1b328
JL
8082012-11-28 Jeff Law <law@redhat.com>
809
810 [BZ #13761]
811 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
812 dataset_temporary. Track alloca usage into alloca_used.
813 If dataset is large allocate and release it via malloc/free.
814
111db5b1
FW
8152012-06-04 Florian Weimer <fweimer@redhat.com>
816
f06cc227 817 [BZ #14197]
111db5b1
FW
818 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
819
dd694abd
DM
8202012-11-28 David S. Miller <davem@davemloft.net>
821
822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
823
9984dd01
JM
8242012-11-28 Joseph Myers <joseph@codesourcery.com>
825
826 [BZ #14803]
827 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
828 of pi/2 rounded to nearest to 64 bits.
829 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
830 nearest to 64 bits.
831 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
832 bits.
833
14bc93a9
JL
8342012-11-28 Jeff Law <law@redhat.com>
835 Martin Osvald <mosvald@redhat.com>
836
837 [BZ #14889]
838 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
839 * sunrpc/svc.c: Include time.h.
840 (__svc_accept_failed): New function.
841 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
842 any reason other than EINTR, call __svc_accept_failed.
843 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
844 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
845
e3c6aa3a
AS
8462012-11-28 Andreas Schwab <schwab@suse.de>
847
848 * scripts/abilist.awk: Also handle indirect functions in .opd
849 section.
850
1bead169
JM
8512012-11-28 Joseph Myers <joseph@codesourcery.com>
852
853 [BZ #13881]
854 * sysdeps/x86/fpu/powl_helper.c: New file.
855 * sysdeps/x86/fpu/Makefile: Likewise.
856 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
857 (p3): New object.
858 (__ieee754_powl): Use __powl_helper for finite arguments except
859 integer exponents below 8.
860 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
861 (p3): New object.
862 (__ieee754_powl): Use __powl_helper for finite arguments except
863 integer exponents below 8.
864 * math/libm-test.inc (pow_test): Add more tests and enable some
865 previously disabled tests.
866 * sysdeps/i386/fpu/libm-test-ulps: Update.
867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
868
0817d63d
SP
8692012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
870 Carlos O'Donell <carlos_odonell@mentor.com>
871
872 * nss/makedb.c (is_prime): Assert that input is odd and greater
873 than 4. Note that fact in a comment too.
874 (next_prime): Add 4 to input.
875
de2fd463
SP
8762012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
877
878 [BZ #11741]
879 * libio/Makefile (tests): Add test case tst-fwrite-error.
880 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
881 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
882 * libio/tst-fwrite-error.c: New test case.
883
c515fb51
L
8842012-11-26 H.J. Lu <hongjiu.lu@intel.com>
885
886 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
887 before casting to void *.
888 * include/libc-internal.h (__pointer_type): New macro.
889 (__integer_if_pointer_type_sub): Likewise.
890 (__integer_if_pointer_type): Likewise.
891 (cast_to_integer): Likewise.
892 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
893 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
894 before casting to atomic64_t.
895 (atomic_exchange_acq): Likewise.
896 (__arch_exchange_and_add_body): Likewise.
897 (__arch_add_body): Likewise.
898 (atomic_add_negative): Likewise.
899 (atomic_add_zero): Likewise.
900
4cf77aa9
JM
9012012-11-26 Joseph Myers <joseph@codesourcery.com>
902
903 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
904 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
905 (add_fdes): Likewise.
906 (linear_search_fdes): Likewise.
907 (binary_search_unencoded_fdes): Likewise.
908
d260b3b4
AS
9092012-11-26 Andreas Schwab <schwab@linux-m68k.org>
910
911 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
912
67060746
AC
9132012-11-24 Adam Conrad <adconrad@0c3.net>
914
915 * configure.in: Autodetect C++ header directories.
916 * configure: Regenerated.
917
800938a1
MF
9182012-11-23 Mike Frysinger <vapier@gentoo.org>
919
920 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
921
4e6e34e6
AS
9222012-11-23 Andreas Schwab <schwab@linux-m68k.org>
923
924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
925
7c7feb47
JM
9262012-11-22 Joseph Myers <joseph@codesourcery.com>
927
7184dcdf
JM
928 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
929 LDBL_MANT_DIG == 106]: Disable some tests.
930 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
931 Likewise.
932 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
933 Likewise.
934
0a42601f
JM
935 [BZ #14871]
936 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
937 input for small inputs. Return +/- pi/2 for large inputs.
938 * math/libm-test.inc (atan_test): Add more tests.
939
79c9b9fe
JM
940 * sysdeps/generic/unwind-dw2-fde-glibc.c
941 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
942 __attribute__ ((unused)).
943
c60d3bf2
JM
944 [BZ #14645]
945 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
946 x * y if x and y are nonzero and z is zero.
947
ef1e0867
JM
948 [BZ #14811]
949 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
950 nonzero exponents with absolute value below 0x1p-117 to +/-
951 0x1p-117.
952
1468ded3
JM
953 [BZ #14869]
954 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
955 up arguments below 2**-450, not just those below 2**-500.
956 * math/libm-test.inc (hypot_test): Add another test.
957
8e27e3cc
JM
958 [BZ #14868]
959 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
960 Return a+b for ratio over 2**120, not 2**60.
961 * math/libm-test.inc (hypot_test): Add another test.
962
c9c0279b
JM
963 * math/libm-test.inc (clog_test): Use
964 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
965 (clog10_test): Likewise.
966
7c7feb47
JM
967 [BZ #6778]
968 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
969
fff1530e
AS
9702012-11-22 Andreas Schwab <schwab@suse.de>
971
972 * sysdeps/i386/fpu/libm-test-ulps: Update.
973
94558d30
PT
9742012-11-22 Pino Toscano <toscano.pino@tiscali.it>
975
976 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
977 printf output with newline.
978
7e1be741
L
9792012-11-21 H.J. Lu <hongjiu.lu@intel.com>
980
6bfea974
L
981 [BZ #14865]
982 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
983 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
984 -z nodlopen, -z initfirst and -z execstack support.
985 * configure: Regenerated.
986
7e1be741
L
987 * elf/elf.h (DF_1_NODIRECT): New macro.
988 (DF_1_IGNMULDEF): Likewise.
989 (DF_1_NOKSYMS): Likewise.
990 (DF_1_NOHDR): Likewise.
991 (DF_1_EDITED): Likewise.
992 (DF_1_NORELOC): Likewise.
993 (DF_1_SYMINTPOSE): Likewise.
994 (DF_1_GLOBAUDIT): Likewise.
995 (DF_1_SINGLETON): Likewise.
996 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
997 DT_1_SUPPORTED_MASK bits.
998 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
999
105ce2ce
CD
10002012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1001
1002 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1003
123be9de
TS
10042012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1005
d072f3f7
TS
1006 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1007 macro.
1008
123be9de
TS
1009 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1010 (sendmmsg): Move declarations...
1011 * socket/sys/socket.h: ... here.
1012 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1013 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1014 include it from...
1015 * socket/recvmmsg.c: ... this new file.
1016 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1017 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1018 definition of __sendmmsg hidden.
1019 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1020 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1021 Move ENOSYS stub into and include it from...
1022 * socket/sendmmsg.c: ... this new file.
1023 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1024 (sysdep_routines): Move recvmmsg and sendmmsg...
1025 * socket/Makefile (routines): ... here.
1026 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1027 (GLIBC_PRIVATE): Add __sendmmsg.
1028 * include/sys/socket.h (__sendmmsg): Add declarations.
1029 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1030 sendmmsg.
1031
cf9a5d18
JM
10322012-11-20 Joseph Myers <joseph@codesourcery.com>
1033
1034 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1035 variable I1 with __attribute__ ((unused)).
1036 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1037
ecd4caf9
JM
10382012-11-19 Joseph Myers <joseph@codesourcery.com>
1039
be14d48f
JM
1040 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1041 DUMMY variables with __attribute__ ((unused)).
1042
ecd4caf9
JM
1043 * bits/byteswap.h: Include <bits/types.h>.
1044 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1045
986cab95
PT
10462012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1047
1048 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1049 string_t. Do not manually set errno.
1050 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1051 length with __strnlen. Make sure to both set errno and return it on
1052 failure.
1053
6d33cc9d
DM
10542012-11-19 David S. Miller <davem@davemloft.net>
1055
1056 With help from Joseph Myers.
1057 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1058 very large arguments properly.
1059 * math/libm-test.inc (atan_test): New tests.
1060 (atan2_test): New tests.
1061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1063
ee663277
JM
10642012-11-19 Joseph Myers <joseph@codesourcery.com>
1065
877f2d8e
JM
1066 [BZ #14856]
1067 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1068 Define to 3.
1069
116fc08a
JM
1070 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1071 [POSIX] (EADDRNOTAVAIL): Likewise.
1072 [POSIX] (EAFNOSUPPORT): Likewise.
1073 [POSIX] (EALREADY): Likewise.
1074 [POSIX] (ECONNABORTED): Likewise.
1075 [POSIX] (ECONNREFUSED): Likewise.
1076 [POSIX] (ECONNRESET): Likewise.
1077 [POSIX] (EDESTADDRREQ): Likewise.
1078 [POSIX] (EDQUOT): Likewise.
1079 [POSIX] (EHOSTUNREACH): Likewise.
1080 [POSIX] (EIDRM): Likewise.
1081 [POSIX] (EISCONN): Likewise.
1082 [POSIX] (ELOOP): Likewise.
1083 [POSIX] (EMULTIHOP): Likewise.
1084 [POSIX] (ENETDOWN): Likewise.
1085 [POSIX] (ENETUNREACH): Likewise.
1086 [POSIX] (ENOBUFS): Likewise.
1087 [POSIX] (ENODATA): Likewise.
1088 [POSIX] (ENOLINK): Likewise.
1089 [POSIX] (ENOMSG): Likewise.
1090 [POSIX] (ENOPROTOOPT): Likewise.
1091 [POSIX] (ENOSR): Likewise.
1092 [POSIX] (ENOSTR): Likewise.
1093 [POSIX] (ENOTCONN): Likewise.
1094 [POSIX] (ENOTSOCK): Likewise.
1095 [POSIX] (EOPNOTSUPP): Likewise.
1096 [POSIX] (EOVERFLOW): Likewise.
1097 [POSIX] (EPROTO): Likewise.
1098 [POSIX] (EPROTONOSUPPORT): Likewise.
1099 [POSIX] (EPROTOTYPE): Likewise.
1100 [POSIX] (ESTALE): Likewise.
1101 [POSIX] (ETIME): Likewise.
1102 [POSIX] (ETXTBSY): Likewise.
1103 [POSIX] (EWOULDBLOCK): Likewise.
1104 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1105 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1106 [POSIX] (SEEK_CUR): Likewise.
1107 [POSIX] (SEEK_END): Likewise.
1108 [POSIX || UNIX98] (mode_t): Do not require.
1109 [POSIX] (off_t): Likewise.
1110 [POSIX] (pid_t): Likewise.
1111 [POSIX] (sys/stat.h): Do not allow header.
1112 [POSIX] (unistd.h): Likewise.
1113 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1114 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1115 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1116 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1117 require.
1118 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1119 sigevent): Specify elements.
1120 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1121 entry.
1122 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1123 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1124
a483863f
JM
1125 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1126 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1127 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1128 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1129 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1130 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1131 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1132 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1133 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1134 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1135 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1136 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1137 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1138 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1139 Likewise.
1140 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1141 Likewise.
1142 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1143 Likewise.
1144 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1145 Likewise.
1146 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1147 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1148 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1149 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1150 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1151 Specify lower bound on value.
1152 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1153 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1154 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1155 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1156 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1157 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1158 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1159 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1160 value.
1161 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1162 as optional.
1163 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1164 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1165 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1166 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1167 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1168 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1169 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1170 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1171 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1172 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1173 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1174 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1175 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1176 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1177 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1178 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1179 entry.
1180 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1181 optional.
1182 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1183 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1184 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1185 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1186 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1187 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1188 Likewise.
1189 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1190 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1191 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1192 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1193 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1194 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1195 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1196 as optional.
1197 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1198 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1199 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1200 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1201 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1202 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1203 specify as optional.
1204 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1205 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1206 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1207 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1208 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1209 [XPG3] (NL_LANGMAX): Likewise.
1210 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1211 [POSIX || XPG3] (NL_NMAX): Likewise.
1212 [POSIX || XPG3] (NL_SETMAX): Likewise.
1213 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1214 [XPG3] (NZERO): Likewise.
1215 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1216 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1217 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1218 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1219 (REG_ERANGE): Expect.
1220 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1221 optional-constant.
1222 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1223 Use (void) in prototype.
1224 [POSIX] (*_t): Allow.
1225 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1226 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1227 (WRDE_BADVAL): Expect.
1228
5ba924e3
JM
1229 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1230 expect.
1231 [XPG3 || XPG4] (O_RSYNC): Likewise.
1232 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1233 Likewise.
1234 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1235 [XPG3 || XPG4] (sigqueue): Likewise.
1236 [XPG3 || XPG4] (sigtimedwait): Likewise.
1237 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1238 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1239 [XPG3 || XPG4] (vsnprintf): Likewise.
1240 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1241 Likewise.
1242 [XPG3 || XPG4] (blksize_t): Likewise.
1243 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1244 Likewise.
1245 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1246 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1247 [XPG3 || XPG4] (struct itimerspec): Likewise.
1248 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1249 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1250 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1251 [XPG3 || XPG4] (clockid_t): Likewise.
1252 [XPG3 || XPG4] (timer_t): Likewise.
1253 [XPG3 || XPG4] (clock_getres): Likewise.
1254 [XPG3 || XPG4] (clock_gettime): Likewise.
1255 [XPG3 || XPG4] (clock_settime): Likewise.
1256 [XPG3 || XPG4] (nanosleep): Likewise.
1257 [XPG3 || XPG4] (timer_create): Likewise.
1258 [XPG3 || XPG4] (timer_delete): Likewise.
1259 [XPG3 || XPG4] (timer_gettime): Likewise.
1260 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1261 [XPG3 || XPG4] (timer_settime): Likewise.
1262 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1263 [XPG3 || XPG4] (getlogin_r): Likewise.
1264 [XPG3 || XPG4] (pread): Likewise.
1265 [XPG3 || XPG4] (pthread_atfork): Likewise.
1266 [XPG3 || XPG4] (pwrite): Likewise.
1267
ee663277
JM
1268 [BZ #14835]
1269 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1270 <bits/siginfo.h>.
1271
942caa16
PT
12722012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1273
e19af380
PT
1274 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1275 finalizing MALLSTREAM.
1276
942caa16
PT
1277 * sysdeps/mach/hurd/syncfs.c: New file.
1278
cfde9b46
SP
12792012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1280
1281 [BZ #14719]
1282 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1283 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1284 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1285 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1286 (_nss_dns_gethostbyname4_r): Likewise.
1287 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1288 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1289
f6da27e5
PH
12902012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1291
1292 [BZ #13763]
1293 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1294
6665d4a2
SM
12952012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1296
1f51ee92
SM
1297 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1298 * elf/cache.c (print_entry): Print ",AArch64" for
1299 FLAG_AARCH64_LIB64
1300
6665d4a2
SM
1301 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1302 * elf/cache.c (print_entry): Print ",hard-float" for
1303 FLAG_ARM_LIBHF.
1304
05b227bd
DM
13052012-11-18 David S. Miller <davem@davemloft.net>
1306
1307 With help from Joseph Myers.
1308 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1309 cutoff to 2**-13.
1310 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1311 cutoff to 2**-25.
1312 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1313 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1314 small.
1315 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1316 * math/libm-test.inc (y0_test): New tests.
1317 (y1_test): New tests.
1318 * sysdeps/i386/fpu/libm-test-ulps: Update.
1319 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1321
786b0b67
AS
13222012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1323
1324 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1325 64-bit targets.
1326 * configure: Regenerated.
1327
8e18b86d
DM
13282012-11-17 David S. Miller <davem@davemloft.net>
1329
1330 [BZ #14811]
1331 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1332 nonzero exponents with absolute value below 0x1p-128 to +/-
1333 0x1p-128.
1334
531f1ae0
JM
13352012-11-17 Joseph Myers <joseph@codesourcery.com>
1336
12df29e2
JM
1337 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1338
150dc1a0
JM
1339 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1340
531f1ae0
JM
1341 * posix/getconf-speclist.c: New file.
1342 * posix/posix-envs.def: Likewise.
1343 * posix/confstr.c (START_ENV_GROUP): New macro.
1344 (END_ENV_GROUP): Likewise.
1345 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1346 (KNOWN_PRESENT_ENV_STRING): Likewise.
1347 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1348 (UNKNOWN_ENVIRONMENT): Likewise.
1349 (confstr): Include posix-envs.def instead of handling
1350 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1351 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1352 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1353 (END_ENV_GROUP): Likewise.
1354 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1355 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1356 (UNKNOWN_ENVIRONMENT): Likewise.
1357 (__sysconf): Include posix-envs.def instead of handling associated
1358 cases directly here.
1359 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1360 preprocessing getconf-speclist.c rather than running getconf or
1361 generating empty file.
1362
a93f9cbc
PT
13632012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1364
1365 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1366
d64d9f87
AL
13672012-11-16 Andrej Lajovic <natrij@gmail.com>
1368
1369 [BZ #14672]
1370 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1371
447885eb
DM
13722012-11-16 David S. Miller <davem@davemloft.net>
1373
1374 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1375 smaller than LDBL_EPSILON/2.0L, just return xm1.
1376
bcbf9830
L
13772012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1378
1379 * elf/tst-array1.c (init): Set constructor priority to 1000.
1380 (fini): Set destructor priority to 1000.
1381 * elf/tst-array2dep.c: Likewise.
1382
2b766585
SP
13832012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1384
1385 [BZ #11741]
1386 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1387 (_IO_new_file_xsputn): Also return EOF if none of the input
1388 data was written when overflow failed.
1389 * libio/iopadn.c (_IO_padn): Likewise.
1390 * libio/iowpadn.c (_IO_wpadn): Likewise.
1391 * stdio-common/tst-put-error.c: Add copyright notice.
1392 (do_test): Add case for printing padded string.
1393 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1394 _IO_padn returned error.
1395 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1396 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1397 return EOF.
1398
b1848fde
SP
13992012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1400
1401 * libio/libioP.h: Add comment note that the references to C++
1402 bits are now obsolete.
1403
2fd89785
MS
14042012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1405
1406 * math/libm-test.inc (check_complex): Use asprintf.
1407
e3ea5409
JM
14082012-11-14 Joseph Myers <joseph@codesourcery.com>
1409
1410 * debug/pcprofiledump.c (print_version): Update copyright year.
1411 * malloc/memusagestat.c (print_version): Likewise.
1412
2e64d265
L
14132012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1414
1415 [BZ #14831]
1416 * elf/Makefile (tests): Add tst-audit8.
1417 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1418 ($(objpfx)tst-audit8.out): New target.
1419 (tst-audit8-ENV): New variable.
1420 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1421 audit if l_reloc_result is NULL.
1422 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1423 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1424 * elf/tst-audit8.c: New file.
1425
c485e4d2
MS
14262012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1427
1428 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1429 * misc/Makefile (CFLAGS-select.c): Define.
1430 * posix/Makefile (CFLAGS-pause.c): Define.
1431
3a0d900a
DM
14322012-11-13 David S. Miller <davem@davemloft.net>
1433
1434 * crypt/Makefile: Move test targets after toplevel Rules
1435 inclusion. Grab any necessary sysdep routines when linking.
1436 * crypt/md5.c (md5_process_block): Remove define, we will always
1437 name it __md5_process_block.
1438 (md5_finish_ctx): Update md5_process_block call.
1439 (md5_stream): Likewise.
1440 (md5_process_bytes): Likewise.
1441 (md5_process_block): Rename to __md5_process_block and move to ...
1442 * crypt/md5-block.c: ... here.
1443 * crypt/sha256.c (sha256_process_block): Move to ...
1444 * crypt/sha256-block.c: ... here.
1445 * crypt/sha512.c (sha512_process_block): Move to ...
1446 * crypt/sha512-block.c: ... here.
1447 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1448 path.
1449 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1450 * sysdeps/sparc/sparc64/multiarch/Makefile
1451 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1452 crypt subdir.
1453 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1454 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1455 multiarch changes.
1456 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1457 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1458 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1459 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1460 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1461 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1462 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1463 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1464 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1465 file.
1466 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1467 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1468 file.
1469 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1470
8ca89318
JM
14712012-11-13 Joseph Myers <joseph@codesourcery.com>
1472
e27d476a
JM
1473 * timezone/tzselect.ksh: Update from tzcode git revision
1474 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1475 * timezone/zdump.c: Likewise.
1476 * timezone/zic.c: Likewise.
1477 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1478 in TZVERSION setting, not $(PKGVERSION).
1479 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1480 REPORT_BUGS_TO settings.
1481
8ca89318
JM
1482 [BZ #14838]
1483 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1484 macro.
1485
47594329
MS
14862012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1487
1488 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1489 detection to immediately after _FP_ROUND().
1490 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1491 bits are 0.
1492
640ac3f1
DM
14932012-11-11 David S. Miller <davem@davemloft.net>
1494
1495 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1496 inttypes.h
1497 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1498 __close rather than their public counterparts.
1499
3d2577bb
JM
15002012-11-10 Joseph Myers <joseph@codesourcery.com>
1501
1502 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1503 file.
1504 [UNIX98] (sem_timedwait): Do not expect.
1505 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1506 [XPG4 || UNIX98] (sockatmark): Do not expect.
1507 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1508 (clock_getcpuclockid): Do not expect.
1509 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1510 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1511 Do not expect.
1512 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1513 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1514 [UNIX98] (vwscanf): Likewise.
1515 [UNIX98] (vswscanf): Likewise.
1516
fb1ae1ee
JM
15172012-11-09 Joseph Myers <joseph@codesourcery.com>
1518
9ec6f8bd
JM
1519 * timezone/version.h: Remove file.
1520 * timezone/README: Do not refer to version.h.
1521 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1522 $(objpfx)version.h.
1523 ($(objpfx)zdump.o): Likewise.
c3f81911 1524 ($(objpfx)version.h): New target.
9ec6f8bd 1525
0aa8f8a1
JM
1526 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1527 2012i.
1528 * timezone/README: Don't mention modification to tzselect.ksh.
1529 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1530 work on unmodified tzselect.ksh. Substitute version numbers in
1531 tzselect.ksh.
1532
4e87147f
JM
1533 * Makefile (format-me): Remove.
1534 (INSTALL): Adjust indentation. Use commands directly instead of
1535 using $(format-me).
1536
8b748aed
JM
1537 * aclocal.m4 (ACX_PKGVERSION): New macro.
1538 (ACX_BUGURL): Likewise.
1539 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1540 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1541 (REPORT_BUGS_TO): Likewise.
1542 * configure: Regenerated.
1543 * config.h.in (PKGVERSION): New macro.
1544 (REPORT_BUGS_TO): Likewise.
1545 * config.make.in (PKGVERSION): New variable.
1546 (PKGVERSION_TEXI): Likewise.
1547 (REPORT_BUGS_TO): Likewise.
1548 (REPORT_BUGS_TEXI): Likewise.
1549 * Makefile (format-me): Use -I$(common-objpfx)manual.
1550 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1551 ($(common-objpfx)manual/%): New target.
1552 (manual/%): Remove target.
1553 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1554 (print_version): Use PKGVERSION.
1555 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1556 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1557 and REPORT_BUGS_TO.
1558 ($(objpfx)xtrace): Likewise.
1559 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1560 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1561 (print_version): Use PKGVERSION.
1562 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1563 (do_version): Use PKGVERSION.
1564 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1565 REPORT_BUGS_TO.
1566 (common-ldd-rewrite): Likewise.
1567 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1568 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1569 (print_version): Use PKGVERSION.
1570 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1571 * elf/pldd.c (argp_program_bug_address): Remove variable.
1572 (more_help): New function.
1573 (argp): Use more_help.
1574 (print_version): Use PKGVERSION.
1575 * elf/sln.c (main): Use PKGVERSION.
1576 (usage): Use REPORT_BUGS_TO.
1577 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1578 (top level): Use PKGVERSION.
1579 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1580 (print_version): Use PKGVERSION.
1581 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1582 (print_version): Use PKGVERSION.
1583 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1584 (print_version): Use PKGVERSION.
1585 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1586 (print_version): Use PKGVERSION.
1587 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1588 (print_version): Use PKGVERSION.
1589 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1590 (print_version): Use PKGVERSION.
1591 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1592 and BUGURL.
1593 ($(objpfx)memusage): Likewise.
1594 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1595 (do_version): Use PKGVERSION.
1596 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1597 (print_version): Use PKGVERSION.
1598 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1599 ($PKGVERSION): New variable.
1600 ($REPORT_BUGS_TO): Likewise.
1601 (usage): Use $REPORT_BUGS_TO.
1602 (top level): Use $PKGVERSION.
1603 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1604 ($(objpfx)pkgvers.texi): New rule.
1605 ($(objpfx)stamp-pkgvers): Likewise.
1606 * manual/install.texi: Include pkgvers.texi.
1607 (--with-pkgversion): Document new configure option.
1608 (--with-bugurl): Likewise.
1609 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1610 than necessarily for this particular distribution. Use
1611 REPORT_BUGS_TO for where to report bugs.
1612 * INSTALL: Regenerated.
1613 * manual/libc.texinfo: Include pkgvers.texi.
1614 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1615 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1616 (print_version): Use PKGVERSION.
1617 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1618 (print_version): Use PKGVERSION.
1619 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1620 (print_version): Use PKGVERSION.
1621 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1622 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1623 macro.
1624 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1625 (print_version): Use PKGVERSION.
1626 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1627 (print_version): Use PKGVERSION.
1628 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1629 and PKGVERSION.
1630
92e4b6a9
JM
1631 * timezone/checktab.awk: Update from tzcode 2012i.
1632 * timezone/ialloc.c: Likewise.
1633 * timezone/private.h: Likewise.
1634 * timezone/scheck.c: Likewise.
1635 * timezone/tzfile.h: Likewise.
1636 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1637 (TZVERSION): Hardcode tzcode version number.
1638 * timezone/zdump.c: Update from tzcode 2012i.
1639 * timezone/zic.c: Likewise.
1640 * timezone/version.h: New file.
1641 * timezone/README: Describe version.h. Update upstream location.
1642
9bde902c
JM
1643 [BZ #14824]
1644 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1645 (mktemp): Enable declaration.
1646 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1647 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1648 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1649 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1650 Likewise.
1651 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1652 Likewise.
1653 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1654 Likewise.
1655 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1656 Likewise.
1657 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1658 Likewise.
1659 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1660 Likewise.
1661
fb1ae1ee
JM
1662 [BZ #14821]
1663 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1664 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1665 for copies of such integer values.
1666 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1667 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1668
2c1adbcb
AJ
16692012-11-09 Andreas Jaeger <aj@suse.de>
1670
1671 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1672 definitions and declarations that are provided by
1673 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1674
d0f8457e
AK
16752012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1676
1677 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1678 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1679 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1680 definition.
1681
57241e26
MS
16822012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1683
1684 * elf/elf.h: Update comment before AArch64 relocations.
1685
60e8270d
DM
16862012-11-07 David S. Miller <davem@davemloft.net>
1687
1688 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1689 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1690 (__start_context): Declare.
1691 (__makecontext_ret): Delete.
1692 (__makecontext): Hook up __start_context instead of
1693 __makecontext_ret.
1694 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1695 (sysdep_routines): Add __start_context when in stdlib.
1696
0fbb0fbc
JM
16972012-11-07 Joseph Myers <joseph@codesourcery.com>
1698
1699 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1700 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1701 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1702 hardcoded "nm".
1703 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1704 (READELF): New variable. Use it instead of hardcoded "readelf".
1705
eb48db7e
L
17062012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1707
1708 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1709 * sysdeps/x86/Makefile: Here.
1710 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1711 * sysdeps/x86/tst-xmmymm.sh: This.
1712
05bcf62a
JM
17132012-11-07 Joseph Myers <joseph@codesourcery.com>
1714
c4b6cf53
JM
1715 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1716 expectations.
1717 [UNIX98] (pthread_barrier_t): Do not expect.
1718 [UNIX98] (pthread_barrierattr_t): Likewise.
1719 [UNIX98] (pthread_spinlock_t): Likewise.
1720 [UNIX98] (pthread_barrier_destroy): Likewise.
1721 [UNIX98] (pthread_barrier_init): Likewise.
1722 [UNIX98] (pthread_barrier_wait): Likewise.
1723 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1724 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1725 [UNIX98] (pthread_barrierattr_init): Likewise.
1726 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1727 [UNIX98] (pthread_getcpuclockid): Likewise.
1728 [UNIX98] (pthread_mutex_timedlock): Likewise.
1729 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1730 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1731 [UNIX98] (pthread_sigmask): Likewise.
1732 [UNIX98] (pthread_spin_destroy): Likewise.
1733 [UNIX98] (pthread_spin_init): Likewise.
1734 [UNIX98] (pthread_spin_lock): Likewise.
1735 [UNIX98] (pthread_spin_trylock): Likewise.
1736 [UNIX98] (pthread_spin_unlock): Likewise.
1737 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1738 Do not expect.
1739 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1740 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1741 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1742 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1743 [XPG3 || XPG4] (pthread_key_t): Likewise.
1744 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1745 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1746 [XPG3 || XPG4] (pthread_once_t): Likewise.
1747 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1748 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1749 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1750 [XPG3 || XPG4] (pthread_t): Likewise.
1751
cbe6e120
JM
1752 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1753 not expect.
1754 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1755
1b126443
JM
1756 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1757 Change function return type to int.
1758
b961a573
JM
1759 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1760 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1761 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1762 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1763 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1764 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1765 [!POSIX] (posix_madvise): Likewise.
1766 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1767 && !UNIX98].
1768 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1769 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1770 (mode_t): Likewise.
1771 (posix_mem_offset): Likewise.
1772 (posix_typed_mem_get_info): Likewise.
1773 (posix_typed_mem_open): Likewise.
1774
9e188909
JM
1775 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1776 Change condition to [XOPEN2K8].
1777
05bcf62a
JM
1778 * conform/conformtest.pl: Preprocess allow-header data with -x c
1779 instead of from stdin.
1780 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1781 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1782 [C99-based standards] (cerfc): Likewise.
1783 [C99-based standards] (cexp2): Likewise.
1784 [C99-based standards] (cexpm1): Likewise.
1785 [C99-based standards] (clog10): Likewise.
1786 [C99-based standards] (clog1p): Likewise.
1787 [C99-based standards] (clog2): Likewise.
1788 [C99-based standards] (clgamma): Likewise.
1789 [C99-based standards] (ctgamma): Likewise.
1790 [C99-based standards] (cerff): Likewise.
1791 [C99-based standards] (cerfcf): Likewise.
1792 [C99-based standards] (cexp2f): Likewise.
1793 [C99-based standards] (cexpm1f): Likewise.
1794 [C99-based standards] (clog10f): Likewise.
1795 [C99-based standards] (clog1pf): Likewise.
1796 [C99-based standards] (clog2f): Likewise.
1797 [C99-based standards] (clgammaf): Likewise.
1798 [C99-based standards] (ctgammaf): Likewise.
1799 [C99-based standards] (cerfl): Likewise.
1800 [C99-based standards] (cerfcl): Likewise.
1801 [C99-based standards] (cexp2l): Likewise.
1802 [C99-based standards] (cexpm1l): Likewise.
1803 [C99-based standards] (clog10l): Likewise.
1804 [C99-based standards] (clog1pl): Likewise.
1805 [C99-based standards] (clog2l): Likewise.
1806 [C99-based standards] (clgammal): Likewise.
1807 [C99-based standards] (ctgammal): Likewise.
1808 * conform/data/inttypes.h-data [C99-based standards]: Include
1809 stdint.h-data. Remove all expectations for stdint.h contents.
1810 [C99-based standards] (PRI*): Do not allow.
1811 [C99-based standards] (SCN*): Likewise.
1812 [C99-based standards] (*_t): Likewise.
1813 [C99-based-standards] (PRId8): Expect macro.
1814 [C99-based-standards] (PRIi8): Likewise.
1815 [C99-based-standards] (PRIo8): Likewise.
1816 [C99-based-standards] (PRIu8): Likewise.
1817 [C99-based-standards] (PRIx8): Likewise.
1818 [C99-based-standards] (PRIX8): Likewise.
1819 [C99-based-standards] (SCNd8): Likewise.
1820 [C99-based-standards] (SCNi8): Likewise.
1821 [C99-based-standards] (SCNo8): Likewise.
1822 [C99-based-standards] (SCNu8): Likewise.
1823 [C99-based-standards] (SCNx8): Likewise.
1824 [C99-based-standards] (PRIdLEAST8): Likewise.
1825 [C99-based-standards] (PRIiLEAST8): Likewise.
1826 [C99-based-standards] (PRIoLEAST8): Likewise.
1827 [C99-based-standards] (PRIuLEAST8): Likewise.
1828 [C99-based-standards] (PRIxLEAST8): Likewise.
1829 [C99-based-standards] (PRIXLEAST8): Likewise.
1830 [C99-based-standards] (SCNdLEAST8): Likewise.
1831 [C99-based-standards] (SCNiLEAST8): Likewise.
1832 [C99-based-standards] (SCNoLEAST8): Likewise.
1833 [C99-based-standards] (SCNuLEAST8): Likewise.
1834 [C99-based-standards] (SCNxLEAST8): Likewise.
1835 [C99-based-standards] (PRIdFAST8): Likewise.
1836 [C99-based-standards] (PRIiFAST8): Likewise.
1837 [C99-based-standards] (PRIoFAST8): Likewise.
1838 [C99-based-standards] (PRIuFAST8): Likewise.
1839 [C99-based-standards] (PRIxFAST8): Likewise.
1840 [C99-based-standards] (PRIXFAST8): Likewise.
1841 [C99-based-standards] (SCNdFAST8): Likewise.
1842 [C99-based-standards] (SCNiFAST8): Likewise.
1843 [C99-based-standards] (SCNoFAST8): Likewise.
1844 [C99-based-standards] (SCNuFAST8): Likewise.
1845 [C99-based-standards] (SCNxFAST8): Likewise.
1846 [C99-based-standards] (PRId16): Likewise.
1847 [C99-based-standards] (PRIi16): Likewise.
1848 [C99-based-standards] (PRIo16): Likewise.
1849 [C99-based-standards] (PRIu16): Likewise.
1850 [C99-based-standards] (PRIx16): Likewise.
1851 [C99-based-standards] (PRIX16): Likewise.
1852 [C99-based-standards] (SCNd16): Likewise.
1853 [C99-based-standards] (SCNi16): Likewise.
1854 [C99-based-standards] (SCNo16): Likewise.
1855 [C99-based-standards] (SCNu16): Likewise.
1856 [C99-based-standards] (SCNx16): Likewise.
1857 [C99-based-standards] (PRIdLEAST16): Likewise.
1858 [C99-based-standards] (PRIiLEAST16): Likewise.
1859 [C99-based-standards] (PRIoLEAST16): Likewise.
1860 [C99-based-standards] (PRIuLEAST16): Likewise.
1861 [C99-based-standards] (PRIxLEAST16): Likewise.
1862 [C99-based-standards] (PRIXLEAST16): Likewise.
1863 [C99-based-standards] (SCNdLEAST16): Likewise.
1864 [C99-based-standards] (SCNiLEAST16): Likewise.
1865 [C99-based-standards] (SCNoLEAST16): Likewise.
1866 [C99-based-standards] (SCNuLEAST16): Likewise.
1867 [C99-based-standards] (SCNxLEAST16): Likewise.
1868 [C99-based-standards] (PRIdFAST16): Likewise.
1869 [C99-based-standards] (PRIiFAST16): Likewise.
1870 [C99-based-standards] (PRIoFAST16): Likewise.
1871 [C99-based-standards] (PRIuFAST16): Likewise.
1872 [C99-based-standards] (PRIxFAST16): Likewise.
1873 [C99-based-standards] (PRIXFAST16): Likewise.
1874 [C99-based-standards] (SCNdFAST16): Likewise.
1875 [C99-based-standards] (SCNiFAST16): Likewise.
1876 [C99-based-standards] (SCNoFAST16): Likewise.
1877 [C99-based-standards] (SCNuFAST16): Likewise.
1878 [C99-based-standards] (SCNxFAST16): Likewise.
1879 [C99-based-standards] (PRId32): Likewise.
1880 [C99-based-standards] (PRIi32): Likewise.
1881 [C99-based-standards] (PRIo32): Likewise.
1882 [C99-based-standards] (PRIu32): Likewise.
1883 [C99-based-standards] (PRIx32): Likewise.
1884 [C99-based-standards] (PRIX32): Likewise.
1885 [C99-based-standards] (SCNd32): Likewise.
1886 [C99-based-standards] (SCNi32): Likewise.
1887 [C99-based-standards] (SCNo32): Likewise.
1888 [C99-based-standards] (SCNu32): Likewise.
1889 [C99-based-standards] (SCNx32): Likewise.
1890 [C99-based-standards] (PRIdLEAST32): Likewise.
1891 [C99-based-standards] (PRIiLEAST32): Likewise.
1892 [C99-based-standards] (PRIoLEAST32): Likewise.
1893 [C99-based-standards] (PRIuLEAST32): Likewise.
1894 [C99-based-standards] (PRIxLEAST32): Likewise.
1895 [C99-based-standards] (PRIXLEAST32): Likewise.
1896 [C99-based-standards] (SCNdLEAST32): Likewise.
1897 [C99-based-standards] (SCNiLEAST32): Likewise.
1898 [C99-based-standards] (SCNoLEAST32): Likewise.
1899 [C99-based-standards] (SCNuLEAST32): Likewise.
1900 [C99-based-standards] (SCNxLEAST32): Likewise.
1901 [C99-based-standards] (PRIdFAST32): Likewise.
1902 [C99-based-standards] (PRIiFAST32): Likewise.
1903 [C99-based-standards] (PRIoFAST32): Likewise.
1904 [C99-based-standards] (PRIuFAST32): Likewise.
1905 [C99-based-standards] (PRIxFAST32): Likewise.
1906 [C99-based-standards] (PRIXFAST32): Likewise.
1907 [C99-based-standards] (SCNdFAST32): Likewise.
1908 [C99-based-standards] (SCNiFAST32): Likewise.
1909 [C99-based-standards] (SCNoFAST32): Likewise.
1910 [C99-based-standards] (SCNuFAST32): Likewise.
1911 [C99-based-standards] (SCNxFAST32): Likewise.
1912 [C99-based-standards] (PRId64): Likewise.
1913 [C99-based-standards] (PRIi64): Likewise.
1914 [C99-based-standards] (PRIo64): Likewise.
1915 [C99-based-standards] (PRIu64): Likewise.
1916 [C99-based-standards] (PRIx64): Likewise.
1917 [C99-based-standards] (PRIX64): Likewise.
1918 [C99-based-standards] (SCNd64): Likewise.
1919 [C99-based-standards] (SCNi64): Likewise.
1920 [C99-based-standards] (SCNo64): Likewise.
1921 [C99-based-standards] (SCNu64): Likewise.
1922 [C99-based-standards] (SCNx64): Likewise.
1923 [C99-based-standards] (PRIdLEAST64): Likewise.
1924 [C99-based-standards] (PRIiLEAST64): Likewise.
1925 [C99-based-standards] (PRIoLEAST64): Likewise.
1926 [C99-based-standards] (PRIuLEAST64): Likewise.
1927 [C99-based-standards] (PRIxLEAST64): Likewise.
1928 [C99-based-standards] (PRIXLEAST64): Likewise.
1929 [C99-based-standards] (SCNdLEAST64): Likewise.
1930 [C99-based-standards] (SCNiLEAST64): Likewise.
1931 [C99-based-standards] (SCNoLEAST64): Likewise.
1932 [C99-based-standards] (SCNuLEAST64): Likewise.
1933 [C99-based-standards] (SCNxLEAST64): Likewise.
1934 [C99-based-standards] (PRIdFAST64): Likewise.
1935 [C99-based-standards] (PRIiFAST64): Likewise.
1936 [C99-based-standards] (PRIoFAST64): Likewise.
1937 [C99-based-standards] (PRIuFAST64): Likewise.
1938 [C99-based-standards] (PRIxFAST64): Likewise.
1939 [C99-based-standards] (PRIXFAST64): Likewise.
1940 [C99-based-standards] (SCNdFAST64): Likewise.
1941 [C99-based-standards] (SCNiFAST64): Likewise.
1942 [C99-based-standards] (SCNoFAST64): Likewise.
1943 [C99-based-standards] (SCNuFAST64): Likewise.
1944 [C99-based-standards] (SCNxFAST64): Likewise.
1945 [C99-based-standards] (PRIdMAX): Likewise.
1946 [C99-based-standards] (PRIiMAX): Likewise.
1947 [C99-based-standards] (PRIoMAX): Likewise.
1948 [C99-based-standards] (PRIuMAX): Likewise.
1949 [C99-based-standards] (PRIxMAX): Likewise.
1950 [C99-based-standards] (PRIXMAX): Likewise.
1951 [C99-based-standards] (SCNdMAX): Likewise.
1952 [C99-based-standards] (SCNiMAX): Likewise.
1953 [C99-based-standards] (SCNoMAX): Likewise.
1954 [C99-based-standards] (SCNuMAX): Likewise.
1955 [C99-based-standards] (SCNxMAX): Likewise.
1956 [C99-based-standards] (PRIdPTR): Likewise.
1957 [C99-based-standards] (PRIiPTR): Likewise.
1958 [C99-based-standards] (PRIoPTR): Likewise.
1959 [C99-based-standards] (PRIuPTR): Likewise.
1960 [C99-based-standards] (PRIxPTR): Likewise.
1961 [C99-based-standards] (PRIXPTR): Likewise.
1962 [C99-based-standards] (SCNdPTR): Likewise.
1963 [C99-based-standards] (SCNiPTR): Likewise.
1964 [C99-based-standards] (SCNoPTR): Likewise.
1965 [C99-based-standards] (SCNuPTR): Likewise.
1966 [C99-based-standards] (SCNxPTR): Likewise.
1967 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1968 allow.
1969 * conform/data/stdint.h-data: Update comments to clarify
1970 requirements.
1971 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1972 type.
1973 [C99-based standards] (INT8_MAX): Likewise.
1974 [C99-based standards] (INT16_MIN): Likewise.
1975 [C99-based standards] (INT16_MAX): Likewise.
1976 [C99-based standards] (INT32_MIN): Likewise.
1977 [C99-based standards] (INT32_MAX): Likewise.
1978 [C99-based standards] (INT64_MIN): Likewise.
1979 [C99-based standards] (INT64_MAX): Likewise.
1980 [C99-based standards] (UINT8_MAX): Likewise.
1981 [C99-based standards] (UINT16_MAX): Likewise.
1982 [C99-based standards] (UINT32_MAX): Likewise.
1983 [C99-based standards] (UINT64_MAX): Likewise.
1984 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1985 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1986 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1987 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1988 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1989 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1990 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1991 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1992 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1993 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1994 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1995 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1996 [C99-based standards] (INT_FAST8_MIN): Likewise.
1997 [C99-based standards] (INT_FAST8_MAX): Likewise.
1998 [C99-based standards] (INT_FAST16_MIN): Likewise.
1999 [C99-based standards] (INT_FAST16_MAX): Likewise.
2000 [C99-based standards] (INT_FAST32_MIN): Likewise.
2001 [C99-based standards] (INT_FAST32_MAX): Likewise.
2002 [C99-based standards] (INT_FAST64_MIN): Likewise.
2003 [C99-based standards] (INT_FAST64_MAX): Likewise.
2004 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2005 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2006 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2007 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2008 [C99-based standards] (INTPTR_MIN): Likewise.
2009 [C99-based standards] (INTPTR_MAX): Likewise.
2010 [C99-based standards] (UINTPTR_MAX): Likewise.
2011 [C99-based standards] (INTMAX_MIN): Likewise.
2012 [C99-based standards] (INTMAX_MAX): Likewise.
2013 [C99-based standards] (UINTMAX_MAX): Likewise.
2014 [C99-based standards] (PTRDIFF_MIN): Likewise.
2015 [C99-based standards] (PTRDIFF_MAX): Likewise.
2016 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2017 [C99-based standards] (SIZE_MAX): Likewise.
2018 [C99-based standards] (WCHAR_MAX): Likewise.
2019 [C99-based standards] (WINT_MAX): Likewise.
2020 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2021 constraint on value.
2022 [C99-based standards] (WCHAR_MIN): Likewise.
2023 [C99-based standards] (WINT_MIN): Likewise.
2024 [C99-based standards] (*_t): Allow.
2025 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2026 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2027 Include math.h-data and complex.h-data. Remove all expectations
2028 of math.h and complex.h contents.
2029 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2030 at end of line.
2031 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2032 (struct tm): Expect tag.
2033 [C99-based-standards] (wcstof): Expect function.
2034 [C99-based-standards] (wcstold): Likewise.
2035 [C99-based-standards] (wcstoll): Likewise.
2036 [C99-based-standards] (wcstoull): Likewise.
2037 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2038 macro-int-constant. Specify type.
2039 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2040 constraint on value.
2041 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2042 Specify type.
2043 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2044 Specify value.
2045 [ISO C standards]: Do not allow headers.
2046 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2047 wcs[abcdefghijklmnopqrstuvwxyz]*.
2048 [ISO C standards] (*_t): Do not allow.
2049 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2050 Expect function.
2051 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2052 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2053 Specify type.
2054 [ISO C standards]: Do not allow headers.
2055 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2056 is[abcdefghijklmnopqrstuvwxyz]*.
2057 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2058 to[abcdefghijklmnopqrstuvwxyz]*.
2059 [ISO C standards] (*_t): Do not allow.
2060 * conform/data/stdalign.h-data: New file.
2061 * conform/data/stdbool.h-data: Likewise.
2062 * conform/data/stdnoreturn.h-data: Likewise.
2063
7514feb8
RM
20642012-11-07 Roland McGrath <roland@hack.frob.com>
2065
2066 [BZ #14815]
2067 * manual/filesys.texi (Directory Entries): Typo fix.
2068 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2069
19b2ecfc
MS
20702012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2071
2072 * elf/elf.h (EM_AARCH64): New macro.
2073 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2074 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2075 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2076 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2077 (R_AARCH64_TLSDESC): Likewise.
2078 (NT_ARM_TLS): Likewise.
2079 (NT_ARM_HW_BREAK): Likewise.
2080 (NT_ARM_HW_WATCH): Likewise.
2081
60e235ee
JM
20822012-11-07 Joseph Myers <joseph@codesourcery.com>
2083
2084 [BZ #14811]
2085 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2086 (__ieee754_powl): Saturate nonzero exponents with absolute value
2087 below 0x1p-79 to +/- 0x1p-79.
2088 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2089 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2090 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2091 nonzero exponents with absolute value below 0x1p-32 to +/-
2092 0x1p-32.
2093 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2094 (__ieee754_powl): Saturate nonzero exponents with absolute value
2095 below 0x1p-79 to +/- 0x1p-79.
2096 * math/libm-test.inc (pow_test): Add more tests.
2097
0ab234b7
AK
20982012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2099
2100 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2101 _dl_s390_cap_flags with kernel. Increase string length.
2102 (_dl_s390_platforms): Add z196 and zEC12.
2103
45832f74
JM
21042012-11-07 Joseph Myers <joseph@codesourcery.com>
2105
2106 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2107 Change XOPEN21K to XOPEN2K.
2108
19218757
MK
21092012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2110
2111 * string/memmove.c: Use memcpy when possible.
2112
c5f45721
AJ
21132012-11-06 Andreas Jaeger <aj@suse.de>
2114
2115 * po/eo.po: Update from translation team.
2116
82477c28
JM
21172012-11-06 Joseph Myers <joseph@codesourcery.com>
2118
2119 [BZ #14793]
2120 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2121 exponent and small x and y exponents, scale x or y up. Increase
2122 by 2 the exponent used in scaling up.
2123 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2124 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2125 * math/libm-test.inc (fma_test): Add more tests.
2126 (fma_test_towardzero): Likewise.
2127 (fma_test_downward): Likewise.
2128 (fma_test_upward): Likewise.
2129
99252c8c
JM
21302012-11-05 Joseph Myers <joseph@codesourcery.com>
2131
acfa885f
JM
2132 [BZ #14805]
2133 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2134 fenv_t *.
2135
99252c8c
JM
2136 [BZ #14801]
2137 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2138 namespace for names of struct fields.
2139 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2140 fenv_t fields.
2141 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2142 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2143
d6d98dea
ST
21442012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2145
2146 [BZ #3665]
2147 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2148
e10bb107
TS
21492012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2150
2151 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2152 PTR_DEMANGLE.
2153
2154 [BZ #5246]
2155 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2156 PTR_DEMANGLE.
2157
a0c2940d
JM
21582012-11-04 Joseph Myers <joseph@codesourcery.com>
2159
2160 [BZ #14797]
2161 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2162 definitely overflow as x * y not x * y + z.
2163 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2164 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2165 * math/libm-test.inc (fma_test): Add more tests.
2166 (fma_test_towardzero): Likewise.
2167 (fma_test_downward): Likewise.
2168 (fma_test_upward): Likewise.
2169
b830319d
TS
21702012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2171
2172 [BZ #157]
2173
2174 * include/stub-tag.h: Remove file.
2175 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2176 '#include' of it.
2177 * manual/maint.texi (Porting): Don't reference it.
2178 * Makerules ($(objpfx)stubs): Likewise.
2179 * dirent/closedir.c: Don't include <stub-tag.h>.
2180 * dirent/dirfd.c: Likewise.
2181 * dirent/fdopendir.c: Likewise.
2182 * dirent/getdents.c: Likewise.
2183 * dirent/getdents64.c: Likewise.
2184 * dirent/opendir.c: Likewise.
2185 * dirent/readdir.c: Likewise.
2186 * dirent/readdir64.c: Likewise.
2187 * dirent/readdir64_r.c: Likewise.
2188 * dirent/readdir_r.c: Likewise.
2189 * dirent/rewinddir.c: Likewise.
2190 * dirent/seekdir.c: Likewise.
2191 * dirent/telldir.c: Likewise.
2192 * gmon/profil.c: Likewise.
2193 * grp/setgroups.c: Likewise.
2194 * inet/if_index.c: Likewise.
2195 * io/access.c: Likewise.
2196 * io/chdir.c: Likewise.
2197 * io/chmod.c: Likewise.
2198 * io/chown.c: Likewise.
2199 * io/close.c: Likewise.
2200 * io/dup.c: Likewise.
2201 * io/dup2.c: Likewise.
2202 * io/dup3.c: Likewise.
2203 * io/euidaccess.c: Likewise.
2204 * io/faccessat.c: Likewise.
2205 * io/fchdir.c: Likewise.
2206 * io/fchmod.c: Likewise.
2207 * io/fchmodat.c: Likewise.
2208 * io/fchown.c: Likewise.
2209 * io/fchownat.c: Likewise.
2210 * io/fcntl.c: Likewise.
2211 * io/flock.c: Likewise.
2212 * io/fstatfs.c: Likewise.
2213 * io/fstatfs64.c: Likewise.
2214 * io/fstatvfs.c: Likewise.
2215 * io/fstatvfs64.c: Likewise.
2216 * io/futimens.c: Likewise.
2217 * io/fxstat.c: Likewise.
2218 * io/fxstat64.c: Likewise.
2219 * io/fxstatat.c: Likewise.
2220 * io/fxstatat64.c: Likewise.
2221 * io/getcwd.c: Likewise.
2222 * io/isatty.c: Likewise.
2223 * io/lchmod.c: Likewise.
2224 * io/lchown.c: Likewise.
2225 * io/link.c: Likewise.
2226 * io/linkat.c: Likewise.
2227 * io/lseek.c: Likewise.
2228 * io/lseek64.c: Likewise.
2229 * io/lxstat64.c: Likewise.
2230 * io/mkdir.c: Likewise.
2231 * io/mkdirat.c: Likewise.
2232 * io/mkfifo.c: Likewise.
2233 * io/mkfifoat.c: Likewise.
2234 * io/open.c: Likewise.
2235 * io/open64.c: Likewise.
2236 * io/openat.c: Likewise.
2237 * io/openat64.c: Likewise.
2238 * io/pipe.c: Likewise.
2239 * io/pipe2.c: Likewise.
2240 * io/poll.c: Likewise.
2241 * io/posix_fadvise.c: Likewise.
2242 * io/posix_fadvise64.c: Likewise.
2243 * io/posix_fallocate.c: Likewise.
2244 * io/posix_fallocate64.c: Likewise.
2245 * io/read.c: Likewise.
2246 * io/readlink.c: Likewise.
2247 * io/readlinkat.c: Likewise.
2248 * io/rmdir.c: Likewise.
2249 * io/sendfile.c: Likewise.
2250 * io/sendfile64.c: Likewise.
2251 * io/statfs.c: Likewise.
2252 * io/statfs64.c: Likewise.
2253 * io/statvfs.c: Likewise.
2254 * io/statvfs64.c: Likewise.
2255 * io/symlink.c: Likewise.
2256 * io/symlinkat.c: Likewise.
2257 * io/ttyname.c: Likewise.
2258 * io/ttyname_r.c: Likewise.
2259 * io/umask.c: Likewise.
2260 * io/unlink.c: Likewise.
2261 * io/unlinkat.c: Likewise.
2262 * io/utime.c: Likewise.
2263 * io/utimensat.c: Likewise.
2264 * io/write.c: Likewise.
2265 * io/xmknod.c: Likewise.
2266 * io/xmknodat.c: Likewise.
2267 * io/xstat.c: Likewise.
2268 * io/xstat64.c: Likewise.
2269 * login/getpt.c: Likewise.
2270 * login/grantpt.c: Likewise.
2271 * login/unlockpt.c: Likewise.
2272 * math/e_acoshl.c: Likewise.
2273 * math/e_acosl.c: Likewise.
2274 * math/e_asinl.c: Likewise.
2275 * math/e_atan2l.c: Likewise.
2276 * math/e_atanhl.c: Likewise.
2277 * math/e_coshl.c: Likewise.
2278 * math/e_expl.c: Likewise.
2279 * math/e_fmodl.c: Likewise.
2280 * math/e_gammal_r.c: Likewise.
2281 * math/e_hypotl.c: Likewise.
2282 * math/e_j0l.c: Likewise.
2283 * math/e_j1l.c: Likewise.
2284 * math/e_jnl.c: Likewise.
2285 * math/e_lgammal_r.c: Likewise.
2286 * math/e_log10l.c: Likewise.
2287 * math/e_log2l.c: Likewise.
2288 * math/e_logl.c: Likewise.
2289 * math/e_powl.c: Likewise.
2290 * math/e_rem_pio2l.c: Likewise.
2291 * math/e_sinhl.c: Likewise.
2292 * math/e_sqrtl.c: Likewise.
2293 * math/fclrexcpt.c: Likewise.
2294 * math/fedisblxcpt.c: Likewise.
2295 * math/feenablxcpt.c: Likewise.
2296 * math/fegetenv.c: Likewise.
2297 * math/fegetexcept.c: Likewise.
2298 * math/fegetround.c: Likewise.
2299 * math/feholdexcpt.c: Likewise.
2300 * math/fesetenv.c: Likewise.
2301 * math/fesetround.c: Likewise.
2302 * math/feupdateenv.c: Likewise.
2303 * math/fgetexcptflg.c: Likewise.
2304 * math/fraiseexcpt.c: Likewise.
2305 * math/fsetexcptflg.c: Likewise.
2306 * math/ftestexcept.c: Likewise.
2307 * math/k_cosl.c: Likewise.
2308 * math/k_rem_pio2l.c: Likewise.
2309 * math/k_sinl.c: Likewise.
2310 * math/k_tanl.c: Likewise.
2311 * math/s_asinhl.c: Likewise.
2312 * math/s_atanl.c: Likewise.
2313 * math/s_cbrtl.c: Likewise.
2314 * math/s_erfl.c: Likewise.
2315 * math/s_expm1l.c: Likewise.
2316 * math/s_log1pl.c: Likewise.
2317 * math/s_tanhl.c: Likewise.
2318 * misc/acct.c: Likewise.
2319 * misc/brk.c: Likewise.
2320 * misc/chflags.c: Likewise.
2321 * misc/chroot.c: Likewise.
2322 * misc/fchflags.c: Likewise.
2323 * misc/fgetxattr.c: Likewise.
2324 * misc/flistxattr.c: Likewise.
2325 * misc/fremovexattr.c: Likewise.
2326 * misc/fsetxattr.c: Likewise.
2327 * misc/fsync.c: Likewise.
2328 * misc/ftruncate.c: Likewise.
2329 * misc/futimes.c: Likewise.
2330 * misc/futimesat.c: Likewise.
2331 * misc/getdomain.c: Likewise.
2332 * misc/getdtsz.c: Likewise.
2333 * misc/gethostid.c: Likewise.
2334 * misc/gethostname.c: Likewise.
2335 * misc/getloadavg.c: Likewise.
2336 * misc/getpagesize.c: Likewise.
2337 * misc/getsysstats.c: Likewise.
2338 * misc/getxattr.c: Likewise.
2339 * misc/gtty.c: Likewise.
2340 * misc/ioctl.c: Likewise.
2341 * misc/lgetxattr.c: Likewise.
2342 * misc/listxattr.c: Likewise.
2343 * misc/llistxattr.c: Likewise.
2344 * misc/lremovexattr.c: Likewise.
2345 * misc/lsetxattr.c: Likewise.
2346 * misc/lutimes.c: Likewise.
2347 * misc/madvise.c: Likewise.
2348 * misc/mincore.c: Likewise.
2349 * misc/mlock.c: Likewise.
2350 * misc/mlockall.c: Likewise.
2351 * misc/mmap.c: Likewise.
2352 * misc/mprotect.c: Likewise.
2353 * misc/msync.c: Likewise.
2354 * misc/munlock.c: Likewise.
2355 * misc/munlockall.c: Likewise.
2356 * misc/munmap.c: Likewise.
2357 * misc/preadv.c: Likewise.
2358 * misc/preadv64.c: Likewise.
2359 * misc/ptrace.c: Likewise.
2360 * misc/pwritev.c: Likewise.
2361 * misc/pwritev64.c: Likewise.
2362 * misc/readv.c: Likewise.
2363 * misc/reboot.c: Likewise.
2364 * misc/remap_file_pages.c: Likewise.
2365 * misc/removexattr.c: Likewise.
2366 * misc/revoke.c: Likewise.
2367 * misc/select.c: Likewise.
2368 * misc/setdomain.c: Likewise.
2369 * misc/setegid.c: Likewise.
2370 * misc/seteuid.c: Likewise.
2371 * misc/sethostid.c: Likewise.
2372 * misc/sethostname.c: Likewise.
2373 * misc/setregid.c: Likewise.
2374 * misc/setreuid.c: Likewise.
2375 * misc/setxattr.c: Likewise.
2376 * misc/sstk.c: Likewise.
2377 * misc/stty.c: Likewise.
2378 * misc/swapoff.c: Likewise.
2379 * misc/swapon.c: Likewise.
2380 * misc/sync.c: Likewise.
2381 * misc/syncfs.c: Likewise.
2382 * misc/syscall.c: Likewise.
2383 * misc/truncate.c: Likewise.
2384 * misc/ualarm.c: Likewise.
2385 * misc/usleep.c: Likewise.
2386 * misc/ustat.c: Likewise.
2387 * misc/utimes.c: Likewise.
2388 * misc/vhangup.c: Likewise.
2389 * misc/writev.c: Likewise.
2390 * posix/_exit.c: Likewise.
2391 * posix/alarm.c: Likewise.
2392 * posix/execve.c: Likewise.
2393 * posix/fexecve.c: Likewise.
2394 * posix/fork.c: Likewise.
2395 * posix/fpathconf.c: Likewise.
2396 * posix/getaddrinfo.c: Likewise.
2397 * posix/getegid.c: Likewise.
2398 * posix/geteuid.c: Likewise.
2399 * posix/getgid.c: Likewise.
2400 * posix/getgroups.c: Likewise.
2401 * posix/getlogin.c: Likewise.
2402 * posix/getlogin_r.c: Likewise.
2403 * posix/getpgid.c: Likewise.
2404 * posix/getpid.c: Likewise.
2405 * posix/getppid.c: Likewise.
2406 * posix/getresgid.c: Likewise.
2407 * posix/getresuid.c: Likewise.
2408 * posix/getsid.c: Likewise.
2409 * posix/getuid.c: Likewise.
2410 * posix/glob64.c: Likewise.
2411 * posix/nanosleep.c: Likewise.
2412 * posix/pathconf.c: Likewise.
2413 * posix/pause.c: Likewise.
2414 * posix/posix_madvise.c: Likewise.
2415 * posix/pread.c: Likewise.
2416 * posix/pread64.c: Likewise.
2417 * posix/pwrite.c: Likewise.
2418 * posix/pwrite64.c: Likewise.
2419 * posix/sched_getaffinity.c: Likewise.
2420 * posix/sched_getp.c: Likewise.
2421 * posix/sched_gets.c: Likewise.
2422 * posix/sched_primax.c: Likewise.
2423 * posix/sched_primin.c: Likewise.
2424 * posix/sched_rr_gi.c: Likewise.
2425 * posix/sched_setaffinity.c: Likewise.
2426 * posix/sched_setp.c: Likewise.
2427 * posix/sched_sets.c: Likewise.
2428 * posix/sched_yield.c: Likewise.
2429 * posix/setgid.c: Likewise.
2430 * posix/setlogin.c: Likewise.
2431 * posix/setpgid.c: Likewise.
2432 * posix/setresgid.c: Likewise.
2433 * posix/setresuid.c: Likewise.
2434 * posix/setsid.c: Likewise.
2435 * posix/setuid.c: Likewise.
2436 * posix/sleep.c: Likewise.
2437 * posix/spawni.c: Likewise.
2438 * posix/sysconf.c: Likewise.
2439 * posix/times.c: Likewise.
2440 * posix/wait.c: Likewise.
2441 * posix/wait3.c: Likewise.
2442 * posix/wait4.c: Likewise.
2443 * posix/waitpid.c: Likewise.
2444 * resolv/gai_sigqueue.c: Likewise.
2445 * resource/getpriority.c: Likewise.
2446 * resource/getrlimit.c: Likewise.
2447 * resource/getrusage.c: Likewise.
2448 * resource/nice.c: Likewise.
2449 * resource/setpriority.c: Likewise.
2450 * resource/setrlimit.c: Likewise.
2451 * resource/ulimit.c: Likewise.
2452 * rt/aio_cancel.c: Likewise.
2453 * rt/aio_fsync.c: Likewise.
2454 * rt/aio_read.c: Likewise.
2455 * rt/aio_sigqueue.c: Likewise.
2456 * rt/aio_suspend.c: Likewise.
2457 * rt/aio_write.c: Likewise.
2458 * rt/clock_getres.c: Likewise.
2459 * rt/clock_gettime.c: Likewise.
2460 * rt/clock_nanosleep.c: Likewise.
2461 * rt/clock_settime.c: Likewise.
2462 * rt/lio_listio.c: Likewise.
2463 * rt/mq_close.c: Likewise.
2464 * rt/mq_getattr.c: Likewise.
2465 * rt/mq_notify.c: Likewise.
2466 * rt/mq_open.c: Likewise.
2467 * rt/mq_receive.c: Likewise.
2468 * rt/mq_send.c: Likewise.
2469 * rt/mq_setattr.c: Likewise.
2470 * rt/mq_timedreceive.c: Likewise.
2471 * rt/mq_timedsend.c: Likewise.
2472 * rt/mq_unlink.c: Likewise.
2473 * rt/shm_open.c: Likewise.
2474 * rt/shm_unlink.c: Likewise.
2475 * rt/timer_create.c: Likewise.
2476 * rt/timer_delete.c: Likewise.
2477 * rt/timer_getoverr.c: Likewise.
2478 * rt/timer_gettime.c: Likewise.
2479 * rt/timer_settime.c: Likewise.
2480 * setjmp/__longjmp.c: Likewise.
2481 * setjmp/setjmp.c: Likewise.
2482 * signal/kill.c: Likewise.
2483 * signal/killpg.c: Likewise.
2484 * signal/raise.c: Likewise.
2485 * signal/sigaction.c: Likewise.
2486 * signal/sigaltstack.c: Likewise.
2487 * signal/sigblock.c: Likewise.
2488 * signal/sigignore.c: Likewise.
2489 * signal/sigintr.c: Likewise.
2490 * signal/signal.c: Likewise.
2491 * signal/sigpause.c: Likewise.
2492 * signal/sigpending.c: Likewise.
2493 * signal/sigqueue.c: Likewise.
2494 * signal/sigreturn.c: Likewise.
2495 * signal/sigset.c: Likewise.
2496 * signal/sigsetmask.c: Likewise.
2497 * signal/sigstack.c: Likewise.
2498 * signal/sigsuspend.c: Likewise.
2499 * signal/sigtimedwait.c: Likewise.
2500 * signal/sigvec.c: Likewise.
2501 * signal/sigwait.c: Likewise.
2502 * signal/sigwaitinfo.c: Likewise.
2503 * signal/sysv_signal.c: Likewise.
2504 * socket/accept.c: Likewise.
2505 * socket/accept4.c: Likewise.
2506 * socket/bind.c: Likewise.
2507 * socket/connect.c: Likewise.
2508 * socket/getpeername.c: Likewise.
2509 * socket/getsockname.c: Likewise.
2510 * socket/getsockopt.c: Likewise.
2511 * socket/isfdtype.c: Likewise.
2512 * socket/listen.c: Likewise.
2513 * socket/recv.c: Likewise.
2514 * socket/recvfrom.c: Likewise.
2515 * socket/recvmsg.c: Likewise.
2516 * socket/send.c: Likewise.
2517 * socket/sendmsg.c: Likewise.
2518 * socket/sendto.c: Likewise.
2519 * socket/setsockopt.c: Likewise.
2520 * socket/shutdown.c: Likewise.
2521 * socket/sockatmark.c: Likewise.
2522 * socket/socket.c: Likewise.
2523 * socket/socketpair.c: Likewise.
2524 * stdio-common/ctermid.c: Likewise.
2525 * stdio-common/cuserid.c: Likewise.
2526 * stdio-common/remove.c: Likewise.
2527 * stdio-common/rename.c: Likewise.
2528 * stdio-common/renameat.c: Likewise.
2529 * stdio-common/tempname.c: Likewise.
2530 * stdlib/getcontext.c: Likewise.
2531 * stdlib/makecontext.c: Likewise.
2532 * stdlib/setcontext.c: Likewise.
2533 * stdlib/swapcontext.c: Likewise.
2534 * stdlib/system.c: Likewise.
2535 * streams/fattach.c: Likewise.
2536 * streams/fdetach.c: Likewise.
2537 * streams/getmsg.c: Likewise.
2538 * streams/getpmsg.c: Likewise.
2539 * streams/putmsg.c: Likewise.
2540 * streams/putpmsg.c: Likewise.
2541 * sysdeps/unix/bsd/getpt.c: Likewise.
2542 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2543 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2544 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2546 Likewise.
2547 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2548 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2549 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2550 * sysvipc/msgctl.c: Likewise.
2551 * sysvipc/msgget.c: Likewise.
2552 * sysvipc/msgrcv.c: Likewise.
2553 * sysvipc/msgsnd.c: Likewise.
2554 * sysvipc/semctl.c: Likewise.
2555 * sysvipc/semget.c: Likewise.
2556 * sysvipc/semop.c: Likewise.
2557 * sysvipc/semtimedop.c: Likewise.
2558 * sysvipc/shmat.c: Likewise.
2559 * sysvipc/shmctl.c: Likewise.
2560 * sysvipc/shmdt.c: Likewise.
2561 * sysvipc/shmget.c: Likewise.
2562 * termios/tcdrain.c: Likewise.
2563 * termios/tcflow.c: Likewise.
2564 * termios/tcflush.c: Likewise.
2565 * termios/tcgetattr.c: Likewise.
2566 * termios/tcgetpgrp.c: Likewise.
2567 * termios/tcsendbrk.c: Likewise.
2568 * termios/tcsetattr.c: Likewise.
2569 * termios/tcsetpgrp.c: Likewise.
2570 * time/adjtime.c: Likewise.
2571 * time/clock.c: Likewise.
2572 * time/getitimer.c: Likewise.
2573 * time/gettimeofday.c: Likewise.
2574 * time/setitimer.c: Likewise.
2575 * time/settimeofday.c: Likewise.
2576 * time/stime.c: Likewise.
2577 * time/time.c: Likewise.
2578
25792012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2580
a20492cf
PT
2581 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2582 /usr/old/bin.
2583
72e182e3
PT
2584 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2585 instead of spaces.
2586 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2587
fbeafede
JM
25882012-11-03 Joseph Myers <joseph@codesourcery.com>
2589
5b5b04d6
JM
2590 [BZ #14796]
2591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2592 FE_TONEAREST before applying Dekker multiplication and Knuth
2593 addition. Clear inexact exceptions and check for exact zero
2594 results afterwards.
2595 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2596 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2597 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2598 * math/libm-test.inc (fma_test): Add more tests.
2599 (fma_test_towardzero): Likewise.
2600 (fma_test_downward): Likewise.
2601 (fma_test_upward): Likewise.
2602 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2603 function.
2604 (libc_fesetround): New macro.
2605 (libc_fesetroundf): Likewise.
2606 (libc_fesetroundl): Likewise.
2607 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2608 function.
2609 (libc_fesetround_387): Likewise.
2610 (libc_fesetroundf): New macro.
2611 (libc_fesetround): Likewise.
2612 (libc_fesetroundl): Likewise.
2613 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2614 function.
2615 (libc_fesetroundf): New macro.
2616 (libc_fesetround): Likewise.
2617 (libc_fesetroundl): Likewise.
2618 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2619 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2620 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2621 libm_hidden_ver.
2622 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2623 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2624 libm_hidden_def.
2625 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2626 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2627 libm_hidden_ver.
2628 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2629 libm_hidden_def.
2630
fbeafede
JM
2631 [BZ #3439]
2632 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2633 integer constant usable in #if and use that to give value to enum
2634 constant.
2635 (FE_DIVBYZERO): Likewise.
2636 (FE_UNDERFLOW): Likewise.
2637 (FE_OVERFLOW): Likewise.
2638 (FE_INVALID): Likewise.
2639 (FE_INVALID_SNAN): Likewise.
2640 (FE_INVALID_ISI): Likewise.
2641 (FE_INVALID_IDI): Likewise.
2642 (FE_INVALID_ZDZ): Likewise.
2643 (FE_INVALID_IMZ): Likewise.
2644 (FE_INVALID_COMPARE): Likewise.
2645 (FE_INVALID_SOFTWARE): Likewise.
2646 (FE_INVALID_SQRT): Likewise.
2647 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2648 (FE_TONEAREST): Likewise.
2649 (FE_TOWARDZERO): Likewise.
2650 (FE_UPWARD): Likewise.
2651 (FE_DOWNWARD): Likewise.
2652 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2653 (FE_DIVBYZERO): Likewise.
2654 (FE_OVERFLOW): Likewise.
2655 (FE_UNDERFLOW): Likewise.
2656 (FE_INEXACT): Likewise.
2657 (FE_TONEAREST): Likewise.
2658 (FE_DOWNWARD): Likewise.
2659 (FE_UPWARD): Likewise.
2660 (FE_TOWARDZERO): Likewise.
2661 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2662 (FE_UNDERFLOW): Likewise.
2663 (FE_OVERFLOW): Likewise.
2664 (FE_DIVBYZERO): Likewise.
2665 (FE_INVALID): Likewise.
2666 (FE_TONEAREST): Likewise.
2667 (FE_TOWARDZERO): Likewise.
2668 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2669 (FE_OVERFLOW): Likewise.
2670 (FE_UNDERFLOW): Likewise.
2671 (FE_DIVBYZERO): Likewise.
2672 (FE_INEXACT): Likewise.
2673 (FE_TONEAREST): Likewise.
2674 (FE_TOWARDZERO): Likewise.
2675 (FE_UPWARD): Likewise.
2676 (FE_DOWNWARD): Likewise.
2677 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2678 (FE_DIVBYZERO): Likewise.
2679 (FE_OVERFLOW): Likewise.
2680 (FE_UNDERFLOW): Likewise.
2681 (FE_INEXACT): Likewise.
2682 (FE_TONEAREST): Likewise.
2683 (FE_DOWNWARD): Likewise.
2684 (FE_UPWARD): Likewise.
2685 (FE_TOWARDZERO): Likewise.
2686
105ca950
CM
26872012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2688
2689 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2690
a542b389
AS
26912012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2692
2693 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2694 commands. Quote $PWD.
2695 (blacklist_exports): Don't use remove_newlines. Replace "declare
2696 -x" by "export".
2697 (remove_newlines): Remove.
2698
f62c8abc
L
26992012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2700
2701 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2702 * stdlib/stdlib.h (atof): Moved to ...
2703 * include/bits/stdlib-float.h: Here. New file.
2704 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2705 * stdlib/bits/stdlib-float.h: New file.
2706 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2707 -mno-sse -mno-mmx.
2708 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2709 <xmmintrin.h>.
2710
0155d5b2
JM
27112012-11-02 Joseph Myers <joseph@codesourcery.com>
2712
a68d0680
JM
2713 * conform/conformtest.pl (@headers): Add fenv.h.
2714 * conform/data/fenv.h-data: New file.
2715 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2716 include of <math/fenv.h>.
2717
caf7f573
JM
2718 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2719 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2720 && !UNIX98]. Enables tests for XOPEN2K8.
2721 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2722 POSIX2008]: Likewise.
2723
6c073ad6
JM
2724 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2725 (struct rusage): Do not expect type or its members.
2726
0155d5b2
JM
2727 [BZ #3439]
2728 * math/math.h (FP_NAN): Define macro to integer constant usable in
2729 #if and use that to give value to enum constant.
2730 (FP_INFINITE): Likewise.
2731 (FP_ZERO): Likewise.
2732 (FP_SUBNORMAL): Likewise.
2733 (FP_NORMAL): Likewise.
2734
b5dcacb4
AS
27352012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2736
2737 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2738 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2739 arguments.
2740
f7934be8
RM
27412012-11-02 Roland McGrath <roland@hack.frob.com>
2742
2743 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2744 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2745 autoconf-time if not.
2746 * configure.in: Remove AC_PREREQ.
2747
d7d08bde
TMQMF
27482012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2749
2750 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2751 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2752 of the internal implementation.
2753
dcdae19a
JM
27542012-11-02 Joseph Myers <joseph@codesourcery.com>
2755
2756 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2757 except include of <misc/sys/syslog.h>.
2758
d6cffd3e
AS
27592012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2760
2761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2762 function returns with a NULL context exit with zero.
2763
b3563932
TMQMF
27642012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2765
2766 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2767
b288a93d
L
27682012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2769
2770 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2771 (run_program_cmd): This.
2772 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2773 (tst_langinfo): New variable. Use it.
2774
a2421a68
SAS
27752012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2776
2777 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2778 floating point opcodes.
2779
6f796e1b
TS
27802012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2781
7402596b
TS
2782 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2783 variable.
2784
d0d4f868
TS
2785 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2786
6f796e1b
TS
2787 * sysdeps/mach/hurd/powerpc: Remove directory.
2788 * sysdeps/mach/powerpc: Likewise.
2789
4da224a2
AS
27902012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2791
2792 * scripts/check-local-headers.sh: Ignore c++ headers.
2793
341dd673
TS
27942012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2795
2796 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2797 __libc_cleanup_region_start argument.
2798
473611b2
JM
27992012-11-01 Joseph Myers <joseph@codesourcery.com>
2800
2801 [BZ #14784]
2802 [BZ #14785]
2803 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2804 x * y using scaling, not as x * y + z.
2805 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2806 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2807 * math/libm-test.inc (fma_test): Add more tests.
2808 (fma_test_towardzero): Likewise.
2809 (fma_test_downward): Likewise.
2810 (fma_test_upward): Likewise.
2811
4078da3d
TS
28122012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2813
2814 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2815
903252aa
JM
28162012-10-31 Joseph Myers <joseph@codesourcery.com>
2817
2818 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2819 New variable.
2820
cbc818d0
TS
28212012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2822
2823 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2824
5a03cb1e
AS
28252012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2826
2827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2828 Fix sort order.
2829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2830 Likewise.
2831
90aff2ff
TMQMF
28322012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2833
2834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2835 Fix the order of the list for glibc 2.17.
2836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2837 Likewise.
2838
1818fcb7
AS
28392012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2840
2841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2842
ef82f4da
JM
28432012-10-31 Joseph Myers <joseph@codesourcery.com>
2844
16a0e2ec
JM
2845 [BZ #14610]
2846 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2847 for low part of x being zero before using __atanl (y).
2848 * math/libm-test.inc (atan2_test): Add another test.
2849
0eb69512
JM
2850 * manual/install.texi (Configuring and compiling): Document
2851 general use of test-wrapper and test-wrapper-env.
2852 * INSTALL: Regenerated.
2853
ef82f4da
JM
2854 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2855 (__fma): 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 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2859 (__fmal): Do not extract and scale down low bits on after-rounding
2860 systems when result rounded to normal precision would have normal
2861 exponent.
2862 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2863 (__fmal): Do not extract and scale down low bits on after-rounding
2864 systems when result rounded to normal precision would have normal
2865 exponent.
2866 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2867 macro.
2868 (fma_test): Add more tests.
2869 (fma_test_towardzero): Likewise.
2870 (fma_test_downward): Likewise.
2871 (fma_test_upward): Likewise.
2872
954ef0d9
L
28732012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2874
2875 * sysdeps/i386/tininess.h: Renamed to ...
2876 * sysdeps/x86/tininess.h: This.
2877 * sysdeps/x86_64/tininess.h: Removed.
2878
df61ffb2
JM
28792012-10-30 Joseph Myers <joseph@codesourcery.com>
2880
2881 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2882 input. Use $(build-program-cmd).
2883 ($(objpfx)tst-array1-static.out): Likewise.
2884 ($(objpfx)tst-array2.out): Likewise.
2885 ($(objpfx)tst-array3.out): Likewise.
2886 ($(objpfx)tst-array4.out): Likewise.
2887 ($(objpfx)tst-array5.out): Likewise.
2888 ($(objpfx)tst-array5-static.out): Likewise.
2889
01767843
CM
28902012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2891
47cc1490
CM
2892 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2893 if defined.
2894
01767843
CM
2895 * nss/nsswitch.h (nss_interface_function): Provide new
2896 macro for use with NSS functions.
2897 * grp/initgroups.c: Use new macro.
2898 * nss/getXXbyYY.c: Likewise.
2899 * nss/getXXbyYY_r.c: Likewise.
2900 * nss/getXXent.c: Likewise.
2901 * nss/getXXent_r.c: Likewise.
2902 * sysdeps/posix/getaddrinfo.c: Likewise.
2903
8321aa97
AJ
29042012-10-30 Andreas Jaeger <aj@suse.de>
2905
2906 * po/ru.po: Update Russion translation from translation project.
2907
2a27fd6d
JM
29082012-10-30 Joseph Myers <joseph@codesourcery.com>
2909
8627a232
JM
2910 [BZ #14152]
2911 [BZ #14783]
2912 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2913 result and shift together with sticky bit instead of replicating
2914 round-to-nearest rounding.
2915 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2916 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2917 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2918 missing underflow exceptions.
2919 (fma_test_towardzero): Add more tests.
2920 (fma_test_downward): Likewise.
2921 (fma_test_upward): Likewise.
2922
2a27fd6d
JM
2923 [BZ #14047]
2924 * sysdeps/generic/tininess.h: New file.
2925 * sysdeps/i386/tininess.h: Likewise.
2926 * sysdeps/sh/tininess.h: Likewise.
2927 * sysdeps/x86_64/tininess.h: Likewise.
2928 * stdlib/tst-strtod-underflow.c: Likewise.
2929 * stdlib/tst-tininess.c: Likewise.
2930 * stdlib/strtod_l.c: Include <tininess.h>.
2931 (round_and_return): Do not set errno for exact underflow cases.
2932 Force an underflow exception when setting errno for underflow.
2933 Determine underflow based on rounding to normal precision if
2934 TININESS_AFTER_ROUNDING.
2935 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2936 ERANGE for exact underflow cases.
2937 * stdlib/Makefile (tests): Add tst-tininess and
2938 tst-strtod-underflow.
2939 ($(objpfx)tst-tininess): Use $(link-libm).
2940 ($(objpfx)tst-strtod-underflow): Likewise.
2941
e7170363
AJ
29422012-10-30 Andreas Jaeger <aj@suse.de>
2943
e5088dc6
AJ
2944 [BZ#14767]
2945 * elf/Makefile (tests): Remove conditional for have-initfini-array
2946 since this is now always required and the variable does not exist
2947 anymore.
2948 (tests-static): Likewise.
2949 (modules-names): Likewise.
2950
e7170363 2951 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2952
2953 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2954 merged with constructor/destructor.
2955 (init_array): Likewise.
2956 * elf/tst-array2dep.c (fini_array): Likewise.
2957 (init_array): Likewise.
2958
60457d8a
MF
29592012-10-29 Mike Frysinger <vapier@gentoo.org>
2960
2961 * manual/message.texi: Delete @cartouche tags.
2962
8bece752
PT
29632012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2964
94ce799f
PT
2965 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2966 EOPNOTSUPP.
2967 * sysdeps/mach/hurd/fsync.c: Likewise.
2968
8bece752
PT
2969 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2970 [_POSIX_REALTIME_SIGNALS]: Change condition to
2971 [_POSIX_REALTIME_SIGNALS > 0].
2972
86ebe6b1
AJ
29732012-10-27 Andreas Jaeger <aj@suse.de>
2974
2975 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2976 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2977 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2978 [__WORDSIZE != 64]: Likewise.
2979
54399c08
L
29802012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2981
2982 * iconvdata/tst-table.sh: Remove ${SHELL}.
2983 * iconvdata/tst-tables.sh: Likewise.
2984
e2211bed
DM
29852012-10-25 David S. Miller <davem@davemloft.net>
2986
2987 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2988 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2989 of strtoull.
2990
f303f97c
DM
2991 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2992 ifunc-impl-list.c
2993 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2994 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2995 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2996 file.
2997
1e9d84cd
RM
29982012-10-25 Roland McGrath <roland@hack.frob.com>
2999
3000 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3001 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3002 __getdirentries.
3003
df381762
JM
30042012-10-25 Joseph Myers <joseph@codesourcery.com>
3005 Jim Blandy <jimb@codesourcery.com>
3006
3007 * scripts/cross-test-ssh.sh: New file.
3008 * manual/install.texi (Configuring and compiling): Document use of
3009 cross-test-ssh.sh.
3010 * INSTALL: Regenerated.
3011
bff64913
PT
30122012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3013
3014 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3015 EOPNOTSUPP.
3016
25fe8932
JM
30172012-10-25 Joseph Myers <joseph@codesourcery.com>
3018
3019 * Makeconfig (run-program-prefix): Fix comment.
3020
cc1290d0
JM
30212012-10-24 Joseph Myers <joseph@codesourcery.com>
3022 Jim Blandy <jimb@codesourcery.com>
3023
3024 * Makeconfig (test-wrapper): New variable,
3025 (test-wrapper-env): Likewise.
3026 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3027 (run-built-tests): Define to yes.
3028 (run-program-prefix): Use $(test-wrapper).
3029 (built-program-cmd): Likewise.
3030 * Rules (make-test-out): Use $(test-wrapper-env) and
3031 $(host-built-program-cmd).
3032 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3033 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3034 tst-pathopt.sh.
3035 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3036 $(test-wrapper-env) to tst-rtld-load-self.sh.
3037 ($(objpfx)order2.out): Use $(test-wrapper).
3038 ($(objpfx)tst-initorder.out): Likewise.
3039 ($(objpfx)tst-initorder2.out): Likewise.
3040 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3041 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3042 (test_wrapper_env): New variable. Use it to run ld.so.
3043 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3044 Use it to run ld.so.
3045 (test_wrapper_env): Likewise.
3046 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3047 $(test-wrapper) to run-iconv-test.sh.
3048 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3049 (ICONV): Use $test_wrapper.
3050 * posix/Makefile ($(objpfx)globtest.out): Pass
3051 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3052 globtest.sh, not $(run-program-prefix).
3053 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3054 (test_wrapper): Likewise.
3055 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3056 set together with run_via_rtld_prefix.
3057 (run_program_prefix): Define in terms of test_wrapper and
3058 run_via_rtld_prefix.
3059
6e6249d0
RM
30602012-10-24 Roland McGrath <roland@hack.frob.com>
3061
3062 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3063 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3064 Targets removed.
3065
3066 [BZ #14743]
3067 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3068 Declare __clock_getres, __clock_gettime, __clock_settime,
3069 __clock_nanosleep, and __clock_getcpuclockid.
3070 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3071 Remove librt_hidden_def (clock_gettime).
3072 * sysdeps/unix/clock_gettime.c: Likewise.
3073 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3074 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3075 * rt/clock_getres.c: Define __clock_getres as an alias.
3076 * sysdeps/posix/clock_getres.c: Likewise.
3077 * rt/clock_settime.c: Define __clock_settime as an alias.
3078 * sysdeps/unix/clock_settime.c: Likewise.
3079 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3080 * sysdeps/unix/clock_nanosleep.c: Likewise.
3081 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3082 * rt/clock-compat.c: New file.
3083 * rt/Makefile (librt-routines): Add clock-compat and move
3084 $(clock-routines) to ...
3085 (routines): ... here, new variable.
3086 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3087 Don't add get_clockfreq here.
3088 * rt/Versions (libc: GLIBC_2.17): New version set.
3089 Add clock_* symbols here.
3090 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3091 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3092 (GLIBC_2.17): Add clock_* symbols.
3093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3095 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3097 Likewise.
3098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3099 Likewise.
3100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3104 * NEWS: Mention the move.
3105
3106 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3107 Use __open, __read, __close rather than their public counterparts.
3108 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3109 (__get_clockfreq_via_cpuinfo): Likewise.
3110 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3111 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3112
3113 * config.h.in (HAVE_IFUNC): New #undef.
3114 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3115 was successful.
3116 * configure: Regenerated.
3117
0cae3f4b
MF
31182012-10-24 Mike Frysinger <vapier@gentoo.org>
3119
3120 * configure.in: Move READELF check to start of file.
3121 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3122 libc_cv_asm_gnu_indirect_function in the process.
3123 * configure: Regenerated.
3124
8175a253
MF
31252012-10-24 Mike Frysinger <vapier@gentoo.org>
3126
3127 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3128 send the output to /dev/null.
3129 (libc_cv_cc_with_libunwind): Likewise.
3130 (libc_cv_as_noexecstack): Likewise.
3131 * configure: Regenerate.
3132
0708a7d1
JM
31332012-10-24 Joseph Myers <joseph@codesourcery.com>
3134
10b40d85
JM
3135 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3136
0708a7d1
JM
3137 * posix/globtest.sh (TMPDIR): Do not set.
3138 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3139 (testout): Likewise.
3140
9fddec1a
AJ
31412012-10-24 Andreas Jaeger <aj@suse.de>
3142
3a8db22f
AJ
3143 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3144 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3145 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3146 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3147 posix_fadvise64, posix_fallocate64.
3148
9fddec1a
AJ
3149 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3150 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3151 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3152 Likewise.
3153 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3154 Likewise.
3155 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3156
3157 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3158 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3159 <bits/fcntl-linux.h>.
3160 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3161
3162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3163 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3164 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3165 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3166 [__WORDSIZE != 64]: Likewise.
3167
ebfd1bbd
JM
31682012-10-23 Joseph Myers <joseph@codesourcery.com>
3169
03ac099f
JM
3170 * Makeconfig (run-built-tests): New variable.
3171 * Rules [$(cross-compiling) = yes]: Change condition to
3172 [$(run-built-tests) = no].
3173 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3174 to [$(run-built-tests) = yes].
3175 * elf/Makefile [$(cross-compiling) = no]: Likewise
3176 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3177 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3178 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3179 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3180 * io/Makefile [$(cross-compiling) = no]: Likewise.
3181 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3182 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3183 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3184 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3185 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3186 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3187 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3188 * string/Makefile [$(cross-compiling) = no]: Likewise.
3189
ebfd1bbd
JM
3190 * posix/Makefile ($(objpfx)globtest.out): Pass
3191 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3192 $(rtld-installed-name).
3193 * posix/globtest.sh (elf_objpfx): Remove variable.
3194 (rtld_installed_name): Likewise.
3195 (library_path): Likewise.
3196 (run_program_prefix): New variable. Use for running globtest
3197 binary.
3198
166bca24
JB
31992012-10-23 Jim Blandy <jimb@codesourcery.com>
3200 Joseph Myers <joseph@codesourcery.com>
3201
3202 * Makeconfig (host-built-program-cmd): New variable.
3203 * elf/Makefile (tst-stackguard1-ARGS): Use
3204 $(host-built-program-cmd).
3205 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3206 (tst-spawn-ARGS): Likewise.
3207 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3208
88866099
JM
32092012-10-23 Joseph Myers <joseph@codesourcery.com>
3210 Jim Blandy <jimb@codesourcery.com>
3211
3212 * Makeconfig (run-via-rtld-prefix): New variable.
3213 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3214 (built-program-cmd): Likewise.
3215
b4b4c296
AJ
32162012-10-22 Andreas Jaeger <aj@suse.de>
3217
3218 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3219 __O_RSYNC if it exists, otherwise to O_SYNC.
3220
6fb54a22
JB
32212012-10-22 Jim Blandy <jimb@codesourcery.com>
3222 Joseph Myers <joseph@codesourcery.com>
3223
3224 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3225 /dev/null.
3226 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3227 from /dev/null
3228 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3229 /dev/null.
3230
481b90b9
AJ
32312012-10-22 Andreas Jaeger <aj@suse.de>
3232
2a0e2669
AJ
3233 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3234 Define always.
3235 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3236
76e38f9a
AJ
3237 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3238 bits/fcntl-linux.h.
3239
7cd37b43
AJ
3240 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3241 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3242
481b90b9
AJ
3243 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3244 to __O_LARGEFILE.
3245 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3246 to __O_LARGEFILE.
3247
aba75984
JB
32482012-10-21 Jim Blandy <jimb@codesourcery.com>
3249 Joseph Myers <joseph@codesourcery.com>
3250
3251 * config.make.in (NM): New variable.
3252
88d4247f
AJ
32532012-10-21 Andreas Jaeger <aj@suse.de>
3254
3255 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3256 definitions and declarations that are provided by
3257 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3258
f2eed205
L
32592012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3260
3261 [BZ #14683]
3262 * elf/Makefile (tests-static): Add tst-leaks1-static.
3263 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3264 ($(objpfx)tst-leaks1-static): New rule.
3265 ($(objpfx)tst-leaks1-static-mem): Likewise.
3266 (tst-leaks1-static-ENV): New macro.
3267 * elf/dl-open.c (dl_open_worker): Check the main application
3268 only if SHARED is defined.
3269 * elf/tst-leaks1-static.c: New file.
3270
335e6931
AJ
32712012-10-20 Andreas Jaeger <aj@suse.de>
3272
3273 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3274 generic values for Linux.
3275 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3276 and declarations that are provided by <bits/fcntl-linux.h> and
3277 include <bits/fcntl-linux.h>.
3278 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3279 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3280
ac5c94d3
RM
32812012-10-20 Roland McGrath <roland@hack.frob.com>
3282
3283 * io/fcntl.h: Move include of <bits/types.h> to the top and
3284 include it unconditionally.
3285
de54b33a
L
32862012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3287
228cfb01
L
3288 * wcsmbs/Makefile (tests-ifunc): New variable.
3289 (tests): Add $(tests-ifunc).
3290 * wcsmbs/test-wcschr-ifunc.c: New file.
3291 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3292 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3293 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3294 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3295 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3296
69f07e5f
L
3297 * string/Makefile (tests-ifunc): New variable.
3298 (tests): Add $(tests-ifunc).
3299 * string/test-memccpy.c (TEST_NAME): New macro.
3300 * string/test-memchr.c (TEST_NAME): Likewise.
3301 * string/test-memcmp.c (TEST_NAME): Likewise.
3302 * string/test-memcpy.c (TEST_NAME): Likewise.
3303 * string/test-memmem.c (TEST_NAME): Likewise.
3304 * string/test-memmove.c (TEST_NAME): Likewise.
3305 * string/test-memset.c (TEST_NAME): Likewise.
3306 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3307 * string/test-stpcpy.c (TEST_NAME): Likewise.
3308 * string/test-stpncpy.c (TEST_NAME): Likewise.
3309 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3310 * string/test-strcasestr.c (TEST_NAME): Likewise.
3311 * string/test-strcat.c (TEST_NAME): Likewise.
3312 * string/test-strchr.c (TEST_NAME): Likewise.
3313 * string/test-strcmp.c(TEST_NAME): Likewise.
3314 * string/test-strcpy.c (TEST_NAME): Likewise.
3315 * string/test-strcspn.c (TEST_NAME): Likewise.
3316 * string/test-strlen.c (TEST_NAME): Likewise.
3317 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3318 * string/test-strncmp.c (TEST_NAME): Likewise.
3319 * string/test-strncpy.c (TEST_NAME): Likewise.
3320 * string/test-strnlen.c (TEST_NAME): Likewise.
3321 * string/test-strpbrk.c (TEST_NAME): Likewise.
3322 * string/test-strrchr.c (TEST_NAME): Likewise.
3323 * string/test-strspn.c (TEST_NAME): Likewise.
3324 * string/test-strstr.c (TEST_NAME): Likewise.
3325 * string/test-bcopy-ifunc.c: New file.
3326 * string/test-bzero-ifunc.c: Likewise.
3327 * string/test-memccpy-ifunc.c: Likewise.
3328 * string/test-memchr-ifunc.c: Likewise.
3329 * string/test-memcmp-ifunc.c: Likewise.
3330 * string/test-memcpy-ifunc.c: Likewise.
3331 * string/test-memmem-ifunc.c: Likewise.
3332 * string/test-memmove-ifunc.c: Likewise.
3333 * string/test-mempcpy-ifunc.c: Likewise.
3334 * string/test-memset-ifunc.c: Likewise.
3335 * string/test-rawmemchr-ifunc.c: Likewise.
3336 * string/test-stpcpy-ifunc.c: Likewise.
3337 * string/test-stpncpy-ifunc.c: Likewise.
3338 * string/test-strcasecmp-ifunc.c: Likewise.
3339 * string/test-strcasestr-ifunc.c: Likewise.
3340 * string/test-strcat-ifunc.c: Likewise.
3341 * string/test-strchr-ifunc.c: Likewise.
3342 * string/test-strchrnul-ifunc.c: Likewise.
3343 * string/test-strcmp-ifunc.c: Likewise.
3344 * string/test-strcpy-ifunc.c: Likewise.
3345 * string/test-strcspn-ifunc.c: Likewise.
3346 * string/test-strlen-ifunc.c: Likewise.
3347 * string/test-strncasecmp-ifunc.c: Likewise.
3348 * string/test-strncat-ifunc.c: Likewise.
3349 * string/test-strncmp-ifunc.c: Likewise.
3350 * string/test-strncpy-ifunc.c: Likewise.
3351 * string/test-strnlen-ifunc.c: Likewise.
3352 * string/test-strpbrk-ifunc.c: Likewise.
3353 * string/test-strrchr-ifunc.c: Likewise.
3354 * string/test-strspn-ifunc.c: Likewise.
3355 * string/test-strstr-ifunc.c: Likewise.
3356
de54b33a
L
3357 * debug/Makefile (tests-ifunc): New variable.
3358 (tests): Add $(tests-ifunc).
3359 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3360 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3361 * debug/test-stpcpy_chk-ifunc.c: New file.
3362 * debug/test-strcpy_chk-ifunc.c: Likewise.
3363
88481c16
SP
33642012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3365
3366 [BZ #13601]
3367 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3368 header is not read in.
3369
135948bd
JM
33702012-10-19 Joseph Myers <joseph@codesourcery.com>
3371
89f1c388
JM
3372 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3373 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3374 directly. Pass built executable to script as
3375 $(built-program-cmd).
3376 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3377 $testprogram without using LD_LIBRARY_PATH and $ldso.
3378
e40a0d21
JM
3379 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3380 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3381 $(rtld-installed-name).
3382 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3383 (rtld_installed_name): Likewise.
3384 (library_path): Likewise.
3385 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3386 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3387 $(run-program-prefix) to tst-tables.sh.
3388 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3389 it to run tst-table-from and tst-table-to.
3390 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3391 Pass it to tst-table.sh.
3392 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3393 $(run-program-prefix) to tst-gettext.sh.
3394 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3395 tst-translit.sh.
3396 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3397 tst-gettext2.sh.
3398 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3399 to run tst-gettext.
3400 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3401 to run tst-gettext2.
3402 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3403 to run tst-translit.
3404 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3405 $(run-program-prefix) to tst-mtrace.sh.
3406 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3407 to run tst-mtrace.
3408 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3409 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3410 $(rtld-installed-name).
3411 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3412 (rtld_installed_name): Likewise.
3413 (run_program_prefix): New variable. Use it to run wordexp-test.
3414
728e272a
JM
3415 * Makeconfig (ARCH): Remove all definitions.
3416 (machine): Likewise.
3417 [ARCH]: Remove conditional code.
3418 [!objdir]: Give error.
3419 [!objdir] (objpfx): Remove.
3420 [!objdir] (common-objpfx): Likewise.
3421 [!objdir] (common-objdir): Likewise.
3422 * configure.in (config_makefile): Remove. Hardcode Makefile in
3423 AC_CONFIG_FILES call.
3424 * configure: Regenerated.
3425
d528cdcf
JM
3426 [BZ #13888]
3427 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3428 or TMPDIR.
3429 (testout): Likewise.
3430
135948bd
JM
3431 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3432 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3433 $(rtld-installed-name).
3434 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3435 (rtld_installed_name): Likwise.
3436 (runit): Remove function.
3437 (run_getconf): New variable, Use it for running getconf binary.
3438
38c78296
L
34392012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3440
3441 [BZ #14716]
3442 * string/test-memmem.c (check_result): New function.
3443 (do_one_test): Use it.
3444 (check1): New function.
3445 (test_main): Use it.
3446
d077f65f
MT
34472012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3448
3449 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3450
ced52c71
JM
34512012-10-18 Joseph Myers <joseph@codesourcery.com>
3452
3453 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3454 (_G_LSEEK64): Likewise.
3455 (_G_MMAP64): Likewise.
3456 (_G_FSTAT64): Likewise.
3457 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3458 (_G_LSEEK64): Likewise.
3459 (_G_MMAP64): Likewise.
3460 (_G_FSTAT64): Likewise.
3461 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3462 unconditional. Call __mmap64 directly.
3463 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3464 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3465 __lseek64 directly.
3466 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3467 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3468 __mmap64 directly.
3469 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3470 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3471 __lseek64 directly.
3472 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3473 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3474 __lseek64 directly.
3475 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3476 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3477 __lseek64 directly.
3478 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3479 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3480 __fxstat64 directly.
3481 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3482 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3483 unconditional.
3484 (freopen64) [!_G_OPEN64]: Remove conditional code.
3485 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3486 unconditional.
3487 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3488 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3489 unconditional.
3490 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3491 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3492 unconditional.
3493 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3494 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3495 unconditional.
3496 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3497 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3498 unconditional.
3499 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3500 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3501 unconditional.
3502 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3503 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3504 unconditional.
3505 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3506
b741de23
SP
35072012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3508
3509 [BZ #12140]
3510 * manual/memory.texi (Malloc Tunable Parameters): Add note
3511 about free list pointers overwriting some perturb bytes.
3512 Wording suggested by Roland McGrath.
3513
f9b9d9c9
JM
35142012-10-17 Joseph Myers <joseph@codesourcery.com>
3515
3516 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3517 (lgamma_test): Likewise.
3518 (tgamma_test): Likewise.
3519
172a631a
FW
35202012-10-16 Florian Weimer <fweimer@redhat.com>
3521
3522 [BZ #14700]
3523 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3524 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3525
e9f37252
MK
35262012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3527
3528 * NEWS: Mention BZ #14716.
3529 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3530 when removing AVAILABLE1_USES_J macro.
3531
d394eb74
L
35322012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3533
3534 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3535 (__bswap_64): __uint64_t for unsigned 64-bit int.
3536
ca38dc17
AS
35372012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3538
3539 * include/string.h (memmem): Declare libc hidden alias.
3540 * string/memmem.c (memmem): Define libc hidden alias.
3541 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3542 __read, __close instead of open, read, close.
3543
9a387d1f
L
35442012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3545
ac49ecaf
L
3546 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3547 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3548 global and hidden.
3549 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3550 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3551 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3552 Likewise.
3553 (__rawmemchr_sse2): Likewise.
3554 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3555 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3556 (__strchr_sse2): Likewise.
3557 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3558 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3559 (__strcasecmp_sse2): Likewise.
3560 (__strncasecmp_sse2): Likewise.
3561 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3562 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3563 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3564 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3565 (__strrchr_sse2): Likewise.
3566 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3567 ifunc-impl-list.c.
3568 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3569 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3570 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3571 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3572 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3573 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3574 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3575 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3576 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3577 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3578 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3579 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3580 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3581 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3582 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3583 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3584 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3585 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3586 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3587 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3588 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3589 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3590 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3591 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3592 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3593 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3594 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3595 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3596 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3597 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3598
b090e8ea
L
3599 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3600 global and hidden.
3601 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3602 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3603 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3604 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3605 Likewise.
3606 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3607 Likewise.
3608 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3609 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3610 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3611 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3612 ifunc-impl-list.c.
3613 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3614 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3615 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3616 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3617 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3618 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3619 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3620 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3621 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3622 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3623 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3624 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3625 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3626 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3627 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3628 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3629 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3630 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3631 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3632 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3633 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3634 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3635 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3636 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3637 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3638 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3639 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3640 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3641 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3642 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3643 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3644 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3645 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3646 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3647 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3648 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3649 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3650 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3651 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3652 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3653 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3654
11dd4af6
L
3655 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3656 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3657 * include/ifunc-impl-list.h: New file.
3658 * misc/ifunc-impl-list.c: Likewise.
3659 * misc/Makefile (routines): Add ifunc-impl-list.
3660 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3661 * string/test-string.h: Include <ifunc-impl-list.h>.
3662 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3663 impl_array): New variables.
3664 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3665 are defined.
3666 (test_init): Call __libc_ifunc_impl_list to initialize
3667 func_list if TEST_IFUNC and TEST_NAME are defined.
3668
9a387d1f
L
3669 * string/Makefile (strop-tests): Add bcopy and bzero.
3670 * string/test-bcopy.c: New file.
3671 * string/test-bzero.c: Likewise.
3672 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3673 defined.
3674 * string/test-memset.c: Support bzero test if TEST_BZERO is
3675 defined.
3676 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3677 __libc_memmove.
3678 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3679 __libc_memset.
3680 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3681 of memset.
3682
472371b9
JM
36832012-10-10 Joseph Myers <joseph@codesourcery.com>
3684
1e4a9536
JM
3685 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3686 * configure: Regenerated.
3687
d173d12e
JM
3688 * Makeconfig (+link-static-before-libc): Don't include
3689 $(link-static-libc).
3690
472371b9
JM
3691 * libio/libio.h (_IO_pos_t): Remove.
3692
89a3ad0b
AO
36932012-10-10 Alexandre Oliva <aoliva@redhat.com>
3694
3695 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3696 McGrath.
3697
e7451425
AO
36982012-10-10 Alexandre Oliva <aoliva@redhat.com>
3699
3700 * crypt/crypt-entry.c: Include fips-private.h.
3701 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3702 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3703 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3704 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3705
4ba74a35
AO
37062012-10-10 Alexandre Oliva <aoliva@redhat.com>
3707
3708 * crypt/crypt-private.h: Include stdbool.h.
3709 (_ufc_setup_salt_r): Return bool.
3710 * crypt/crypt-entry.c: Include errno.h.
3711 (__crypt_r): Return NULL with EINVAL for bad salt.
3712 * crypt/crypt_util.c (bad_for_salt): New.
3713 (_ufc_setup_salt_r): Check that salt is long enough and within
3714 the specified alphabet.
3715 * crypt/badsalttest.c: New file.
3716 * crypt/Makefile (tests): Add it.
3717 ($(objpfx)badsalttest): New.
3718
f96f1242
MK
37192012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3720
3721 * NEWS: Add entry for BZ #14602.
3722
0e8e0c1c
JM
37232012-10-09 Joseph Myers <joseph@codesourcery.com>
3724
3725 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3726 type-generic.
3727 * math/libm-test.inc: Update comment listing what functions and
3728 macros are tested.
3729 (isgreater_test): New function.
3730 (isgreaterequal_test): Likewise.
3731 (isless_test): Likewise.
3732 (islessequal_test): Likewise.
3733 (islessgreater_test): Likewise.
3734 (isunordered_test): Likewise.
3735 (main): Call the new functions.
3736
273edc5e
RM
37372012-10-09 Roland McGrath <roland@hack.frob.com>
3738
b8493de0
RM
3739 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3740 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3741 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3742 * sysdeps/i386/configure: Regenerated.
3743 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3744 * sysdeps/mach/configure: Regenerated.
3745 * sysdeps/mach/hurd/configure: Regenerated.
3746 * sysdeps/powerpc/configure: Regenerated.
3747 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3748 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3749 * sysdeps/s390/s390-32/configure: Regenerated.
3750 * sysdeps/s390/s390-64/configure: Regenerated.
3751 * sysdeps/sh/configure: Regenerated.
3752 * sysdeps/sparc/configure: Regenerated.
3753 * sysdeps/unix/sysv/linux/configure: Regenerated.
3754 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3755 * sysdeps/x86_64/configure: Regenerated.
3756
273edc5e
RM
3757 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3758 defined. Don't check if MAP is NULL.
3759
c8450f70
JM
37602012-10-09 Joseph Myers <joseph@codesourcery.com>
3761
3762 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3763 (_G_stat64): Likewise.
3764 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3765 (_G_stat64): Likewise.
3766 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3767 instead of struct _G_stat64.
3768 * libio/fileops.c (mmap_remap_check): Likewise.
3769 (decide_maybe_mmap): Likewise.
3770 (_IO_new_file_seekoff): Likewise.
3771 (_IO_file_stat): Likewise.
3772 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3773 _G_off64_t.
3774 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3775 instead of struct _G_stat64.
3776 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3777
57e605ba
MK
37782012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3779
3780 [BZ #14602]
3781 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3782 Replace with ...
3783 (CHECK_EOL): New macro.
3784 (two_way_short_needle): Check beginning of haystack for EOL. Use
3785 CHECK_EOL.
3786 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3787 Replace with CHECK_EOL.
3788 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3789 Replace with CHECK_EOL.
3790
ef1bb361
JM
37912012-10-08 Joseph Myers <joseph@codesourcery.com>
3792
3793 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3794 type-generic.
3795 * math/libm-test.inc: Update comment listing what functions and
3796 macros are tested.
3797 (finite_test): New function.
3798 (isinf_test): Likewise.
3799 (isnan_test): Likewise.
3800 (fpclassify_test): Test subnormal input.
3801 (isfinite_test): Likewise.
3802 (isnormal_test): Likewise.
3803 (main): Call the new functions.
3804
55f11534
JN
38052012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3806
3807 [BZ #14660]
3808 * Makerules (%.dynsym): Force C locale when running
3809 $(OBJDUMP) --dynamic-syms.
3810
1ab29350
AS
38112012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3812
3813 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3814 <stdint.h>.
3815
f1ecb7ef
DM
38162012-10-06 David S. Miller <davem@davemloft.net>
3817
3818 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3819 upper 32-bits of the length value in %o2 since we use branch-on-register
3820 tests which consider the entire 64-bit register.
3821
5d41d91a
L
38222012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3823
3824 * string/test-strstr.c (check2): Add a test for page boundary.
3825
3baddb72
DM
38262012-10-05 David S. Miller <davem@davemloft.net>
3827
3828 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3829 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3830 file.
3831 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3832 sysdep_routines.
3833 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3834 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3835 and bzero when HWCAP_SPARC_CRYPTO is present.
3836
9cee5585
L
38372012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3838
d7e0dab9
L
3839 [BZ #14602]
3840 * string/test-strstr.c (check2): New function.
3841 (test_main): Call check2.
3842
03759f47
L
3843 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3844 and bug-strchr1.
3845 * string/bug-strcasestr1.c (do_test): Moved to ...
3846 * string/test-strcasestr.c (check1): Here. New function.
3847 (do_one_test): Break out result checking code into ...
3848 (check_result): This. New function.
3849 (do_one_test): Call check_result.
3850 (test_main): Call check1.
3851 * string/bug-strchr1.c (do_test): Moved to ...
3852 * string/test-strchr.c (check1): Here. New function.
3853 (do_one_test): Break out result checking code into ...
3854 (check_result): This. New function.
3855 (do_one_test): Call check_result.
3856 (test_main): Call check1.
3857 * string/bug-strstr1.c (main): Moved to ...
3858 * string/test-strchr.c (check1): Here. New function.
3859 (do_one_test): Break out result checking code into ...
3860 (check_result): This. New function.
3861 (do_one_test): Call check_result.
3862 (test_main): Call check1.
3863 * string/bug-strcasestr1.c: Removed.
3864 * string/bug-strchr1.c: Likewise.
3865 * string/bug-strstr1.c: Likewise.
3866
53cea63e
L
3867 * elf/Makefile (dl-routines): Add hwcaps.
3868 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3869 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3870 (_dl_important_hwcaps): Moved to ...
3871 * elf/dl-hwcaps.c: Here. New file.
3872 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3873
9cee5585 3874 [BZ #14557]
bb859b06
L
3875 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3876 if IS_IN_rtld isn't defined.
3877
9cee5585
L
3878 * elf/dl-support.c (_dl_sysinfo_map): New.
3879 Include "get-dynamic-info.h" and "setup-vdso.h".
3880 (_dl_non_dynamic_init): Call setup_vdso.
3881 * elf/dynamic-link.h: Don't include <assert.h>.
3882 (elf_get_dynamic_info): Moved to ...
3883 * elf/get-dynamic-info.h: Here. New file.
3884 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3885 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3886 * elf/setup-vdso.h: Here. New file.
3887 * elf/rtld.c: Include "setup-vdso.h".
3888 (dl_main): Call setup_vdso.
3889
23c31b76
JM
38902012-10-05 Joseph Myers <joseph@codesourcery.com>
3891
28234b07
JM
3892 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3893 creal in comment listing functions tested. List finite, isinf,
3894 isnan, isless, islessequal, isgreater, isgreaterequal,
3895 islessgreater, isunordered, lgamma_r and pow10 as functions and
3896 macros not tested. Mention which functions not tested are aliases
3897 for other functions. Fix typo. Note that signs of NaNs are not
3898 tested.
3899
23c31b76
JM
3900 * scripts/config.guess: Update from config.git.
3901 * scripts/config.sub: Likewise.
3902
9043e228
RM
39032012-10-04 Roland McGrath <roland@hack.frob.com>
3904
3905 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3906 * misc/madvise.c (madvise): Renamed to __madvise.
3907 Make madvise a weak alias.
3908 * include/sys/mman.h: Declare __madvise.
3909 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3910 * sysdeps/unix/syscalls.list
3911 (madvise): Make __madvise the strong name, and madvise a weak alias.
3912 * sysdeps/unix/sysv/linux/syscalls.list
3913 (madvise, mmap): Remove redundant entries.
3914 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3915 * malloc/malloc.c (mtrim): Likewise.
3916 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3917
f57f8055
RM
39182012-10-03 Roland McGrath <roland@hack.frob.com>
3919
3920 * sysdeps/mach/hurd/dl-cache.c: File removed.
3921 * config.h.in (USE_LDCONFIG): New #undef.
3922 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3923 * configure: Regenerated.
3924 * elf/Makefile (dl-routines): Add dl-cache only under
3925 [$(use-ldconfig) = yes].
3926 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3927 cache on [USE_LDCONFIG].
3928 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3929 [USE_LDCONFIG].
3930 * elf/rtld.c (dl_main): Likewise.
3931
5bb0c10a
PT
39322012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3933
3934 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3935 _SC_LEVEL4_CACHE_LINESIZE.
3936
010188c6
RM
39372012-10-03 Roland McGrath <roland@hack.frob.com>
3938
3939 * sysdeps/unix/bsd/confstr.h: File removed.
3940
b6c5ec07
AO
39412012-10-02 Alexandre Oliva <aoliva@redhat.com>
3942
3943 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3944 sys/sdt-config.h.
3945
408223d4
RM
39462012-10-02 Roland McGrath <roland@hack.frob.com>
3947
3948 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3949 Make 'mapoff' field ElfW(Off) rather than off_t.
3950
bb9510dc
DL
39512012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3952
fc997c6e
DL
3953 * nscd/Makefile: Remove nscd-cflags and all its users.
3954 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3955 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3956
bb9510dc
DL
3957 [BZ #10631]
3958 * malloc.c (malloc_printerr): Clarify error message.
3959
05699367
L
39602012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3961
3962 [BZ #14648]
3963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3964 Set bit_FMA_Usable if FMA is supported.
3965 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3966 macro.
3967 (bit_FMA4_Usable): Updated.
3968 (index_FMA_Usable): New macro.
3969 (CPUID_FMA): Likewise
3970 (HAS_FMA): Defined with bit_FMA_Usable.
3971
51367701
RM
39722012-10-01 Roland McGrath <roland@hack.frob.com>
3973
3974 * bits/types.h (__swblk_t): Type removed.
3975 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3976 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3977 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3978 (__SWBLK_T_TYPE): Likewise.
3979 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3980 (__SWBLK_T_TYPE): Likewise.
3981 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3982 (__SWBLK_T_TYPE): Likewise.
3983 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3984 (__SWBLK_T_TYPE): Likewise.
3985
4d57bf63 39862012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3987 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3988
3989 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3990 (xdr_mapname): Use YPMAXMAP as maxsize.
3991 (xdr_peername): Use YPMAXPEER as maxsize.
3992 (xdr_keydat): Use YPAXRECORD as maxsize.
3993 (xdr_valdat): Use YPMAXRECORD as maxsize.
3994
93c65d43
RM
39952012-10-01 Roland McGrath <roland@hack.frob.com>
3996
497a03d6
RM
3997 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3998
93c65d43
RM
3999 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4000 * csu/init-first.c: ... here.
4001 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4002 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4003 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4004 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4005 * sysdeps/i386/init-first.c: File removed.
4006 * sysdeps/sh/init-first.c: File removed.
4007
bec749fd
JM
40082012-10-01 Joseph Myers <joseph@codesourcery.com>
4009
4010 [BZ #14645]
4011 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4012 if x * y might underflow to zero and z is zero.
4013 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4014 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4015 * math/libm-test.inc (min_subnorm_value): New variable.
4016 (fma_test): Add more tests.
4017 (fma_test_towardzero): Likewise.
4018 (fma_test_downward): Likewise
4019 (fma_test_upward): Likewise.
4020 (initialize): Set min_subnorm_value.
4021
8ec5b013
JM
40222012-09-29 Joseph Myers <joseph@codesourcery.com>
4023
4024 [BZ #14638]
4025 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4026 0 + 0.
4027 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4028 mode for addition resulting in exact zero.
4029 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4030 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4031 exact 0 + 0.
4032 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4033 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4034 * math/libm-test.inc (fma_test): Add more tests.
4035 (fma_test_towardzero): New function.
4036 (fma_test_downward): Likewise.
4037 (fma_test_upward): Likewise.
4038 (main): Call the new functions.
4039
b1fa802e
DM
40402012-09-28 David S. Miller <davem@davemloft.net>
4041
4042 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4043
d3b9fd9e
RM
40442012-09-28 Roland McGrath <roland@hack.frob.com>
4045
ea4d37b3
RM
4046 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4047 instead of SIGALRM.
4048
ac51c949
RM
4049 * sysdeps/gnu/_G_config.h: Moved to ...
4050 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4051 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4052 * sysdeps/generic/_G_config.h: ... here.
4053
28c195f7
RM
4054 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4055
848917f9
RM
4056 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4057
6bacf05b
RM
4058 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4059 Conditionalize target on [libnss_test1.so-version].
4060
91363dbb
RM
4061 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4062
cc87f7d8
RM
4063 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4064 (elfobjdir): Move out of conditionals.
4065
b1c608fe
RM
4066 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4067 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4068 (__nss_lookup_function): Conditionalize label remove_from_tree on
4069 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 4070
1d9a6d96
DM
40712012-09-28 David S. Miller <davem@davemloft.net>
4072
4073 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4074 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4075 file.
4076 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4077 sysdep_routines.
4078 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4079 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4080 when HWCAP_SPARC_CRYPTO is present.
4081
72581615
PT
40822012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4083
4084 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4085
715a900c
JL
40862012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4087
4088 [BZ #6530]
4089 * stdio-common/vfprintf.c (process_string_arg): Revert
4090 2000-07-22 change.
4091
40922011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4093
4094 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4095 for testcase.
4096 * stdio-common/tst-sprintf.c: Include <locale.h>
4097 (main): Test sprintf's handling of incomplete multibyte
4098 characters.
4099
9bac1d86
L
41002012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4101
4102 * elf/dl-runtime.c (VERSYMIDX): Removed.
4103 * elf/dl-version.c (VERSYMIDX): Likewise.
4104 * elf/do-rel.h (VERSYMIDX): Likewise.
4105 (VALIDX): Likewise.
4106 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4107 * elf/rtld.c (VALIDX): Likewise.
4108 (ADDRIDX): Likewise.
9bac1d86
L
4109 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4110 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4111 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
4112 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4113 (VALIDX): Likewise.
4114 (ADDRIDX): Likewise.
9bac1d86 4115
b31606c0
PT
41162012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4117
4118 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4119
11541177
JL
41202012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4121
4122 [BZ #11438]
4123 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4124 to global scope.
4125 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4126 addresses are in the same scope as 192.0.2/24.
4127 * posix/gai.conf: Document new scope table defaults.
4128
adb26fae
SP
41292012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4130
4131 [BZ #5298]
4132 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4133 for ftell. Compute offsets from write pointers instead.
4134 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4135
4573c6b0
SP
41362012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4137
4138 [BZ #14543]
4139 * libio/Makefile (tests): New test case tst-fseek.
4140 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4141 combination works in wide mode.
4142 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4143 state when the external buffer state changes.
4144
aa9bbfe6
DM
41452012-09-27 David S. Miller <davem@davemloft.net>
4146
4147 [BZ #14376]
4148 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4149 pass reloc->r_addend in as the 'high' argument to
4150 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4151
784421e7
DM
4152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4153
c39bc8b8
PT
41542012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4155
4156 * rt/tst-aio2.c: Include <pthread.h>.
4157 * rt/tst-aio3.c: Likewise.
4158
1ccc2399
SE
41592012-09-27 Steve Ellcey <sellcey@mips.com>
4160
4161 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4162
31ed4153
L
41632012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4164
25f5f885
L
4165 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4166 contents on [SHARED].
31ed4153 4167
b7bfe116
MP
41682012-09-26 Marek Polacek <polacek@redhat.com>
4169
4170 [BZ #14530]
4171 [BZ #13741]
4172 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4173 for C++ and GCC <4.3 as well as for non GCC compilers.
4174
43c4edba
MT
41752012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4176
4177 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4178
6a1bf82f
RM
41792012-09-25 Roland McGrath <roland@hack.frob.com>
4180
4181 * Makefile.in (all, install): Declare with .PHONY.
4182 Reported by Michael Hope <michael.hope@linaro.org>.
4183
8ad11b9a
TMQMF
41842012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4185
4186 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4187 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4188 system header.
4189 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4190 Likewise.
4191 (sydep_routines): Add the new and the internal functions.
4192 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4193 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4195 (GLIBC_2.17): Add the new function.
4196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4197 (GLIBC_2.17): Likewise.
4198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4199 (GLIBC_2.17): Likewise.
4200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4201 (GLIBC_2.17): Likewise.
4202 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4203
7e2fca8d
AM
42042012-09-25 Alan Modra <amodra@gmail.com>
4205
4206 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4207 Add release barrier before setting once_control to say
4208 initialisation is done. Add hints on lwarx. Use macro in
4209 place of isync.
4210 (clear_once_control): Add release barrier.
4211
b87c4b24
JM
42122012-09-25 Joseph Myers <joseph@codesourcery.com>
4213
d032e0d2
JM
4214 [BZ #13629]
4215 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4216 specially.
4217 * math/s_clog10.c (__clog10): Likewise.
4218 * math/s_clog10f.c (__clog10f): Likewise.
4219 * math/s_clog10l.c (__clog10l): Likewise.
4220 * math/s_clogf.c (__clogf): Likewise.
4221 * math/s_clogl.c (__clogl): Likewise.
4222 * math/Makefile (libm-calls): Add x2y2m1.
4223 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4224 (__x2y2m1): Likewise.
4225 (__x2y2m1l): Likewise.
4226 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4227 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4228 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4229 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4230 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4231 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4232 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4233 * sysdeps/i386/fpu/libm-test-ulps: Update.
4234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4235
b87c4b24
JM
4236 [BZ #14621]
4237 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4238 int as type of variable DEPTH.
4239 (glob): Use size_t instead of int as type of variables NEWCOUNT
4240 and OLD_PATHC.
4241
6d3bf199
LD
42422012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4243
22bf5c17
LD
4244 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4245 Add s_sincosf-sse2.
4246 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4247 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4248 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4249 macros for using routine as __sincosf_ia32.
4250 Use macro for function declaration and weak_alias.
4251 * sysdeps/i386/fpu/libm-test-ulps: Update.
4252
4253 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4255
4256 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4257 subnormal argument.
4258 * math/s_cexpf.c (__cexpf): Likewise.
4259 * math/s_csinf.c (__csinf): Likewise.
4260 * math/s_csinhf.c (__csinhf): Likewise.
4261 * math/s_ctanf.c (__ctanf): Likewise.
4262 * math/s_ctanhf.c (__ctanhf): Likewise.
4263 * math/s_ccosh.c (__ccoshf): Likewise.
4264 * math/s_cexp.c (__cexpl): Likewise.
4265 * math/s_csin.c (__csin): Likewise.
4266 * math/s_csinh.c (__csinh): Likewise.
4267 * math/s_ctan.c (__ctan): Likewise.
4268 * math/s_ctanh.c (ctanh): Likewise.
4269 * math/s_ccoshl.c (__ccoshl): Likewise.
4270 * math/s_cexpl.c (__cexpl): Likewise.
4271 * math/s_csinl.c (__csinl): Likewise.
4272 * math/s_csinhl.c (__csinhl): Likewise.
4273 * math/s_ctanl.c (__ctanl): Likewise.
4274 * math/s_ctanhl.c (__ctanhl): Likewise.
4275
203e5603
JM
42762012-09-25 Joseph Myers <joseph@codesourcery.com>
4277
4278 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4279 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4280 (_IO_off_t): Define to __off_t, not _G_off_t.
4281 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4282 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4283 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4284 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4285 type of __dummy and __dummy2 fields.
4286 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4287 (_G_ssize_t): Likewise.
4288 (_G_off_t): Likewise.
4289 (_G_pid_t): Likewise.
4290 (_G_uid_t): Likewise.
4291 (_G_wchar_t): Likewise.
4292 (_G_wint_t): Likewise.
4293 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4294 (_G_ssize_t): Likewise.
4295 (_G_off_t): Likewise.
4296 (_G_pid_t): Likewise.
4297 (_G_uid_t): Likewise.
4298 (_G_wchar_t): Likewise.
4299 (_G_wint_t): Likewise.
4300 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4301 (_G_ssize_t): Likewise.
4302 (_G_off_t): Likewise.
4303 (_G_pid_t): Likewise.
4304 (_G_uid_t): Likewise.
4305 (_G_wchar_t): Likewise.
4306 (_G_wint_t): Likewise.
4307
9fab36eb
SP
43082012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4309
4310 * malloc/arena.c: Include malloc-sysdep.h.
4311 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4312 is sufficient to shrink the heap or an unmap is needed.
4313 * sysdeps/generic/malloc-sysdep.h: New file. Define
4314 new function check_may_shrink_heap.
4315 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4316 new function check_may_shrink_heap.
4317
2b4f00d1
SP
43182012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4319
4320 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4321 comments.
4322
9a9028b1
DL
43232012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4324
57c69bef
DL
4325 * catgets/test-gencat.sh: Add "set -e".
4326 * elf/tst-pathopt.sh: Likewise.
4327 * grp/tst_fgetgrent.sh: Likewise.
4328 * iconvdata/run-iconv-test.sh: Likewise.
4329 * intl/tst-gettext.sh: Likewise.
4330 * intl/tst-gettext2.sh: Likewise.
4331 * intl/tst-gettext4.sh: Likewise.
4332 * intl/tst-gettext6.sh: Likewise.
4333 * intl/tst-translit.sh: Likewise.
4334 * io/ftwtest-sh: Likewise.
4335 * libio/test-freopen.sh: Likewise.
4336 * malloc/tst-mtrace.sh: Likewise.
4337 * posix/globtest.sh: Likewise.
4338 * posix/tst-getconf.sh: Likewise.
4339 * posix/wordexp-tst.sh: Likewise.
4340 * stdio-common/tst-printf.sh: Likewise.
4341 * stdio-common/tst-unbputc.sh: Likewise.
4342 * stdlib/tst-fmtmsg.sh: Likewise.
4343 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4344 * catgets/Makefile: Do not specify -e option when running
4345 testsuite shell scripts.
4346 * elf/Makefile: Likewise.
4347 * grp/Makefile: Likewise.
4348 * iconvdata/Makefile: Likewise.
4349 * intl/Makefile: Likewise.
4350 * io/Makefile: Likewise.
4351 * libio/Makefile: Likewise.
4352 * malloc/Makefile: Likewise.
4353 * posix/Makefile: Likewise.
4354 * stdio-common/Makefile: Likewise.
4355 * stdlib/Makefile: Likewise.
4356 * sysdeps/x86_64/Makefile: Likewise.
4357
9a9028b1
DL
4358 * io/ftwtest-sh: Add copyright header.
4359 * posix/globtest.sh: Likewise.
4360 * posix/tst-getconf.sh: Likewise.
4361 * posix/wordexp-tst.sh: Likewise.
4362 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4363
ced6f16e
L
43642012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4365
94b32c39
L
4366 [BZ #13679]
4367 * Makeconfig (+link): Defined as $(+link-static) if
4368 $(build-shared) isn't yes.
4369 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4370 isn't yes.
4371 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4372
189e935b
L
4373 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4374
ced6f16e
L
4375 [BZ #14562]
4376 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4377 new chunk size with MALLOC_ALIGN_MASK.
4378
a9f8e53a
JM
43792012-09-24 Joseph Myers <joseph@codesourcery.com>
4380
4381 [BZ #5044]
4382 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4383 <rounding-mode.h>.
4384 (__printf_fphex): Determine rounding using get_rounding_mode and
4385 round_away.
4386 * stdio-common/tst-printf-round.c (struct hex_test): New
4387 structure.
4388 (hex_tests): New variable.
4389 (test_hex_in_one_mode): New function.
4390 (do_test): Also run tests for hex float output.
4391
43153109
JM
43922012-09-21 Joseph Myers <joseph@codesourcery.com>
4393
4394 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4395 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4396 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4397 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4398 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4399 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4400 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4401 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4402
8a26625d
JM
44032012-09-20 Joseph Myers <joseph@codesourcery.com>
4404
4405 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4406 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4407 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4408 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4409
f3fd569c
DL
44102012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4411
4412 [BZ #14579]
4413 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4414 mode only.
4415 * elf/tst-rtld-load-self.sh: New test.
4416 * elf/Makefile: Run it.
4417
63bbedd4
JM
44182012-09-18 Joseph Myers <joseph@codesourcery.com>
4419
4420 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4421 (tst-writev-ENV): Remove.
4422 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4423
626f8b6a
CM
44242012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4425
4426 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4427
b7aaa4d6
JM
44282012-09-17 Joseph Myers <joseph@codesourcery.com>
4429
4430 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4431 unconditional.
4432 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4433 Likewise.
4434 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4435 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4436 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4437 Likewise.
4438
65513990
L
44392012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4440
4441 [BZ #14587]
4442 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4443 * config.make.in (have-cpp-asm-debuginfo): Removed.
4444 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4445 * configure: Regenerated.
4446
784761be
JM
44472012-09-14 Joseph Myers <joseph@codesourcery.com>
4448
4449 [BZ #5044]
4450 * stdio-common/printf_fp.c: Include <stdbool.h> and
4451 <rounding-mode.h>.
4452 (___printf_fp): Determine rounding using get_rounding_mode and
4453 round_away.
4454 * stdio-common/tst-printf-round.c: New file.
4455 * stdio-common/Makefile (tests): Add tst-printf-round.
4456 (link-libm): New variable.
4457 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4458
9503345f
L
44592012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4460
4461 [BZ #14576]
4462 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4463 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4464 Likewise.
4465 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4466 Likewise.
4467
ad35fc00
JM
44682012-09-13 Joseph Myers <joseph@codesourcery.com>
4469
4470 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4471 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4472 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4473 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4474
6c9b0f68
JM
44752012-09-12 Joseph Myers <joseph@codesourcery.com>
4476
4477 [BZ #14518]
4478 * include/rounding-mode.h: New file.
4479 * sysdeps/generic/get-rounding-mode.h: Likewise.
4480 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4481 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4482 (MAX_VALUE): New macro.
4483 (MIN_VALUE): Likewise.
4484 (overflow_value): New function.
4485 (underflow_value): Likewise.
4486 (round_and_return): Use overflow_value and underflow_value to
4487 determine return values in overflow and underflow cases. Use
4488 round_away to determine rounding depending on rounding mode.
4489 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4490 determine return values in overflow and underflow cases.
4491 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4492 (struct test_results): New structure.
4493 (struct test): Use struct test_results to store expected results
4494 for all rounding modes.
4495 (TEST): Include expected results for all rounding modes.
4496 (test_in_one_mode): New function.
4497 (do_test): Use test_in_one_mode to compute and check results.
4498 Check results for all rounding modes.
4499 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4500 $(link-libm).
4501
19fcedd5
AM
45022012-12-09 Allan McRae <allan@archlinux.org>
4503
1e9d84cd 4504 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 4505
8bbfd2f1
JM
45062012-09-11 Joseph Myers <joseph@codesourcery.com>
4507
4508 * sysdeps/generic/_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/gnu/_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 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4525 (_G_int32_t): Likewise.
4526 (_G_uint16_t): Likewise.
4527 (_G_uint32_t): Likewise.
4528 (_G_HAVE_BOOL): Likewise.
4529 (_G_HAVE_ATEXIT): Likewise.
4530 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4531 (_G_HAVE_IO_FILE_OPEN): Likewise.
4532
b1dc5912
L
45332012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4534
4535 * csu/libc-tls.c: Update copyright years.
4536
0e886ef9
JM
45372012-09-10 Joseph Myers <joseph@codesourcery.com>
4538
28361c5e
JM
4539 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4540 [!_G_USING_THUNKS]: Remove conditional code.
4541 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4542 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4543
0e886ef9
JM
4544 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4545 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4546 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4547 (_G_VTABLE_LABEL_PREFIX): Likewise.
4548 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4549 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4550 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4551 (_G_VTABLE_LABEL_PREFIX): Likewise.
4552 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4553 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4554 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4555 (_G_VTABLE_LABEL_PREFIX): Likewise.
4556 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4557
bcba7aa2
L
45582012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4559
4560 * libio/Makefile: Include ../Makeconfig before tests.
4561 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4562 only if $(build-shared) is yes.
4563
06585ee8
L
4564 * iconv/gconv_db.c: Update copyright years.
4565
80ccd52c
LD
45662012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4567
4568 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4569 unwind info if defined PIC. Fix special cases description.
4570 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4571
4572 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4573 DP_HI_MASK entry.
4574 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4575
691bc9c1
L
45762012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4577
3d9b46b3
L
4578 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4579
de2139a9
L
4580 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4581 is NULL.
4582
5ca78dd0
L
4583 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4584 (LDLIBS-tst-chk4): This.
4585 (LDFLAGS-tst-chk5): Renamed to ...
4586 (LDLIBS-tst-chk5): This.
4587 (LDFLAGS-tst-chk6): Renamed to ...
4588 (LDLIBS-tst-chk6): This.
4589 (LDFLAGS-tst-lfschk4): Renamed to ...
4590 (LDLIBS-tst-lfschk4): This.
4591 (LDFLAGS-tst-lfschk5): Renamed to ...
4592 (LDLIBS-tst-lfschk5): This.
4593 (LDFLAGS-tst-lfschk6): Renamed to ...
4594 (LDLIBS-tst-lfschk6): This.
4595
691bc9c1
L
4596 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4597 on $(common-objpfx)soversions.mk.
4598
65cafb1c
JM
45992012-09-07 Joseph Myers <joseph@codesourcery.com>
4600
4601 [BZ #10014]
4602 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4603 example host name.
4604
c78ab094
SP
46052012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4606
4607 * malloc/arena.c (arena_get_retry): New function that gets
4608 another arena for the caller to try its request on.
4609 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4610 current arena cannot fulfill the request.
4611 (__libc_memalign): Likewise.
4612 (__libc_memalign): Likewise.
4613 (__libc_pvalloc): Likewise.
4614 (__libc_calloc): Likewise.
4615
01f49f59
JT
46162012-09-05 John Tobey <john.tobey@gmail.com>
4617
4618 [BZ #13542]
4619 * manual/arith.texi (Operations on Complex): Fix description
4620 of carg branch cut.
4621
4c23fed5
JM
46222012-09-06 Joseph Myers <joseph@codesourcery.com>
4623
1d3c8572
JM
4624 [BZ #10014]
4625 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4626 host name.
4627
4c23fed5
JM
4628 [BZ #10038]
4629 * manual/memory.texi (Memory): Make order of menu items match
4630 order of sections.
4631
04570aaa
L
46322012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4633
4634 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4635 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4636 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4637
b80af2f4
L
46382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4639
4640 * csu/libc-tls.c (static_dtv): Renamed to ...
4641 (_dl_static_dtv): This. Make it global.
4642 (_dl_initial_dtv): Removed.
4643 (__libc_setup_tls): Updated.
4644 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4645 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4646 DL_INITIAL_DTV.
4647
2abe9f15
PM
46482012-09-06 Petr Machata <pmachata@redhat.com>
4649
4650 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4651 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4652 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4653 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4654
0948c3af
L
46552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4656
4657 [BZ #14545]
4658 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4659 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4660 freeing dtv[-1].
4661
a5055ad1
L
46622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4663
4664 [BZ #14544]
4665 * Makeconfig (link-static-before-libc): Replace $(+prector)
4666 with $(+prectorT).
4667 (link-static-after-libc): Replace $(+postctor) with
4668 $(+postctorT).
4669 (link-bounded): Replace $(+prector)/$(+postctor) with
4670 $(+prectorT)/$(+postctorT).
4671 (+prectorT): New macro.
4672 (+postctorT): Likewise.
4673
ed8c2ecd
JM
46742012-09-06 Joseph Myers <joseph@codesourcery.com>
4675
4676 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4677 (round_str): Handle values above the maximum for IBM long double
4678 as inexact.
4679 * stdlib/tst-strtod-round.c (tests): Regenerated.
4680
14c996c8
AK
46812012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4682
4683 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4684 assembler flag.
4685 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4686 zarch_nohighgprs around the zarch optimized routines.
4687 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4688 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4689 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4690 for zarch.
4691
430d6ce6
DM
46922012-09-05 David S. Miller <davem@davemloft.net>
4693
4694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4695
ff04dda4
DM
4696 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4697 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4698 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4699 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4700 entries.
4701
24d4e01b
AO
47022012-09-05 Alexandre Oliva <aoliva@redhat.com>
4703
4704 * malloc/arena.c: Fold copyright years.
4705 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4706
61d58174
AO
47072012-09-05 Alexandre Oliva <aoliva@redhat.com>
4708
4709 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4710
20196a5e
AO
47112012-09-05 Alexandre Oliva <aoliva@redhat.com>
4712
4713 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4714
5c447383
AO
47152012-09-05 Alexandre Oliva <aoliva@redhat.com>
4716
4717 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4718 change internal state upon failure.
4719
fad64255
AO
47202012-09-05 Alexandre Oliva <aoliva@redhat.com>
4721
4722 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4723 * malloc/memusage.c (mmap): Likewise.
4724 (mmap64, mremap): Likewise. Adjust name in comment.
4725
1ffb8c90
SP
47262012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4727
4728 * libio/fileops.c: Fix typos in comments.
4729 * libio/oldfileops.c: Likewise.
4730 * libio/wfileops.c: Likewise.
4731
6ef9cc37
SP
47322012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4733
4734 [BZ #1349]
4735 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4736 (tst-malloc-usable-ENV): Set environment for test case.
4737 * malloc/hooks.c (malloc_check_get_size): New function to get
4738 requested size.
4739 * malloc/malloc.c (musable): Use malloc_check_get_size.
4740 * malloc/tst-malloc-usable.c: New test case.
4741
4d038ae3
AS
47422012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4743
4744 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4745
c4e85184
AM
47462012-09-05 Allan McRae <allan@archlinux.org>
4747
b9dafc56 4748 [BZ #13966]
c4e85184
AM
4749 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4750 determine header location.
4751 * configure: Regenerated.
4752
e1343020
AS
47532012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4754
4755 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4756 float format.
4757 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4758 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4759 format.
e1343020
AS
4760 (test): Regenerate.
4761
0a9f1987
DM
47622012-09-04 David S. Miller <davem@davemloft.net>
4763
4764 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4765 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4766 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4767
29237804
FW
47682012-09-04 Florian Weimer <fweimer@redhat.com>
4769
4770 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4771 failures.
4772
edb3cb88
FW
4773 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4774
60160d83
JM
47752012-09-04 Joseph Myers <joseph@codesourcery.com>
4776
4777 [BZ #9914]
4778 * libio/iogetdelim.c: Include <limits.h>.
4779 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4780 + len + 1 would overflow.
4781
bcd6c8dc
AJ
47822012-09-03 Andreas Jaeger <aj@suse.de>
4783
4784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4785 * sysdeps/i386/fpu/libm-test-ulps: Update.
4786
4ffffbd2
LD
47872012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4788
4789 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4790 Add s_sinf-sse2, s_conf-sse2.
4791
4792 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4793 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4794 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4795 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4796
4797 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4798 for using routine as __sinf_ia32.
4799 Use macro for function declaration and weak_alias.
4800 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4801 for using routine as __cosf_ia32.
4802 Use macro for function declaration and weak_alias.
4803
4804 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4805 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4806
4807 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4808 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4809 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4810
4811 * math/libm-test.inc (cos_test): Add more test cases.
4812 (sin_test): Likewise.
4813 (sincos_test): Likewise.
4814
511fa286
AK
48152012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4816
4817 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4818 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4819 hidden.
4820 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4821
5f30cfec
L
48222012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4823
4824 [BZ #14538]
4825 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4826 first element of the GOT.
4827 (elf_machine_load_address): Return the difference between
4828 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4829
0786794f
AM
48302012-09-01 Allan McRae <allan@archlinux.org>
4831
5f30cfec
L
4832 [BZ #13412]
4833 * configure.in (AWK): Require gawk version 3.0 or later.
4834 * configure: Regenerated.
0786794f 4835
26889eac
JM
48362012-09-01 Joseph Myers <joseph@codesourcery.com>
4837
4838 * sysdeps/unix/sysv/linux/kernel-features.h
4839 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4840 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4841 [__NR_clock_getres]: Make code unconditional.
4842 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4843 (clock_getcpuclockid): Remove code left unreachable by removal of
4844 conditionals.
4845 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4846 code unconditional.
4847 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4848 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4849 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4850 Make code unconditional.
4851 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4852 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4853 * sysdeps/unix/sysv/linux/clock_settime.c
4854 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4855 conditional code.
4856 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4857 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4858
d22e28b0
L
48592012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4860
4861 [BZ #14476]
4862 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4863 scripts/test-installation.pl.
4864
4865 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4866 and $ld_so_version if it is set.
4867
050af9c4
SP
48682012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4869
4870 [BZ #14516]
4871 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4872 failure if reading from procfs failed.
4873 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4874
ad845c0b
JM
48752012-08-27 Joseph Myers <joseph@codesourcery.com>
4876
4877 * sysdeps/unix/sysv/linux/kernel-features.h
4878 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4879 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4880 Remove conditional code.
4881 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4882 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4883 Remove conditional code.
4884 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4885 * sysdeps/unix/sysv/linux/i386/fxstat.c
4886 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4887 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4888 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4889 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4890 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4891 * sysdeps/unix/sysv/linux/i386/lxstat.c
4892 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4893 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4894 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4895 Remove conditional code.
4896 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4897 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4898 Remove conditional code.
4899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4900 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4901 <kernel-features.h>.
4902 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4903 Remove.
4904 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4905 Remove conditional code.
4906 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4907 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4908 Remove conditional.
4909
5dbf56af
MF
49102012-08-27 Mike Frysinger <vapier@gentoo.org>
4911
4912 [BZ #5400]
4913 * NEWS: Add fixed bug number.
4914
d6e70f43
JM
49152012-08-27 Joseph Myers <joseph@codesourcery.com>
4916
7efb4737
JM
4917 [BZ #14519]
4918 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4919 underflowing exponent in case of negative sign.
4920 * stdlib/tst-strtod-round-data: Add more tests.
4921 * stdlib/tst-strtod-round.c (tests): Regenerated.
4922
af92131a
JM
4923 [BZ #3479]
4924 * stdlib/strtod_l.c (NDIG): Remove.
4925 (HEXNDIG): Likewise.
4926 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4927 smallest representable value.
4928 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4929 lie within an exact representation of 1/2 ulp of the result.
4930 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4931 unconditionally.
4932 (TENS_P9_IDX): Define unconditionally.
4933 (TENS_P9_SIZE): Likewise.
4934 (TENS_P10_IDX): Likewise.
4935 (TENS_P10_SIZE): Likewise.
4936 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4937 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4938 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4939 entries for 10^2^13 and 10^2^14.
4940 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4941 (TENS_P13_IDX): Define.
4942 (TENS_P13_SIZE): Likewise.
4943 (TENS_P14_IDX): Likewise.
4944 (TENS_P14_SIZE): Likewise.
4945 (_fpioconst_pow10): Change array size to
4946 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4947 unconditional.
4948 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4949 1024]: Add entries for 10^2^13 and 10^2^14.
4950 [LAST_POW10 > _LAST_POW10]: Remove #error.
4951 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4952 (_fpioconst_pow10): Change array size to
4953 FPIOCONST_POW10_ARRAY_SIZE.
4954 * stdlib/gen-fpioconst.c: New file.
4955 * stdlib/gen-tst-strtod-round.c: Likewise.
4956 * stdlib/tst-strtod-round-data: Likewise.
4957 * stdlib/tst-strtod-round.c: Likewise.
4958 * stdlib/Makefile (tests): Add tst-strtod-round.
4959
d6e70f43
JM
4960 [BZ #14459]
4961 * stdlib/strtod_l.c: Include <stdint.h>.
4962 (NDEBUG): Do not define.
4963 (round_and_return): Change EXPONENT parameter to type intmax_t.
4964 Rearrange calculations to avoid internal overflow possibilities.
4965 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4966 Rearrange calculations to avoid internal overflow possibilities.
4967 Assert that number fits inside MPNSIZE limbs.
4968 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4969 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4970 calculations and add assertions to avoid internal overflow
4971 possibilities. Add casts to avoid signed/unsigned operations.
4972 * stdlib/tst-strtod-overflow.c: New file.
4973 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4974
1f529f7d
MP
49752012-08-25 Marek Polacek <polacek@redhat.com>
4976
4977 * time/time.h: Fix some typos in comments.
4978
59a629f1
RM
49792012-08-23 Roland McGrath <roland@hack.frob.com>
4980
4981 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4982 * posix/tst-rfc3484-2.c: Likewise.
4983 * posix/tst-rfc3484-3.c: Likewise.
4984
d3bafbc9
SM
49852012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4986
4987 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4988 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4989
4efcc022
JM
49902012-08-23 Joseph Myers <joseph@codesourcery.com>
4991
4992 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4993 #include of fxstatat64.c.
4994
3cc3ef96
RM
49952012-08-22 Roland McGrath <roland@hack.frob.com>
4996
f04e2132
RM
4997 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4998 * shadow/getspent_r.c: Likewise.
4999 * shadow/getspnam.c: Likewise.
5000 * shadow/getspnam_r.c: Likewise.
5001 * gshadow/getsgent.c: Likewise.
5002 * gshadow/getsgent_r.c: Likewise.
5003 * gshadow/getsgnam.c: Likewise.
5004 * gshadow/getsgnam_r.c: Likewise.
5005 * inet/getnetbyad.c: Likewise.
5006 * inet/getnetbyad_r.c: Likewise.
5007 * inet/getnetbynm.c: Likewise.
5008 * inet/getnetbynm_r.c: Likewise.
5009 * inet/getnetent.c: Likewise.
5010 * inet/getnetent_r.c: Likewise.
5011 * inet/getproto.c: Likewise.
5012 * inet/getproto_r.c: Likewise.
5013 * inet/getprtent.c: Likewise.
5014 * inet/getprtent_r.c: Likewise.
5015 * inet/getprtname.c: Likewise.
5016 * inet/getprtname_r.c: Likewise.
5017 * inet/getrpcbyname.c: Likewise.
5018 * inet/getrpcbyname_r.c: Likewise.
5019 * inet/getrpcbynumber.c: Likewise.
5020 * inet/getrpcbynumber_r.c: Likewise.
5021 * inet/getrpcent.c: Likewise.
5022 * inet/getrpcent_r.c: Likewise.
5023 * inet/getaliasent.c: Likewise.
5024 * inet/getaliasent_r.c: Likewise.
5025 * inet/getaliasname.c: Likewise.
5026 * inet/getaliasname_r.c: Likewise.
5027 * nscd/getgrgid_r.c: Likewise.
5028 * nscd/getgrnam_r.c: Likewise.
5029 * nscd/gethstbyad_r.c: Likewise.
5030 * nscd/gethstbynm3_r.c: Likewise.
5031 * nscd/getpwnam_r.c: Likewise.
5032 * nscd/getpwuid_r.c: Likewise.
5033 * nscd/getsrvbynm_r.c: Likewise.
5034 * nscd/getsrvbypt_r.c: Likewise.
5035 * nscd/gai.c: Likewise.
5036
c53d909c
RM
5037 * configure.in (build_nscd): New substituted variable, set
5038 by --disable-build-nscd and defaults to $use_nscd.
5039 * configure: Regenerated.
5040 * config.make.in (build-nscd): New substituted variable.
5041 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5042 Change conditional to require [$(build-nscd) = yes] as well.
5043 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5044
3cc3ef96
RM
5045 [BZ# 13696]
5046 * configure.in (use_nscd): New substituted variable, set by
5047 --disable-nscd. If enabled, define USE_NSCD.
5048 * configure: Regenerated.
5049 * config.h.in: Add USE_NSCD.
5050 * config.make.in (use-nscd): New substituted variable.
5051 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5052 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5053 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5054 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5055 (CFLAGS-getgrnam_r.c): Likewise.
5056 (CFLAGS-initgroups.c): Likewise.
5057 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5058 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5059 Variables removed.
5060 * inet/getnetgrent_r.c
5061 (nscd_setnetgrent): New function, broken out of ...
5062 (setnetgrent): ... here. Call it.
5063 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5064 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5065 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5066 * nscd/Makefile (routines, aux): Move definitions after include of
5067 Makeconfig. Conditionalize on [$(use-nscd) != no].
5068 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5069 Conditionalize on [USE_NSCD].
5070 (is_nscd, nscd_init_cb): Likewise.
5071 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5072 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5073 * nss/nss_db/db-init.c: Likewise.
5074 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5075 [USE_NSCD].
5076 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5077 (make_request): Use it.
5078 (cache_valid_p): New function.
5079 (__check_pf): Use it.
5080 * NEWS: Add item for --disable-nscd.
5081
07e51550
DL
50822012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5083
5084 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5085 to support sed >= 4.2.1-20-ga9bf076.
5086 * configure: Regenerated.
5087
35a5b08b
RM
50882012-08-22 Roland McGrath <roland@hack.frob.com>
5089
5090 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5091 Conditionalize whole body on [IREL].
5092
8479f23a
JL
50932012-08-22 Jeff Law <law@redhat.com>
5094
5095 [BZ #14505]
5096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5097 if the family is PF_UNSPEC.
5098
48da0b21
MF
50992012-08-22 Mike Frysinger <vapier@gentoo.org>
5100
5101 * Makerules (lib-version): Rename from V.
5102 (install-lib-nosubdir): Change V to lib-version.
5103
15d0da8c
WS
51042012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5105
5106 [BZ #14252]
5107 * powerpc32/power6/wcschr.c: New file.
5108 * powerpc32/power6/wcscpy.c: New file.
5109 * powerpc32/power6/wcsrchr.c: New file.
5110 * powerpc64/power6/wcschr.c: New file.
5111 * powerpc64/power6/wcscpy.c: New file.
5112 * powerpc64/power6/wcsrchr.c: New file.
5113
bcca0895
MK
51142012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5115
5116 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5117 (two_way_short_needle): Use it.
5a4aaa33
RM
5118 * string/strstr.c (AVAILABLE1_USES_J): Define.
5119 * string/strcasestr.c: Likewise.
99677e57
MK
5120
5121 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5122 array references.
5123 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5124
400726de
MK
5125 [BZ #11607]
5126 * NEWS: Add an entry.
5127 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5128 define their defaults.
5129 (two_way_short_needle): Detect end-of-string on-the-fly.
5130 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5131 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5132 * string/bug-strcasestr1.c: New test.
5133 * string/Makefile: Run it.
5134
20a71f2c
MK
51352012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5136
5137 [BZ #11607]
5138 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5139 the first character.
5140
21ad0558
RM
51412012-08-21 Roland McGrath <roland@hack.frob.com>
5142
5143 * csu/elf-init.c (__libc_csu_irel): Function removed.
5144 * csu/libc-start.c (apply_irel): New function.
5145 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5146
0e1d9911
JM
51472012-08-21 Joseph Myers <joseph@codesourcery.com>
5148
5149 * sysdeps/unix/sysv/linux/kernel-features.h
5150 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5151 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5152 <kernel-features.h>.
5153 [__NR_fadvise64_64]: Make code unconditional.
5154 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5155 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5156 !__NR_fadvise64_64)]: Likewise.
5157 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5158 !__NR_fadvise64_64))]: Likewise.
5159 [__NR_fadvise64]: Make code unconditional.
5160 [!__NR_fadvise64]: Remove conditional code.
5161 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5162 <kernel-features.h>.
5163 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5164 unconditional.
5165 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5166 conditional code.
5167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5168 not include <kernel-features.h>.
5169 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5170 unconditional.
5171 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5172 conditional code.
5173 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5174 include <kernel-features.h>.
5175 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5176 unconditional.
5177 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5178 conditional code.
5179
14a50c9d
WS
51802012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5181
5182 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5183 slight instruction rearrangements per scrollpipe analysis.
5184 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5185
c0f4faf0
RM
51862012-08-20 Roland McGrath <roland@hack.frob.com>
5187
696da859
RM
5188 * manual/syslog.texi (syslog; vsyslog, closelog):
5189 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5190 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5191
c0f4faf0
RM
5192 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5193 DSOCAPS to match condition on defining it.
5194
348363b2
JM
51952012-08-20 Joseph Myers <joseph@codesourcery.com>
5196
a35cbf28
JM
5197 * sysdeps/unix/sysv/linux/kernel-features.h
5198 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5200 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5201 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5203 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5204 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5206 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5207 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5208
445f7ecd
JM
5209 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5210 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5211
348363b2
JM
5212 * sysdeps/unix/sysv/linux/kernel-features.h
5213 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5214 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5215 unconditional.
5216 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5217 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5218 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5219 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5220 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5221 Make code unconditional.
5222 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5223 (__mmap64) [!__NR_mmap2]: Likewise.
5224 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5225 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5226 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5227 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5228 [__NR_mmap2]: Make code unconditional.
5229 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5230 (__mmap64) [!__NR_mmap2]: Likewise.
5231
bc5bc0e5
AK
52322012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5233
5234 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5235
88d506de
AJ
52362012-08-18 Andreas Jaeger <aj@suse.de>
5237
5238 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5239
493387d2
MF
52402012-08-18 Mike Frysinger <vapier@gentoo.org>
5241
5242 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5243 * include/unistd.h (__have_sock_cloexec): Likewise.
5244 (__have_pipe2): Likewise.
5245 (__have_dup3): Likewise.
5246
a277af22
MF
52472012-08-18 Mike Frysinger <vapier@gentoo.org>
5248
5249 [BZ #9685]
5250 * include/unistd.h (__have_pipe2): Change define into an extern int.
5251 (__have_dup3): Likewise.
5252 * socket/have_sock_cloexec.c: Include fcntl.h.
5253 (__have_pipe2): New variable.
5254 (__have_dup3): Likewise.
5255
fdab8fd3
MF
52562012-08-17 Mike Frysinger <vapier@gentoo.org>
5257
5258 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5259
31035e80
MP
52602012-08-17 Marek Polacek <polacek@redhat.com>
5261
5262 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5263 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5264
3bd9e993
RM
52652012-08-17 Roland McGrath <roland@hack.frob.com>
5266
c91c505f
RM
5267 * configure.in: Add AC_SUBST for sysheaders.
5268 * configure: Regenerated.
5269 * config.make.in (sysheaders): New substituted variable.
5270
7c6f9d53
RM
5271 * sysdeps/unix/mkfifo.c: Moved ...
5272 * sysdeps/posix/mkfifo.c: ... here.
5273 * sysdeps/unix/mkfifoat.c: Moved ...
5274 * sysdeps/posix/mkfifoat.c: ... here.
5275
5276 * sysdeps/unix/utime.c: Moved ...
5277 * sysdeps/posix/utime.c: ... here.
5278
5279 * sysdeps/unix/time.c: Moved ...
5280 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
5281 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5282 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
5283
5284 * sysdeps/unix/nice.c: Moved ...
5285 * sysdeps/posix/nice.c: ... here.
5286
5287 * sysdeps/unix/alarm.c: Moved ...
5288 * sysdeps/posix/alarm.c: ... here.
5289
3bd9e993
RM
5290 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5291
d1f09384
JL
52922012-08-17 Jeff Law <law@redhat.com>
5293
5294 * intl/Makefile (codeset_mo): New variable.
5295 ($(codeset_mo)): New target.
5296 (tst-codeset.out): Depend on that. Remove explicit rule.
5297 (tst-gettext3.out, tst-gettext5.out): Likewise.
5298 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5299 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5300 * intl/tst-codeset.sh: Remove.
5301 * intl/tst-gettext3.sh: Likewise.
5302 * intl/tst-gettext5.sh: Likewise.
5303
2ae1ae5c
RM
53042012-08-17 Roland McGrath <roland@hack.frob.com>
5305
c31fdb83
RM
5306 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5307 * sysdeps/unix/syscalls.list: ... here.
5308
a0844057
RM
5309 * sysdeps/posix/getaddrinfo.c
5310 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5311 (gaiconf_init, gaiconf_reload): Use them.
5312 [!_STATBUF_ST_NSEC]
5313 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5314 Define using time_t rather than struct timespec.
5315
750c1f2a
RM
5316 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5317 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5318 Macros removed.
5319 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5320 [!NO_THREADS].
5321 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5322 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5323 Likewise.
5324
2ae1ae5c
RM
5325 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5326 __libc_cleanup_push argument.
5327
e66a42f5
RM
5328 * bits/param.h: New file.
5329 * misc/sys/param.h: New file.
5330 * include/sys/param.h: New file.
5331 * misc/Makefile (headers): Add bits/param.h.
5332 * sysdeps/generic/sys/param.h: File removed.
5333 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5334 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5335 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 5336 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 5337
b7c08a66
RM
5338 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5339 last change.
5340
b2e1c562
RM
5341 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5342 [_IO_MTSAFE_IO].
5343 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5344 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5345 New macros.
5346
c75ccd4c
RM
5347 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5348 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5349 rather than -D_IO_MTSAFE_IO conditionally.
5350 * stdio-common/Makefile (CPPFLAGS): Likewise.
5351 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5352 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5353 Use $(libio-mtsafe).
5354 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5355 of -D_IO_MTSAFE_IO.
5356 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5357 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5358 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5359 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5360 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5361 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5362 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5363 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5364 (CFLAGS-fread_u_chk.c): Likewise.
5365 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5366 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5367 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5368 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5369 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5370 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5371 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5372 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5373 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5374
5375 * libio/Makefile: Test [$(libc-reentrant) = yes]
5376 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5377
5378 * Makeconfig
5379 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5380 * sysdeps/pthread/configure: File removed.
5381 * sysdeps/pthread/Makeconfig: New file.
5382 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5383 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5384
d9195db8
GB
53852012-08-16 Gary Benson <gbenson@redhat.com>
5386
5387 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5388 unmapping the first object in a namespace.
5389
86466cd9
RM
53902012-08-16 Roland McGrath <roland@hack.frob.com>
5391
5392 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5393 (__internal_setnetgrent): ... this. Add internal_function to
5394 definition. Add libc_hidden_def.
5395 (setnetgrent): Update caller.
5396 (internal_endnetgrent): Renamed to ...
5397 (__internal_endnetgrent): ... this. Add internal_function to
5398 definition. Add libc_hidden_def.
5399 (endnetgrent): Update caller.
5400 (internal_getnetgrent_r): Renamed to ...
5401 (__internal_getnetgrent_r): ... this. Add internal_function to
5402 definition. Add libc_hidden_def.
5403 (__getnetgrent_r): Update caller.
5404 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5405
c3c8283c
JM
54062012-08-16 Joseph Myers <joseph@codesourcery.com>
5407
5408 * stdlib/longlong.h: Update from GCC.
5409
db1ee0a8
RM
54102012-08-16 Roland McGrath <roland@hack.frob.com>
5411
5412 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5413 on _QL, which is set by umul_ppmm but never used.
5414 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5415 variables, which are set by GMP macros but never used.
5416 * stdio-common/_itowa.c (_itowa): Likewise.
5417 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5418 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5419
30f69637
CD
54202012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5421
5422 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5423 struct La_sh_regs is not constant.
5424 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5425 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5426 and struct La_sparc64_regs are not constant.
5427
93a78ac4
JM
54282012-08-16 Joseph Myers <joseph@codesourcery.com>
5429
5430 * sysdeps/unix/sysv/linux/kernel-features.h
5431 (__ASSUME_POSIX_TIMERS): Remove.
5432 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5433 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5434 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5435 Make code unconditional.
5436 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5437 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5438 Make code unconditional.
5439 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5440 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5441 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5442 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5443 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5444 Make code unconditional.
5445 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5446 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5447 (__libc_missing_posix_timers): Remove.
5448
dd924cd7
RM
54492012-08-15 Roland McGrath <roland@hack.frob.com>
5450
4b4f2771
RM
5451 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5452 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5453
601c888b
RM
5454 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5455
176790a7
RM
5456 * elf/dl-sym.c: Include <stdlib.h>.
5457
329bc018
RM
5458 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5459 constants, which avoids warnings in 32-bit builds.
5460
e04e272d
RM
5461 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5462 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5463
952bf94a
RM
5464 * misc/lseek.c: File moved to ...
5465 * io/lseek.c: ... here.
5466
7c99b50a
RM
5467 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5468
dd924cd7
RM
5469 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5470 shifting LEN more than 31 bits at once.
5471
b3f479a8
LD
54722012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5473
5474 [BZ #14195]
8c4ae0d4
RM
5475 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5476 segmentation fault for a case of two empty input strings.
b3f479a8
LD
5477 * string/test-strncasecmp.c (check1): Renamed to...
5478 (bz12205): ...this.
5479 (bz14195): Add new testcase for two empty input strings and N > 0.
5480 (test_main): Call new testcase, adapt for renamed function.
5481
9c55864e
AJ
54822012-08-15 Andreas Jaeger <aj@suse.de>
5483
5484 [BZ #14090]
5485 * crypt/md5test2.c: New test, based on test supplied by Serge
5486 Belyshev <belyshev@depni.sinp.msu.ru>.
5487 * crypt/Makefile (xtests): Add md5test-giant..
5488 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5489
02dcb6c5
PE
54902012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5491
5492 [BZ #14090]
5493 * crypt/md5.c (md5_process_block): Don't assume the buffer
5494 length is less than 2**32.
5495 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5496 length is less than 2**64.
5497
a3f95dcc
RM
54982012-08-15 Roland McGrath <roland@hack.frob.com>
5499
be75d758
RM
5500 * string/str-two-way.h: Include <sys/param.h>.
5501 (MAX): Macro removed.
5502
7312ca90
RM
5503 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5504 Move #define and #undef of memmove to just before and after
5505 including <string.h>.
5506
9a0a5486
RM
5507 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5508 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5509 and after including <string.h>. Move declarations of
5510 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5511 to before #include "string/memmove.c".
5512
67cc348d
RM
5513 * include/dirent.h: Declare __getdirentries.
5514
a3f95dcc
RM
5515 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5516 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5517
ca98e171
MF
55182012-08-14 Mike Frysinger <vapier@gentoo.org>
5519
5520 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5521 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5522 * sysdeps/i386/configure: Regenerated.
5523 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5524 STABS_CURRENT_FILE, and STABS_FUN.
5525 (END): Remove call to STABS_FUN_END.
5526 (STABS_CURRENT_FILE1): Delete.
5527 (STABS_CURRENT_FILE): Likewise.
5528 (STABS_FUN): Likewise.
5529 (STABS_FUN_END): Likewise.
5530 (STABS_FUN2): Likewise.
5531 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5532 * sysdeps/x86_64/configure: Regenerated.
5533
5908bf46
RM
55342012-08-14 Roland McGrath <roland@hack.frob.com>
5535
5536 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 5537 * elf/dl-lookup.c: Likewise.
5908bf46 5538
f2c05b9e
JM
55392012-08-14 Joseph Myers <joseph@codesourcery.com>
5540
5541 * sysdeps/unix/sysv/linux/kernel-features.h
5542 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5543 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5544 unconditionally.
5545 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5546 unconditionally.
5547 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5548 condition on __ASSUME_CLONE_THREAD_FLAGS.
5549
e11f5155
AJ
55502012-08-14 Andreas Jaeger <aj@suse.de>
5551
5552 * sysdeps/i386/fpu/libm-test-ulps: Update.
5553
51a9ba86
MK
55542012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5555
2fdd4f78
AJ
5556 * include/atomic.h (atomic_exchange_and_add): Split into ...
5557 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5558 New atomic macros.
51a9ba86 5559
ba6cba9e
MT
55602012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5561
5562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5563
42443a47
JL
55642012-08-13 Jeff Law <law@redhat.com>
5565
5566 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5567 null byte in the output string.
5568
121dce05
JM
55692012-08-10 Joseph Myers <joseph@codesourcery.com>
5570
5571 * sysdeps/unix/sysv/linux/kernel-features.h
5572 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5573 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5574 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5575 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5576 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5577 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5578 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5579
bf51f568
JL
55802012-08-09 Jeff Law <law@redhat.com>
5581
5582 [BZ #13939]
5583 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5584 When avoid_arena is set, don't retry in the that arena. Pick the
5585 next one, whatever it might be.
5586 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5587 (arena_lock): Pass in new parameter to arena_get2.
5588 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5589 arena_get2.
5590 (__libc_malloc): Unify retrying after main arena failure with
5591 __libc_memalign version.
5592 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5593
f85fa270
L
55942012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5595
5596 [BZ #14166]
5597 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5598 to __redirect_strstr.
5599 (__strstr_sse42): Use typeof __redirect_strstr.
5600 (__strstr_ia32): Likewise.
5601 (__libc_strstr): New prototype.
5602 (strstr): Renamed to ...
5603 (__libc_strstr): This.
5604 (strstr): New strong alias of __libc_strstr.
5605 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5606 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5607 __redirect_time.
5608 Include <time.h>.
5609 (__libc_time): New prototype.
5610 (time_ifunc): Replace time with __libc_time.
5611 (time): New strong alias and hidden definition of __libc_time.
5612 (__GI_time): Remove strong alias.
5613 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5614 Include <stddef.h>.
5615 (memmove): Redefined to __redirect_memmove.
5616 (__memmove_sse2): Use typeof __redirect_memmove.
5617 (__memmove_ssse3): Likewise.
5618 (__memmove_ssse3_back): Likewise.
5619 (__libc_memmove): New prototype.
5620 (memmove): Renamed to ...
5621 (__libc_memmove): This.
5622 (memmove): New strong alias of __libc_memmove.
5623
33b4a91e
MS
56242012-08-08 Mark Salter <msalter@redhat.com>
5625
5626 * elf/elf.h
5627 (R_MN10300_TLS_GD): Define.
5628 (R_MN10300_TLS_LD): Likewise.
5629 (R_MN10300_TLS_LDO): Likewise.
5630 (R_MN10300_TLS_GOTIE): Likewise.
5631 (R_MN10300_TLS_IE): Likewise.
5632 (R_MN10300_TLS_LE): Likewise.
5633 (R_MN10300_TLS_DTPMOD): Likewise.
5634 (R_MN10300_TLS_DTPOFF): Likewise.
5635 (R_MN10300_TLS_TPOFF): Likewise.
5636 (R_MN10300_SYM_DIFF): Likewise.
5637 (R_MN10300_ALIGN): Likewise.
5638 (R_MN10300_NUM): Update.
5639
b36137f1
JM
56402012-08-08 Joseph Myers <joseph@codesourcery.com>
5641
5642 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5643 Remove.
5644
cdd915fd
RM
56452012-08-08 Roland McGrath <roland@hack.frob.com>
5646
a2433aac
RM
5647 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5648
cdd915fd
RM
5649 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5650 sysdeps/unix -> sysdeps/posix move.
5651 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5652
bf9b740a
AM
56532012-08-07 Allan McRae <allan@archlinux.org>
5654
5655 [BZ #14303]
5656 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5657 (SUNOS_CPP): Likewise.
5658 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5659 not found.
5660 (open_input): Call CPP using execvp.
5661
93df14ee
JM
56622012-08-07 Joseph Myers <joseph@codesourcery.com>
5663
5664 * sysdeps/unix/sysv/linux/kernel-features.h
5665 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5666 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5667 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5668 (__ASSUME_WAITID_SYSCALL): Likewise.
5669 * sysdeps/unix/sysv/linux/dl-execstack.c
5670 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5671 code unconditional.
5672 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5673 conditional code.
5674 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5675 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5676 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5677 code.
5678 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5679 unconditional.
5680 [__ASSUME_WAITID_SYSCALL]: Likewise.
5681 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5682
d34689de
RM
56832012-08-07 Roland McGrath <roland@hack.frob.com>
5684
a281decc
RM
5685 * sysdeps/unix/closedir.c: Renamed to ...
5686 * sysdeps/posix/closedir.c: ... here.
5687 * sysdeps/unix/dirfd.c: Renamed to ...
5688 * sysdeps/posix/dirfd.c: ... here.
5689 * sysdeps/unix/dirstream.h: Renamed to ...
5690 * sysdeps/posix/dirstream.h: ... here.
5691 * sysdeps/unix/fdopendir.c: Renamed to ...
5692 * sysdeps/posix/fdopendir.c: ... here.
5693 * sysdeps/unix/opendir.c: Renamed to ...
5694 * sysdeps/posix/opendir.c: ... here.
5695 * sysdeps/unix/readdir.c: Renamed to ...
5696 * sysdeps/posix/readdir.c: ... here.
5697 * sysdeps/unix/readdir_r.c: Renamed to ...
5698 * sysdeps/posix/readdir_r.c: ... here.
5699 * sysdeps/unix/rewinddir.c: Renamed to ...
5700 * sysdeps/posix/rewinddir.c: ... here.
5701 * sysdeps/unix/seekdir.c: Renamed to ...
5702 * sysdeps/posix/seekdir.c: ... here.
5703 * sysdeps/unix/telldir.c: Renamed to ...
5704 * sysdeps/posix/telldir.c: ... here.
5705 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5706 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5707 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5708 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5709
22895b47
RM
5710 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5711 * bits/fcntl.h: ... here.
5712
707a53b6
RM
5713 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5714 not 0.
5715 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5716 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5717 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5718 (struct flock): Move l_start, l_len to the beginning.
5719 Use __pid_t for l_pid.
5720 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5721 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5722 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5723 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5724 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5725 [__USE_LARGEFILE64] (struct flock64): New type.
5726 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5727
f0bd3e25
RM
5728 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5729 * bits/dirent.h: ... here.
5730
d34689de
RM
5731 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5732 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5733
6dad2c06
JM
57342012-08-07 Joseph Myers <joseph@codesourcery.com>
5735
5736 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5737 Change from 2.6.0 to 2.6.16.
5738 * sysdeps/unix/sysv/linux/configure: Regenerated.
5739 * sysdeps/unix/sysv/linux/kernel-features.h
5740 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5741 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5742 version.
5743 (__ASSUME_UTIMES): Likewise.
5744 (__ASSUME_CLONE_STOPPED): Remove.
5745 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5746 architectures, not kernel version.
5747 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5748 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5749 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5750 (__ASSUME_WAITID_SYSCALL): Likewise.
5751 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5752 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5753 * README: State 2.6.16 as minimum Linux kernel version. Do not
5754 refer to older versions.
5755
03af9520
RM
57562012-08-06 Roland McGrath <roland@hack.frob.com>
5757
8e49df1d
RM
5758 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5759 Define alphasort64 as an alias.
5760 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5761 Define versionsort64 as an alias.
5762 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5763 Define scandir64 as an alias.
5764 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5765 Define scandirat64 as an alias.
5766 * dirent/alphasort64.c (alphasort64):
5767 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5768 * dirent/versionsort64.c: Likewise.
5769 * dirent/scandir64.c: Likewise.
5770 * dirent/scandirat64.c: Likewise.
5771 * sysdeps/wordsize-64/alphasort.c: File removed.
5772 * sysdeps/wordsize-64/alphasort64.c: File removed.
5773 * sysdeps/wordsize-64/scandir.c: File removed.
5774 * sysdeps/wordsize-64/scandir64.c: File removed.
5775 * sysdeps/wordsize-64/scandirat.c: File removed.
5776 * sysdeps/wordsize-64/scandirat64.c: File removed.
5777 * sysdeps/wordsize-64/versionsort.c: File removed.
5778 * sysdeps/wordsize-64/versionsort64.c: File removed.
5779 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5780 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5781 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5782 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5783 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5784 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5785 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5786 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5787
5788 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5789 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5790 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5791 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5792 [defined __arch64__ || defined __sparcv9]
5793 (__INO_T_MATCHES_INO64_T): New macro.
5794 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5795 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5796 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5797 * sysdeps/unix/sysv/linux/bits/dirent.h
5798 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5799 (_DIRENT_MATCHES_DIRENT64): New macro.
5800
03af9520
RM
5801 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5802 Define lockf64 as an alias.
5803 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5804 Define fseeko64 as an alias.
5805 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5806 Define ftello64 as an alias.
5807 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5808 Define _IO_fgetpos64 and fgetpos64 as aliases.
5809 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5810 Define _IO_fsetpos64 and fsetpos64 as aliases.
5811 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5812 Conditionalize body on this.
5813 * libio/fseeko64.c: Likewise.
5814 * libio/ftello64.c: Likewise.
5815 * libio/iofgetpos64.c: Likewise.
5816 * libio/iofsetpos64.c: Likewise.
5817 * sysdeps/wordsize-64/lockf.c: File removed.
5818 * sysdeps/wordsize-64/lockf64.c: File removed.
5819 * sysdeps/wordsize-64/fseeko.c: File removed.
5820 * sysdeps/wordsize-64/fseeko64.c: File removed.
5821 * sysdeps/wordsize-64/ftello.c: File removed.
5822 * sysdeps/wordsize-64/ftello64.c: File removed.
5823 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5824 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5825 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5826 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5827 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5828 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5829 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5830 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5831 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5832 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5833 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5834 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5835 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5836 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5837
5838 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5839 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5840 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5841 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5842 [defined __arch64__ || defined __sparcv9]
5843 (__OFF_T_MATCHES_OFF64_T): New macro.
5844 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5845 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5846 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5847 (__OFF_T_MATCHES_OFF64_T): New macro.
5848
c5757acd
L
58492012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5850
5851 * stdlib/secure-getenv.c (__secure_getenv): Replace
5852 GLIBC_2_16 with GLIBC_2_17.
5853
3a31811e
L
58542012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5855
5856 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5857 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5858
faa2bccb
DM
58592012-08-03 David S. Miller <davem@davemloft.net>
5860
5861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5862
85fe1997
JM
58632012-08-03 Joseph Myers <joseph@codesourcery.com>
5864
5865 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5866 Remove.
5867 (__ASSUME_CORRECT_SI_PID): Likewise.
5868 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5869 (__ASSUME_TMPFS_NAME): Likewise.
5870 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5871 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5872 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5873 (HAVE_AUX_SECURE): Make definition unconditional.
5874 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5875 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5876
4f75b7a0
RM
58772012-08-03 Roland McGrath <roland@hack.frob.com>
5878
5879 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5880 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5881 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5882 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5883 __eloop_threshold instead of SYMLOOP_MAX.
5884
5885 * sysdeps/generic/eloop-threshold.h: New file.
5886 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5887 of MAXSYMLINKS.
5888 * elf/chroot_canon.c (chroot_canon): Likewise.
5889
7aab07e4
JM
58902012-08-03 Joseph Myers <joseph@codesourcery.com>
5891
5892 [BZ #13717]
5893 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5894 Change to 2.6.0 everywhere.
5895 * sysdeps/unix/sysv/linux/configure: Regenerated.
5896 * sysdeps/unix/sysv/linux/kernel-features.h
5897 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5898 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5899 kernel versions.
5900 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5901 (__ASSUME_FUTEX_REQUEUE): Remove.
5902 (__ASSUME_STATFS64): Define unconditionally.
5903 (__ASSUME_AT_SECURE): Likewise.
5904 (__ASSUME_CORRECT_SI_PID): Likewise.
5905 (__ASSUME_TGKILL): Define without depending on kernel version for
5906 i386.
5907 (__ASSUME_UTIMES): Likewise.
5908 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5909 kernel version.
5910 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5911 (__ASSUME_TMPFS_NAME): Likewise.
5912 * README: Update reference to Linux kernel versions.
5913
b67e9372
MP
59142012-08-02 Marek Polacek <polacek@redhat.com>
5915
1f529f7d 5916 [BZ# 14150]
b67e9372
MP
5917 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5918 libc_cv_asm_type_prefix with %.
5919 * configure: Regenerated.
d2441631
RM
5920 * include/libc-symbols.h: Remove comment about
5921 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5922 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5923 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5924 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5925 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5926 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5927 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5928 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5929 * elf/tst-unique2mod1.c: Likewise.
5930 * elf/tst-unique1mod2.c: Likewise.
5931 * elf/tst-unique1mod1.c: Likewise.
5932 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5933 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5934 Replace ASM_TYPE_DIRECTIVE with .type.
5935 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5936 * sysdeps/i386/sysdep.h: Likewise.
5937 * sysdeps/x86_64/sysdep.h: Likewise.
5938 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5940 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5941 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5942 * sysdeps/powerpc/powerpc32/sysdep.h:
5943 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5944 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5945 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5946 * sysdeps/i386/fpu/e_powf.S: Likewise.
5947 * sysdeps/i386/fpu/e_expl.S: Likewise.
5948 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5949 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5950 * sysdeps/i386/fpu/e_pow.S: Likewise.
5951 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5952 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5953 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5954 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5955 * sysdeps/i386/fpu/e_log2.S: Likewise.
5956 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5957 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5958 * sysdeps/i386/fpu/e_powl.S: Likewise.
5959 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5960 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5961 * sysdeps/i386/fpu/e_logl.S: Likewise.
5962 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5963 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5964 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5965 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5966 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5967 * sysdeps/i386/fpu/e_log.S: Likewise.
5968 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5969 * sysdeps/i386/fpu/e_logf.S: Likewise.
5970 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5971 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5972 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5973 * sysdeps/i386/fpu/e_log10.S: Likewise.
5974 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5975 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5976 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5977 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5978 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5979 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5980 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5981 * sysdeps/i386/i686/strtok.S: Likewise.
5982 * sysdeps/i386/i386-mcount.S: Likewise.
5983 * sysdeps/i386/strtok.S: Likewise.
5984 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5985 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5986 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5987 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5988 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5989 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5990 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5991 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5992 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5993 * sysdeps/x86_64/_mcount.S: Likewise.
5994 * sysdeps/x86_64/strtok.S: Likewise.
5995 * sysdeps/sh/_mcount.S: Likewise.
5996
2747bf9a
RM
59972012-08-01 Roland McGrath <roland@hack.frob.com>
5998
5999 * libio/iofopen.c: Include <fcntl.h>.
6000 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6001 (_IO_fopen64, fopen64): Define as aliases.
6002 * libio/iofopen64.c: Include <fcntl.h>.
6003 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6004 Conditionalize body on this.
6005 * sysdeps/wordsize-64/iofopen.c: File removed.
6006 * sysdeps/wordsize-64/iofopen64.c: File removed.
6007
3fb791b8
MP
60082012-08-01 Marek Polacek <polacek@redhat.com>
6009
6010 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6011 Use dlfcn directly instead of a variable.
6012 (binfmt-subdir): Do not define.
6013 (dlfcn): Likewise.
6014
a9f1039f
JM
60152012-08-01 Joseph Myers <joseph@codesourcery.com>
6016
23bddc06
JM
6017 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6018 Remove all definitions.
6019 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6020 <kernel-features.h>.
6021 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6022 (miss_F_GETOWN_EX): Remove all definitions.
6023 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6024 macro definition.
6025 [!__ASSUME_FCNTL64]: Remove conditional code.
6026 [__ASSUME_FCNTL64]: Make code unconditional.
6027 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6028 <kernel-features.h>.
6029 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6030 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6031 (lockf64) [__NR_fcntl64]: Make code unconditional.
6032 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6033
a9f1039f
JM
6034 * sysdeps/unix/sysv/linux/kernel-features.h
6035 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6036 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6037 Make code unconditional.
6038 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6039 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6041 [__NR_vfork]: Make code unconditional.
6042 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6043 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6045 [__NR_vfork]: Make code unconditional.
6046 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6047 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6048
09c0ee5f
RM
60492012-08-01 Roland McGrath <roland@hack.frob.com>
6050
48aec5b9
RM
6051 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6052 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6053
cd97c966
RM
6054 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6055 Define mkstemp64 as an alias.
3f55550c
RM
6056 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6057 Define mkstemps64 as an alias.
cd97c966
RM
6058 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6059 Define mkostemp64 as an alias.
b8625cfc
RM
6060 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6061 Define mkostemps64 as an alias.
cd97c966
RM
6062 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6063 Conditionalize body on this.
6064 * misc/mkostemp64.c: Likewise.
b8625cfc 6065 * misc/mkostemps64.c: Likewise.
3f55550c 6066 * misc/mkstemps64.c: Likewise.
cd97c966
RM
6067 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6068 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6069 * sysdeps/wordsize-64/mkostemp.c: File removed.
6070 * sysdeps/wordsize-64/mkstemp.c: File removed.
6071 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6072 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6073 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6074 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6075
09c0ee5f
RM
6076 [BZ #14138]
6077 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6078 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6079 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6080 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6081
6082 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6083 compat_symbol macros from <shlib-compat.h> rather than the underlying
6084 default_symbol_version and symbol_version macros, so that DEFAULT
6085 lines in shlib-versions are respected.
6086 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6087
7e66ee51
FW
60882012-08-01 Florian Weimer <fweimer@redhat.com>
6089
6090 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6091 Declare with warn_unused_result.
6092 (setgid, setregid, setegid, setresgid): Likewise.
6093 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6094 Likewise.
6095 * WUR-REPORT: Remove set*id functions.
6096
d2a54255
PT
60972012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6098
6099 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6100
7ecdb005
RM
61012012-07-31 Roland McGrath <roland@hack.frob.com>
6102
789bd351
RM
6103 * include/sys/socket.h (__libc_accept, __libc_accept4):
6104 Add attribute_hidden.
6105 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6106
40ce302d
RM
6107 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6108 use of PTR_MANGLE.
6109 * inet/getnetgrent_r.c (setup): Likewise.
6110
7ecdb005
RM
6111 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6112
e2eabb2c
DM
61132012-07-31 David S. Miller <davem@davemloft.net>
6114
6115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6116
d0419dbf
JM
61172012-07-31 Joseph Myers <joseph@codesourcery.com>
6118
6119 [BZ #13629]
6120 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6121 value between 1.0 and 2.0 and smaller part has absolute value less
6122 than 1.0.
6123 * math/s_clog10.c (__clog10): Likewise.
6124 * math/s_clog10f.c (__clog10f): Likewise.
6125 * math/s_clog10l.c (__clog10l): Likewise.
6126 * math/s_clogf.c (__clogf): Likewise.
6127 * math/s_clogl.c (__clogl): Likewise.
6128 * math/libm-test.inc (clog_test): Add more tests.
6129 (clog10_test): Likewise.
6130 * sysdeps/i386/fpu/libm-test-ulps: Update.
6131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6132
2bc13872
FW
61332012-07-31 Florian Weimer <fweimer@redhat.com>
6134
6135 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6136 Exit with zero in case no suitable GID is found, and write a
6137 message to standard error.
6138
bea9b193
RM
61392012-07-30 Roland McGrath <roland@hack.frob.com>
6140
6141 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6142 rather than to 1.
6143 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6144 (MAXPATHLEN): Removed.
6145 (NOGROUP, NODEV): New macros.
6146 (setbit, clrbit, isset, isclr): New macros.
6147 (howmany, roundup, powerof2): New macros.
6148 (DEV_BSIZE): New macro.
6149
6150 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6151 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6152
6153 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6154 definition on [!__NO_LONG_DOUBLE_MATH].
6155
6156 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6157 PTR_MANGLE and PTR_DEMANGLE.
6158
6159 * socket/accept4.c (accept4): Rename to __libc_accept4.
6160 Define accept4 as a weak alias.
6161
6162 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6163 on [_DIRENT_HAVE_D_TYPE].
6164 * io/ftw.c (ftw_dir): Likewise.
6165
6166 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6167
6168 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6169
6170 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6171 Use the BSD numbers rather than the arbitrary ones we had.
6172 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6173 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6174 (SIGXCPU, SIGXFSZ): New macros.
6175 (_NSIG): Now 32.
6176
6177 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6178 initializer on [_LIBC_REENTRANT].
6179
6180 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6181 definitions inside [_POSIX_MAPPED_FILES].
6182
6183 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6184
6185 * dirent/opendir.c: Include <fcntl.h>.
6186
6187 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6188 (__libc_getspecific): Likewise.
6189 (__libc_key_create): Likewise.
6190
6191 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6192 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6193 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6194 (tmpfile64): Define as alias.
6195 * sysdeps/wordsize-64/tmpfile.c: File removed.
6196 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6197 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6198 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6199
6200 * stdio-common/vfscanf.c: Include <stdbool.h>.
6201 * nss/makedb.c: Likewise.
6202 * stdio-common/_i18n_number.h: Likewise.
6203 * argp/argp-help.c: Likewise.
6204 * posix/wordexp.c: Likewise.
6205 * sysdeps/posix/spawni.c: Likewise.
6206 * nss/nss_files/files-initgroups.c: Likewise.
6207 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6208 * nss/nss_files/files-initgroups.c: Likewise.
6209 * nss/nss_db/db-netgrp.c: Likewise.
6210 * nss/nss_db/db-initgroups.c: Likewise.
6211 * io/fchmodat.c: Include <sys/stat.h>.
6212
6213 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6214 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6215
6216 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6217 [HAVE_MMAP].
6218
6219 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6220 Add multiple inclusion protection.
6221
e5abc686
DM
62222012-07-27 David S. Miller <davem@davemloft.net>
6223
6224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6225
815e6fa3
GB
62262012-07-27 Gary Benson <gbenson@redhat.com>
6227
6228 [BZ #14298]
6229 * elf/rtld.c: Include <stap-probe.h>.
6230 (dl_main): Added static probes "init_start" and "init_complete".
6231 * elf/dl-load.c: Include <stap-probe.h>.
6232 (lose): Take new parameter "nsid".
6233 Added static probe "map_failed".
6234 (_dl_map_object_from_fd): Pass namespace id to lose.
6235 Added static probe "map_start".
6236 (open_verify): Pass namespace id to lose.
6237 * elf/dl-open.c: Include <stap-probe.h>.
6238 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6239 and "reloc_complete".
6240 * elf/dl-close.c: Include <stap-probe.h>.
6241 (_dl_close_worker): Added static probes "unmap_start" and
6242 "unmap_complete".
6243 * elf/rtld-debugger-interface.txt: New file documenting the above.
6244
9f98c16c
RM
62452012-07-26 Roland McGrath <roland@hack.frob.com>
6246
6247 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6248 rather than a string variable.
6249 * sunrpc/rpc_main.c (h_output): Likewise.
6250 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6251
f3c22df3
PT
62522012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6253
6254 * inet/check_native.c: New file.
6255
3129cfc6
JM
62562012-07-26 Joseph Myers <joseph@codesourcery.com>
6257
da865e95
JM
6258 [BZ #13629]
6259 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6260 if larger part has absolute value 1.0.
6261 * math/s_clog10.c (__clog10): Likewise.
6262 * math/s_clog10f.c (__clog10f): Likewise.
6263 * math/s_clog10l.c (__clog10l): Likewise.
6264 * math/s_clogf.c (__clogf): Likewise.
6265 * math/s_clogl.c (__clogl): Likewise.
6266 * math/libm-test.inc (clog_test): Add more tests.
6267 (clog10_test): Likewise.
6268 * sysdeps/i386/fpu/libm-test-ulps: Update.
6269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6270
3129cfc6
JM
6271 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6272 (pltexit): Likewise.
6273 (La_regs): Likewise.
6274 (La_retval): Likewise.
6275 (int_retval): Likewise.
6276 Update #error for removed macros to refer only to definitions in
6277 tst-audit.h.
6278 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6279 macro.
6280 (pltexit): Likewise.
6281 (La_regs): Likewise.
6282 (La_retval): Likewise.
6283 (int_retval): Likewise.
6284 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6285 macro.
6286 (pltexit): Likewise.
6287 (La_regs): Likewise.
6288 (La_retval): Likewise.
6289 (int_retval): Likewise.
6290 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6291 macro.
6292 (pltexit): Likewise.
6293 (La_regs): Likewise.
6294 (La_retval): Likewise.
6295 (int_retval): Likewise.
6296 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6297 macro.
6298 (pltexit): Likewise.
6299 (La_regs): Likewise.
6300 (La_retval): Likewise.
6301 (int_retval): Likewise.
6302 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6303 macro.
6304 (pltexit): Likewise.
6305 (La_regs): Likewise.
6306 (La_retval): Likewise.
6307 (int_retval): Likewise.
6308 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6309 macro.
6310 (pltexit): Likewise.
6311 (La_regs): Likewise.
6312 (La_retval): Likewise.
6313 (int_retval): Likewise.
6314 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6315 macro definitions in tst-audit.h.
6316 * sysdeps/i386/tst-audit.h: New file.
6317 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6318 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6319 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6320 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6321 * sysdeps/sh/tst-audit.h: Likewise.
6322 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6323 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6324 * sysdeps/x86_64/tst-audit.h: Likewise.
6325
bfc07087
AJ
63262012-07-26 Andreas Jaeger <aj@suse.de>
6327
b1b2aaf8
AJ
6328 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6329 ptrace.
6330
6331 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6332 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6333 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6334 PTRACE_O_MASK.
6335 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6336 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6337 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6338
bfc07087
AJ
6339 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6340 value.
6341
6342 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6343 _sigsys.
6344 (si_call_addr, si_syscall, si_arch): Define new macro.
6345 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6346 _sigsys.
6347 (si_call_addr, si_syscall, si_arch): Define new marcro.
6348 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6349 _sigsys.
6350 (si_call_addr, si_syscall, si_arch): Define new macro.
6351 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6352 _sigsys.
6353 (si_call_addr, si_syscall, si_arch): Define new macro.
6354
89b4b02f
JM
63552012-07-25 Joseph Myers <joseph@codesourcery.com>
6356
6357 [BZ #13717]
6358 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6359 Change to 2.4.21 where previously 2.4.1.
6360 * sysdeps/unix/sysv/linux/configure: Regenerated.
6361 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6362 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6363 Linux kernel version.
6364 (__ASSUME_STD_AUXV): Remove.
6365 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6366 kernel version.
6367 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6368 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6369 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6370 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6371 (__ASSUME_NETLINK_SUPPORT): Likewise.
6372 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6373 (__no_netlink_support): Remove conditional definition.
6374 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6375 Remove.
6376 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6377 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6378 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6379 (if_nameindex_ioctl): Remove.
6380 (if_nameindex_netlink): Do not handle __no_netlink_support.
6381 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6382 code.
6383 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6384 Remove conditional code.
6385 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6386 code.
6387 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6388 unconditional.
6389 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6390 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6391 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6392 Remove.
6393 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6394 [!__ASSUME_STD_AUXV]: Remove conditional code.
6395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6396 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6397 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6399 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6400 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6401 code.
6402 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6404 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6405 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6406 conditional code.
6407 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6409 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6410 code.
6411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6412 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6413 conditional code.
6414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6415 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6416 code unconditional.
6417 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6418 conditional code.
6419 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6420 unconditional.
6421 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6422 conditional code.
6423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6424 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6425 unconditional.
6426 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6427 conditional code.
6428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6429 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6430 code unconditional.
6431 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6432 conditional code.
6433 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6434 unconditional.
6435 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6436 conditional code.
6437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6438 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6439 code unconditional.
6440 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6441 conditional code.
6442 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6443 unconditional.
6444 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6445 conditional code.
6446
842a39cd
AS
64472012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6448
6449 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6450 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6451 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6452 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6453 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6454 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6455 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6456 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6457 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6458 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6459 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6460 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6461 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6462 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6463 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6464 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6465 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6466 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6467 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6468 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6469 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6470 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6471 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6472
84b3fd84
FW
64732012-07-25 Florian Weimer <fweimer@redhat.com>
6474
6475 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
6476 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6477 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6478 Introduce __libc_secure_getenv.
0c7936d5
FW
6479 * stdlib/Versions (2.17): Add secure_getenv
6480 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6481 * stdlib/secure-getenv.c: Rename __secure_getenv to
6482 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6483 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
6484 * stdlib/tst-secure-getenv.c: New.
6485 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
6486 * manual/startup.texi (Environment Access): Document
6487 secure_getenv.
84b3fd84
FW
6488 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6489 __libc_secure_getenv.
6490 * inet/ruserpass.c (ruserpass): Likewise.
6491 * malloc/mtrace.c (mtrace): Likewise.
6492 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 6493 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
6494 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6495 * sysdeps/posix/tempname.c: Likewise. Evaluate
6496 HAVE_SECURE_GETENV.
6497 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 6498 __secure_getenv to __libc_secure_getenv.
84b3fd84 6499 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
6500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6501 Likewise.
6502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6503 Likewise.
6504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6506 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 6511
56e49b71
JM
65122012-07-25 Joseph Myers <joseph@codesourcery.com>
6513
6514 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6515 (struct La_i86_retval): Likewise.
6516 (struct La_x86_64_regs): Likewise.
6517 (struct La_x86_64_retval): Likewise.
6518 (struct La_x32_regs): Likewise.
6519 (struct La_x32_retval): Likewise.
6520 (struct La_ppc32_regs): Likewise.
6521 (struct La_ppc32_retval): Likewise.
6522 (struct La_ppc64_regs): Likewise.
6523 (struct La_ppc64_retval): Likewise.
6524 (struct La_sh_regs): Likewise.
6525 (struct La_sh_retval): Likewise.
6526 (struct La_s390_32_regs): Likewise.
6527 (struct La_s390_32_retval): Likewise.
6528 (struct La_s390_64_regs): Likewise.
6529 (struct La_s390_64_retval): Likewise.
6530 (struct La_sparc32_regs): Likewise.
6531 (struct La_sparc32_retval): Likewise.
6532 (struct La_sparc64_regs): Likewise.
6533 (struct La_sparc64_retval): Likewise.
6534 (struct audit_ifaces): Remove architecture-specific pltenter and
6535 pltexit members.
6536 * sysdeps/i386/ldsodefs.h: New file.
6537 * sysdeps/powerpc/ldsodefs.h: Likewise.
6538 * sysdeps/s390/ldsodefs.h: Likewise.
6539 * sysdeps/sh/ldsodefs.h: Likewise.
6540 * sysdeps/sparc/ldsodefs.h: Likewise.
6541 * sysdeps/x86_64/ldsodefs.h: Likewise.
6542
354691b7
MP
65432012-07-25 Marek Polacek <polacek@redhat.com>
6544
6545 [BZ #6808]
6546 * math/libm-test.inc (yn_test): Add another test.
6547 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6548 to ERANGE when the result is +-Inf.
6549 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6550 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6551 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6552 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6553
bf9e2071
JM
65542012-07-24 Joseph Myers <joseph@codesourcery.com>
6555
6556 * conform/data/time.h-data (NULL): Use macro-constant. Require
6557 equal to 0.
6558 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6559 clock_t.
6560 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6561
57633811
TS
65622012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6563
6564 * configure.in <sysdeps resolving>: Correct printing
6565 Implies_before.
6566 * configure: Regenerate.
6567
c23c33b0
TS
65682012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6569
6570 * math/w_ilogb.c: Include <limits.h>.
6571 * math/w_ilogbl.c: Likewise.
6572
b5982523
JM
65732012-07-20 Joseph Myers <joseph@codesourcery.com>
6574
6575 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6576 va_copy. Document allowing for unavailable va_copy only as
6577 pre-C99 compatibility.
6578 * manual/string.texi (Copying and Concatenation): Use va_copy
6579 instead of __va_copy in concat example.
6580
ac4ea442
PT
65812012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6582
6583 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6584 (__sendto): Use create_address_port. Initialize APORT and deallocate
6585 it if not null.
6586
f98eafbd
PT
6587 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6588 with O_NOLINK passed to __file_name_lookup.
6589
898c7aab
PT
6590 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6591 with O_NOLINK passed to __file_name_lookup.
6592
0ced335a
PT
6593 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6594 negative N or less than NGIDS.
6595
b3404dbd
PT
6596 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6597 type to string_t. Set ERANGE as errno and return it if NAME is not big
6598 enough. Use memcpy instead of strncpy.
6599
0f48659e
JM
66002012-07-20 Joseph Myers <joseph@codesourcery.com>
6601
6602 * elf/Makefile (check-data): Remove.
6603 (localplt.data): New vpath directive.
6604 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6605 instead of $(check-data).
6606 * scripts/data/localplt-generic.data: Move to ...
6607 * sysdeps/generic/localplt.data: ... here.
6608 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6609 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6610 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6612 ... here.
6613 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6615 ... here.
6616 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6618 ... here.
6619 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6621 ... here.
6622 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6624 ... here.
6625 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6627 ... here.
6628
d37cbdaa
AZ
66292012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6630
6631 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6632 PPC32 and PPC64 files.
6633 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6634 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6635
46f85fc2
AK
66362012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6637
6638 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6639 __makecontext_ret to ...
6640 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6641 ... here and call exit if uc_link is NULL. New file.
6642 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6643 __makecontext_ret.S.
6644 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6645 __makecontext_ret to ...
6646 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6647 ... here and call exit if uc_link is NULL. New file.
6648 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6649 __makecontext_ret.S.
6650
08f43f9b
AK
66512012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6652
6653 * elf/elf.h (R_390_IRELATIVE): New definition.
6654 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6655 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6656 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6657 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6658 (elf_machine_lazy_rel): Likewise.
6659 * sysdeps/s390/dl-irel.h: New file.
6660 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6661 * sysdeps/s390/s390-64/memset.S: New asm code.
6662 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6663 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6664 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6665 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6666 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6667 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6668 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6669 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6670 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6671 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6672 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6673 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6674 * sysdeps/s390/s390-32/memset.S: New asm code.
6675 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6676
3b05db33
MP
66772012-07-17 Marek Polacek <polacek@redhat.com>
6678
6679 [BZ #14349]
6680 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6681 * sysdeps/s390/s390-64/configure.in: Likewise.
6682 * sysdeps/sparc/configure.in: Likewise.
6683 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6684 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6685 * sysdeps/i386/configure.in: Likewise.
6686 * sysdeps/x86_64/configure.in: Likewise.
6687 * sysdeps/sh/configure.in: Likewise.
6688 * sysdeps/s390/s390-32/configure: Regenerated.
6689 * sysdeps/s390/s390-64/configure: Likewise.
6690 * sysdeps/x86_64/configure: Likewise.
6691 * sysdeps/sh/configure: Likewise.
6692 * sysdeps/powerpc/powerpc64/configure: Likewise.
6693 * sysdeps/powerpc/powerpc32/configure: Likewise.
6694 * sysdeps/sparc/configure: Likwise.
6695 * sysdeps/i386/configure: Likewise.
6696
a66877c6
MP
6697 * elf/dl-open.c: Comment fixes.
6698
cfc82fd8
JM
66992012-07-17 Joseph Myers <joseph@codesourcery.com>
6700
bd29910a
JM
6701 * Makefile [CXX] (check-data): Remove.
6702 [CXX] (c++-types.data): New vpath directive.
6703 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6704 vpath. Do not allow for C++ type data being missing.
6705 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6706 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6707 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6708 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6709 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6710 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6711 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6713 ... here.
6714 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6716 ... here.
6717 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6719 ... here.
6720 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6722 ... here.
6723 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6725 ... here.
6726 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6728 ... here.
6729 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6731 ... here.
6732 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6734
cfc82fd8
JM
6735 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6736 definitions to architecture-specific files.
6737 (TLS_IE): Likewise.
6738 (TLS_LD): Likewise.
6739 (TLS_GD): Likewise.
6740 * sysdeps/i386/tls-macros.h: New file.
6741 * sysdeps/powerpc/tls-macros.h: Likewise.
6742 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6743 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6744 * sysdeps/sh/tls-macros.h: Likewise.
6745 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6746 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6747 * sysdeps/x86_64/tls-macros.h: Likewise.
6748
f7db3170
TS
67492012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6750
07cbfc23
TS
6751 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6752 zero value for regular exit case.
6753
f7db3170
TS
6754 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6755 (__start_context): Preserve zero value for regular exit case.
6756
dc97c227
TS
67572012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6758 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6759
6760 * manual/setjmp.texi (setcontext): Clarify normal process
6761 termination when uc_link is the null pointer.
6762 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6763 exit call.
6764
d0cd7d02
AS
67652012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6766
6767 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6768 preprocessor. Test for each exception mask separately.
6769
dd318934
AJ
67702012-07-16 Andreas Jaeger <aj@suse.de>
6771
6772 * po/ru.po: Update from translation team.
6773
8048311a
JM
67742012-07-15 Joseph Myers <joseph@codesourcery.com>
6775
6776 * conform/data/string.h-data (NULL): Use macro-constant. Require
6777 equal to 0.
6778 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6779 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6780 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6781 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6782 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6783
b637d46e
AJ
67842012-07-13 Andreas Jaeger <aj@suse.de>
6785
6786 * po/fr.po: Update from translation team.
6787
541428fe
MP
67882012-07-12 Marek Polacek <polacek@redhat.com>
6789
6790 [BZ #14173]
6791 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6792 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6793 loop condition.
6794
ec332e94
JM
67952012-07-12 Joseph Myers <joseph@codesourcery.com>
6796
6797 [BZ #13717]
6798 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6799 Change to 2.4.1 where previously 2.4.0.
6800 * sysdeps/unix/sysv/linux/configure: Regenerated.
6801 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6802 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6803 version.
6804 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6805 (__ASSUME_AT_CLKTCK): Remove.
6806 (__ASSUME_AT_PAGESIZE): Likewise.
6807 (__ASSUME_AT_XID): Likewise.
6808 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6809 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6810 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6811 unconditionally.
6812 (HAVE_AUX_PAGESIZE): Likewise.
6813 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6814 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6815 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6816
7b6e99be
JB
68172012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6818
6819 [BZ #14307]
6820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6821 the temporary buffer used to invoke __gethostbyname2_r,
6822 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6823 host_data / struct gaih_addrtuple.
6824 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6825 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6826 header file nss/nsswitch.h.
6827 * nss/nsswitch.h (global scope): Add definition of implementation
6828 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6829 resolv/nss_dns/dns-host.c).
6830
608404eb
AJ
68312012-07-11 Andreas Jaeger <aj@suse.de>
6832
6833 * po/fr.po: Update from translation team.
6834
71220aca
AJ
6835 * po/sv.po: Update from translation team
6836 * po/fr.po: Another update from translation team.
6837
28cfe843
AZ
68382012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6839
6840 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6841 for subnormals or multiply small sinh result by itself.
6842 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6844
6b90f981
DM
68452012-07-11 David S. Miller <davem@davemloft.net>
6846
6847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6848
c6825772
AS
68492012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6850
6851 [BZ #14347]
6852 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6853 (INTERNAL_MARK): Shift it here.
6854
7b8e0d49
MP
68552012-07-10 Marek Polacek <polacek@redhat.com>
6856
6857 [BZ #14151]
6858 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6859 libc_cv_asm_global_directive with .globl.
6860 * configure: Regenerated.
6861 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6862 with .globl.
6863 * sysdeps/i386/configure: Regenerated.
6864 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6865 with .globl.
6866 * sysdeps/x86_64/configure: Regenerated.
6867 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6868 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6869 * elf/tst-unique2mod2.c: Likewise.
6870 * elf/tst-unique2mod1.c: Likewise.
6871 * elf/tst-unique1mod2.c: Likewise.
6872 * elf/tst-unique1mod1.c: Likewise.
6873 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6874 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6875 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6876 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6877 * sysdeps/mach/sysdep.h: Likewise.
6878 * sysdeps/i386/sysdep.h: Likewise.
6879 * sysdeps/i386/i386-mcount.S: Likewise.
6880 * sysdeps/x86_64/_mcount.S: Likewise.
6881 * sysdeps/x86_64/sysdep.h: Likewise.
6882 * sysdeps/sh/_mcount.S: Likewise.
6883 * sysdeps/sh/sysdep.h: Likewise.
6884 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6885 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6886 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6887 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6888 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6889 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6890 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6891 * locale/localeinfo.h: Likewise.
6892 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6893 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6894
6c55cda3
RM
68952012-07-09 Roland McGrath <roland@hack.frob.com>
6896
6897 [BZ #14336]
6898 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6899 system".
6900 * manual/message.texi (The Uniforum approach): Likewise.
6901 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6902 (glibc iconv Implementation): Likewise.
6903
638a572e
JM
69042012-07-09 Joseph Myers <joseph@codesourcery.com>
6905
6906 [BZ #14337]
6907 * math/s_clog.c (__clog): Avoid scaling a value down where that
6908 could result in underflow.
6909 * math/s_clog10.c (__clog10): Likewise.
6910 * math/s_clog10f.c (__clog10f): Likewise.
6911 * math/s_clog10l.c (__clog10l): Likewise.
6912 * math/s_clogf.c (__clogf): Likewise.
6913 * math/s_clogl.c (__clogl): Likewise.
6914 * math/libm-test.inc (clog_test): Add more tests.
6915 (clog10_test): Likewise.
6916 * sysdeps/i386/fpu/libm-test-ulps: Update.
6917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6918
261f4859
AS
69192012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6920
0abaf3e4
AS
6921 [BZ #14283]
6922 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6923 by 7 not 8 to examine high bit of fractional part.
6924
261f4859
AS
6925 [BZ #14042]
6926 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6927 for call to __mcount_internal.
6928 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6929 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6930 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6931
f17ac40d
JM
69322012-07-06 Joseph Myers <joseph@codesourcery.com>
6933
9ad63c23
JM
6934 [BZ #14154]
6935 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6936 approximation for values within 0x1p-13f of an odd multiple of
6937 pi/4.
6938 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6939 exception. Add more tests.
6940 * sysdeps/i386/fpu/libm-test-ulps: Update.
6941
f17ac40d
JM
6942 [BZ #6778]
6943 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6944 inputs and return -1 for them. Do not check for +Inf in case not
6945 reachable for +Inf.
6946 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6947 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6948 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6949 and return -1 for them. Do not check for +Inf in case not
6950 reachable for +Inf.
6951 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6952 define.
6953 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6954 and return -1 for them. Do not check for +Inf in case not
6955 reachable for +Inf.
6956 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6957 spurious underflow.
6958 * sysdeps/i386/fpu/libm-test-ulps: Update.
6959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6960
fb21f89b
MF
69612012-07-06 Mike Frysinger <vapier@gentoo.org>
6962
6963 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6964
cdfe2c5e
JM
69652012-07-05 Joseph Myers <joseph@codesourcery.com>
6966
6967 [BZ #14157]
6968 [BZ #14331]
6969 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6970 could result in spurious underflow. Scale down values above
6971 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6972 * math/s_csqrtf.c (__csqrtf): Likewise.
6973 * math/s_csqrtl.c (__csqrtl): Likewise.
6974 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6975 spurious underflow.
6976 * sysdeps/i386/fpu/libm-test-ulps: Update.
6977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6978
70d35b67
AS
69792012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6980
704bc459
AS
6981 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6982 xopen-msg.sed.
6983 * catgets/xopen-msg.awk: New file.
6984 * catgets/xopen-msg.sed: Removed.
6985
70d35b67
AS
6986 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6987 po2text.sed.
6988 * intl/po2test.awk: New file.
6989 * intl/po2test.sed: Removed.
6990
ca61cf32
JM
69912012-07-04 Joseph Myers <joseph@codesourcery.com>
6992
6993 [BZ #14328]
6994 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6995 or multiply small sinh result by itself.
6996 * math/s_ctanf.c (__ctanf): Likewise.
6997 * math/s_ctanh.c (__ctanh): Likewise.
6998 * math/s_ctanhf.c (__ctanhf): Likewise.
6999 * math/s_ctanhl.c (__ctanhl): Likewise.
7000 * math/s_ctanl.c (__ctanl): Likewise.
7001 * math/libm-test.inc (ctan_test_tonearest): New function.
7002 (ctan_test_towardzero): Likewise.
7003 (ctan_test_downward): Likewise.
7004 (ctan_test_upward): Likewise.
7005 (ctanh_test_tonearest): Likewise.
7006 (ctanh_test_towardzero): Likewise.
7007 (ctanh_test_downward): Likewise.
7008 (ctanh_test_upward): Likewise.
7009 (main): Call these new functions.
7010 * sysdeps/i386/fpu/libm-test-ulps: Update.
7011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7012
ca48a46a
MF
70132012-07-03 Mike Frysinger <vapier@gentoo.org>
7014
7015 * .gitignore: Delete /ports entry.
7016
9d63d37d
AJ
70172012-07-03 Andreas Jaeger <aj@suse.de>
7018
7019 * po/bg.po: Update from translation team.
7020 * po/cs.po: Likewise.
7021 * po/de.po: Likewise.
7022 * po/hr.po: Likewise.
7023 * po/nl.pl: Likewise.
7024 * po/pl.po: Likewise.
7025 * po/vi.po: Likewise.
7026
370ca3d2
JM
70272012-07-03 Joseph Myers <joseph@codesourcery.com>
7028
95f5a9a8
JM
7029 * Makeconfig [!+link] (+link-before-libc): New variable.
7030 [!+link] (+link-after-libc): Likewise.
7031 [!+link] (+link-tests): Likewise.
7032 [!+link] (+link): Define in terms of $(+link-before-libc) and
7033 $(+link-after-libc).
7034 [!+link-static] (+link-static-before-libc): New variable.
7035 [!+link-static] (+link-static-after-libc): Likewise.
7036 [!+link-static] (+link-static-tests): Likewise.
7037 [!+link-static] (+link-static): Define in terms of
7038 $(+link-static-before-libc) and $(+link-static-after-libc).
7039 [build-shared] (link-libc-before-gnulib): New variable.
7040 [build-shared] (link-libc-tests): Likewise.
7041 [build-shared] (link-libc): Define in terms of
7042 $(link-libc-before-gnulib).
7043 [!build-shared] (link-libc-tests): New variable.
7044 (link-libc-static-tests): New variable.
7045 [!gnulib] (gnulib-arch): New variable.
7046 [!gnulib] (gnulib-tests): Likewise.
7047 [!gnulib] (static-gnulib-arch): Likewise.
7048 [!gnulib] (static-gnulib-tests): Likewise.
7049 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7050 Define with "=" instead of ":=".
7051 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7052 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7053 * Rules (binaries-all-notests): New variable.
7054 (binaries-all-tests): Likewise.
7055 (binaries-static-notests): Likewise.
7056 (binaries-static-tests): Likewise.
7057 (binaries-all): Define using $(binaries-all-notests) and
7058 $(binaries-all-tests).
7059 (binaries-static): Define using $(binaries-static-notests) and
7060 $(binaries-static-tests).
7061 (binaries-shared-tests): New variable.
7062 (binaries-shared-notests): Likewise.
7063 (binaries-shared): Remove variable.
7064 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7065 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7066 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7067 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7068 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7069 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7070 * elf/Makefile (sln-modules): New variable.
7071 (extra-objs): Add $(sln-modules:=.o).
7072 (ldconfig-modules): Add static-stubs.
7073 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7074 * elf/static-stubs.c: New file.
7075
7a845b2c
JM
7076 [BZ #14283]
7077 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7078 by 7 not 8 to examine high bit of fractional part. Use volatile
7079 variables when splitting into final array of floats if
7080 __FLT_EVAL_METHOD__ != 0.
7081 * math/libm-test.inc (cos_test): Add another test.
7082 (sin_test): Likewise.
7083 * sysdeps/i386/fpu/libm-test-ulps: Update.
7084
e2283f38
JM
7085 [BZ #14273]
7086 * math/libm-test.inc (cosh_test): Add more tests.
7087
370ca3d2
JM
7088 * version.h (RELEASE): Set to "development".
7089 (VERSION): Set to "2.16.90".
7090
ee9247c3
CD
70912012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7092
7093 * NEWS: Update copyright. Remove last-updated date.
7094 Mention math library bug fixes and timezone data changes.
7095 * README: Mention GNU/Hurd, x32, and HPPA support status.
7096
4648c381
TS
70972012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7098
7099 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7100
aac78a43
AJ
71012012-06-27 Andreas Jaeger <aj@suse.de>
7102
7103 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7104
ed3dbfad
AJ
71052012-06-25 Andreas Jaeger <aj@suse.de>
7106
7107 * sysdeps/s390/fpu/libm-test-ulps: Update.
7108
4d0ee855
AS
71092012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7110 Thomas Schwinge <thomas@codesourcery.com>
7111
7112 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7113 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7114 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7115 fanotify_mark.
7116
af1bce34
TS
71172012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7118
a9fa33ba
TS
7119 * sysdeps/mach/start.c: Remove file.
7120 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7121 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7122 * sysdeps/sh/init-first.c: Likewise.
7123
58f902b8
TS
7124 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7125 registers for frame unwinding purposes, add CFI directives.
7126 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7127 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7128 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7129 Likewise.
7130
1518f58b
TS
7131 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7132 __fortify_fail returning.
7133 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7134
db9b5059
TS
7135 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7136 sysdeps/sh/____longjmp_chk.S.
7137 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7138 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7139 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7140 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7141
967705fe
TS
7142 * sysdeps/sh/abort-instr.h: New file.
7143 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7144 process in case exit returns.
7145
a9def8c4
TS
7146 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7147 initialize the GOT register before use.
7148
2a649725
TS
7149 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7150 calculation of ARGC > 4.
7151
af1bce34
TS
7152 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7153 meaningful names to some local labels.
7154
d230f50a
KK
71552012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7156 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7157
7158 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7159 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7160 (__arch_compare_and_exchange_val_16_acq): Likewise.
7161 (__arch_compare_and_exchange_val_32_acq): Likewise.
7162 (atomic_exchange_and_add): Fix gUSA sequence.
7163 (atomic_add): Likewise.
7164 (atomic_add_negative): Likewise.
7165 (atomic_add_zero): Likewise.
7166 (atomic_bit_test_set): Likewise.
7167
0479b305
AS
71682012-06-22 Andreas Schwab <schwab@redhat.com>
7169
7170 [BZ #13579]
7171 * include/link.h (struct link_map): Add l_free_initfini.
7172 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7173 l_initfini.
7174 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7175 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7176 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7177 set.
7178
0e3933b9
CD
71792012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7180
7181 * configure.in: Use AC_LANG_SOURCE.
7182 * configure: Regenerate.
7183
4248b1b1
RM
71842012-06-22 Roland McGrath <roland@hack.frob.com>
7185
7186 * configure.in (libc_cv_localstatedir): New substituted variable.
7187 * configure: Regenerated.
7188 * config.make.in (localstatedir): New variable, substituted from
7189 libc_cv_localstatedir.
7190 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7191 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7192 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7193 * sysdeps/gnu/configure: Regenerated.
7194
006dd861
JL
71952012-06-21 Jeff Law <law@redhat.com>
7196
7197 [BZ #14277]
7198 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7199 free. Simplify list management for _LIBC case.
7200
79662d42
JM
72012012-06-21 Joseph Myers <joseph@codesourcery.com>
7202
b7abb4bf
JM
7203 [BZ #14273]
7204 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7205 Clear sign bit of 64-bit integer value before comparing against
7206 overflow value.
7207
79662d42
JM
7208 * sysdeps/mach/configure: Regenerated.
7209
1f150908
L
72102012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7211
7212 [BZ #14278]
7213 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7214
28363bbf
JL
72152012-06-21 Jeff Law <law@redhat.com>
7216
7217 [BZ #13882]
7218 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7219 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 7220 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
7221 * elf/dl-open.c (dl_open_worker): Likewise.
7222
09615db4
CD
72232012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7224
7225 * scripts/list-sources.sh: Scan PORTS for translations.
7226 * po/libc.pot: Regenerated.
7227
2174c6dd
AJ
72282012-06-21 Andreas Jaeger <aj@suse.de>
7229
7230 [BZ #12194]
7231 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7232 warning.
7233 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7234 * bits/byteswap-16.h (__bswap_16): Likewise.
7235 * bits/byteswap.h (__bswap_constant_16): Likewise.
7236
3ee947b1
L
72372012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7238
7239 [BZ #14117]
a2f34833
L
7240 * sysdeps/i386/fpu_control.h: Removed.
7241 * sysdeps/x86_64/fpu_control.h: Moved to ...
7242 * sysdeps/x86/fpu_control.h: Here.
7243
3ee947b1
L
7244 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7245 (_FPU_SETCW): Likewise.
7246
ed1825f8
L
72472012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7248
25f1282a
L
7249 [BZ #14117]
7250 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7251 * sysdeps/x86/fpu/bits/mathinline.h: This.
7252 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7253
ed1825f8
L
7254 [BZ #14050]
7255 [BZ #14117]
7256 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7257 functions if __x86_64__ is defined.
7258
36d54b74
CLT
72592012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7260
7261 * string/endian.h: Add !__ASSEMBLER__ condition for including
7262 conversion interfaces.
7263
10285c21
JM
72642012-06-15 Joseph Myers <joseph@codesourcery.com>
7265
7266 [BZ #14241]
7267 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7268 of ABS(x) in calculating zero to negative powers other than odd
7269 integers.
7270 * math/libm-test.inc (pow_test): Add more tests.
7271
06c5abbd
AJ
72722012-06-15 Andreas Jaeger <aj@suse.de>
7273
7274 * manual/contrib.texi (Contributors): Update entry of Liubov
7275 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7276 Machado Filho.
7277
a3aeac40
CH
72782012-06-15 Cyril Hrubis <metan@ucw.cz>
7279
7280 * string/string.h: Add __wur to GNU version of strerror_r.
7281
49bdf4c1
L
72822012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7283
7284 [BZ #14229]
7285 * string/Makefile (tests): Add tst-strtok_r.
7286 * string/tst-strtok_r.c: New file.
7287 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7288 RAX_LP/RDX_LP on SAVE_PTR.
7289
834f9b8d
RM
72902012-06-14 Roland McGrath <roland@hack.frob.com>
7291
7292 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7293
75fa1921
JM
72942012-06-14 Joseph Myers <joseph@codesourcery.com>
7295
7296 * libm_test.inc (csqrt_test): Allow more spurious underflow
7297 exceptions.
7298 (j0_test): Likewise.
7299 (j1_test): Likewise.
7300 (y0_test): Likewise.
7301 (y1_test): Likewise.
7302
771766df
CD
73032012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7304
7305 * po/Makefile (libc.pot): Use UTF-8 charset.
7306
ceb9e56b
PP
73072012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7308
7309 [BZ #14210]
7310 Suppress sign-conversion warning from FD_SET.
7311 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7312 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7313 not unsigned long int.
7314 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7315
ddb28975
L
73162012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7317
7318 [BZ #14050]
7319 [BZ #14117]
7320 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7321 __extern_always_inline instead of __extern_inline.
7322 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7323 (__signbit): Likewise.
7324 (__signbitl): Support C++ namespace.
7325 (lrintf): New inline function.
7326 (lrint): Likewise.
7327 (llrintf): Likewise.
7328 (llrint): Likewise.
7329 (fmaxf): Likewise.
7330 (fmax): Likewise.
7331 (fminf): Likewise.
7332 (fmin): Likewise.
7333 (rint): Likewise.
7334 (rintf): Likewise.
7335 (ceil): Likewise.
7336 (ceilf): Likewise.
7337 (floor): Likewise.
7338 (floorf): Likewise.
7339 (nearbyint): Likewise.
7340 (nearbyintf): Likewise.
7341
d7b4fb26
TS
73422012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7343
7344 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7345 non-default versions.
7346
eb55f5c2
RM
73472012-06-11 Roland McGrath <roland@hack.frob.com>
7348
7349 [BZ #14218]
7350 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7351
366af02c
TS
73522012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7353
99ff6e5c
TS
7354 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7355 (FE_UPWARD, FE_DOWNWARD): Don't define.
7356 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7357 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7358
366af02c
TS
7359 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7360 reading it.
7361 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7362 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7363
793ea851
KK
73642012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7365
7366 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7367 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7368 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7369 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7370
a728a38f
L
73712012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7372
7373 [BZ #14117]
c08010c7
L
7374 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7375 * sysdeps/i386/fpu/Implies: New file.
7376 * sysdeps/x86_64/fpu/Implies: Likewise.
7377 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7378 * sysdeps/x86/fpu/bits/fenv.h: This.
7379
a728a38f
L
7380 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7381 __SSE_MATH__.
7382
6e230d11
SP
73832012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7384
7385 [BZ #14134]
7386 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7387 character 0xffff that matches the last element of the
7388 conversion table.
7389
1b671feb
AZ
73902012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7391
7392 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7393 fmodl commit.
7394
6043738b
AZ
73952012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7396
7397 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7398 values higher than 25.6283.
7399
34ae0b32
AZ
74002012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7401
7402 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7403 subnormal exponent extraction and add some __builtin_expect.
7404 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7405 Fix for subnormal mantissa calculation.
7406
1214ec8f
MF
74072012-06-04 Mike Frysinger <vapier@gentoo.org>
7408
7409 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7410 cpu2 is -1 and errno is not ENOSYS.
7411
f3d1f93c
L
74122012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7413
7414 [BZ #14117]
0e4a3cd7
L
7415 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7416 * sysdeps/x86/bits/string.h: This.
7417 * sysdeps/x86_64/bits/string.h: Removed.
7418
6704c645
L
7419 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7420 if not compiling for x86-64, but compiling for >= i486.
7421
48495318
L
7422 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7423 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7424
14adcbfc
L
7425 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7426 New macro from Linux kernel 3.4.0.
7427 (FP_XSTATE_MAGIC2): Likewise.
7428 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7429 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7430 (struct _fpx_sw_bytes): New struct.
7431 (struct _xsave_hdr): Likewise.
7432 (struct _ymmh_state): Likewise.
7433 (struct _xstate): Likewise.
7434
68e408ab
L
7435 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7436 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7437 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7438 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7439 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7440 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7441
f3d1f93c
L
7442 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7443 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7444 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7445 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7446 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7447 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7448
d9dc34cd
TMQMF
74492012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7450
7451 [BZ #13743]
7452 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7453 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7454 (sysdep_headers): Include sys/platform/ppc.h.
7455 * sysdeps/powerpc/test-gettimebase.c: Test for
7456 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7457 * manual/Makefile (appendices): Include platform.texi.
7458 * manual/contrib.texi (Contributors): Update @node pointers.
7459 * manual/maint.texi (Maintenance): Likewise.
7460 (Platform): New node.
7461 * manual/platform.texi: New file. Document the new features.
7462
4af3879c
SP
74632012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7464 Jakub Jelinek <jakub@redhat.com>
7465
7466 [BZ #14188]
7467 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7468 where __builtin_expect is unavailable.
7469
2fd6ff13
DM
74702012-06-03 David S. Miller <davem@davemloft.net>
7471
7472 * stdlib/longlong.h: Updated from GCC.
7473
173f7220
AS
74742012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7475
7476 [BZ #14042]
7477 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7478 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7479 __mcount_internal.
7480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7481 (GLIBC_2.16): Likewise.
7482
f34a1c6f
L
74832012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7484
7485 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7486
88a4576f
JM
74872012-06-01 Joseph Myers <joseph@codesourcery.com>
7488
ea32bcdd
JM
7489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7490 (default-abi): New variable.
7491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7492 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7493 variable.
7494 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7495 Likewise.
7496 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7497 Likewise.
7498 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7499 Likewise.
7500
88a4576f
JM
7501 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7502 definition. Document in comment.
7503
402fe938
DM
75042012-06-01 David S. Miller <davem@davemloft.net>
7505
7506 * stdlib/longlong.h: Updated from GCC.
7507
3553723f
L
75082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7509
7510 [BZ #14117]
3bd872c4
L
7511 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7512 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7513 sys/debugreg.h sys/io.h here.
7514 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7515 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7516 sys/io.h.
7517 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7518 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7519 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7520 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7521 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7522 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7523
3553723f
L
7524 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7525 Define only if __x86_64__ is defined.
7526
4842e4fe
JM
75272012-06-01 Joseph Myers <joseph@codesourcery.com>
7528
c5bfe3d5
JM
7529 [BZ #14048]
7530 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7531 Use int64_t for variable i.
7532 * math/libm-test.inc (fmod_test): Add more tests.
7533
4842e4fe
JM
7534 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7535 z computation is not scheduled after fetestexcept.
7536 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7537 Use math_force_eval instead of asm to ensure calculation scheduled
7538 before exception test.
7539 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7540 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7541
efb73488
AJ
75422012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7543
7544 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7545 computation is not scheduled after fetestexcept.
7546
29bcce7c
L
75472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7548
7549 [BZ #14117]
7550 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7551 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7552
73a68f94
AZ
75532012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7554
7555 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7556 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7557
67b6df78
L
75582012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7559
edf2933a 7560 [BZ #14117]
ebc64a18
L
7561 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7562 <bits/wordsize.h>.
7563 (__WCHAR_MIN): Support __WORDSIZE == 64.
7564 (__WCHAR_MAX): Likewise.
7565
edf2933a
L
7566 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7567 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7568
57c6cf40
L
7569 [BZ #14183]
7570 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7571 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7572
67b6df78 7573 [BZ #14117]
8eb6281e
L
7574 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7575 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7576
aac639f4
L
7577 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7578 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7579
67b6df78
L
7580 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7581 Defined to 1 if __x86_64__ isn't defined.
7582 (_STAT_VER_LINUX_OLD): New.
7583 (st_atime): Remove duplicate.
7584 (st_mtime): Likewise.
7585 (st_ctime): Likewise.
7586
1c2cfe81
DM
75872012-05-31 David S. Miller <davem@davemloft.net>
7588
7589 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7590 entries.
7591
5be8418c
AS
75922012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7593
e7725326
AS
7594 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7595 gen-libm-test.pl.
7596
5be8418c
AS
7597 [BZ #14132]
7598 * elf/dl-reloc.c: Include <_itoa.h>.
7599 (_dl_reloc_bad_type): Remove use of INTUSE.
7600 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7601 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7602 * stdio-common/psiginfo.c (psiginfo): Likewise.
7603 * stdio-common/psignal.c (psignal): Likewise.
7604 * string/strsignal.c (strsignal): Likewise.
7605 * include/signal.h (_sys_siglist): Declare hidden proto.
7606 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7607 INTVARDEF with libc_hidden_data_def.
7608 * stdio-common/itoa-udigits.c: Likewise.
7609 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7610 (_itoa_lower_digits_internal): Remove declaration.
7611 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7612 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7613 (_sys_sigabbrev_internal): Remove aliases.
7614 (_sys_siglist): Define hidden alias.
7615
507352f1
MT
76162012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7617
7618 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7619 bits/sysctl.h.
7620
42bbb1c3
L
76212012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7622
7623 [BZ #14117]
6bd784b6
L
7624 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7625 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7626
8bca20f0
L
7627 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7628 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7629 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7630 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7631 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7632 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7633
f9e890a9
L
7634 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7635 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7636 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7637
471101a1
L
7638 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7639 with __addr.
7640 (insw): Likewise.
7641 (insl): Likewise.
7642 (outsb): Likewise.
7643 (outsw): Likewise.
7644 (outsl): Likewise.
7645
6451c862
L
7646 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7647 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7648 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7649
a254b8c9
L
7650 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7651 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7652 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7653 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7654 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7655 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7656
b8dfdd92
L
7657 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7658 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7659
578cd270
L
7660 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7661 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7662
de662f5f
L
7663 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7664 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7665 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7666
25653439
L
7667 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7668 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7669 to ...
7670 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7671
6bad24a0
L
7672 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7673 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7674 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7675
42bbb1c3
L
7676 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7677 for x86-64.
7678 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7679
2d10d547
JM
76802012-05-31 Joseph Myers <joseph@codesourcery.com>
7681
7682 * math/math.h (M_El): Use two more decimal places.
7683 (M_LOG2El): Likewise.
7684 (M_LOG10El): Likewise.
7685 (M_LN2l): Likewise.
7686 (M_LN10l): Likewise.
7687 (M_PIl): Likewise.
7688 (M_PI_2l): Likewise.
7689 (M_PI_4l): Likewise.
7690 (M_1_PIl): Likewise.
7691 (M_2_PIl): Likewise.
7692 (M_2_SQRTPIl): Likewise.
7693 (M_SQRT2l): Likewise.
7694 (M_SQRT1_2l): Likewise.
7695
f230c29b
DM
76962012-05-31 David S. Miller <davem@davemloft.net>
7697
7698 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7699 values between float registers.
7700 * sysdeps/sparc/sparc64/memset.S: Likewise.
7701 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7702
fed806c3
MF
77032012-05-31 Mike Frysinger <vapier@gentoo.org>
7704
7705 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7706 -D_FORTIFY_SOURCE=1.
7707 (CPPFLAGS-tst-longjmp_chk.c): Define.
7708 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7709 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7710 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7711 CFLAGS-tst-wchar-h.c.
7712
30917259
MP
77132012-05-31 Marek Polacek <polacek@redhat.com>
7714
7715 [BZ #14132]
7716 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7717 __endmntent_internal): Remove declaration.
7718 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7719 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7720 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7721
1c58d5dc
DM
77222012-05-30 David S. Miller <davem@davemloft.net>
7723
7724 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7725 (___Q_simulate_exceptions): Use real FP ops rather than writing
7726 into the %fsr.
7727 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7728 Likewise.
7729
7dc00e0d
L
77302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7731
7732 [BZ #14117]
0bd53985
L
7733 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7734 * sysdeps/x86/bits/xtitypes.h: This.
7735
3a257e66
L
7736 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7737 * sysdeps/x86/bits/wordsize.h: This.
7738
62f62904
L
7739 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7740 * sysdeps/x86/bits/huge_vall.h: This.
7741
404fe9d9
L
7742 * sysdeps/i386/bits/select.h: Removed.
7743 * sysdeps/x86_64/bits/select.h: Renamed to ...
7744 * sysdeps/x86/bits/select.h: This.
7745
d48d0446
L
7746 * sysdeps/i386/bits/setjmp.h: Removed.
7747 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7748 * sysdeps/x86/bits/setjmp.h: This.
7749
7dc00e0d
L
7750 * sysdeps/i386/bits/mathdef.h: Removed.
7751 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7752 * sysdeps/x86/bits/mathdef.h: This.
7753
03277f8f
AS
77542012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7755
7756 [BZ #14132]
7757 * include/sys/socket.h (__connect_internal)
7758 (__libc_sa_len_internal): Remove declaration.
7759 (__connect, __libc_sa_len): Declare hidden_proto.
7760 (SA_LEN): Remove use of INTUSE.
7761 * socket/connect.c: Add libc_hidden_def.
7762 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7763 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7764 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7765 alias.
7766 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7767 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7768 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7769 of adding _internal alias.
7770
13764867
L
77712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7772
7773 [BZ #14117]
6bd97696
L
7774 * sysdeps/i386/bits/link.h: Removed.
7775 * sysdeps/i386/bits/linkmap.h: Likewise.
7776 * sysdeps/x86_64/bits/link.h: Renamed to ...
7777 * sysdeps/x86/bits/link.h: This.
7778 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7779 * sysdeps/x86/bits/linkmap.h: This.
7780
f726f0bb
L
7781 * sysdeps/i386/bits/endian.h: Removed.
7782 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7783 * sysdeps/x86/bits/endian.h: This.
7784
13764867
L
7785 * sysdeps/i386/bits/byteswap.h: Removed.
7786 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7787 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7788 * sysdeps/x86/bits/byteswap.h: This.
7789 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7790 * sysdeps/x86/bits/byteswap-16.h: This.
7791 * sysdeps/i386/Implies: Add x86.
7792 * sysdeps/x86_64/Implies: Likewise.
7793
ae251b0b
DM
77942012-05-30 David S. Miller <davem@davemloft.net>
7795
7796 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7797 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7798 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7799 (FP_TRAPPING_EXCEPTIONS): Define.
7800 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7801 (FP_TRAPPING_EXCEPTIONS): Define.
7802 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7803 subnormals only when inexact has been signalled or underflow
7804 exceptions are enabled.
7805 (_FP_PACK_CANONICAL): Likewise.
7806
d5c90867
L
78072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7808
7809 [BZ #14183]
7810 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7811 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7812
63f1549e
RH
78132012-05-30 Richard Henderson <rth@twiddle.net>
7814
8d8f2279
RH
7815 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7816 with #ifndef NOT_IN_libc.
7817
63f1549e
RH
7818 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7819 marked to avoid plt entry.
7820
0ab0291b
L
78212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7822
7823 [BZ #14112]
7824 * Makeconfig (default-abi): New macro.
7825 (abi-includes): Likewise.
7826 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7827 $(abi-$(default-abi)-lib-soname) for soname if defined.
7828 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7829 abi-variants.
7830 * Makefile (installed-stubs): Likewise.
7831 * include/stubs-biarch.h: Removed.
7832 * scripts/lib-names.awk: Only handle one library at a time.
7833 * scripts/soversions.awk: Remove WORDSIZE support.
7834 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7835 entries.
7836 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7837 Removed.
7838 (syscall-list-default-condition): Likewise.
7839 (syscall-list-default-condition): Likewise.
7840 (syscall-list-includes): Likewise.
7841 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7842 syscall-list-* with abi-*. Handle undefined abi-variants.
7843 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7844 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7845 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7846 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7847 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7848 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7849 Removed.
7850 (syscall-list-32-options): Likewise.
7851 (syscall-list-32-condition): Likewise.
7852 (syscall-list-64-options): Likewise.
7853 (syscall-list-64-condition): Likewise.
7854 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7855 macro.
7856 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7857 Renamed to ...
7858 (abi-*): This.
7859 (abi-64-ld-soname): New macro.
7860 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7861 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7862 Renamed to ...
7863 (abi-*): This.
7864 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7865 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7866
4da0431d
JM
78672012-05-30 Joseph Myers <joseph@codesourcery.com>
7868
3a85279c
JM
7869 * sysdeps/unix/sysv/linux/kernel-features.h
7870 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7871 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7872 include <kernel-features.h>.
7873 [!__NR_ftruncate64]: Remove conditional code.
7874 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7875 [__NR_ftruncate64]: Make code unconditional.
7876 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7877 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7878 include <kernel-features.h>.
7879 [!__NR_ftruncate64]: Remove conditional code.
7880 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7881 [__NR_ftruncate64]: Make code unconditional.
7882 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7884 include <kernel-features.h>.
7885 [!__NR_ftruncate64]: Remove conditional code.
7886 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7887 [__NR_ftruncate64]: Make code unconditional.
7888 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7890 include <kernel-features.h>.
7891 [!__NR_ftruncate64]: Remove conditional code.
7892 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7893 [__NR_ftruncate64]: Make code unconditional.
7894 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7895
4da0431d
JM
7896 * configure.in (libc_cv_fpie): Weaken to a compile test using
7897 LIBC_TRY_CC_OPTION.
7898 * configure: Regenerated.
7899
11ef492c
AK
79002012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7901
7902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7906 Refreshed.
7907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7913 Refreshed.
7914
d66ef399
DM
79152012-05-27 David S. Miller <davem@davemloft.net>
7916
7917 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7918 (___Q_zero): New.
7919 (__Q_simulate_exceptions): Return void. Change to simulate
7920 exceptions by writing into the %fsr.
7921 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7922 (__Qp_handle_exceptions): Likewise.
7923 (numbers): Delete.
7924 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7925 __Qp_handle_exceptions.
7926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7927 __Qp_handle_exceptions.
7928 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7929 as unused and give dummy FP_RND_NEAREST initializer.
7930 (FP_INHIBIT_RESULTS): Define.
7931 (___Q_simulate_exceptions): Update declaration.
7932 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7933 formatting.
7934 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7935 as unused and give dummy FP_RND_NEAREST initializer.
7936 (__Qp_handle_exceptions): Update declaration.
7937 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7938 formatting.
7939
04fb54b5
TS
79402012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7941
7942 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7943 the temporary FPU control word.
7944 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7945 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7946 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7947 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7948 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7949 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7950 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7951 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7952 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7953 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7954 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7955
3f99608f
KK
79562012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7957
7958 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7959 fields.
7960
65a4de4e
CLT
79612012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7962
7963 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7964 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7965 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7966 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7967 Likewise.
7968 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7969 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7970 Likewise.
7971
15749d40
UD
79722012-05-27 Ulrich Drepper <drepper@gmail.com>
7973
7974 * po/h.po: Update from translation team.
7975
25dbcb27
AS
79762012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7977
3d3f8e55
AS
7978 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7979
25dbcb27
AS
7980 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7981 handling of denormals.
7982 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7983 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7984 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7985 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7986 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7987 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7988 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7989 Likewise.
7990
7ad47a80 79912012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7992
7993 [BZ #14152]
7994 * math/libm-test.inc (fma_test): Don't always expect underflow
7995 exception.
7996
9c6ea9fa
SP
79972012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7998
7999 [BZ #12416]
8000 * elf/tst-execstack.c: Include stackinfo.h.
8001 (do_test): Adjust test case to ensure that pthread_getattr_np
8002 behaviour remains the same after marking stack executable.
8003
a8239222
JM
80042012-05-25 Joseph Myers <joseph@codesourcery.com>
8005
8006 * sysdeps/unix/sysv/linux/kernel-features.h
8007 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8008 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8009 kernel-features.h.
8010 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8011 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8012 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8013 kernel-features.h.
8014 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8015 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8016
918b5606
L
80172012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8018
8019 * configure.in: Define the default includes to being none.
8020 * configure: Regenerated.
8021
3a097cc7
RM
80222012-05-25 Roland McGrath <roland@hack.frob.com>
8023
8422c9a5
RM
8024 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8025 * sysdeps/x86_64/setjmp.S: Likewise.
8026 * sysdeps/i386/bsd-setjmp.S: Likewise.
8027 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8028 * sysdeps/i386/setjmp.S: Likewise.
8029 * sysdeps/i386/__longjmp.S: Likewise.
8030 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8031 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8032
3a097cc7
RM
8033 * include/stap-probe.h: New file.
8034 * configure.in: Handle --enable-systemtap.
8035 * configure: Regenerated.
8036 * config.h.in (USE_STAP_PROBE): New #undef.
8037 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8038 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8039 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8040
21708942
JM
80412012-05-25 Joseph Myers <joseph@codesourcery.com>
8042
8043 [BZ #13717]
8044 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8045 to 2.4.0 where earlier.
8046 * sysdeps/unix/sysv/linux/configure: Regenerated.
8047 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8048 <kernel-features.h>.
8049 [__ASSUME_32BITUIDS]: Make code unconditional.
8050 [!__ASSUME_32BITUIDS]: Remove conditional code.
8051 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8052 <kernel-features.h>.
8053 [__ASSUME_32BITUIDS]: Make code unconditional.
8054 [!__ASSUME_32BITUIDS]: Remove conditional code.
8055 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8056 [__ASSUME_32BITUIDS]: Make code unconditional.
8057 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8058 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.c: Do not include
8091 <kernel-features.h>.
8092 [__ASSUME_32BITUIDS]: Make code unconditional.
8093 [!__ASSUME_32BITUIDS]: Remove conditional code.
8094 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8095 <kernel-features.h>.
8096 [__ASSUME_32BITUIDS]: Make code unconditional.
8097 [!__ASSUME_32BITUIDS]: Remove conditional code.
8098 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8099 <kernel-features.h>.
8100 [__NR_setresgid] (__setresgid): Do not declare.
8101 [__ASSUME_32BITUIDS]: Make code unconditional.
8102 [!__ASSUME_32BITUIDS]: Remove conditional code.
8103 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8104 <kernel-features.h>.
8105 [__NR_setresuid] (__setresuid): Do not declare.
8106 [__ASSUME_32BITUIDS]: Make code unconditional.
8107 [!__ASSUME_32BITUIDS]: Remove conditional code.
8108 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/i386/setuid.c: Do not include
8141 <kernel-features.h>.
8142 [__ASSUME_32BITUIDS]: Make code unconditional.
8143 [!__ASSUME_32BITUIDS]: Remove conditional code.
8144 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8145 <kernel-features.h>.
8146 [__ASSUME_32BITUIDS]: Make code unconditional.
8147 [!__ASSUME_32BITUIDS]: Remove conditional code.
8148 * sysdeps/unix/sysv/linux/kernel-features.h
8149 (__ASSUME_SETRESUID_SYSCALL): Remove.
8150 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8151 (__ASSUME_32BITUIDS): Likewise.
8152 (__ASSUME_LDT_WORKS): Likewise.
8153 (__ASSUME_O_DIRECTORY): Likewise.
8154 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8155 architecture but not kernel version.
8156 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8157 (__ASSUME_MMAP2_SYSCALL): Likewise.
8158 (__ASSUME_STAT64_SYSCALL): Likewise.
8159 (__ASSUME_IPC64): Likewise.
8160 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8161 <kernel-features.h>.
8162 [__ASSUME_32BITUIDS]: Make code unconditional.
8163 [!__ASSUME_32BITUIDS]: Remove conditional code.
8164 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8165 <kernel-features.h>.
8166 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8167 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8168 132096]: Remove conditional code.
8169 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8170 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8171 <kernel-features.h>.
8172 [__ASSUME_32BITUIDS]: Make code unconditional.
8173 [!__ASSUME_32BITUIDS]: Remove conditional code.
8174 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8175 <kernel-features.h>.
8176 [__ASSUME_32BITUIDS]: Make code unconditional.
8177 [!__ASSUME_32BITUIDS]: Remove conditional code.
8178 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8179 <kernel-features.h>.
8180 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8181 unconditional.
8182 (__setresgid): Do not declare.
8183 [__ASSUME_32BITUIDS]: Make code unconditional.
8184 [!__ASSUME_32BITUIDS]: Remove conditional code.
8185 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8186 <kernel-features.h>.
8187 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8188 unconditional.
8189 (__setresuid): Do not declare.
8190 [__ASSUME_32BITUIDS]: Make code unconditional.
8191 [!__ASSUME_32BITUIDS]: Remove conditional code.
8192 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8193 <kernel-features.h>.
8194 [__ASSUME_32BITUIDS]: Make code unconditional.
8195 [!__ASSUME_32BITUIDS]: Remove conditional code.
8196 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8197 <kernel-features.h>.
8198 [__ASSUME_32BITUIDS]: Make code unconditional.
8199 [!__ASSUME_32BITUIDS]: Remove conditional code.
8200
a386f1cc
RH
82012012-05-25 Richard Henderson <rth@twiddle.net>
8202
8203 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8204 dl_hwcap to ifunc resolver.
8205 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8206 elf_ifunc_invoke.
8207 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8208 dl_hwcap to ifunc resolver.
8209 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8210
b6550497
JM
82112012-05-24 Joseph Myers <joseph@codesourcery.com>
8212
8213 [BZ #14153]
8214 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8215 for |x| <= 2**-26, not 2**-57.
8216 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8217 exception.
8218
b0bc23a1
JL
82192012-05-24 Jeff Law <law@redhat.com>
8220
8221 * stdio-common/Makefile (tests): Add bug25.
8222 * stdio-common/bug25.c: New test.
8223
347c92e9
L
82242012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8225
8226 [BZ #13576]
8227 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8228 multiple of MALLOC_ALIGNMENT in size.
8229 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8230
6bcc8b3f
JM
82312012-05-24 Joseph Myers <joseph@codesourcery.com>
8232
8233 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8234 Require >= 256.
8235 (FILENAME_MAX): Use macro-int-constant.
8236 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8237 (_IOFBF): Use macro-int-constant.
8238 (_IOLBF): Likewise.
8239 (_IONBF): Likewise.
8240 (SEEK_CUR): Likewise.
8241 (SEEK_END): Likewise.
8242 (SEEK_SET): Likewise.
8243 (TMP_MAX): Likewise.
8244 (EOF): Use macro-int-constant. Require < 0.
8245 (NULL): Use macro-constant. Require == 0.
8246 (stdin): Require type to be FILE *.
8247 (stdout): Likewise.
8248 (stderr): Likewise.
8249 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8250 macro-int-constant.
8251 (EXIT_SUCCESS): Likewise.
8252 (NULL): Use macro-constant. Require == 0.
8253 (RAND_MAX): Use macro-int-constant.
8254 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8255 [C99-based standards] (strtof): Require function.
8256 [C99-based standards] (strtold): Likewise.
8257 [C99-based standards] (strtoll): Likewise.
8258 [C99-based standards] (strtoull): Likewise.
8259 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8260 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8261 [ISO || ISO99 || ISO11] (math.h): Likewise.
8262 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8263 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8264 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8265
d18ea0c5
AS
82662012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8267
8268 [BZ #14132]
56d25bb8
AS
8269 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8270 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8271 * intl/dgettext.c (DCGETTEXT): Likewise.
8272 * intl/gettext.c (DCGETTEXT): Likewise.
8273 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8274 * posix/regex_internal.h (gettext): Likewise.
8275 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8276 Remove declaration.
8277 * include/argz.h (__argz_count_internal)
8278 (__argz_stringify_internal): Remove declaration.
8279 (__argz_count, __argz_stringify): Declare hidden proto.
8280 * intl/dcgettext.c: Remove use of INTDEF.
8281 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8282 * string/argz-stringify.c: Likewise.
8283 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8284 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8285 Declare hidden proto.
d18ea0c5
AS
8286 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8287 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8288 Declare hidden proto.
8289 * include/stdio.h (__asprintf_internal): Don't declare.
8290 (__asprintf): Don't define as macro. Declare hidden proto.
8291 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8292 (__fsetlocking): Declare hidden proto.
8293 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8294 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8295 hidden proto.
8296 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8297 (_IO_setlinebuf): Remove use of INTUSE.
8298 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8299 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8300 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8301 Remove declaration.
8302 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8303 (_IO_do_flush): Remove use of INTUSE.
8304 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8305 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8306 (_IO_adjust_column, _IO_least_wmarker)
8307 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8308 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8309 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8310 (_IO_default_doallocate, _IO_wdefault_doallocate)
8311 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8312 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8313 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8314 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8315 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8316 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8317 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8318 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8319 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8320 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8321 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8322 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8323 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8324 proto.
8325 (_IO_flush_all_internal, _IO_adjust_column_internal)
8326 (_IO_default_uflow_internal, _IO_default_finish_internal)
8327 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8328 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8329 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8330 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8331 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8332 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8333 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8334 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8335 (_IO_file_close_internal, _IO_file_close_it_internal)
8336 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8337 (_IO_file_init_internal, _IO_file_attach_internal)
8338 (_IO_file_fopen_internal, _IO_file_read_internal)
8339 (_IO_file_sync_internal, _IO_file_seek_internal)
8340 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8341 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8342 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8343 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8344 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8345 (_IO_list_all_internal, _IO_link_in_internal)
8346 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8347 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8348 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8349 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8350 (_IO_do_write_internal, _IO_padn_internal)
8351 (_IO_getline_info_internal, _IO_getline_internal)
8352 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8353 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8354 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8355 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8356 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8357 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8358 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8359 with libc_hidden_ver, remove use of INTUSE.
8360 * libio/genops.c: Likewise.
8361 * libio/freopen.c: Likewise.
8362 * libio/freopen64.c: Likewise.
8363 * libio/iofclose.c: Likewise.
8364 * libio/iofdopen.c: Likewise.
8365 * libio/iofflush.c: Likewise.
8366 * libio/iofflush_u.c: Likewise.
8367 * libio/iofgets.c: Likewise.
8368 * libio/iofgets_u.c: Likewise.
8369 * libio/iofopen.c: Likewise.
8370 * libio/iofopncook.c: Likewise.
8371 * libio/iofread.c: Likewise.
8372 * libio/iofread_u.c: Likewise.
8373 * libio/ioftell.c: Likewise.
8374 * libio/iofwrite.c: Likewise.
8375 * libio/iogetline.c: Likewise.
8376 * libio/iogets.c: Likewise.
8377 * libio/iogetwline.c: Likewise.
8378 * libio/iopadn.c: Likewise.
8379 * libio/iopopen.c: Likewise.
8380 * libio/ioseekoff.c: Likewise.
8381 * libio/ioseekpos.c: Likewise.
8382 * libio/iosetbuffer.c: Likewise.
8383 * libio/iosetvbuf.c: Likewise.
8384 * libio/ioungetc.c: Likewise.
8385 * libio/ioungetwc.c: Likewise.
8386 * libio/iovdprintf.c: Likewise.
8387 * libio/iovsprintf.c: Likewise.
8388 * libio/iovsscanf.c: Likewise.
8389 * libio/memstream.c: Likewise.
8390 * libio/obprintf.c: Likewise.
8391 * libio/oldfileops.c: Likewise.
8392 * libio/oldiofclose.c: Likewise.
8393 * libio/oldiofdopen.c: Likewise.
8394 * libio/oldiofopen.c: Likewise.
8395 * libio/oldiopopen.c: Likewise.
8396 * libio/oldstdfiles.c: Likewise.
8397 * libio/putc.c: Likewise.
8398 * libio/setbuf.c: Likewise.
8399 * libio/setlinebuf.c: Likewise.
8400 * libio/stdfiles.c: Likewise.
8401 * libio/strops.c: Likewise.
8402 * libio/vasprintf.c: Likewise.
8403 * libio/vscanf.c: Likewise.
8404 * libio/vsnprintf.c: Likewise.
8405 * libio/vswprintf.c: Likewise.
8406 * libio/wfiledoalloc.c: Likewise.
8407 * libio/wfileops.c: Likewise.
8408 * libio/wgenops.c: Likewise.
8409 * libio/wmemstream.c: Likewise.
8410 * libio/wstrops.c: Likewise.
8411 * libio/__fpurge.c: Likewise.
8412 * libio/__fsetlocking.c: Likewise.
8413 * assert/assert.c: Likewise.
8414 * debug/fgets_chk.c: Likewise.
8415 * debug/fgets_u_chk.c: Likewise.
8416 * debug/fread_chk.c: Likewise.
8417 * debug/fread_u_chk.c: Likewise.
8418 * debug/gets_chk.c: Likewise.
8419 * debug/obprintf_chk.c: Likewise.
8420 * debug/vasprintf_chk.c: Likewise.
8421 * debug/vdprintf_chk.c: Likewise.
8422 * debug/vsnprintf_chk.c: Likewise.
8423 * debug/vsprintf_chk.c: Likewise.
8424 * malloc/mtrace.c: Likewise.
8425 * misc/error.c: Likewise.
8426 * misc/syslog.c: Likewise.
8427 * stdio-common/asprintf.c: Likewise.
8428 * stdio-common/fxprintf.c: Likewise.
8429 * stdio-common/getw.c: Likewise.
8430 * stdio-common/isoc99_fscanf.c: Likewise.
8431 * stdio-common/isoc99_scanf.c: Likewise.
8432 * stdio-common/isoc99_vfscanf.c: Likewise.
8433 * stdio-common/isoc99_vscanf.c: Likewise.
8434 * stdio-common/isoc99_vsscanf.c: Likewise.
8435 * stdio-common/printf-prs.c: Likewise.
8436 * stdio-common/printf_fp.c: Likewise.
8437 * stdio-common/printf_fphex.c: Likewise.
8438 * stdio-common/printf_size.c: Likewise.
8439 * stdio-common/putw.c: Likewise.
8440 * stdio-common/scanf.c: Likewise.
8441 * stdio-common/sprintf.c: Likewise.
8442 * stdio-common/tmpfile.c: Likewise.
8443 * stdio-common/vfprintf.c: Likewise.
8444 * stdio-common/vfscanf.c: Likewise.
8445 * stdlib/strfmon_l.c: Likewise.
8446 * sunrpc/openchild.c: Likewise.
8447 * sunrpc/xdr_stdio.c: Likewise.
8448 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8449 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8450
d6c33fda
RM
84512012-05-24 Roland McGrath <roland@hack.frob.com>
8452
c1487492
RM
8453 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8454
8455 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8456 in the third column, to generate for the shared library an IFUNC
8457 that uses _dl_vdso_vsym.
8458 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8459 * Makeconfig (object-suffixes-noshared): New variable.
8460
8461 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8462 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8463 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8464 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8465
d6c33fda
RM
8466 [BZ #14132]
8467 * include/sys/time.h (__gettimeofday): Remove macro.
8468 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8469 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8470 Remove INTDEF.
8471 (__gettimeofday): Add libc_hidden_def.
8472 (gettimeofday): Add libc_hidden_weak.
8473 * sysdeps/mach/gettimeofday.c: Likewise.
8474 * sysdeps/posix/gettimeofday.c: Likewise.
8475 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8476 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8477 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8478 (__gettimeofday_internal): Remove strong_alias.
8479 (__gettimeofday): Add libc_hidden_def.
8480 (gettimeofday): Add libc_hidden_weak.
8481 * sysdeps/unix/syscalls.list (gettimeofday):
8482 Remove __gettimeofday_internal alias.
8483
b5a2bbe6
L
84842012-05-24 Daniel Jacobowitz <drow@false.org>
8485 H.J. Lu <hongjiu.lu@intel.com>
8486
8487 [BZ #12495]
8488 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8489 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8490 (largebin_index_32_big): New.
8491 (largebin_index): Use it for 16-byte alignment.
8492 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8493 correction with front_misalign.
8494
cfba4fda
L
84952012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8496
7f907421
L
8497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8499 Likewise.
8500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8501 Likewise.
8502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8503 Likewise.
8504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8505 Likewise.
8506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8507 Likewise.
8508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8509 Likewise.
8510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8511 Likewise.
8512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8513 Likewise.
8514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8515 Likewise.
8516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8517 Likewise.
8518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8519 Likewise.
8520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8521 Likewise.
8522
cfba4fda
L
8523 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8524 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8525
80bad0cc
JM
85262012-05-24 Joseph Myers <joseph@codesourcery.com>
8527
7a25eb06
JM
8528 [BZ #10846]
8529 [BZ #14036]
8530 * math/libm-test.inc (exp_test): Add test from bug 14036.
8531 (pow_test): Add test from bug 10846.
8532
795405f9
JM
8533 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8534 and other flags.
8535 (special_function): Do not include flags in test name.
8536 (parse_args): Likewise.
8537 * sysdeps/i386/fpu/libm-test-ulps: Update.
8538 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8539 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8540 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8542
80bad0cc
JM
8543 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8544 exceptions.
8545 * math/libm-test.inc ("Philosophy"): Update comment about
8546 exception testing.
8547 (UNDERFLOW_EXCEPTION): New macro.
8548 (UNDERFLOW_EXCEPTION_OK): Likewise.
8549 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8550 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8551 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8552 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8553 (INVALID_EXCEPTION_OK): Update value.
8554 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8555 (OVERFLOW_EXCEPTION_OK): Likewise.
8556 (IGNORE_ZERO_INF_SIGN): Likewise.
8557 (test_exceptions): Handle underflow exceptions.
8558 (acos_test): Update for underflow exception expectations.
8559 (cexp_test): Likewise.
8560 (clog_test): Likewise.
8561 (clog10_test): Likewise.
8562 (csqrt_test): Likewise.
8563 (ctan_test): Likewise.
8564 (ctanh_test): Likewise.
8565 (exp_test): Likewise.
8566 (exp10_test): Likewise.
8567 (exp2_test): Likewise.
8568 (expm1_test): Likewise.
8569 (fma_test): Likewise.
8570 (j0_test): Likewise.
8571 (jn_test): Likewise.
8572 (nexttoward_test): Likewise.
8573 (pow_test): Likewise.
8574 (scalbn_test): Likewise.
8575 (scalbln_test): Likewise.
8576 (tan_test): Likewise.
8577 (y1_test): Likewise.
8578 * sysdeps/i386/fpu/libm-test-ulps: Update.
8579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8580
9e0e3d0b
DM
85812012-05-23 David S. Miller <davem@davemloft.net>
8582
8583 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8584 (__libc_sigaction): Remove unused local variables.
8585
ccd0a08f
L
85862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8587
8588 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8589
62bdf9a6
PE
85902012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8591
f8591f80
PE
8592 mktime: avoid signed integer overflow
8593 * time/mktime.c (__mktime_internal): Do not mishandle the case
8594 where diff == INT_MIN.
8595
94c7d826
PE
8596 mktime: simplify computation of average
8597 * time/mktime.c (ranged_convert): Use new time_t_avg function
8598 instead of rolling our own (probably-slower) code.
8599
ce73d683
PE
8600 mktime: do not assume signed right shift propagates sign bit
8601 * time/mktime.c (isdst_differ): New static function.
8602 (__mktime_internal): No need to normalize tm_isdst now.
8603 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8604 tm_isdst values.
8605
72a22e59
PE
8606 mktime: merge another wrapv change from gnulib
8607 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8608 from some compilers.
8609
68605433
PE
8610 mktime: remove incorrect attempt at unusual arithmetics
8611 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8612 The code didn't really work on such machines anyway.
8613 (TYPE_MINIMUM): Assume two's complement.
8614 (twos_complement_arithmetic): Verify that long_int and time_t
8615 are two's complement (or unsigned, in the latter case).
8616
03cf7fe3
PE
8617 mktime: check signed shifts on long_int and time_t, too
8618 * time/mktime.c (SHR): Check that shifts work as desired
8619 on the types long_int and time_t too, as SHR is used on
8620 such types.
8621
f04dfbc2
PE
8622 mktime: do not assume 'long' is wide enough
8623 * time/mktime.c (verify): Move decl up.
8624 (long_int): New type.
8625 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8626 to remove assumption in the code that 'long' is wide enough to
8627 store year values. This assumption is not true on x32 and on
8628 some non-glibc platforms.
8629
62bdf9a6
PE
8630 mktime: merge wrapv change from gnulib
8631 * time/mktime.c (WRAPV): New macro.
8632 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8633 (guess_time_tm, __mktime_internal): Do not assume that signed
8634 integer overflow wraps around; modern compilers generate code
8635 where this assumption is no longer valid.
8636
5e292e4f
L
86372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8638
8639 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8640 Replace "jmp L(pseudo_end)" with "ret".
8641 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8642 Likewise.
8643
8caf8c87
AJ
86442012-05-23 Andreas Jaeger <aj@suse.de>
8645
8646 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8647 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8648
1a09dc56
AJ
86492012-05-23 Andreas Jaeger <aj@suse.de>
8650 Maximilian Attems <max@stro.at>
8651
8652 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8653 New macros.
8654
1c87aba0
L
86552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8656
8657 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8658 code so that pseudo_end is just ret and the stack pointer is
8659 correct also for static library in error case.
8660
40e45bd5
JM
86612012-05-23 Joseph Myers <joseph@codesourcery.com>
8662
c2670533
JM
8663 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8664 move to syscalls.list.
8665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8669
40e45bd5
JM
8670 * manual/install.texi (Running make install): Do not mention Linux
8671 kernel version for which pt_chown is not needed.
8672 (Linux): Do not mention problems with nscd with 2.0 kernels.
8673 * INSTALL: Regenerated.
8674
be08eda5
AJ
86752012-05-23 Andreas Jaeger <aj@suse.de>
8676
8677 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8678 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8679 macro.
8680 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8681 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8682 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8683 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8684 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8685 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8686 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8687 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8688 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8689 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8690 * sysdeps/unix/sysv/linux/bits/in.h
8691 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8692
a6a056bb
RM
86932012-05-22 Roland McGrath <roland@hack.frob.com>
8694
8695 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8696 (PREPARE_VERSION): Just use assert instead, it will be elided
8697 under [NDEBUG] anyway.
8698
c9009328
L
86992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8700
8701 * sysdeps/unix/sysv/linux/Makefile: Include
8702 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8703 (sysdep_routines): Remove sysctl.
c9009328
L
8704 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8705 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8706 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8707 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8708 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8709
73338355
AJ
87102012-05-22 Andreas Jaeger <aj@suse.de>
8711
8712 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8713 that pseudo_end is just ret and the stack pointer is correct also
8714 for static library in error case.
8715
d44638b0
PP
87162012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8717
8718 [BZ #14122]
8719 * nss/nsswitch.c (defconfig_entries): New variable.
8720 (__nss_database_lookup): Don't leak defconfig entries.
8721 (nss_parse_service_list): Don't leak on error paths.
8722 (free_database_entries): New function.
8723 (free_defconfig): New function.
8724 (free_mem): Move common code to free_database_entries.
8725
31a39bd8
L
87262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8727
da0331a8
L
8728 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8729 Add arch_prctl.
8730 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8731
31a39bd8
L
8732 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8733 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8734 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8735 New macro.
8736 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8737 (INTERNAL_SYSCALL_TYPES): Likewise.
8738 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8739 (LOAD_REGS_TYPES_[1-6]): Likewise.
8740 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8741 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8742
45470df3
AZ
87432012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8744
8745 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8746 copysignl for GLIBC_2_0.
8747 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8748 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8749 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8750 logbl for GLIBC_2_0.
8751 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8752 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8753
98a61bcb
L
87542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8755
a4f6e481
L
8756 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8757 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8758
f63d5db6
L
8759 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8760 Use "neg %eax".
8761
98a61bcb
L
8762 * time/mktime.c: Update copyright years.
8763
95770f14
PE
87642012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8765
6226efbd
PE
8766 mktime: merge comment-quoting-style change from gnulib
8767 * time/mktime.c: Quote 'like this' in comments.
8768 The GNU coding standards suggest that we no longer quote `like this',
8769 as "`" and "'" are typically rendered asymmetrically nowadays.
8770 The typical gnulib style is to quote 'like this' when quoting
8771 code, and "like this" when quoting English.
8772
b99e4f78
PE
8773 * time/mktime.c (compile-command): Add "-I.".
8774
643e01e6
PE
8775 mktime: merge mktime-internal.h change from gnulib
8776 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8777
2554247d
PE
8778 mktime: merge time_r change from gnulib
8779 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8780
826dd0ab
PE
8781 mktime: merge DEBUG change from gnulib
8782 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8783 case system <time.h> has a #define.
8784
bd83aabe
PE
8785 mktime: merge <sys/types.h> change from gnulib
8786 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8787 since <time.t> is now guaranteed to define time_t.
8788
95770f14
PE
8789 mktime: merge HAVE_CONFIG_H change from gnulib
8790 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8791
5e1a27a9
L
87922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8793
0e44a77e
L
8794 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8795 Use "neg %eax".
8796
5e1a27a9
L
8797 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8798 __rlim_t cast.
8799 (struct rusage): Use anonymous union to pad each field to
8800 __syscall_slong_t.
8801
46259bec
DM
88022012-05-21 David S. Miller <davem@davemloft.net>
8803
8804 * Makefules (o-iterator): Remove .s cases.
8805 (compile-command.s): Delete.
8806 (COMPILE.s): Delete.
8807 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8808
59f0c22e
JM
88092012-05-21 Joseph Myers <joseph@codesourcery.com>
8810
8811 * configure.in (libc_cv_predef_stack_protector): Only consider
8812 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8813 * configure: Regenerated.
8814
20c07380
L
88152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8816
bbb3154b
L
8817 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8818 New macro. Use R*LP on int and pointer.
8819 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8820 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8821 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8822 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8823
20c07380
L
8824 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8825 [__WORDSIZE_TIME64_COMPAT32] instead of
8826 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8827 (struct utmp): Likewise.
8828 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8829 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8830 Renamed to ...
8831 (__WORDSIZE_TIME64_COMPAT32): This.
8832 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8833 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8834 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8835 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8836 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8837 (__WORDSIZE_TIME64_COMPAT32): New macro.
8838
d8d1017e
AJ
88392012-05-21 Andreas Jaeger <aj@suse.de>
8840
8841 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8842 only if [SHARED]. Add prototype for __wcschr_ia32.
8843
6c7fb145
RM
88442012-05-21 Roland McGrath <roland@hack.frob.com>
8845
8846 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8847 of %rbp unmolested in the jmp_buf while mangling the low bits.
8848 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8849 unmolested high bits of %rbp while demangling the low bits.
8850 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8851
66274218
AJ
88522012-05-21 Andreas Jaeger <aj@suse.de>
8853
07c58f8f
AJ
8854 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8855 * sunrpc/svc_simple.c: Use it for registerrpc.
8856 * sunrpc/xcrypt.c: Use it for passwd2des.
8857
66274218
AJ
8858 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8859
61f65140
L
88602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8861
8862 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8863 Don't define if [__SYSCALL_WORDSIZE != 32].
8864 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8865 New macro.
8866
5fefb436
AJ
88672012-05-21 Bruno Haible <bruno@clisp.org>
8868 Andreas Jaeger <aj@suse.de>
8869
8870 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8871 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8872 inptr and inend for must_buffer_ch.
8873 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8874 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8875 * stdio-common/Makefile (tests): Remove bug15.
8876 (bug15-ENV): Remove macro.
8877 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8878 anymore.
8879
d8e272ab
AJ
88802012-05-19 Andreas Jaeger <aj@suse.de>
8881 Roland McGrath <roland@hack.frob.com>
8882
8883 * manual/contrib.texi: Completely rewritten. It contains now an
8884 alphabetical list of contributors and their contributions.
8885
4a56a162
RH
88862012-05-21 Richard Henderson <rth@twiddle.net>
8887
8888 * misc/getauxval.c (__getauxval): Use unsigned long int.
8889 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8890 (getauxval): Use unsigned long int.
8891
d024d23c
L
88922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8893
8894 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8895
cbc00a03
RM
88962012-05-21 Roland McGrath <roland@hack.frob.com>
8897
8898 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8899 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8900 __alignof__ (long double).
8901
478143fa
AZ
89022012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8903
8904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8905
c7683a6d
RH
89062012-05-20 Richard Henderson <rth@twiddle.net>
8907
8908 * misc/getauxval.c: New file.
8909 * misc/sys/auxv.h: New file.
8910 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8911 (routines): Add getauxval.
8912 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8913 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8914 * elf/dl-sysdep.c (_dl_auxv): Remove.
8915 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8916 * elf/dl-support.c (_dl_auxv): New variable.
8917 (_dl_aux_init): Initialize it.
8918 * manual/startup.texi (Auxiliary Vector): New node.
8919 * sysdeps/generic/bits/hwcap.h: New file.
8920 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8921 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8922 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8923 * sysdeps/sparc/sysdep.h: ... here. Include it.
8924 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8925 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8927 Update.
c7683a6d
RH
8928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8931 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8936
a6f1845d
AZ
89372012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8938
8939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8940
cbcbe830
DM
89412012-05-19 David S. Miller <davem@davemloft.net>
8942
8943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8944
e0b16cc2
JM
89452012-05-19 Joseph Myers <joseph@codesourcery.com>
8946
8947 [BZ #14123]
8948 * math/s_ccosh.c: Include <float.h>
8949 (__ccosh): Avoid internal overflow calculating sinh and cosh
8950 values before multiplying by sin and cos values.
8951 * math/s_ccoshf.c: Likewise.
8952 * math/s_ccoshl.c: Likewise.
8953 * math/s_csin.c: Likewise.
8954 * math/s_csinf.c: Likewise.
8955 * math/s_csinl.c: Likewise.
8956 * math/s_csinh.c: Likewise.
8957 * math/s_csinhf.c: Likewise.
8958 * math/s_csinhl.c: Likewise.
8959 * math/libm-test.inc (ccos_test): Add more tests.
8960 (ccosh_test): Likewise.
8961 (csin_test): Likewise.
8962 (csinh_test): Likewise.
8963 * sysdeps/i386/fpu/libm-test-ulps: Update.
8964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8965
6ad13e08
L
89662012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8967
f66f0ce8
L
8968 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8969 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8970
6ad13e08
L
8971 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8972
b1d072a7
JM
89732012-05-19 Joseph Myers <joseph@codesourcery.com>
8974
8975 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8976 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8977 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8978 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8979 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8980 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8981 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8982 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8983 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8984 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8985 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8986 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8987 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8988 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8989 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8990 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8991 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8992 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8993 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8994 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8995 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8996 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8997 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8998 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8999 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9000 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9001 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9002 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9003 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9004 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9005 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9006
9eae47cb
AJ
90072012-05-18 Andreas Jaeger <aj@suse.de>
9008
9009 * csu/.gitignore: Delete.
9010
bb07f69f
L
90112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9012
9013 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9014 (timex): Use __syscall_slong_t.
9015
e6bdb741
AJ
90162012-05-18 Andreas Jaeger <aj@suse.de>
9017 Carlos O'Donell <carlos_odonell@mentor.com>
9018
9019 * manual/install.texi (Configuring and compiling): Update
9020 description about files modified in the source directory.
d6c33fda 9021 * INSTALL: Regenerated.
e6bdb741 9022
1b74487e
L
90232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9024
9025 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9026 value. Use "or" to set return value to -1.
9027 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9028 negate return value.
9029
a88b64b9
TMQMF
90302012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9031
9032 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9033 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9034 failure if the compiler has Graphite support disabled.
9035 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9036 Likewise.
9037 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9038 CFLAGS-memmove.c): Likewise.
9039 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9040 Likewise.
9041
3707636e
L
90422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9043
610b8622
L
9044 * sysdeps/x86_64/x32/_itoa.h: New file.
9045
7cd195df
L
9046 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9047 getdents system call only if kernel and user dirents have the
9048 same d_ino and d_off.
9049
94b07d20
L
9050 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9051 LLONG_MAX != LONG_MAX.
9052 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9053 (_fitoa_word): Likewise.
9054
18298070
L
9055 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9056 years.
9057 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9058 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9059 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9060
553c7ea4
L
9061 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9062 include <bits/wordsize.h>. Check __x86_64__ instead of
9063 __WORDSIZE.
9064 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9065 if __x86_64__ is defined. Use anonymous union on fpstate.
9066
3707636e
L
9067 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9068 anonymous union.
9069
b53ef01a
AS
90702012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9071
37fb1dc0
AS
9072 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9073 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9074 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9075 Refer to _rtld_local_ro instead of _rtld_global_ro.
9076 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9077 Likewise.
9078 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9079 Likewise.
9080 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9081 Likewise.
9082 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9083 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9084 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9085
b53ef01a
AS
9086 * sysdeps/powerpc/powerpc32/dl-machine.c
9087 (__elf_machine_runtime_setup) [PROF]: Don't reference
9088 _dl_prof_resolve.
9089
7a185db2
AJ
90902012-05-18 Andreas Jaeger <aj@suse.de>
9091
9092 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9093 function only available for GCCs before 3.4 since GCC 3.4
9094 introduced a builtin.
9095 (lrint): Likewise.
9096 (llrintf): Likewise.
9097 (llrint): Likewise.
9098 (fmaxf): Likewise.
9099 (fmax): Likewise.
9100 (fminf): Likewise.
9101 (fmin): Likewise.
9102 (rint): Likewise.
9103 (rintf): Likewise.
9104 (nearbyint): Likewise.
9105 (nearbyintf): Likewise.
9106 (ceil): Likewise.
9107 (ceilf): Likewise.
9108 (floor): Likewise.
9109 (floorf): Likewise.
9110
3e5aef87
L
91112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9112
428bd707
L
9113 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9114 on both fields and cast pointer to __syscall_ulong_t.
9115
3e5aef87
L
9116 * bits/types.h (__fsword_t): New type.
9117 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9118 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9119 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9120 (__FSWORD_T_TYPE): Likewise.
9121 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9122 (__FSWORD_T_TYPE): Likewise.
9123 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9124 (__FSWORD_T_TYPE): Likewise.
9125 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9126 (__FSWORD_T_TYPE): Likewise.
9127 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9128 __SWORD_TYPE with __fsword_t.
9129 (statfs64): Likewise.
9130
1ba7c3dc
DM
91312012-05-17 David S. Miller <davem@davemloft.net>
9132
9133 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9134
59910343
AJ
91352012-05-17 Andreas Jaeger <aj@suse.de>
9136
9137 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9138 warning.
9139
2e4c1e9e
L
91402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9141
9142 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9143
de7f5ce7
AJ
91442012-05-17 Andreas Jaeger <aj@suse.de>
9145
9146 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9147 when it is used.
9148
286abc3d
CM
91492012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9150
9151 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9152
477cc68e
L
91532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9154
9155 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9156 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9157
1a0994f5
CD
91582012-05-17 Andreas Jaeger <aj@suse.de>
9159 Carlos O'Donell <carlos_odonell@mentor.com>
9160
9161 [BZ #14059]
9162 * sysdeps/x86_64/multiarch/init-arch.h
9163 (bit_YMM_Usable): Rename to...
9164 (bit_AVX_Usable): ... this.
9165 (bit_FMA4_Usable): New macro.
9166 (bit_XMM_state): New macro.
9167 (bit_YMM_state): New macro.
9168 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9169 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9170 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9171 (CPUID_OSXSAVE): New macro.
9172 (CPUID_AVX): New macro.
9173 (CPUID_FMA4): New macro.
9174 (index_YMM_Usable): Rename to...
9175 (index_AVX_Usable): ... this.
9176 (HAS_AVX): Use HAS_ARCH_FEATURE.
9177 (HAS_FMA4): Likewise.
9178 (HAS_YMM_USABLE): Remove.
9179 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9180 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9181 are present.
9182 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9183 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9184 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9185 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9186 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9187
0af797de
CM
91882012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9189
9190 * math/libm-test.c: Support platforms without multiple rounding modes.
9191 * math/bug-nextafter.c: Support platforms without FP exceptions.
9192 * math/bug-nexttoward.c: Likewise.
9193 * math/test-fenv.c: Likewise.
9194 * math/test-misc.c: Likewise.
9195 * stdlib/bug-getcontext.c: Likewise.
9196
e39745ff
AJ
91972012-05-17 Andreas Jaeger <aj@suse.de>
9198
9199 * manual/examples/search.c (critter_cmp): Change signature to
9200 avoid warnings.
9201 * manual/string.texi (Collation Functions): Likewise.
9202
48970aba
L
92032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9204
9205 * bits/types.h: Fold copyright years.
9206 * bits/typesizes.h: Likewise.
9207 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9208 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9209 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9210 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9211 * time/time.h: Likewise.
9212
bedee953
PP
92132012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9214
9215 [BZ #208]
9216 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9217 in instead of returning them. Return void.
9218 (__libc_mallinfo): Accumulate over all arenas.
9219 (__malloc_stats): Adjust for change in int_mallinfo interface.
9220
61653dfb
RM
92212012-05-16 Roland McGrath <roland@hack.frob.com>
9222
30b99d79
RM
9223 [BZ #10375]
9224 * configure.in (NM): Add AC_CHECK_TOOL for it.
9225 (libc_extra_cflags): New substituted variable.
9226 Check for -fstack-protector being used implicitly.
9227 * configure: Regenerated.
9228 * config.make.in (config-extra-cflags): New variable,
9229 gets @libc_extra_cflags@.
9230 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9231
61653dfb
RM
9232 [BZ #10375]
9233 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9234 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9235 * configure: Regenerated.
9236 * config.make.in (CPPUNDEFS): New substituted variable.
9237 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9238 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9239 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9240
661768bb
L
92412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9242
9243 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9244 (mq_attr): Use __syscall_slong_t.
9245
d4261567
L
92462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9247
9248 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9249 Check __x86_64__ instead of __WORDSIZE.
9250 (_STAT_VER_LINUX): Likewise.
9251 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9252 __syscall_ulong_t and __syscall_slong_t.
9253 (stat64): Likewise.
9254
cf3ff365
L
92552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9256
9257 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9258
76cf3e4d
L
92592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9260
9261 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9262
a637753a
L
92632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9264
9265 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9266 __syscall_ulong_t.
9267
d5e05119
L
9268 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9269 include <bits/wordsize.h>. Check __x86_64__ instead of
9270 __WORDSIZE.
9271 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9272 defined.
9273 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9274
f62ee380
L
9275 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9276 include <bits/wordsize.h>. Check __x86_64__ instead of
9277 __WORDSIZE.
9278 (user_regs_struct): Use "__extension__ unsigned long long"
9279 instead of "unsigned long" if __x86_64__ is defined.
9280 (user): Likewise. Pad after pointer field if __ILP32__ is
9281 defined.
9282
4e124ced
JM
92832012-05-16 Joseph Myers <joseph@codesourcery.com>
9284
6a3951a0
JM
9285 * configure.in (makeinfo): Require version 4.5 or later. Allow
9286 versions 5 to 9.
9287 * configure: Regenerated.
9288 * manual/install.texi (texinfo): Increase version requirement to
9289 4.5 or later.
9290 * INSTALL: Regenerated.
9291
4e124ced
JM
9292 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9293
953ca31a
L
92942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9295
9296 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9297
617aca05
L
9298 * sysdeps/x86_64/x32/ffs.c: New file.
9299
5762f7ae
L
9300 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9301 __syscall_ulong_t.
9302 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9303 defined. Use __syscall_ulong_t.
9304 (shminfo): Use __syscall_ulong_t.
9305 (shm_info): Likewise.
9306
a26b6856
L
9307 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9308 __syscall_ulong_t.
9309
cb2b9ef7
L
9310 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9311 <bits/wordsize.h>.
9312 (msgqnum_t): Use __syscall_ulong_t.
9313 (msglen_t): Likewise.
9314 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9315 __syscall_ulong_t.
9316
34683bb0
L
9317 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9318 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9319
84a68786
L
9320 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9321
48baa5f1
L
9322 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9323 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9324
180be88b
L
9325 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9326 __syscall_slong_t.
9327
5e90c8ad
L
9328 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9329 include <bits/wordsize.h>. Check __x86_64__ instead of
9330 __WORDSIZE.
9331
23dfb58b
L
9332 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9333 "unsigned long long int" if __x86_64__ is defined.
9334 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9335
ce5d54b0
L
9336 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9337 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9338 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9339
13dc9eac
L
9340 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9341 <stdint.h>.
9342 (GET_PC): Cast to uintptr_t first.
9343 (GET_FRAME): Likewise.
9344 (GET_STACK): Likewise.
9345
a7895d15
L
9346 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9347 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9348 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9349 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9350 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9351 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9352 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9353 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9354 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9355 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9356 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9357 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9358 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9359 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9360 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9361 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9362 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9363 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9364 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9365 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9366 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9367 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9368 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9369 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9370 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9371 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9372 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9373 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9374 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9375
656416c9
AS
93762012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9377
5bd66283
AS
9378 * Makerules (+depfiles): Also collect depfiles from .oS in
9379 $(extra-objs).
9380 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9381 .oS, $(libnldbl-routines)).
9382
656416c9
AS
9383 * Makerules (native-compile-mkdep-flags): Define.
9384 * sunrpc/Makefile (extra-objs): Add $(addprefix
9385 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9386 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9387 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9388 calling $(make-target-directory).
9389
a46f2169
L
93902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9391
9392 * bits/types.h (__snseconds_t): Removed.
9393 * time/time.h (struct timespec): Replace __snseconds_t with
9394 __syscall_slong_t.
9395 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9396 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9397 Likewise.
9398 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9399 (__SNSECONDS_T_TYPE): Likewise.
9400 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9401 (__SNSECONDS_T_TYPE): Likewise.
9402 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9403 (__SNSECONDS_T_TYPE): Likewise.
9404
6af6528b
L
94052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9406
9407 * sysdeps/mach/hurd/bits/typesizes.h
9408 (__SYSCALL_SLONG_TYPE): New macro.
9409 (__SYSCALL_ULONG_TYPE): Likewise.
9410
de986b56
L
94112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9412
9413 * bits/types.h (__syscall_slong_t): New type.
9414 (__syscall_ulong_t): Likewise.
9415
9416 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9417 (__SYSCALL_ULONG_TYPE): Likewise.
9418 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9419 (__SYSCALL_SLONG_TYPE): Likewise.
9420 (__SYSCALL_ULONG_TYPE): Likewise.
9421 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9422 (__SYSCALL_SLONG_TYPE): Likewise.
9423 (__SYSCALL_ULONG_TYPE): Likewise.
9424 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9425 (__SYSCALL_SLONG_TYPE): Likewise.
9426 (__SYSCALL_ULONG_TYPE): Likewise.
9427
85736dc7
L
94282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9429
9430 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9431 Add sigaltstack-offsets.sym.
9432 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9433 <sigaltstack-offsets.h>.
9434 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9435 longjmp_msg pointer.
9436 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9437 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9438 signal stack.
9439 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9440
cc03b296
JM
94412012-05-15 Joseph Myers <joseph@codesourcery.com>
9442
a9538892
JM
9443 * elf/stackguard-macros.h: Remove file.
9444 * sysdeps/generic/stackguard-macros.h: New file.
9445 * sysdeps/i386/stackguard-macros.h: Likewise.
9446 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9447 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9448 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9449 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9450 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9451 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9452 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9453 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9454 <elf/stackguard-macros.h>.
9455
cc03b296
JM
9456 [BZ #14109]
9457 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9458 __aligned__ in attribute.
9459 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9460 (gregset_t): Likewise.
9461
93171016
L
94622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9463
9464 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9465 * sysdeps/x86_64/64/Implies-after: Here. New file.
9466 * sysdeps/x86_64/x32/Implies-after: New file.
9467
d86813a0
L
94682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9469
9470 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9471 and access return value for _dl_profile_fixup. Use R10_LP to
9472 load frame size.
9473
2953ec75
L
94742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9475
9476 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9477
3b550e9e
L
94782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9479
9480 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9481 * sysdeps/x86_64/x32/sysdep.h: New file.
9482
eda41706
L
94832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9484
9485 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9486 * sysdeps/x86_64/setjmp.S: Likewise.
9487
9ea01d93
AZ
94882012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9489
9490 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9491 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9492 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9493 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9494 remove unused global constant.
9495
02a91938
CM
94962012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9497
9498 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9499 include of <not-cancel.h>.
9500
6540185f
RM
95012012-05-15 Roland McGrath <roland@hack.frob.com>
9502
9503 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9504
509072a0
AJ
95052012-05-15 Jeff Law <law@redhat.com>
9506 Andreas Jaeger <aj@suse.de>
9507
9508 [BZ #13594]
9509 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9510 out from...
9511 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9512 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9513 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9514 code changing __hst_map_handle.map.
9515
ba75122d
RM
95162012-05-15 Roland McGrath <roland@hack.frob.com>
9517
9518 * configure.in (sysnames): Look for Implies-before and Implies-after
9519 files.
9520 * configure: Regenerated.
9521
890d8bd8
L
95222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9523
9524 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9525 8-byte data alignment with LP_SIZE alignment.
9526
f6ee6623
L
95272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9528
9529 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9530 into R10_LP.
9531
ea2626f6
L
95322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9533
9534 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9535
085f715e
L
95362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9537
9538 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9539 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9540 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9541 Likewise.
9542 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9543
be8498fc
L
95442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9545
9546 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9547 (stackinfo_sub_sp): Likewise.
9548
70bc83b9
L
95492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9550
9551 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9552 RAX_LP.
9553
9bc0b730
L
95542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9555
9556 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9557 into R*_LP.
9558
6d2850e7
L
95592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9560
9561 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9562 sizes into R*_LP.
9563
3cb84561
L
95642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9565
9566 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9567
54e2ed81
L
95682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9569
9570 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9571 into R11_LP and load __x86_64_shared_cache_size_half into
9572 R8_LP.
9573
8a17f349
L
95742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9575
9576 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9577 R8_LP.
9578
777b1eea
AZ
95792012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9580
9581 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9582 logb for POWER7.
9583 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9584 logbf for POWER7.
9585 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9586 logbl for POWER7.
9587 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9588 powerpc32/power7/fpu/s_logb.c via #include.
9589 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9590 powerpc32/power7/fpu/s_logbf.c via #include.
9591 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9592 powerpc32/power7/fpu/s_logbl.c via #include.
9593
d20d4ac2
JM
95942012-05-15 Joseph Myers <joseph@codesourcery.com>
9595
9596 * README.libm: Remove file.
9597
6cdef1ab
L
95982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9599
9600 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9601 count for x32. Use R*_LP and omit operand-size suffix.
9602
0b254d8f
L
96032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9604
9605 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9606 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9607 * sysdeps/x86_64/x32/shlib-versions: New file.
9608
ceb809dc
RM
96092012-05-14 Roland McGrath <roland@hack.frob.com>
9610
9611 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9612 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9613 Use _dl_fatal_printf instead.
9614
37f1abd4
JM
96152012-05-14 Joseph Myers <joseph@codesourcery.com>
9616
9617 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9618 set if not set by the user. Do not allow for being unset.
9619 * sysdeps/unix/sysv/linux/configure: Regenerated.
9620
11de3a33
L
96212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9622
9623 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9624 the `q' suffix from lea and replace .quad with ASM_ADDR.
9625
e02f153a
L
96262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9627
9628 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9629 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9630 instead of $17.
9631 (PTR_DEMANGLE): Likewise.
9632
520ae0fd
L
96332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9634
9635 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9636 (LP_OP): Likewise.
9637 (ASM_ADDR): Likewise.
9638 (RAX_LP): Likewise.
9639 (RBP_LP): Likewise.
9640 (RBX_LP): Likewise.
9641 (RCX_LP): Likewise.
9642 (RDI_LP): Likewise.
9643 (RSI_LP): Likewise.
9644 (RSP_LP): Likewise.
9645 (R8_LP): Likewise.
9646 (R9_LP): Likewise.
9647 (R10_LP): Likewise.
9648 (R10_LP): Likewise.
9649 (R11_LP): Likewise.
9650 (R12_LP): Likewise.
9651 (R13_LP): Likewise.
9652 (R14_LP): Likewise.
9653 (R15_LP): Likewise.
9654
b985be81
L
96552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9656
9657 * sysdeps/x86_64/x32/dl-machine.h: New file.
9658
6a4888ff
AJ
96592012-05-14 Andreas Jaeger <aj@suse.de>
9660
9661 * manual/Makefile (subdir): Remove export of subdir.
9662 (all): Remove target.
9663 (.PHONY): Remove all from list.
9664 (mkinstalldirs): Remove.
9665 (.PHONY): Remove installdirs from list.
9666 ($(inst_infodir)/libc.info): Use make-target-directory.
9667 (installdirs): Remove.
9668 (subdir_%): Remove.
9669 (glibc-targets): Remove.
9670 (lib): Remove.
9671 (stubs): Remove.
9672 ($(objpfx)stubs ../po/manual.pot): Remove.
9673 ($(objpfx)stamp%): Remove.
9674 (make-target-directory): Remove.
9675 (subdir_install): Remove.
9676 (routines): Remove.
9677 (aux): Remove.
9678 (sources): Remove.
9679 (objects): Remove.
9680 (headers): Remove.
9681
9682 [BZ #13750]
9683 * manual/.gitignore: Remove, it's not needed anymore.
9684 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9685 all files in it.
9686 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9687 directory.
9688 (texis): Renamed to $(objpfx)texis.
9689 (texis-path): New, contains path to generated files.
9690 (chapters.%): Use texis-path for complete path, add extra argument
9691 libc-texinfo.sh.
9692 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9693 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9694 (summary,texi, stamp-summary): Use complete path of
9695 files. Generate files in build dir.
9696 (dir-add.texi): Build in build dir.
9697 (libm-err.texi,stamp-libm-err): Likewise.
9698 (version.texi, stamp-version): Likewise.
9699 (.%c.texi): Likewise.
9700 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9701 (mostlyclean): Remove target.
9702 (realclean): Remove target.
9703 (generated): Add new variable with contents from mostlyclean and
9704 realclean, remove entries duplicated in common-mostlyclean, add
9705 stamp-libm-err and stamp-version.
9706 (generated-dirs): Add libc directory.
9707 ($(inst_infodir)/libc.info): Install files from build dir.
9708
9709 * manual/install.texi (Configuring and compiling): Adjust since
9710 the info files are not part of the tar ball anymore.
9711
7ac77294
AJ
97122012-05-14 Andreas Jaeger <aj@suse.de>
9713
9714 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9715 variable.
9716
ffb7875d
JM
97172012-05-14 Joseph Myers <joseph@codesourcery.com>
9718
9719 [BZ #13717]
9720 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9721 to 2.2.0 where earlier.
9722 * sysdeps/unix/sysv/linux/configure: Regenerated.
9723 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9724 Remove conditional code.
9725 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9726 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9727 Remove conditional code.
9728 [!__NR_lchown]: Likewise.
9729 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9730 [__NR_lchown]: Likewise.
9731 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9732 comment referencing __ASSUME_LCHOWN_SYSCALL.
9733 * sysdeps/unix/sysv/linux/i386/sigaction.c
9734 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9735 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9736 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9737 Remove conditional code.
9738 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9739 (__protocol_available): Remove #if 0 code.
9740 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9741 conditional code.
9742 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9743 * sysdeps/unix/sysv/linux/kernel-features.h
9744 (__ASSUME_GETCWD_SYSCALL): Don't define.
9745 (__ASSUME_REALTIME_SIGNALS): Likewise.
9746 (__ASSUME_PREAD_SYSCALL): Likewise.
9747 (__ASSUME_PWRITE_SYSCALL): Likewise.
9748 (__ASSUME_POLL_SYSCALL): Likewise.
9749 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9750 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9751 non-SPARC.
9752 (__ASSUME_SIOCGIFNAME): Don't define.
9753 (__ASSUME_MSG_NOSIGNAL): Likewise.
9754 (__ASSUME_SENDFILE): Define unconditionally.
9755 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9756 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9757 conditional code.
9758 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9759 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9760 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9761 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9762 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9763 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9764 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9766 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9767 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9769 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9770 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9772 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9773 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9775 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9776 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9778 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9779 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9781 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9782 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9784 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9785 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9787 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9788 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9789 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9790 Remove conditional code.
9791 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9792 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9793 Remove conditional code.
9794 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9795 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9796 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9797 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9798 Remove conditional code.
9799 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9800 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9801 Remove conditional code.
9802 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9803 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9804 Remove conditional code.
9805 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9806 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9807 Remove conditional code.
9808 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9809 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9810 Remove conditional code.
9811 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9812 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9813 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9814 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9815 * sysdeps/unix/sysv/linux/sigaction.c
9816 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9817 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9818 * sysdeps/unix/sysv/linux/sigpending.c
9819 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9820 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9821 * sysdeps/unix/sysv/linux/sigprocmask.c
9822 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9823 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9824 * sysdeps/unix/sysv/linux/sigsuspend.c
9825 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9826 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9827 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9828 (__libc_missing_rt_sigs): Remove.
9829 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9830 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9831 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9832 Remove conditional code.
9833 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9834 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9835 return 1.
9836 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9837 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9838 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9839 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9840
1bfb7291
AJ
98412012-05-14 Andreas Jaeger <aj@suse.de>
9842
caae5a81
AJ
9843 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9844 it's not used in glibc.
9845 (__coshm1): Likewise.
9846 (__acosh1p): Likewise.
9847 (__sgn): Likewise.
9848
1bfb7291
AJ
9849 * manual/string.texi (Copying and Concatenation): Add missing
9850 variable in concat example.
9851 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9852
c044d724
L
98532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9854
144c5467 9855 [BZ #14103]
c044d724
L
9856 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9857 __builtin_clzl with __builtin_clzll.
9858
2523c62b
L
98592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9860
9861 [BZ #14104]
9862 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9863 libc_freeres_ptr.
9864
d7bb4c42
LD
98652012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9866
9867 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9868 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9869 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9870 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9871
9dc4e1fb
MF
98722012-05-14 Mike Frysinger <vapier@gentoo.org>
9873
9874 * NEWS: Update ia64 info.
9875
c7df0112
AS
98762012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9877
9878 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9879 used as bcopy.
9880
dc70356c
TS
98812012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9882
9883 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9884 * sysdeps/unix/syscalls.list (dup3): Likewise.
9885 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9886 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9887
9fb1a21f
L
98882012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9889
9890 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9891 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9892
4822a2a5
L
98932012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9894
9895 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9896 thread pointer.
9897 (TLS_IE): Use mov/add instead of movq/addq to load thread
9898 pointer.
9899 (TLS_GD_PREFIX): New.
9900 (TLS_GD): Use it.
9901
842b81d6
DM
99022012-05-11 David S. Miller <davem@davemloft.net>
9903
9904 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9905 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9906 (_FPU_SETCW): Likewise.
9907
1cf463cd
L
99082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9909
9910 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9911 is 32-byte aligned.
9912
60cc4a18
AS
99132012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9914
9915 [BZ #11837]
9916 * iconvdata/gb18030.c: Update tables.
9917 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9918 characters specially.
9919 (BODY for TO_LOOP): Add encoding of missing ranges.
9920
febb44a4
TS
99212012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9922
9923 [BZ #13673]
9924 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9925 * sysdeps/mach/hurd/dup3.c: Likewise.
9926 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9927 * sysdeps/powerpc/memmove.c:: Likewise.
9928
0a10fb9e
L
99292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9930
9931 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9932 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9933
df8a552f
L
99342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9935
9936 * elf/elf.h (R_X86_64_RELATIVE64): New.
9937 (R_X86_64_NUM): Updated.
9938 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9939 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9940 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9941 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9942 tst-quad1pie tst-quad2pie
9943 (modules-names): Add tst-quadmod1 tst-quadmod2.
9944 ($(objpfx)tst-quad1): New dependency.
9945 ($(objpfx)tst-quad2): Likewise.
9946 ($(objpfx)tst-quad1pie): Likewise.
9947 ($(objpfx)tst-quad2pie): Likewise.
9948 * sysdeps/x86_64/tst-quad1.c: New file.
9949 * sysdeps/x86_64/tst-quad1pie.c: New file.
9950 * sysdeps/x86_64/tst-quad2.c: Likewise.
9951 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9952 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9953 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9954 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9955 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9956
f34d6f84
ST
99572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9958
f42d41d1
ST
9959 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9960 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9961 * streams/stropts.h (t_scalar_t): Define type.
9962
3c3571fc
ST
9963 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9964 (_PATH_PRESERVE): Set to "/var/lib".
9965 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9966
61f06bd3
ST
9967 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9968 instead of int.
9969
918d4d71
ST
9970 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9971 if __dir_mkfile succeeded.
9972
f34d6f84
ST
9973 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9974 checking for _hurd_dtablesize. Unlock it right after having
9975 finished _hurd_dtable allocation.
9976
10589b4a
TS
99772012-05-10 Thomas Schwinge <thomas@schwinge.name>
9978
674cdbc7
TS
9979 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9980 * sysdeps/mach/hurd/configure: Regenerated.
9981 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9982 special-casing to...
9983 * sysdeps/gnu/configure.in: ... this new file.
9984 * sysdeps/unix/sysv/linux/configure: Regenerated.
9985 * sysdeps/gnu/configure: New generated file.
9986
8e41b99f
TS
9987 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9988 for Linux: use nsec instead of usec, as well as:
9989 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9990 members of type struct timespec.
9991 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9992 New macros.
9993 (struct stat64): Likewise.
9994 (_STATBUF_ST_NSEC): New macro.
9995 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9996
10589b4a
TS
9997 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9998 __strtoul_internal rather than strtoul.
9999
63643c85
PT
100002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10001
10002 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10003 and reject them.
10004
3faebe6a
ST
100052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10006
10007 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10008 which preserves existing values.
10009 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10010
c6474b07
PT
100112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10012
10013 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10014 TIMEOUT values. Return EINVAL for NFDS values either negative or
10015 greater than FD_SETSIZE.
10016
1043890b
ST
100172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10018
10019 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10020 allocated, call __vm_protect to finish enabling the existing space, and
10021 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10022 allocate the remainder.
10023
37ed8b9b
PT
100242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10025
10026 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10027 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10028
db653660
ST
100292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10030
37ed8b9b
PT
10031 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10032 sysdeps/mach/hurd/readlink.c.
b29d4053 10033
db653660
ST
10034 * posix/tst-sysconf.c (posix_options): Only use
10035 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10036 _POSIX_SYNCHRONIZED_IO when they are defined
10037 * sysdeps/mach/hurd/bits/posix_opt.h:
10038 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10039 (_XOPEN_REALTIME): Undefine macro.
10040 (_XOPEN_REALTIME_THREADS): Undefine macro.
10041 (_XOPEN_SHM): Undefine macro.
10042 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10043 macro to -1.
10044 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10045 macro to -1.
10046 (_POSIX_ASYNC_IO): Undefine macro.
10047 (_POSIX_PRIORITIZED_IO): Undefine macro.
10048 (_POSIX_SPIN_LOCKS): Define macro to -1.
10049
ee16e894
ST
10050 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10051 SA_NODEFER, SA_RESETHAND.
10052 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10053 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10054 F_DUPFD_CLOEXEC.
10055
6103ae3b
TS
100562012-05-10 Thomas Schwinge <thomas@schwinge.name>
10057
10058 * elf/Makefile (pldd-modules): Define unconditionally.
10059
80b4e5f3
TS
100602012-05-10 Thomas Schwinge <thomas@schwinge.name>
10061
10062 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10063
edadcbd6
ST
100642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10065
10066 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10067 Return ENOENT when name is empty.
10068 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10069
80694780
TS
100702012-05-10 Thomas Schwinge <thomas@schwinge.name>
10071
1792c087
TS
10072 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10073
80694780
TS
10074 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10075
6b645f0d
ST
100762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10077
80694780
TS
10078 Fix mlock in all cases except non-readable pages.
10079 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10080 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 10081
6b645f0d
ST
10082 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10083 (__mkdir): When path is `/', just fail with EEXIST.
10084 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10085
e468f8a3
TS
100862012-05-10 Thomas Schwinge <thomas@schwinge.name>
10087
10088 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10089 <sys/uio.h> (for writev).
10090 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10091 and <sys/param.h> (for MIN).
10092
a4186cff
PT
100932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10094
10095 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10096 REQUESTED_TIME. Properly set the remaining time and return EINTR
10097 if interrupted.
10098
510bbf14
TS
100992012-05-10 Thomas Schwinge <thomas@schwinge.name>
10100
10101 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10102 Depend on against $(link-rpcuserlibs).
10103
5d5722e8
ST
101042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10105
a4186cff
PT
10106 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10107 (__libc_stack_end): Do not use attribute_relro.
10108 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10109 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 10110 to libthread-provided value.
a4186cff
PT
10111 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10112 attribute_relro.
5d5722e8 10113
37233df9
TS
101142012-05-10 Thomas Schwinge <thomas@schwinge.name>
10115
be971a2b
TS
10116 [BZ #3748]
10117 * bits/libc-lock.h (__libc_once_get): New macro.
10118 * sysdeps/mach/bits/libc-lock.h: Likewise.
10119 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10120 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10121 instead of using implementation details.
10122
37233df9
TS
10123 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10124 * libio/freopen.c: Likewise.
10125 * libio/freopen64.c: Likewise.
10126 * misc/syslog.c: Likewise.
10127 * nscd/connections.c: Likewise.
10128 * nscd/netgroupcache.c: Likewise.
10129 * sysdeps/posix/getcwd.c: Likewise.
10130
38de94a5
RM
101312012-05-10 Roland McGrath <roland@hack.frob.com>
10132
10133 * math/w_ilogbf.c: Add #include <limits.h>.
10134
67530489
ST
101352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10136
a4186cff 10137 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
10138 path instead of returning without unlocking.
10139
67530489
ST
10140 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10141 immediate-write ioctls.
10142 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10143
5aa3a74a
TS
101442012-05-10 Thomas Schwinge <thomas@schwinge.name>
10145
18bad2ae
TS
10146 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10147 __builtin_frame_address instead of making assumptions about the
10148 location of the return address relative to DATA. Force early load of
10149 the return address.
10150 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10151 __builtin_frame_address.
10152
5aa3a74a
TS
10153 dup3 for GNU Hurd.
10154 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10155 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10156 implement dup3 and do some further code clean-ups.
10157 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10158 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10159
ecd0de9a
ST
101602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10161
cd9fa985
ST
10162 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10163
a4186cff
PT
10164 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10165 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10166 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10167 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10168 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10169 d->port.lock.
802ca5a5 10170
a4186cff
PT
10171 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10172 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10173 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 10174
bcf55240
TS
101752012-05-10 Thomas Schwinge <thomas@schwinge.name>
10176
6960eb42
TS
10177 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10178 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10179 definitions.
10180
eb43375f
TS
10181 accept4 for GNU Hurd.
10182 * include/sys/socket.h (__libc_accept4): New prototype.
10183 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10184 to implement __libc_accept4.
10185 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10186 __libc_accept4.
10187 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10188
bcf55240
TS
10189 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10190 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10191 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10192 signal-defines.sym.
10193
6178c55b
ST
101942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10195
a4186cff 10196 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 10197
6f080c2f
TS
101982012-05-10 Thomas Schwinge <thomas@schwinge.name>
10199
10200 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10201 assertion on O_CLOEXEC flag.
10202 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10203 * hurd/intern-fd.c: Likewise.
10204 * hurd/port2fd.c: Likewise.
10205
bcfe3a54
ST
102062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10207
10208 [BZ #3906]
10209 * bits/in.h (IPV6_PKTINFO): Define new macro.
10210 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10211
89c9aa49
AZ
102122012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10213
10214 [BZ #13954]
10215 [BZ #13955]
10216 [BZ #13956]
10217 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10218 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10219 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10220 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10221 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10222 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10223 * math/libm-test.inc (logb_test) : Additional logb tests.
10224
021db4be
AJ
102252012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10226 Andreas Jaeger <aj@suse.de>
10227
10228 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10229 * configure: Regenerated.
10230 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10231 * config.make.in (link-obsolete-rpc): New substituted variable.
10232 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10233 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10234 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10235 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10236 so that libc.a contains the symbols.
10237 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10238 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10239 * sunrpc/auth_none.c: Likewise.
10240 * sunrpc/auth_unix.c: Likewise.
10241 * sunrpc/authdes_prot.c: Likewise.
10242 * sunrpc/authuxprot.c: Likewise.
10243 * sunrpc/clnt_gen.c: Likewise.
10244 * sunrpc/clnt_perr.c: Likewise.
10245 * sunrpc/clnt_raw.c: Likewise.
10246 * sunrpc/clnt_simp.c: Likewise.
10247 * sunrpc/clnt_tcp.c: Likewise.
10248 * sunrpc/clnt_udp.c: Likewise.
10249 * sunrpc/clnt_unix.c: Likewise.
10250 * sunrpc/des_crypt.c: Likewise.
10251 * sunrpc/des_soft.c: Likewise.
10252 * sunrpc/get_myaddr.c: Likewise.
10253 * sunrpc/key_call.c: Likewise.
10254 * sunrpc/key_prot.c: Likewise.
10255 * sunrpc/netname.c: Likewise.
10256 * sunrpc/pm_getmaps.c: Likewise.
10257 * sunrpc/pm_getport.c: Likewise.
10258 * sunrpc/pmap_clnt.c: Likewise.
10259 * sunrpc/pmap_prot.c: Likewise.
10260 * sunrpc/pmap_prot2.c: Likewise.
10261 * sunrpc/pmap_rmt.c: Likewise.
10262 * sunrpc/publickey.c: Likewise.
10263 * sunrpc/rpc_cmsg.c: Likewise.
10264 * sunrpc/rpc_common.c: Likewise.
10265 * sunrpc/rpc_dtable.c: Likewise.
10266 * sunrpc/rpc_prot.c: Likewise.
10267 * sunrpc/rpc_thread.c: Likewise.
10268 * sunrpc/rtime.c: Likewise.
10269 * sunrpc/svc.c: Likewise.
10270 * sunrpc/svc_auth.c: Likewise.
10271 * sunrpc/svc_raw.c: Likewise.
10272 * sunrpc/svc_run.c: Likewise.
10273 * sunrpc/svc_tcp.c: Likewise.
10274 * sunrpc/svc_udp.c: Likewise.
10275 * sunrpc/svc_unix.c: Likewise.
10276 * sunrpc/svcauth_des.c: Likewise.
10277 * sunrpc/xcrypt.c: Likewise.
10278 * sunrpc/xdr.c: Likewise.
10279 * sunrpc/xdr_array.c: Likewise.
10280 * sunrpc/xdr_float.c: Likewise.
10281 * sunrpc/xdr_intXX_t.c: Likewise.
10282 * sunrpc/xdr_mem.c: Likewise.
10283 * sunrpc/xdr_rec.c: Likewise.
10284 * sunrpc/xdr_ref.c: Likewise.
10285 * sunrpc/xdr_sizeof.c: Likewise.
10286 * sunrpc/xdr_stdio.c: Likewise.
10287
b5c086a2
RM
102882012-05-10 Roland McGrath <roland@hack.frob.com>
10289
10290 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10291 change. Update copyright years.
10292
6d74dd09
JM
102932012-05-10 Joseph Myers <joseph@codesourcery.com>
10294
10295 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10296
28e72501
MK
102972012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10298 Joseph Myers <joseph@codesourcery.com>
10299 Paul Pluzhnikov <ppluzhnikov@google.com>
10300
10301 [BZ #14012]
10302 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10303 requiring rpcgen.
10304 [cross-compiling] (extra-libs): Likewise.
10305 [cross-compiling] (extra-libs-others): Likewise.
10306 [cross-compiling] (librpcsvc-routines): Likewise.
10307 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10308 [cross-compiling] (omit-deps): Likewise.
10309 (sunrpc-CPPFLAGS): New variable.
10310 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10311 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10312 (cross-rpcgen-objs): New variable.
10313 (extra-objs): Append $(cross-rpcgen-objs).
10314 ($(cross-rpcgen-objs)): New rule.
10315 ($(objpfx)cross-rpcgen): Likewise.
10316 (rpcgen-cmd): Define to use $(built-program-file). Expand
10317 comment.
10318 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10319 ($(objpfx)x%.stmp): Likewise.
10320 * sunrpc/proto.h [IS_IN_build] (_): Define.
10321 [IS_IN_build] (_libc_intl_domainname): Likewise.
10322
c8c59454
L
103232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10324
10325 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10326 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10327 and R_X86_64_TPOFF64.
10328
6f27cd16
JM
103292012-05-10 Joseph Myers <joseph@codesourcery.com>
10330
10331 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10332 sysdeps/unix/sysv/syscalls.list.
10333 (stime): Likewise.
10334 (utime): Likewise.
10335 * sysdeps/unix/sysv/syscalls.list: Remove file.
10336
02467e1c
PE
103372012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10338
10339 [BZ #3440]
10340 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10341 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10342 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10343 (__LC_IDENTIFICATION): Make these macros useful in #if
10344 expressions, as required by C99.
10345
da392631
AS
103462012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10347
10348 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10349 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10350 after this.
10351
8115f29b
L
103522012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10353
10354 * stdlib/longlong.h: Updated from GCC.
10355
bdd74070
AJ
103562012-05-09 Andreas Jaeger <aj@suse.de>
10357
edfe0dbe
AJ
10358 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10359 default is first entry.
10360 (run_mode): Set type.
10361 (main): Remove informal message about syslog.
10362 (options): Fix typo.
10363
bcfe3a54
ST
10364 [BZ #14053]
10365 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 10366 to asm.
bcfe3a54
ST
10367 (lrint): Likewise.
10368 (llrintf): Likewise.
10369 (llrint): Likewise.
10370 (rint): Likewise.
10371 (rintf): Likewise.
10372 (nearbyint): Likewise.
10373 (nearbyintf): Likewise.
bdd74070 10374
91d8d69e
AJ
103752012-05-09 Andreas Jaeger <aj@suse.de>
10376 Pedro Alves <palves@redhat.com>
10377
10378 * nscd/nscd.c (run_mode): Use enum.
10379 (main): Cleanup coding style issue.
10380
bb90b80b
AJ
103812012-05-09 Alexandre Oliva <aoliva@redhat.com>
10382 Andreas Jaeger <aj@suse.de>
10383
bcfe3a54
ST
10384 * nscd/nscd.c (go_background): Replaced with...
10385 (run_mode): ... this.
bb90b80b 10386 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
10387 (options): Add -F --foreground.
10388 (main): Implement it.
10389 (parse_opt): Parse it.
bb90b80b 10390
1a4b75a1
AJ
103912012-05-09 Andreas Jaeger <aj@suse.de>
10392
10393 [BZ #14083]
10394 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10395 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10396 -Wconversion warning.
10397 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10398 Likewise.
10399
b1cc2472
JM
104002012-05-09 Joseph Myers <joseph@codesourcery.com>
10401
10402 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10403 == 0.
10404 (LC_ALL): Use macro-int-constant.
10405 (LC_COLLATE): Likewise.
10406 (LC_CTYPE): Likewise.
10407 (LC_MESSAGES): Likewise.
10408 (LC_MONETARY): Likewise.
10409 (LC_NUMERIC): Likewise.
10410 (LC_TIME): Likewise.
10411 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10412 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10413 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10414 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10415 Specify type.
10416 [C99-based standards] (float_t): Expect type.
10417 [C99-based standards] (double_t): Expect type.
10418 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10419 type.
10420 [C99-based standards] (HUGE_VALL): Likewise.
10421 [C99-based standards] (INFINITY): Likewise.
10422 [C99-based standards] (NAN): Likewise.
10423 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10424 [C99-based standards] (FP_NAN): Likewise.
10425 [C99-based standards] (FP_NORMAL): Likewise.
10426 [C99-based standards] (FP_SUBNORMAL): Likewise.
10427 [C99-based standards] (FP_ZERO): Likewise.
10428 [C99-based standards] (FP_FAST_FMA): Use
10429 optional-macro-int-constant. Specify type. Require == 1.
10430 [C99-based standards] (FP_FAST_FMAF): Likewise.
10431 [C99-based standards] (FP_FAST_FMAL): Likewise.
10432 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10433 [C99-based standards] (FP_ILOGBNAN): Likewise.
10434 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10435 Specify type.
10436 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10437 [C99-based standards] (math_errhandling): Specify type.
10438 [ISO99 || ISO11] (signgam): Do not allow.
10439 [non-C99-based standards] (copysignf): Do not allow.
10440 [non-C99-based standards] (exp2f): Likewise.
10441 [non-C99-based standards] (log2f): Likewise.
10442 [non-C99-based standards] (modff): Allow.
10443 [non-C99-based standards] (erff): Do not allow.
10444 [non-C99-based standards] (erfcf): Likewise.
10445 [non-C99-based standards] (gammaf): Likewise.
10446 [non-C99-based standards] (hypotf): Likewise.
10447 [non-C99-based standards] (j0f): Likewise.
10448 [non-C99-based standards] (j1f): Likewise.
10449 [non-C99-based standards] (jnf): Likewise.
10450 [non-C99-based standards] (lgammaf): Likewise.
10451 [non-C99-based standards] (tgammaf): Likewise.
10452 [non-C99-based standards] (y0f): Likewise.
10453 [non-C99-based standards] (y1f): Likewise.
10454 [non-C99-based standards] (ynf): Likewise.
10455 [non-C99-based standards] (isnanf): Likewise.
10456 [non-C99-based standards] (acoshf): Likewise.
10457 [non-C99-based standards] (asinhf): Likewise.
10458 [non-C99-based standards] (atanhf): Likewise.
10459 [non-C99-based standards] (cbrtf): Likewise.
10460 [non-C99-based standards] (expm1f): Likewise.
10461 [non-C99-based standards] (ilogbf): Likewise.
10462 [non-C99-based standards] (log1pf): Likewise.
10463 [non-C99-based standards] (logbf): Likewise.
10464 [non-C99-based standards] (nextafterf): Likewise.
10465 [non-C99-based standards] (remainderf): Likewise.
10466 [non-C99-based standards] (rintf): Likewise.
10467 [non-C99-based standards] (scalbf): Likewise.
10468 [non-C99-based standards] (copysignl): Likewise.
10469 [non-C99-based standards] (exp2l): Likewise.
10470 [non-C99-based standards] (log2l): Likewise.
10471 [non-C99-based standards] (modfl): Allow.
10472 [non-C99-based standards] (erfl): Do not allow.
10473 [non-C99-based standards] (erfcl): Likewise.
10474 [non-C99-based standards] (gammal): Likewise.
10475 [non-C99-based standards] (hypotl): Likewise.
10476 [non-C99-based standards] (j0l): Likewise.
10477 [non-C99-based standards] (j1l): Likewise.
10478 [non-C99-based standards] (jnl): Likewise.
10479 [non-C99-based standards] (lgammal): Likewise.
10480 [non-C99-based standards] (tgammal): Likewise.
10481 [non-C99-based standards] (y0l): Likewise.
10482 [non-C99-based standards] (y1l): Likewise.
10483 [non-C99-based standards] (ynl): Likewise.
10484 [non-C99-based standards] (isnanl): Likewise.
10485 [non-C99-based standards] (acoshl): Likewise.
10486 [non-C99-based standards] (asinhl): Likewise.
10487 [non-C99-based standards] (atanhl): Likewise.
10488 [non-C99-based standards] (cbrtl): Likewise.
10489 [non-C99-based standards] (expm1l): Likewise.
10490 [non-C99-based standards] (ilogbl): Likewise.
10491 [non-C99-based standards] (log1pl): Likewise.
10492 [non-C99-based standards] (logbl): Likewise.
10493 [non-C99-based standards] (nextafterl): Likewise.
10494 [non-C99-based standards] (remainderl): Likewise.
10495 [non-C99-based standards] (rintl): Likewise.
10496 [non-C99-based standards] (scalbl): Likewise.
10497 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10498 [non-C99-based standards] (FP_*): Do not allow.
10499 [C99-based standards] (FP_*): Change to
10500 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10501 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10502 allow.
10503 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10504 (SIG_ERR): Likewise.
10505 [X/Open-based standards] (SIG_HOLD): Likewise.
10506 (SIG_IGN): Likewise.
10507 (SIGABRT): Use macro-int-constant. Specify type. Require
10508 positive value.
10509 (SIGFPE): Likewise.
10510 (SIGILL): Likewise.
10511 (SIGINT): Likewise.
10512 (SIGSEGV): Likewise.
10513 (SIGTER): Likewise.
10514 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10515 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10516 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10517 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10518 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10519 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10520 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10521 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10522 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10523 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10524 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10525 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10526 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10527 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10528 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10529 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10530 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10531 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10532 [X/Open-based standards] (SIGTRAP): Likewise.
10533 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10534 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10535 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10536 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10537 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10538 allow.
10539
b9f1922d
IW
105402012-05-08 Ian Wienand <ianw@vmware.com>
10541
10542 [BZ #14080]
10543 * time/tzset.c (__tzset_parse_tz): Update default rules for
10544 daylight time changes in the Energy Policy Act of 2005.
10545
1db86e88
AJ
105462012-05-09 Andreas Jaeger <aj@suse.de>
10547
10548 [BZ #13983]
10549 * elf/ldconfig.c (parse_conf): Change string to make clear that
10550 ldconfig only issued a warning if ld.so.conf does not exist.
10551
dee4a4e3
DM
105522012-05-08 David S. Miller <davem@davemloft.net>
10553
ee0db190
DM
10554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10555 movxtod instead of popping the value on the stack.
10556
dee4a4e3
DM
10557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10558
6a43ec98
CD
105592012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10560
10561 * config.h.in: Add HAVE_ARM_PCS_VFP.
10562
05c2c961
RMG
105632012-05-08 Roland Mc Grath <roland@hack.frob.com>
10564
bcfe3a54
ST
10565 [BZ #13979]
10566 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10567 checking but the checks are disabled for any reason.
05c2c961 10568
4b30f61a
L
105692012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10570
10571 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10572 and ELF64_R_TYPE with ELFW(R_TYPE).
10573
eee2bc67
JM
105742012-05-08 Joseph Myers <joseph@codesourcery.com>
10575
7ea5391a
JM
10576 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10577 (ulimit): Likewise.
10578
eee2bc67
JM
10579 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10580 (settimeofday): Likewise.
10581
abb66a67
MF
105822012-05-08 Mike Frysinger <vapier@gentoo.org>
10583
10584 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10585 a struct th_u2 inside the union, and move tu_block/tu_code into
10586 a new th_u3 union of tu_block/tu_code inside of that. Move
10587 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10588 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10589 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10590 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10591 (th_stuff): Change to th_u1.tu_stuff.
10592 (th_data): Define.
10593 (th_msg): Change to th_u1.th_u2.tu_data.
10594
7f18b530
DM
105952012-05-07 David S. Miller <davem@davemloft.net>
10596
05760585
DM
10597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10598
7f18b530
DM
10599 [BZ #14074]
10600 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10601 (SETUP_PIC_REG): Use it.
10602 (SETUP_PIC_REG_LEAF): Use it.
10603
495fd99f
JM
106042012-05-07 Joseph Myers <joseph@codesourcery.com>
10605
10606 [BZ #13885]
10607 [BZ #13923]
10608 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10609 USE_AS_EXPM1L.
10610 (EXPL_FINITE): Likewise.
10611 (FLDLOG): Likewise.
10612 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10613 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10614 e_expl.S.
10615 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10616 USE_AS_EXPM1L.
10617 (EXPL_FINITE): Likewise.
10618 (FLDLOG): Likewise.
10619 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10620 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10621 e_expl.S.
10622 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10623 test of -max_value argument for long double.
10624 * sysdeps/i386/fpu/libm-test-ulps: Update.
10625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10626
6693d694
DM
106272012-05-06 David S. Miller <davem@davemloft.net>
10628
10629 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10630 quad soft-float symbols whose references which are compiler
10631 generated.
10632 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10633
6c23e11c
JM
106342012-05-06 Joseph Myers <joseph@codesourcery.com>
10635
d8b82cad
JM
10636 [BZ #13884]
10637 [BZ #13914]
10638 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10639 USE_AS_EXP10L.
10640 (EXPL_FINITE): Likewise.
10641 (FLDLOG): Likewise.
10642 (c0): Likewise.
10643 (c1): Likewise.
10644 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10645 Adjust comments for base varying.
10646 (__expl_finite): Change alias to EXPL_FINITE.
10647 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10648 e_expl.S.
10649 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10650 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10651 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10652 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10653 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10654 USE_AS_EXP10L.
10655 (EXPL_FINITE): Likewise.
10656 (FLDLOG): Likewise.
10657 (c0): Likewise.
10658 (c1): Likewise.
10659 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10660 Adjust comments for base varying.
10661 (__expl_finite): Change alias to EXPL_FINITE.
10662 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10663 tests for bugs.
10664 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10665
6c23e11c
JM
10666 [BZ #14064]
10667 * math/libm-test.inc (check_float_internal): Correct ulp
10668 calculation for subnormal expected results.
10669
29ba805c
AJ
106702012-05-06 Andreas Jaeger <aj@suse.de>
10671
10672 * Makeconfig (+math-flags): New, set to -frounding-math.
10673 (+cflags): Add +math-flags so that all of glibc gets compiled with
10674 it.
10675
10676 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10677
7b17aeda
JM
106782012-05-05 Joseph Myers <joseph@codesourcery.com>
10679
5779f134
JM
10680 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10681 Disable one test.
10682
41498f4d
JM
10683 [BZ #13787]
10684 [BZ #13922]
10685 [BZ #14036]
10686 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10687 (__ieee754_expl): Allow for and saturate large arguments.
10688 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10689 (u_threshold): Likewise.
10690 (__exp): Call __ieee754_exp before checking for overflow and
10691 underflow.
10692 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10693 (u_threshold): Likewise.
10694 (__expf): Call __ieee754_expf before checking for overflow and
10695 underflow.
10696 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10697 (u_threshold): Likewise.
10698 (__expl): Call __ieee754_expl before checking for overflow and
10699 underflow.
10700 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10701 (__ieee754_expl): Allow for and saturate large arguments.
10702 * math/libm-test.inc (exp_test): Add another test. Do not allow
10703 missing overflow exception on overflow.
10704 (expm1_test): Do not allow missing overflow exception on overflow.
10705
6698b8bf
JM
10706 * sysdeps/i386/fpu/e_expl.c: Move to ...
10707 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10708 rather than using inline asm.
10709 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10710 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10711 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10712
7b17aeda
JM
10713 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10714 (nice): Likewise.
10715 (poll): Likewise.
10716 (signal): Likewise.
10717 (time): Likewise.
10718 (times): Likewise.
10719
f7c85819
JM
107202012-05-04 Joseph Myers <joseph@codesourcery.com>
10721
10722 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10723 sysdeps/unix/common/syscalls.list.
10724 (fchmod): Likewise.
10725 (fchown): Likewise.
10726 (ftruncate): Likewise.
10727 (getrusage): Likewise.
10728 (gettimeofday): Likewise.
10729 (setpgid): Likewise.
10730 (setregid): Likewise.
10731 (setreuid): Likewise.
10732 (sigaction): Likewise.
10733 (truncate): Likewise.
10734 (vhangup): Likewise.
10735 * sysdeps/unix/common/syscalls.list: Remove file.
10736 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10737 * sysdeps/unix/sysv/linux/Implies: Likewise.
10738
336270d0
L
107392012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10740
10741 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10743 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10744 Moved to ...
10745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10746 Here.
10747 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10748 to ...
10749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10750 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10751 to ...
10752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10753 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10754 to ...
10755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10756 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10757 to ...
10758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10759 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10760 to ...
10761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10762 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10763 to ...
10764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10765 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10766 to ...
10767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10768 Here.
10769 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10770 to ...
10771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10772 Here.
10773 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10774 to ...
10775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10776 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10777 Moved to ...
10778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10779 Here.
10780 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10781 to ...
10782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10783
d128e450
JM
107842012-05-04 Joseph Myers <joseph@codesourcery.com>
10785
fa8ee516
JM
10786 * sysdeps/unix/common/bits/dirent.h: Remove file.
10787 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10788
d128e450
JM
10789 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10790 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10791 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10792 * sysdeps/unix/bsd/isatty.c: Likewise.
10793 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10794 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10795 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10796
ff8faaf0 107972012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10798
62881be4 10799 [BZ #13563]
31dc8730
AZ
10800 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10801 long double comparison inaccuracies.
10802 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10804
6fef930c
AS
108052012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10806
10807 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10808 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10809
8f203e6c
JM
108102012-05-04 Joseph Myers <joseph@codesourcery.com>
10811
10812 [BZ #14049]
10813 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10814 nonzero digits before rounding a hex value.
10815 * stdlib/tst-strtod.c (tests): Add another test.
10816
5197d9c2
AK
108172012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10818
10819 * sysdeps/s390/fpu/libm-test-ulps: Update.
10820
f0c1dedf
AJ
108212012-05-03 Andreas Jaeger <aj@suse.de>
10822
10823 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10824 does not get optimized out.
10825 (malloc_opt_barrier): New.
10826
a65ef2ae 108272012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10828 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10829
2b942cb7 10830 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10831 intermediate file deletion.
2b942cb7 10832 (generated): Add .symlist files.
a65ef2ae 10833
54b71e02
JM
108342012-05-03 Joseph Myers <joseph@codesourcery.com>
10835
10836 [BZ #13775]
10837 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10838 Redirect under this condition.
10839 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10840 [__USE_GNU] (__dprintf_chk): Not under this condition.
10841 [__USE_GNU] (__vdprintf_chk): Likewise.
10842 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10843 under this condition.
10844 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10845 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10846 [__USE_XOPEN2K8] (vdprintf): Likewise.
10847 [__USE_GNU] (__dprintf_chk): Not under this condition.
10848 [__USE_GNU] (__vdprintf_chk): Likewise.
10849 [__USE_GNU] (dprintf): Likewise.
10850 [__USE_GNU] (vdprintf): Likewise.
10851
d3dfcc41
RM
108522012-05-03 Roland McGrath <roland@hack.frob.com>
10853
10854 * elf/Makefile (common-generated): Set this instead of generated for
10855 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10856 $(all-built-dso)-derived lists.
10857
7ac30cc5
AJ
108582012-05-03 Andreas Jaeger <aj@suse.de>
10859
0c51e550
AJ
10860 * sysdeps/i386/fpu/libm-test-ulps: Update.
10861
7ac30cc5
AJ
10862 * FAQ: Removed.
10863 * FAQ.in: Likewise.
10864 * scripts/gen-FAQ.pl: Likewise.
10865 * manual/install.texi (Installation): Point to online location of
10866 FAQ.
10867 * Makefile (files-for-dist): Remove FAQ.
10868 (FAQ): Remove.
10869
d4c2917f
AM
108702012-05-02 Allan McRae <allan@archlinux.org>
10871
10872 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10873 (LDFLAGS-reldepmod5.so): Likewise.
10874 (LDFLAGS-reldep6mod1.so): Likewise.
10875 (LDFLAGS-reldep6mod4.so): Likewise.
10876 (LDFLAGS-reldep8mod3.so): Likewise.
10877 (LDFLAGS-unload4mod1.so): Likewise.
10878 (LDFLAGS-unload4mod2.so): Likewise.
10879 (LDFLAGS-tst-initorder): Likewise.
10880 (LDFLAGS-tst-initordera2.so): Likewise.
10881 (LDFLAGS-tst-initordera3.so): Likewise.
10882 (LDFLAGS-tst-initordera4.so): Likewise.
10883 (LDFLAGS-tst-initorderb2.so): Likewise.
10884 (LDFLAGS-noload): Likewise.
10885 (LDFLAGS-next): Likewise.
10886 (LDFLAGS-order2mod1.so): Likewise.
10887 (LDFLAGS-order2mod2.so): Likewise.
10888 (LDFLAGS-tst-initorder2): Likewise.
10889 (LDFLAGS-tst-initorder2a.so): Likewise.
10890 (LDFLAGS-tst-initorder2b.so): Likewise.
10891 (LDFLAGS-tst-initorder2c.so): Likewise.
10892 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10893
d77f993f
DM
108942012-05-02 David S. Miller <davem@davemloft.net>
10895
10896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10897
171a70b4
PP
108982012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10899
10900 [BZ #14055]
10901 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10902
0be196ad
AJ
109032012-05-02 Andreas Jaeger <aj@suse.de>
10904
10905 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10906 since we manipulate rounding mode.
10907 (CPPFLAGS-test-idouble.c): Likewise.
10908 (CPPFLAGS-test-ifloat.c): Likewise.
10909 (CFLAGS-test-ldouble.c): Likewise.
10910 (CFLAGS-test-double.c): Likewise.
10911 (CFLAGS-test-float.c): Likewise.
10912 (CFLAGS-test-misc.c): Likewise.
10913 (CFLAGS-test-test-fenv.c): Likewise.
10914
4f9d04aa
AZ
109152012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10916
2b942cb7
RM
10917 [BZ #2550]
10918 [BZ #2570]
10919 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10920 comparisons to determine direction to adjust input.
4f9d04aa 10921
82a79e7d
RM
109222012-05-01 Roland McGrath <roland@hack.frob.com>
10923
f5a01ca9
RM
10924 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10925 output to the target.
10926
90fe4186
RM
10927 * scripts/localplt.awk: New file.
10928 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10929 (check-localplt-CFLAGS): Variable removed.
10930 ($(all-built-dso:=.jmprel)): New static pattern rule.
10931 (generated): Add those targets.
10932 (localplt-built-dso): New variable.
10933 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10934
10935 * elf/check-localplt.c: File removed.
10936
82397ed6
RM
10937 * scripts/check-execstack.awk: New file.
10938 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10939 (check-execstack-CFLAGS): Variable removed.
10940 ($(objpfx)check-execstack.h): Target removed.
10941 ($(objpfx)execstack-default): New target.
10942 (generated): Add that instead of check-execstack.h.
10943 ($(all-built-dso:=.phdr)): New static pattern rule.
10944 (generated): Add those targets.
10945 * elf/check-execstack.c: File removed.
10946
82a79e7d
RM
10947 * scripts/check-textrel.awk: New file.
10948 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10949 (check-textrel-CFLAGS): Variable removed.
10950 (all-built-dso): Use := to define.o
10951 ($(all-built-dso:=.dyn)): New static pattern rule.
10952 (generated): Add those targets.
10953 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10954 * config.make.in (READELF): New substituted variable.
10955 * elf/check-textrel.c: File removed.
10956
62fde54f 109572012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10958
615605c9
JM
10959 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10960 allow.
10961 * conform/data/ctype.h-data [C99-based standards] (isblank):
10962 Expect function.
10963 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10964 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10965 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10966 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10967 Specify type. Require positive value.
10968 (EILSEQ): Likewise.
10969 (ERANGE): Likewise.
10970 [ISO || POSIX] (EILSEQ): Do not expect.
10971 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10972 Specify type. Require positive value.
10973 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10974 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10975 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10976 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10977 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10978 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10979 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10980 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10981 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10982 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10983 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10984 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10985 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10986 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10987 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10988 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10989 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10990 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10991 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10992 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10993 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10994 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10995 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10996 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10997 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10998 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10999 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11000 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11001 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11002 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11003 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11004 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11005 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11006 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11007 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11008 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11009 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11010 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11011 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11012 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11013 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11014 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11015 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11016 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11017 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11018 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11019 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11020 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11021 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11022 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11023 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11024 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11025 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11026 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11027 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11028 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11029 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11030 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11031 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11032 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11033 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11034 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11035 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11036 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11037 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11038 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11039 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11040 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11041 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11042 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11043 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11044 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11045 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11046 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11047 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11048 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11049 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11050 Require >= 2.
11051 (FLT_ROUNDS): Expect as macro, not constant.
11052 (FLT_MANT_DIG): Use macro-int-constant.
11053 (DBL_MANT_DIG): Likewise.
11054 (LDBL_MANT_DIG): Likewise.
11055 (FLT_DIG): Likewise.
11056 (DBL_DIG): Likewise.
11057 (LDBL_DIG): Likewise.
11058 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11059 (DBL_MIN_EXP): Likewise.
11060 (LDBL_MIN_EXP): Likewise.
11061 (FLT_MAX_EXP): Use macro-int-constant.
11062 (DBL_MAX_EXP): Likewise.
11063 (LDBL_MAX_EXP): Likewise.
11064 (FLT_MAX_10_EXP): Likewise.
11065 (DBL_MAX_10_EXP): Likewise.
11066 (LDBL_MAX_10_EXP): Likewise.
11067 (FLT_MAX): Use macro-constant.
11068 (DBL_MAX): Likewise.
11069 (LDBL_MAX): Likewise.
11070 (FLT_EPSILON): Use macro-constant. Give upper bound.
11071 (DBL_EPSILON): Likewise.
11072 (LDBL_EPSILON): Likewise.
11073 (FLT_MIN): Likewise.
11074 (DBL_MIN): Likewise.
11075 (LDBL_MIN): Likewise.
11076 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11077 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11078 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11079 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11080 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11081 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11082 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11083 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11084 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11085 [ISO11] (FLT_TRUE_MIN): Likewise.
11086 [ISO11] (LDBL_TRUE_MIN): Likewise.
11087 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11088 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11089 (SCHAR_MIN): Use macro-int-constant. Specify type.
11090 (SCHAR_MAX): Likewise.
11091 (UCHAR_MAX): Likewise.
11092 (CHAR_MIN): Likewise.
11093 (CHAR_MAX): Likewise.
11094 (MB_LEN_MAX): Use macro-int-constant.
11095 (SHRT_MIN): Use macro-int-constant. Specify type.
11096 (SHRT_MAX): Likewise.
11097 (USHRT_MAX): Likewise.
11098 (INT_MAX): Likewise.
11099 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11100 bound negative.
11101 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11102 bound with "U".
11103 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11104 bound with "L".
11105 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11106 bound negative. Suffix upper bound with "L".
11107 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11108 bound with "UL".
11109 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11110 Specify type.
11111 [C99-based standards] (LLONG_MAX): Likewise.
11112 [C99-based standards] (ULLONG_MAX): Likewise.
11113 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11114 == 0.
11115 [ISO11] (max_align_t): Require type.
11116 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11117
c9140a62
JM
11118 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11119 from $CFLAGS, without defining away __attribute__ calls.
11120 (checknamespace): Use $CFLAGS_namespace.
11121
9af0bf29
JM
11122 * conform/conformtest.pl (@keywords): Only include C99 keywords
11123 for standards based on C99 or C11.
11124
343222a2
JM
11125 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11126 Disable tests.
11127 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11128 UNIX98]: Likewise.
11129
661f8cf0
JM
11130 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11131 usability of symbols in #if.
11132
ee74b9cb
JM
11133 * conform/conformtest.pl: If macro or constant types start
11134 "promoted:", expect the symbol to be of the following type
11135 promoted by the integer promotions.
62fde54f 11136
aafc49b3
JM
11137 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11138 in one place. Also handle "macro-constant".
11139
fefdf574
JM
11140 * conform/conformtest.pl: Only accept expected macro values with
11141 "==". Parse all "macro" lines in one place.
11142 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11143
f2d922fe
JM
11144 * conform/conformtest.pl: Handle braced types on "constant" lines
11145 instead of handling "typed-constant".
11146 * conform/data/signal.h-data: Use "constant" instead of
11147 "typed-constant".
11148
d22956c9
JM
11149 * conform/conformtest.pl: Handle "optional-" at start of lines in
11150 one place rather than duplicating several cases. Handle each
11151 format of "macro" line with initial "optional-".
11152
028e2e38
JM
11153 * conform/conformtest.pl: Only accept expected constant or
11154 optional-constant values with "==". Parse all "constant" lines in
11155 one place. Parse all "optional-constant" lines in one place.
11156 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11157 * conform/data/fmtmsg.h-data: Likewise.
11158 * conform/data/netinet/in.h-data: Likewise.
11159 * conform/data/tar.h-data: Likewise.
11160 * conform/data/limits.h-data: Use "==" form on "constant" and
11161 "optional-constant" lines.
11162
1b8f2850
JM
11163 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11164 Use -std=c99 for XOPEN2K.
11165 (@knownproblems): Remove.
11166 (newtoken): Don't check %isknown.
11167
a05a144b
JM
11168 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11169 Do not expect macro.
11170 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11171 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11172 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11173 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11174 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11175 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11176 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11177 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11178 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11179 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11180 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11181 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11182 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11183 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11184 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11185 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11186 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11187 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11188 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11189 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11190 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11191 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11192 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11193 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11194 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11195 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11196 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11197 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11198 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11199 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11200 [XPG3] (acosh): Likewise.
11201 [XPG3] (asinh): Likewise.
11202 [XPG3] (atanh): Likewise.
11203 [XPG3] (cbrt): Likewise.
11204 [XPG3] (expm1): Likewise.
11205 [XPG3] (ilogb): Likewise.
11206 [XPG3] (log1p): Likewise.
11207 [XPG3] (logb): Likewise.
11208 [XPG3] (nextafter): Likewise.
11209 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11210 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11211 [XPG3] (remainder): Likewise.
11212 [XPG3] (rint): Likewise.
11213 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11214 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11215 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11216 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11217 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11218 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11219 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11220 [UNIX98 || XOPEN2K] (scalb): Expect.
11221 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11222 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11223 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11224 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11225 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11226 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11227 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11228 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11229 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11230 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11231 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11232 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11233 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11234 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11235 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11236 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11237 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11238 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11239 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11240 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11241 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11242 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11243 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11244 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11245 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11246 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11247 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11248 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11249 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11250 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11251 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11252 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11253 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11254 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11255 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11256 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11257 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11258 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11259 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11260 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11261 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11262 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11263 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11264 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11265 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11266 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11267 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11268 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11269 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11270 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11271 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11272 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11273 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11274 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11275 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11276 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11277 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11278 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11279 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11280 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11281 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11282 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11283 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11284 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11285 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11286 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11287 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11288 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11289 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11290 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11291 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11292 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11293 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11294 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11295 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11296 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11297 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11298 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11299 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11300 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11301 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11302 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11303 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11304 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11305 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11306 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11307 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11308 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11309 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11310 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11311 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11312 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11313 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11314 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11315 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11316 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11317 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11318 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11319 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11320 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11321 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11322 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11323 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11324 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11325 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11326 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11327 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11328 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11329 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11330 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11331 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11332 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11333 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11334 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11335 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11336 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11337 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11338 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11339 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11340 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11341 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11342 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11343 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11344 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11345 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11346 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11347 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11348 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11349 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11350 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11351 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11352 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11353 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11354 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11355 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11356 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11357 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11358
73c5ebe3
JM
11359 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11360 _XOPEN_SOURCE_EXTENDED for XPG4.
11361
39c33b6c
JM
11362 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11363
62fde54f
JM
11364 * Makeconfig (localtime): Remove variable.
11365 (inst_localtime-file): Likewise.
11366
0741d64c
AS
113672012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11368
11369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11370 Update.
11371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11372 Update.
11373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11374 Update.
11375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11376 Update.
11377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11378 Update.
11379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11380 Update.
11381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11382 Update.
11383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11384 Update.
11385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11386 Update.
11387
7cb029ee
JM
113882012-05-01 Joseph Myers <joseph@codesourcery.com>
11389
11390 [BZ #2550]
11391 [BZ #2570]
11392 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11393 comparisons to determine direction to adjust input.
11394 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11395 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11396 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11397 Likewise.
11398 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11399 Likewise.
11400 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11401 Likewise.
11402 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11403 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11404 Likewise.
11405 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11406 Likewise.
11407 * math/libm-test.inc (nexttoward_test): Add more tests.
11408
412bd966
AS
114092012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11410
11411 [BZ #14040]
11412 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11413 in version GLIBC_2.1, not GLIBC_2.0.
11414 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11415 Likewise.
11416
9568c0c2
JM
114172012-04-30 Joseph Myers <joseph@codesourcery.com>
11418
adfbc8ac
JM
11419 [BZ #13942]
11420 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11421 (1 - x) * (1 + x).
11422 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11423 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11424 * math/libm-test.inc (acos_test): Add more tests.
11425 (asin_test): Likewise.
11426 * sysdeps/i386/fpu/libm-test-ulps: Update.
11427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11428
5ba3cc69
JM
11429 [BZ #14034]
11430 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11431 of square root.
11432 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11433 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11434 * math/libm-test.inc (acos_test_tonearest): New function.
11435 (acos_test_towardzero): Likewise.
11436 (acos_test_downward): Likewise.
11437 (acos_test_upward): Likewise.
11438 (asin_test_tonearest): Likewise.
11439 (asin_test_towardzero): Likewise.
11440 (asin_test_downward): Likewise.
11441 (asin_test_upward): Likewise.
11442 (main): Call the new functions.
11443 * sysdeps/i386/fpu/libm-test-ulps: Update.
11444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11445
9568c0c2
JM
11446 [BZ #13884]
11447 [BZ #13924]
11448 * math/e_exp10.c: Include <float.h>.
11449 (__ieee754_exp10): Handle underflow here rather than multiplying
11450 large negative argument by M_LN10.
11451 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11452 of __ieee754_expf.
11453 * math/e_exp10l.c: Include <float.h>.
11454 (__ieee754_exp10l): Handle underflow here rather than multiplying
11455 large negative argument by M_LN10l.
11456 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11457 spurious overflow exception on underflow.
11458
5ac3ea17
MP
114592012-04-29 Marek Polacek <polacek@redhat.com>
11460
11461 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11462 (__fortify_function): New macro.
11463 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11464 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11465 __extern_always_inline.
11466 * libio/bits/stdio2.h: Likewise.
11467 * libio/bits/stdio.h: Likewise.
11468 * string/string.h: Likewise.
11469 * string/bits/string3.h: Likewise.
11470 * include/stdio.h: Likewise.
11471 * stdlib/bits/stdlib.h: Likewise.
11472 * stdlib/stdlib.h: Likewise.
11473 * rt/bits/mqueue2.h: Likewise.
11474 * rt/mqueue.h: Likewise.
11475 * posix/bits/unistd.h: Likewise.
11476 * posix/unistd.h: Likewise.
11477 * io/bits/poll2.h: Likewise.
11478 * io/bits/fcntl2.h: Likewise.
11479 * io/fcntl.h: Likewise.
11480 * io/sys/poll.h: Likewise.
11481 * misc/bits/syslog.h: Likewise.
11482 * misc/bits/syslog-ldbl.h: Likewise.
11483 * misc/sys/syslog.h: Likewise.
11484 * socket/bits/socket2.h: Likewise.
11485 * socket/sys/socket.h: Likewise.
11486 * debug/tst-chk1.c: Likewise.
11487 * wcsmbs/bits/wchar2.h: Likewise.
11488 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11489 * wcsmbs/wchar.h: Likewise.
11490
ecf0ebfb
AJ
114912012-04-29 Andreas Jaeger <aj@suse.de>
11492
11493 * Makerules (tests): Remove enable-check-abi protection.
11494 (check-abi-warn): Remove.
11495 (check-abi-%): Remove check-abi-warn usage.
11496
11497 * configure.in: Remove check-abi configure option.
11498 * configure: Regenerated.
11499 * config.make.in (enable-check-abi): Remove.
11500
6d5c57fa
AS
115012012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11502
24c5d07e 11503 [BZ #14033]
ded5180a
AS
11504 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11505 double functions to double *_finite functions.
11506
7e0d315d
AS
11507 [BZ #13941]
11508 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11509 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11510 LDBL_MIN_EXP.
11511 * stdio-common/Makefile (tests): Add tst-sprintf3.
11512 * stdio-common/tst-sprintf3.c: New file.
11513
6d5c57fa
AS
11514 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11515 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11516
0749ff8b
JM
115172012-04-28 Joseph Myers <joseph@codesourcery.com>
11518
11519 * conform/conformtest.pl: Remove duplicate typed-constant
11520 handling.
11521
8dbd5d7b
DM
115222012-04-28 David S. Miller <davem@davemloft.net>
11523
11524 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11525 (check-abi-%): Remove AWK script prerequisite and explicit
11526 abilist directory.
11527 (check-abi): Rewrite to just diff the symlist with the abilist.
11528 (config-tls, config-abi-config): Delete, no longer used.
11529 (update-abi-%): Remove AWK script and explicit abilist directory.
11530 (update-abi): Rewrite to simply compare and conditionally copy the
11531 symlist and the sysdep abilist file. Remove update-abi-config
11532 checks.
11533 * abilist/ld.abilist: Remove.
11534 * abilist/libBrokenLocale.abilist: Remove.
11535 * abilist/libanl.abilist: Remove.
11536 * abilist/libcrypt.abilist: Remove.
11537 * abilist/libdl.abilist: Remove.
11538 * abilist/librt.abilist: Remove.
11539 * abilist/libthread_db.abilist: Remove.
11540 * abilist/libutil.abilist: Remove.
11541 * scripts/extract-abilist.awk: Remove.
11542 * scripts/merge-abilist.awk: Remove.
11543 * sysdeps/generic/libcidn.abilist: New file.
11544 * sysdeps/generic/libnss_compat.abilist: New file.
11545 * sysdeps/generic/libnss_db.abilist: New file.
11546 * sysdeps/generic/libnss_dns.abilist: New file.
11547 * sysdeps/generic/libnss_files.abilist: New file.
11548 * sysdeps/generic/libnss_hesiod.abilist: New file.
11549 * sysdeps/generic/libnss_nis.abilist: New file.
11550 * sysdeps/generic/libnss_nisplus.abilist: New file.
11551 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11552 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11553 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11554 file.
11555 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11556 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11557 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11558 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11559 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11560 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11561 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11562 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11563 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11564 file.
11565 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11566 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11567 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11568 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11569 file.
11570 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11571 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11572 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11573 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11574 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11575 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11576 file.
11577 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11578 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11579 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11580 file.
11581 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11582 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11583 New file.
11584 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11585 New file.
11586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11587 New file.
11588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11589 New file.
11590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11591 New file.
11592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11593 New file.
11594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11595 New file.
11596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11597 New file.
11598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11599 New file.
11600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11601 New file.
11602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11603 New file.
11604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11605 New file.
11606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11607 New file.
11608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11609 file.
11610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11611 New file.
11612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11613 New file.
11614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11615 file.
11616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11617 New file.
11618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11619 New file.
11620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11621 file.
11622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11623 New file.
11624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11625 New file.
11626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11627 New file.
11628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11629 New file.
11630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11631 New file.
11632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11633 New file.
11634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11636 file.
11637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11638 New file.
11639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11640 file.
11641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11642 file.
11643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11644 file.
11645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11646 file.
11647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11648 file.
11649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11650 New file.
11651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11652 file.
11653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11654 file.
11655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11656 New file.
11657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11658 file.
11659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11661 file.
11662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11663 New file.
11664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11665 file.
11666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11667 file.
11668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11669 file.
11670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11671 file.
11672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11673 file.
11674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11675 New file.
11676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11677 file.
11678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11679 file.
11680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11681 New file.
11682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11683 file.
11684 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11685 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11686 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11687 file.
11688 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11689 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11690 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11691 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11692 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11693 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11694 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11695 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11696 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11697 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11700 file.
11701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11702 New file.
11703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11704 file.
11705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11706 file.
11707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11708 file.
11709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11710 file.
11711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11712 file.
11713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11714 New file.
11715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11716 New file.
11717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11718 file.
11719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11720 New file.
11721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11722 file.
11723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11725 file.
11726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11727 New file.
11728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11729 file.
11730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11731 file.
11732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11733 file.
11734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11735 file.
11736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11737 file.
11738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11739 New file.
11740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11741 New file.
11742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11743 file.
11744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11745 New file.
11746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11747 file.
11748
41d73a1b
JM
117492012-04-28 Joseph Myers <joseph@codesourcery.com>
11750
11751 * conform/conformtest.pl: Fix typo in handling typed-constant from
11752 allow-header.
11753
28aeeda4
JM
117542012-04-27 Joseph Myers <joseph@codesourcery.com>
11755
adae8f5e
JM
11756 * README: Cut down references to pre-2.6 Linux kernels and
11757 Linuxthreads. Update lists of configurations in libc and ports
11758 and sort alphabetically. Say "or newer" with Linux kernel version
11759 requirements.
11760
28aeeda4
JM
11761 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11762
a462cb63
RA
117632012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11764
11765 [BZ #887]
11766 * math/libm-test.inc (logb_test_downward): New test to expose
11767 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11768 rounding mode.
11769
6ad3493e
JM
117702012-04-27 Joseph Myers <joseph@codesourcery.com>
11771
11772 [BZ #14027]
11773 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11774 to be done.
11775 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11776 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11777
2ce4f015
JM
117782012-04-26 Joseph Myers <joseph@codesourcery.com>
11779
5aeb141a
JM
11780 * sysdeps/unix/i386/brk.S: Remove file.
11781 * sysdeps/unix/i386/dl-brk.S: Likewise.
11782 * sysdeps/unix/i386/pipe.S: Likewise.
11783 * sysdeps/unix/i386/sigreturn.S: Likewise.
11784 * sysdeps/unix/i386/syscall.S: Likewise.
11785 * sysdeps/unix/i386/vfork.S: Likewise.
11786 * sysdeps/unix/i386/wait.S: Likewise.
11787
7143acae
JM
11788 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11789 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11790
2ce4f015
JM
11791 * configure.in (arm*-none*): Do not allow without
11792 --enable-hacker-mode.
11793 (netbsd*): Remove case setting base_os.
11794 (386bsd*): Likewise.
11795 (freebsd*): Likewise.
11796 (bsdi*): Likewise.
11797 (osf*): Likewise.
11798 (sunos*): Likewise.
11799 (ultrix*): Likewise.
11800 (newsos*): Likewise.
11801 (dynix*): Likewise.
11802 (*bsd*): Likewise.
11803 (sysv*): Likewise.
11804 (isc*): Likewise.
11805 (esix*): Likewise.
11806 (sco*): Likewise.
11807 (minix*): Likewise.
11808 (irix4*): Likewise.
11809 (irix6*): Likewise.
11810 (solaris[2-9]*): Likewise.
11811 (none): Likewise.
11812 * configure: Regenerated.
11813
0ac229c8
AZ
118142012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11815
11816 [BZ #11521]
11817 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11818 overflow or cancellation in calculating denominator.
11819 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11820 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11821 down expression to avoid unexpected rounding in newer GCCs.
11822 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11823
33f244f4
DM
118242012-04-26 David S. Miller <davem@davemloft.net>
11825
11826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11827 long-double compat symbols.
11828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11841
cfa1f3e8
DM
118422012-04-25 David S. Miller <davem@davemloft.net>
11843
11844 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11845 HWCAP_* values only after the memory barriers have been defined.
11846 (atomic_full_barrier): Define.
11847 (atomic_read_barrier): Define.
11848 (atomic_write_barrier): Define.
11849
6e236b92
SP
118502012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11851
11852 * shlib-versions: Add libgcc_s version information.
11853 * sysdeps/generic/libgcc_s.h: Remove.
11854 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11855 libgcc_s.h.
11856 * sysdeps/gnu/unwind-resume.c: Likewise.
11857 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11858
aab39a09
DM
118592012-04-25 David S. Miller <davem@davemloft.net>
11860
11861 * sysdeps/unix/sparc/brk.S: Delete.
11862 * sysdeps/unix/sparc/dl-brk.S: Delete.
11863 * sysdeps/unix/sparc/pipe.S: Delete.
11864 * sysdeps/unix/sparc/sysdep.S: Delete.
11865 * sysdeps/unix/sparc/sysdep.h: Delete.
11866 * sysdeps/unix/sparc/vfork.S: Delete.
11867 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11868 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11869 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11870 ret_ERRVAL, r0, r1, MOVE): Define.
11871 (JUMPTARGET): Remove.
11872 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11873 sysdeps/unix/sparc/sysdep.h
11874 (ENTRY, END): Remove.
11875 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11876
a3cc4f48
JM
118772012-04-25 Joseph Myers <joseph@codesourcery.com>
11878
2ed8cda2
JM
11879 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11880 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11881 -DIS_IN_build.
11882
35d76d59
JM
11883 * timezone/README: Update upstream location and email address for
11884 tzcode and tzdata.
11885 * timezone/zdump.c: Update from tzcode 2012b.
11886 * timezone/zic.c: Likewise.
11887
a3cc4f48
JM
11888 * configure.in (libc_cv_as_needed): Remove test.
11889 * configure: Regenerated.
11890 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11891 conditional definition.
11892 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11893 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11894 * config.make.in (have-as-needed): Remove variable.
11895
ceab42c3
SP
118962012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11897 Paul Pluzhnikov <ppluzhnikov@google.com>
11898
11899 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11900 strings correctly.
11901
3ce2865f
CLT
119022012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11903
11904 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11905 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11906 * sysdeps/sh/strlen.S: Likewise.
11907
f37e0d68
JM
119082012-04-24 Joseph Myers <joseph@codesourcery.com>
11909
ae186e9a
JM
11910 * sysdeps/unix/fork.S: Remove file.
11911 * sysdeps/unix/i386/fork.S: Likewise.
11912 * sysdeps/unix/sparc/fork.S: Likewise.
11913
b96914af
JM
11914 * sysdeps/unix/system.c: Remove file.
11915 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11916
f37e0d68
JM
11917 * sysdeps/unix/getegid.S: Remove file.
11918 * sysdeps/unix/geteuid.S: Likewise.
11919
87ef29ca
RM
119202012-04-24 Roland McGrath <roland@hack.frob.com>
11921
83bcd236
RM
11922 * scripts/check-localplt.awk: New file.
11923 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11924 of diff.
11925 * scripts/data/localplt-generic.data: Add a comment.
11926
87ef29ca
RM
11927 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11928 NODE when __dir_mkfile failed.
11929 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11930 Reported by Ludovic Courtès <ludo@gnu.org>.
11931
e5a6e567
AJ
119322012-04-24 Andreas Jaeger <aj@suse.de>
11933
11934 * Makerules (common-clean): Also remove gen-as-const-headers
11935 files.
11936
c1820385
JM
119372012-04-24 Joseph Myers <joseph@codesourcery.com>
11938
11939 * Makerules (native-compile): Do not change working directory for
11940 build. Use $(OUTPUT_OPTION) in command.
11941 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11942
94e02fc4
AZ
119432012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11944
11945 [BZ #13886]
11946 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11947 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11948 * math/libm-test.inc (floor_test): Add more tests.
11949 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11950
3a533ca3
JM
119512012-04-24 Joseph Myers <joseph@codesourcery.com>
11952
940ab4b3
JM
11953 * sysdeps/unix/getdents.c: Remove file.
11954 * sysdeps/unix/sysv/getdents.c: Likewise.
11955 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11956
90e037bd
JM
11957 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11958 sysdeps/unix/mman/syscalls.list.
11959 (mmap): Likewise.
11960 (mprotect): Likewise.
11961 (msync): Likewise.
11962 (munmap): Likewise.
11963 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11964 * sysdeps/unix/mman/syscalls.list: Remove.
11965 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11966
3a533ca3
JM
11967 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11968 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11969 * configure: Regenerated.
11970 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11971 $(libgcc_s_suffix).
11972 * config.make.in (libgcc_s_suffix): Remove variable.
11973
1ad743de
JM
119742012-04-23 Joseph Myers <joseph@codesourcery.com>
11975
4ad451e2
JM
11976 * sysdeps/unix/sysv/gethostname.c: Move to ...
11977 * sysdeps/posix/gethostname.c: ... here.
11978
5e37ce39
JM
11979 * sysdeps/unix/execve.S: Remove file.
11980
1ad743de
JM
11981 * sysdeps/unix/_exit.S: Remove file.
11982
4e681b5b
AJ
119832012-04-23 Andreas Jaeger <aj@suse.de>
11984
11985 [BZ #13739]
11986 * manual/Makefile: Remove make dist support, there's no
11987 need for a stand-alone documentation tar ball.
11988 (TEXI2DVI): Define always, it's not in Makeconfig.
11989 (dist): Removed.
11990 (tar-it): Removed.
11991 (edition): Removed.
11992 (glibc-doc-$(edition).tar): Removed
11993 (%.Z): Removed.
11994 (%.gz): Removed.
11995 (%.uu): Removed.
11996 (ETAGS): Remove, it's in Makeconfig.
11997 (move-if-change): Remove, it's in Makeconfig.
11998
38686a03 119992012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
12000
12001 [BZ #13970]
12002 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12003 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12004 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12005 (strtod_l, strtof_l, strtold_l): Remove __wur.
12006 It is not necessarily an error to ignore strtol's return value.
12007 One can reliably look at the stored endptr to decide whether
12008 the number had valid syntax.
12009
7c0616fa
AJ
120102012-04-21 Andreas Jaeger <aj@suse.de>
12011
803cb6b7 12012 [BZ #13739]
7c0616fa
AJ
12013 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12014
b0fe253f
JM
120152012-04-21 Joseph Myers <joseph@codesourcery.com>
12016
12017 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12018 * sysdeps/unix/sysv/Versions: Remove file.
12019
8280f22d
MT
120202012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12021
12022 [BZ #13927]
12023 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12024
75ce411f 120252012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
12026
12027 [BZ #7064]
12028 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12029 version from __vm86.
12030
097d59fa
JM
120312012-04-20 Joseph Myers <joseph@codesourcery.com>
12032
a90f3bcb
JM
12033 * sysdeps/unix/common/lxstat.c: Remove file.
12034 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12035
edc7ea78
JM
12036 * sysdeps/unix/sysv/Makefile: Remove file.
12037
cb78c221
JM
12038 * sysdeps/unix/sysv/direct.h: Remove file.
12039
efa6a45f
JM
12040 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12041 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12042 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12043 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12044 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12045 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12046 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12047
9c9f2d0c
JM
12048 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12049
4541c83b
JM
12050 * sysdeps/unix/xmknod.c: Remove file.
12051 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12052
f5d153a0
JM
12053 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12054
aa746595
JM
12055 * sysdeps/unix/sysv/i386/time.S: Remove file.
12056
cce5905e
JM
12057 * sysdeps/unix/fxstat.c: Remove file.
12058 * sysdeps/unix/xstat.c: Likewise.
12059 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12060
37fa3841
JM
12061 * sysdeps/unix/sysv/sigaction.c: Remove file.
12062
ff1962a3
JM
12063 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12064 (sysdep_headers): Remove variable.
12065 [termio.h not in sysdep_headers] (generated): Likewise.
12066 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12067 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12068 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12069 * sysdeps/unix/sysv/tcflow.c: Likewise.
12070 * sysdeps/unix/sysv/tcflush.c: Likewise.
12071 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12072 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12073 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12074 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12075 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12076
e7740d31
JM
12077 * sysdeps/unix/siglist.c: Remove file.
12078
ee06f18b
JM
12079 * sysdeps/unix/getppid.S: Remove file.
12080
097d59fa
JM
12081 * sysdeps/unix/mkdir.c: Remove file.
12082 * sysdeps/unix/rmdir.c: Likewise.
12083
ff3d51ec
AS
120842012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12085
12086 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12087 ERR_MAX value.
12088 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12089 errlist-compat value.
12090
50f81fd7
DM
120912012-04-18 David S. Miller <davem@davemloft.net>
12092
12093 * sysdeps/generic/memcopy.h (reg_char): Delete.
12094 * debug/strcat_chk.c: Use char, not reg_char.
12095 * debug/strcpy_chk.c: Likewise.
12096 * debug/strncat_chk.c: Likewise.
12097 * debug/strncpy_chk.c: Likewise.
12098 * string/memchr.c: Likewise.
12099 * string/memrchr.c: Likewise.
12100 * string/rawmemchr.c: Likewise.
12101 * string/strcat.c: Likewise.
12102 * string/strchr.c: Likewise.
12103 * string/strchrnul.c: Likewise.
12104 * string/strcmp.c: Likewise.
12105 * string/strcpy.c: Likewise.
12106 * string/strncat.c: Likewise.
12107 * string/strncmp.c: Likewise.
12108 * string/strncpy.c: Likewise.
12109
8ff41c46
WS
121102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12111
12112 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12113 __builtin_memcopy is called when src and dest ranges are known to not
12114 overlap.
12115
6b652f46
WS
121162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12117
12118 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12119 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12120 fwd_align_merge macro call.
12121 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12122 bwd_align_merge macro call.
12123 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12124
b282631e
WS
121252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12126
12127 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12128 bwd_align_merge macros.
12129 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12130 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12131 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12132
95aa737c
DM
121332012-04-18 David S. Miller <davem@davemloft.net>
12134
12135 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12136
7a99a614
AJ
121372012-04-18 Andreas Jaeger <aj@suse.de>
12138
12139 [BZ# 6794]
12140 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12141 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12142 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12143
12144 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12145 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12146 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12147
12148 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12149 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12150 Adjust for changed ldbl-128 files.
12151
12152 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12153 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12154 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12155
e5270c23
DM
121562012-04-17 David S. Miller <davem@davemloft.net>
12157
12158 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12159
fb5e92c9
AS
121602012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12161
12162 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12163 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12164 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12165 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12166 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12167 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12168
76da7265
AZ
121692012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12170
12171 [BZ #6794]
12172 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12173 * math/libm-test.inc: Add ilogb errno and exception tests.
12174 * math/w_ilogb.c: New file: ilogb wrapper.
12175 * math/w_ilogbf.c: New file: ilogbf wrapper.
12176 * math/w_ilogbl.c: New file: ilogbl wrapper.
12177 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12178 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12179 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12180 exception being thrown with 0.0 as argument.
12181 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12182 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12183 exception being thrown with 0.0 as argument.
12184 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12185 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12186 exception being thrown with 0.0 as argument.
12187 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12188 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12189 exception being thrown with 0.0 as argument.
12190 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12191 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 12192 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
12193 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12194 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12195 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12196 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12197 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12198 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12199
0396e69d
PB
122002012-04-17 Petr Baudis <pasky@ucw.cz>
12201
12202 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12203 with altivec.
12204
750b5926
MP
122052012-04-16 Marek Polacek <polacek@redhat.com>
12206
12207 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12208
751728a1
MP
122092012-04-16 Marek Polacek <polacek@redhat.com>
12210
12211 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12212 operands of fdivp instruction.
12213
34a27407
L
122142012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12215
12216 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12217 * elf/tst-auditmod3b.c: Likewise.
12218 * elf/tst-auditmod4b.c: Likewise.
12219 * elf/tst-auditmod5b.c: Likewise.
12220 * elf/tst-auditmod6b.c: Likewise.
12221 * elf/tst-auditmod6c.c: Likewise.
12222 * elf/tst-auditmod7b.c: Likewise.
12223 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12224 * sysdeps/x86_64/preconfigure.in: Likewise.
12225 * sysdeps/x86_64/preconfigure: Regenerated.
12226
7e73e17d
L
122272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12228
12229 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12230 __ILP32__.
12231
c7a6ab72
AB
122322012-04-13 Antoine Balestrat <merkil33@gmail.com>
12233
12234 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12235 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12236
a9e8e0e0
CL
122372012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12238
12239 [BZ #13973]
12240 * locale/iso-639.def: Fix gl language name. Spotted by
12241 Yaron Shahrabani.
12242
ec98af7d
RM
122432012-04-12 Roland McGrath <roland@hack.frob.com>
12244
12245 [BZ #2074]
12246 * libio/libio.h (__io_write_fn): Update comment.
12247
247c3ede
PB
122482012-04-12 Petr Baudis <pasky@ucw.cz>
12249
12250 [BZ #2074]
12251 * stdio.texi (Hook Functions): The user provided writer function
12252 is not allowed to return -1.
12253
55939d6d
DM
122542012-04-11 David S. Miller <davem@davemloft.net>
12255
12256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12257
90020f5a
MF
122582012-04-11 Mike Frysinger <vapier@gentoo.org>
12259
12260 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12261 Add a leading slash to rtkaio.
12262
288f9098
JM
122632012-04-11 Jim Meyering <meyering@redhat.com>
12264
90020f5a
MF
12265 [BZ #11959]
12266 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12267 It is not necessarily an error to ignore fwrite's return
12268 value. One can reliably use ferror to test for errors after
12269 the fact.
288f9098 12270
4be2b570
L
122712012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12272
12273 * bits/types.h (__snseconds_t): New type.
12274 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12275
12276 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12277 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12278 (__SNSECONDS_T_TYPE): Likewise.
12279 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12280 (__SNSECONDS_T_TYPE): Likewise.
12281 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12282 (__SNSECONDS_T_TYPE): Likewise.
12283
288f9098 122842012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
12285
12286 [BZ #2636]
12287 * manual/time.texi (Processor Time): Return type of times is
12288 elapsed real time since an arbitrary point in the past.
12289 (CPU Time): Move CLK_TCK from here...
12290 (Processor Time): ...to here. Correct description.
12291 * manual/conf.texi (Constants for Sysconf): Correct description of
12292 _SC_CLK_TCK.
12293
d7dd4413
DM
122942012-04-10 David S. Miller <davem@davemloft.net>
12295
12296 [BZ #13967]
12297 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12298 where the is a gap between DT_REL(A) and DT_JMPREL.
12299
b46068fc
L
123002012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12301
12302 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12303 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12304 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12305
73d65cc3
SP
123062012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12307
12308 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12309 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12310 (dl_main): Handle --inhibit-cache.
12311 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12312 _dl_inhibit_cache.
12313 * elf/dl-load.c (_dl_map_object): Use it.
12314 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12315
bcc8d661
JM
123162012-04-09 Joseph Myers <joseph@codesourcery.com>
12317
8f9a2fae
JM
12318 [BZ #13872]
12319 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12320 (__ieee754_powl): Saturate large exponents rather than testing for
12321 overflow of y*log2(x).
12322 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12323 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12324 exceptions.
12325
bcc8d661
JM
12326 [BZ #11521]
12327 * math/s_ctan.c: Include <float.h>.
12328 (__ctan): Avoid internal overflow or cancellation in calculating
12329 denominator.
12330 * math/s_ctanf.c: Likewise.
12331 * math/s_ctanl.c: Likewise.
12332 * math/s_ctanh.c: Likewise.
12333 * math/s_ctanhf.c: Likewise.
12334 * math/s_ctanhl.c: Likewise.
12335 * math/libm-test.inc (ctan_test): Add more tests.
12336 (ctanh_test): Likewise.
12337 * sysdeps/i386/fpu/libm-test-ulps: Update.
12338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12339
823fbbb4
AJ
123402012-04-09 Andreas Jaeger <aj@suse.de>
12341
03879793
AJ
12342 [BZ #6894]
12343 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12344 is an optional BSD extension.
12345
823fbbb4
AJ
12346 [BZ #10254]
12347 * manual/stdio.texi (Opening Streams): Document additional fopen
12348 parameters.
12349
8de131cb
RM
123502012-04-09 Roland McGrath <roland@hack.frob.com>
12351
12352 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12353 %eax without telling the compiler.
12354
c0ed9d7d
CD
123552012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12356
12357 [BZ # 13963]
12358 * manual/install.texi: Use sourceware.org.
12359
c483f6b4
JM
123602012-04-09 Joseph Myers <joseph@codesourcery.com>
12361
d7dd9453
JM
12362 [BZ #13873]
12363 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12364 (__ieee754_pow): Generate overflow and underflow using huge*huge
12365 and tiny*tiny rather than just returning constant infinity or zero
12366 for large exponents.
12367 * math/libm-test.inc (pow_test): Require overflow exceptions for
12368 applicable cases of large exponents.
12369
c483f6b4
JM
12370 [BZ #706]
12371 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12372 (__ieee754_pow): Use iterative multiplication algorithm only for
12373 integer exponents with absolute value below 1024. Check for odd
12374 integer exponents when using algorithm for real exponents.
12375 * math/libm-test.inc (pow_test): Add more tests.
12376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12377
d2de7579
JM
123782012-04-08 Joseph Myers <joseph@codesourcery.com>
12379
12380 [BZ #13705]
12381 * math/libm-test.inc (exp_test): Do not allow overflow exception
12382 on underflow test.
12383
f77f1232
AJ
123842012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12385
12386 [BZ #13705]
12387 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12388 instead of __kernel_standard_f.
12389
3884932b
MF
123902012-04-08 Mike Frysinger <vapier@gentoo.org>
12391
12392 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12393 * sysdeps/x86_64/memset_chk.S: Likewise.
12394
54472e9c
AJ
123952012-04-08 Andreas Jaeger <aj@suse.de>
12396
6ab0fbfc
AJ
12397 [BZ #10153]
12398 * manual/startup.texi (Environment Access): Describe return value
12399 for putenv and setenv.
12400
61efba8c
AJ
12401 [BZ #6895]
12402 * manual/filesys.texi (Directory Entries): Add description for
12403 DT_LNK.
12404
95c3f29a
AJ
12405 [BZ #6890]
12406 * manual/filesys.texi (Directory Entries): Clarify that it's file
12407 system not operating system in the description of DT_UNKNOWN.
12408
54472e9c
AJ
12409 [BZ #6578]
12410 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12411
624254b1
SC
124122012-04-08 Stephen Compall <s11@member.fsf.org>
12413
12414 [BZ #6649]
12415 * manual/llio.texi (Opening and Closing Files): Add cross
12416 reference to explain mode argument.
12417
1e4920e0
MF
124182012-04-07 Mike Frysinger <vapier@gentoo.org>
12419
12420 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12421 * sysdeps/x86_64/memset_chk.S: Likewise.
12422
5ed848f3
DM
124232012-04-07 David S. Miller <davem@davemloft.net>
12424
12425 * elf/elf.h (R_SPARC_WDISP10): Define.
12426 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12427 R_SPARC_SIZE32.
12428 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12429 R_SPARC_SIZE64 and R_SPARC_H34.
12430
96154cd8
CD
124312012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12432
12433 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12434 conditions and remove no longer applicable assertion.
12435
9904dc47
L
124362012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12437
12438 * bits/byteswap.h: Include <features.h>.
12439 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12440 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12441
f8887d0a
L
124422012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12443
12444 * bits/byteswap.h (__bswap_16): Removed.
12445 Include <bits/byteswap-16.h> to get __bswap_16.
12446 * sysdeps/i386/bits/byteswap.h: Likewise.
12447 * sysdeps/s390/bits/byteswap.h: Likewise.
12448 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12449 * bits/byteswap-16.h: New file.
12450 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12451 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12452 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12453 * string/Makefile (headers): Add bits/byteswap-16.h.
12454
62470f60
PP
124552012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12456
12457 [BZ #13895]
12458 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12459 extra indirection.
12460 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12461 * nss/tst-nss-static.c: New.
12462
4dad7bab
RM
124632012-04-06 Robert Millan <rmh@gnu.org>
12464
12465 [BZ #6486]
12466 * manual/llio.texi (File Position Primitive): lseek
12467 refers to WHENCE when it really means OFFSET.
12468
e9142a17
AJ
124692012-04-06 Andreas Jaeger <aj@suse.de>
12470
2c040eff
AJ
12471 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12472 strncmp declarations.
12473
e9142a17
AJ
12474 * abilist/libc.abilist: Add __poll and __ppoll.
12475
ff9f1c5f
DM
124762012-04-05 David S. Miller <davem@davemloft.net>
12477
dcd2ae90
DM
12478 * scripts/check-local-headers.sh: Accept a host triplet in the
12479 path matched by the exclude regexp.
12480
993eb054
DM
12481 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12482 definition.
12483 * sysdeps/powerpc/powerpc32/dl-machine.h
12484 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12485 * sysdeps/s390/s390-32/dl-machine.h
12486 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12487 * sysdeps/sparc/sparc32/dl-machine.h
12488 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12489 * sysdeps/sparc/sparc64/dl-machine.h
12490 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12491
ff9f1c5f
DM
12492 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12493 lazy binding.
48e2e132 12494 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
12495 undefined symbol errors.
12496
48e2e132 12497 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
12498 DT_NEEDED entries.
12499
e80d6f94
MM
125002012-04-05 Michael Matz <matz@suse.de>
12501
12502 [BZ #13592]
12503 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12504
349fa79f
AJ
125052012-04-05 Andreas Jaeger <aj@suse.de>
12506
12507 [BZ #13908]
12508 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12509 comment.
12510
f402708f
KK
125112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12512
12513 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12514 which ROUND is no valid rounding mode.
12515
2ecccfc9
KK
125162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12517
12518 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12519 read again.
12520 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12521
8a53f50f
KK
125222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12523
12524 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12525 an exception using FPU order intentionally.
12526
125272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12528
12529 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12530 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12531 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12532 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12533
d653abb7
SJ
125342012-04-05 Simon Josefsson <simon@josefsson.org>
12535
12536 [BZ #12340]
12537 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12538 EINVAL when BUFLEN is too smal.
12539
c3b1bf7d
TS
125402012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12541
12542 [BZ #13553]
12543 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12544 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12545
b1aa60f3
AJ
125462012-04-03 Andreas Jaeger <aj@suse.de>
12547
c3b1bf7d 12548 [BZ #13938]
67f60a26
AJ
12549 * manual/setjmp.texi (System V contexts): Fix sentence.
12550
b1aa60f3
AJ
12551 [BZ #13926]
12552 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12553 New macro for this case.
12554 [!__GNUC__] (__bswap_64): New inline function for this case.
12555 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12556 * bits/byteswap.h: Likewise.
12557 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12558 ull, guard with __GLIBC_HAVE_LONG_LONG.
12559
12560 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12561 __GLIBC_HAVE_LONG_LONG.
12562
12563 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12564 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12565
39c59c35
TMQMF
125662012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12567
12568 [BZ #13691]
12569 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12570 inptr and inend, rather than using last_ch.
12571
135ffda8
DM
125722012-04-02 David S. Miller <davem@davemloft.net>
12573
12574 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12575 * stdio-common/printf-parse.h (read_int): Change return type to
12576 'int', return -1 on INT_MAX overflow.
12577 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12578 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12579 overflows INT_MAX. Check for overflow of in-format-string precision
12580 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12581 SIZE_MAX not INT_MAX for integer overflow test.
12582 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12583 skip the construct in the format string but do not record anything.
12584 * stdio-common/bug22.c: Adjust to test both width/prevision
12585 INT_MAX overflow as well as total length INT_MAX overflow. Check
12586 explicitly for proper errno values.
12587
228c019e
TS
125882012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12589
302cadd3
TS
12590 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12591 CHAR_MAX.
12592 * string/test-strcmp.c [! WIDE]: Likewise.
12593 * time/tst-mktime2.c: Likewise for INT_MAX.
12594 * string/test-string.h: #include <sys/param.h> for MIN.
12595
228c019e
TS
12596 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12597 * sysdeps/i386/init-first.c (init): Likewise.
12598 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12599 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12600 * sysdeps/sh/init-first.c (init): Likewise.
12601
cfa633f5
UD
126022012-04-01 Ulrich Drepper <drepper@gmail.com>
12603
12604 * po/ru.po: Update from translation team.
d1635ef8 12605 * po/vi.po: Likewise.
cfa633f5 12606
6cd0a5ea
SP
126072012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12608
12609 * resolv/nss_dns/dns-host.c: Merge copyright years.
12610
4b43400f
LD
126112012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12612
12613 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12614 Optimize memcpy with prefetch if
12615 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12616 src, dst pointers have unequal 16 byte alignments.
12617
48c41d04
SP
126182012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12619
12620 [BZ #13928]
12621 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12622 from a CNAME entry and return the minimum ttl for the query.
12623 (gaih_getanswer_slice): Likewise.
12624
b8dc394d
JL
126252012-03-30 Jeff Law <law@redhat.com>
12626
12627 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12628 due to long keys.
12629 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12630 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12631
2f5a5ed0
JL
12632 * resolv/nss_dns/dns-host.c: Update copyright year.
12633
1d39e359
UD
126342012-03-30 Ulrich Drepper <drepper@gmail.com>
12635
c030f70c 12636 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12637 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12638
1d39e359
UD
12639 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12640 comments for sendmmsg.
12641
126422012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12643
12644 [BZ #13691]
12645 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12646 with only 1 character between 0x0041 and 0x01b0.
12647 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12648 * wcsmbs/tst-mbsnrtowcs.c: New file.
12649
20fde227
DM
126502012-03-29 David S. Miller <davem@davemloft.net>
12651
12652 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12653 small copies by hand.
12654
984a4237
JL
126552012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12656
12657 [BZ #13761]
12658 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12659 _nss_compat_initgroups_dyn): Fall back to malloc/free
12660 for large group memberships.
12661
18c9d62b
DM
126622012-03-28 David S. Miller <davem@davemloft.net>
12663
88d85d4f
DM
12664 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12665 that branches into memcpy.
12666 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12667 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12668 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12669 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12670 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12671 bits.
12672 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12673 implementation too.
12674 * sysdeps/sparc/mempcpy.S: New file.
12675
e5aa83e1
DM
12676 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12677 the IFUNC routine in the libc case.
12678 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12679
88570753
DM
12680 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12681 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12682 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12683 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12684 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12685 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12686 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12687 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12688
249d7567
DM
12689 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12690 loop to 256 bytes instead of 64 bytes and fix test signedness.
12691
18c9d62b
DM
12692 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12693 * sysdeps/sparc/sparc32/Makefile: rather than here...
12694 * sysdeps/sparc/sparc64/Makefile: and here.
12695
05f3d1f6
UD
126962012-03-28 Ulrich Drepper <drepper@gmail.com>
12697
12698 * malloc/mallocbug.c: Avoid warnings about unused variables.
12699
86ae07a8
JL
127002012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12701
12702 [BZ #13760]
12703 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12704 in the right place. Discard and retry query if response is
12705 larger than input buffer size.
12706
41bf21a1
JM
127072012-03-28 Joseph Myers <joseph@codesourcery.com>
12708
d6270972
JM
12709 [BZ #369]
12710 [BZ #2678]
12711 [BZ #3866]
12712 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12713 x for large integer exponent.
12714 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12715 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12716 sign of result as needed afterwards.
12717 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12718 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12719 result for underflowing pow the same as for overflow.
12720 (__kernel_standard_l): Handle powl overflow and underflow here
12721 rather than calling __kernel_standard.
12722 * math/libm-test.inc (pow_test): Add more tests.
12723
414fca03 12724 [BZ #3868]
41bf21a1
JM
12725 [BZ #13879]
12726 [BZ #13910]
12727 [BZ #13911]
12728 [BZ #13912]
12729 [BZ #13913]
12730 [BZ #13915]
12731 [BZ #13916]
12732 [BZ #13917]
12733 [BZ #13918]
12734 [BZ #13919]
12735 [BZ #13920]
12736 [BZ #13921]
12737 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12738 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12739 (__kernel_standard_l): New function.
12740 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12741 __kernel_standard.
12742 * math/w_acosl.c (__acosl): Likewise.
12743 * math/w_asinl.c (__asinl): Likewise.
12744 * math/w_atan2l.c (__atan2l): Likewise.
12745 * math/w_atanhl.c (__atanhl): Likewise.
12746 * math/w_coshl.c (__coshl): Likewise.
12747 * math/w_exp10l.c (__exp10l): Likewise.
12748 * math/w_exp2l.c (__exp2l): Likewise.
12749 * math/w_fmodl.c (__fmodl): Likewise.
12750 * math/w_hypotl.c (__hypotl): Likewise.
12751 * math/w_j0l.c (__j0l, __y0l): Likewise.
12752 * math/w_j1l.c (__j1l, __y1l): Likewise.
12753 * math/w_jnl.c (__jnl, __ynl): Likewise.
12754 * math/w_lgammal.c (__lgammal): Likewise.
12755 * math/w_log10l.c (__log10l): Likewise.
12756 * math/w_log2l.c (__log2l): Likewise.
12757 * math/w_logl.c (__logl): Likewise.
12758 * math/w_powl.c (__powl): Likewise.
12759 * math/w_remainderl.c (__remainderl): Likewise.
12760 * math/w_scalbl.c (sysv_scalbl): Likewise.
12761 * math/w_sinhl.c (__sinhl): Likewise.
12762 * math/w_sqrtl.c (__sqrtl): Likewise.
12763 * math/w_tgammal.c (__tgammal): Likewise.
12764 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12765 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12766 * math/libm-test.inc (acos_test): Add more tests.
12767 (acosh_test): Likewise.
12768 (asin_test): Likewise.
12769 (atanh_test): Likewise.
12770 (exp_test): Likewise.
12771 (exp10_test): Likewise.
12772 (exp2_test): Likewise.
12773 (expm1_test): Likewise.
12774 (lgamma_test): Likewise.
12775 (log_test): Likewise.
12776 (log10_test): Likewise.
12777 (log1p_test): Likewise.
12778 (log2_test): Likewise.
12779 (pow_test): Do not allow some spurious overflow exceptions.
12780 (sqrt_test): Add more tests.
12781 (tgamma_test): Likewise.
12782 (y0_test): Likewise.
12783 (y1_test): Likewise.
12784 (yn_test): Likewise.
12785
dd62fda6
AB
127862012-03-27 Anton Blanchard <anton@samba.org>
12787
12788 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12789 MAP_HUGETLB.
12790 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12791 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12792 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12793
1e3cdfda
AJ
127942012-03-27 David S. Miller <davem@davemloft.net>
12795
b855ab85
DM
12796 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12797
1e3cdfda
AJ
12798 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12799 have-as-vis3 check.
12800
128012012-03-27 Andreas Jaeger <aj@suse.de>
12802
12803 * sysdeps/x86_64/elf/configure.in: Moved to ...
12804 * sysdeps/x86_64/configure.in: ... here.
12805 * sysdeps/x86_64/elf/start.S: Moved to ...
12806 * sysdeps/x86_64/start.S: ... here.
12807 * sysdeps/x86_64/elf/configure: Delete.
12808
12809 * sysdeps/x86_64/configure.in: Merge contents from
12810 sysdeps/i386/configure.in (without i686 check).
12811
12812 * sysdeps/i386/elf/Versions: Merge into ...
12813 * sysdeps/i386/Versions: ... this.
12814 * sysdeps/i386/elf/Versions: Delete file.
12815 * sysdeps/i386/elf/start.S: Moved to ...
12816 * sysdeps/i386/start.S: ...here.
12817 * sysdeps/i386/elf/configure.in: Merge into...
12818 * sysdeps/i386/configure.in: ...here.
12819 * sysdeps/i386/elf/configure.in: Delete file.
12820 * sysdeps/i386/elf/configure: Delete file.
12821
12822 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12823 * debug/backtracesyms.c: ... here.
12824 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12825 * debug/backtracesymsfd.c: ... here.
12826 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12827 * sysdeps/generic/ifunc-sel.h: ... here.
12828
12829 * sysdeps/unix/i386/start.c: Delete file.
12830 * sysdeps/unix/sparc/start.c: Delete file.
12831 * sysdeps/unix/start.c: Delete file.
12832
12833 * sysdeps/sh/elf/configure.in: Moved to ...
12834 * sysdeps/sh/configure.in: ... here.
12835 * sysdeps/sh/elf/start.S: Moved to ...
12836 * sysdeps/sh/start.S: ... here.
12837 * sysdeps/sh/elf/configure: Delete file.
12838
12839 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12840 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12841 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12842 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12843 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12844 * sysdeps/powerpc/powerpc64/start.S: here.
12845 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12846 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12847 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12848 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12849 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12850
12851 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12852 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12853 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12854 * sysdeps/powerpc/powerpc32/start.S: ... here.
12855 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12856 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12857 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12858
12859 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12860 * sysdeps/powerpc/ifunc-sel.h: ... here.
12861 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12862 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12863
12864 * sysdeps/sparc/elf/configure.in: Moved to ...
12865 * sysdeps/sparc/configure.in: ... here.
12866 * sysdeps/sparc/elf/configure: Delete file.
12867 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12868 * sysdeps/sparc/sparc32/start.S: ... here.
12869 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12870 * sysdeps/sparc/sparc64/start.S: ... here.
12871 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12872 * sysdeps/sparc/sparc32/Makefile: ... this.
12873 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12874 * sysdeps/sparc/sparc64/Makefile: ... this.
12875
12876 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12877 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12878 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12879 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12880 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12881 * sysdeps/s390/s390-32/setjmp.S: ... here.
12882 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12883 * sysdeps/s390/s390-32/configure.in: ... here.
12884 * sysdeps/s390/s390-32/elf/configure: Delete file.
12885 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12886 * sysdeps/s390/s390-32/start.S: ... here.
12887
12888 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12889 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12890 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12891 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12892 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12893 * sysdeps/s390/s390-64/setjmp.S: ... here.
12894 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12895 * sysdeps/s390/s390-64/configure.in: ... here
12896 * sysdeps/s390/s390-64/elf/configure: Delete file.
12897 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12898 * sysdeps/s390/s390-64/start.S: ... here.
12899 * sysdeps/s390/s390-64/elf/configure: Delete.
12900
12901 * configure.in: Remove support for elf directories in sysdeps.
12902
12903 * configure: Regenerated.
12904 * sysdeps/i386/configure: Regenerated.
12905 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12906 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12907 * sysdeps/s390/s390-32/configure: Regenerated.
12908 * sysdeps/s390/s390-64/configure: Regenerated.
12909 * sysdeps/sh/configure: Regenerated.
12910 * sysdeps/sparc/configure: Regenerated.
12911 * sysdeps/x86_64/configure: Regenerated.
12912
a3f61311
AS
129132012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12914
c876e002
AS
12915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12916
a3f61311
AS
12917 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12918 denormal result into account.
12919
ac4c54f0
RM
129202012-03-25 Roland McGrath <roland@hack.frob.com>
12921
12922 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12923 Reported by Allan McRae <allan@archlinux.org>.
12924
6a9b9c02
JL
129252012-03-23 Jeff Law <law@redhat.com>
12926
12927 * nss/getnssent.c (__nss_getent): Fix typo.
12928
4c42a0c1
DM
129292012-03-23 David S. Miller <davem@davemloft.net>
12930
12931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12932
1532c7ac
L
129332012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12934
12935 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12936 to pad to uint64_t for each field.
12937 (dl_tls_index): Replace unsigned long with uint64_t.
12938
3ff42526
PP
129392012-03-23 Daniel Jacobowitz <dmj@google.com>
12940 Paul Pluzhnikov <ppluzhnikov@google.com>
12941
12942 [BZ #6528]
12943 * grp/Makefile (otherlibs): Don't set it.
12944 * inet/Makefile (otherlibs): Likewise.
12945 * login/Makefile (otherlibs): Likewise.
12946 * nscd/Makefile (otherlibs): Likewise.
12947 * posix/Makefile (otherlibs): Likewise.
12948 * pwd/Makefile (otherlibs): Likewise.
12949 * rt/Makefile (otherlibs): Likewise.
12950 * sunrpc/Makefile (otherlibs): Likewise.
12951 * nss/Makefile (otherlibs): Likewise.
12952 Add libnss_files to routines and static-only-routines.
12953 ($(objpfx)getent): Remove rule.
12954 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12955 static-only-routines.
12956
7c69cd14
JM
129572012-03-22 Joseph Myers <joseph@codesourcery.com>
12958
12959 [BZ #13892]
12960 * math/s_cexp.c: Include <float.h>.
12961 (__cexp): Handle exp result overflowing not necessarily
12962 overflowing both real and imaginary parts of result.
12963 * math/s_cexpf.c: Likewise.
12964 * math/s_cexpl.c: Likewise.
12965 * math/libm-test.inc (cexp_test): Add more tests.
12966 * sysdeps/i386/fpu/libm-test-ulps: Update.
12967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12968
81b035fe
L
129692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12970
12971 * include/link.h (ELFW): New macro.
12972 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12973 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12974
1da7940c
L
129752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12976
12977 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12978 with uint64_t.
12979
b749dbb9
L
129802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12981
12982 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12983 declaration.
12984 (struct La_x32_retval): Likewise.
12985
2ff87f3f
L
129862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12987
12988 * sysdeps/x86_64/preconfigure.in: New file.
12989 * sysdeps/x86_64/preconfigure: New generated file.
12990
c0df8e69
JM
129912012-03-22 Joseph Myers <joseph@codesourcery.com>
12992
48e44791
JM
12993 [BZ #13824]
12994 * math/e_exp2l.c: Include <float.h>.
12995 (__ieee754_exp2l): Handle overflow and underflow cases
12996 separately. Only pass fractional part of argument to
12997 __ieee754_expl.
12998 * math/libm-test.inc (exp2_test): Add more tests.
12999
c0df8e69
JM
13000 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13001 negating x to take absolute value.
13002 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13003 Likewise.
13004 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13005 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13006 Likewise.
13007 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13008 computing low part if x was negated.
13009 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13010
c8e43ba7
L
130112012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13012
13013 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13014 la_x32_gnu_pltexit.
13015 (pltexit): Cast int_retval to ptrdiff_t.
13016 * elf/tst-auditmod3b.c: Likewise.
13017 * elf/tst-auditmod4b.c: Likewise.
13018 * elf/tst-auditmod5b.c: Likewise.
13019 * elf/tst-auditmod6b.c: Likewise.
13020 * elf/tst-auditmod6c.c: Likewise.
13021 * elf/tst-auditmod7b.c: Likewise.
13022
13023 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13024 and x32_gnu_pltexit.
13025
13026 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13027 __ELF_NATIVE_CLASS.
13028 (La_x32_regs): New macro.
13029 (La_x32_retval): Likewise.
13030 (la_x32_gnu_pltenter): New function prototype.
13031 (la_x32_gnu_pltexit): Likewise.
13032
7998fa78
AS
130332012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13034
dcb33988
AS
13035 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13036 exponent.
13037
233fc563
AS
13038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13039
7998fa78
AS
13040 * configure.in (libc_cv_cc_nofma): Check for option to disable
13041 generation of FMA instructions.
13042 * configure: Regenerate.
13043 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13044 * sysdeps/ieee754/dbl-64/Makefile: New file.
13045 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13046 Remove brandred-fma4.
13047 (CFLAGS-brandred-fma4.c): Remove.
13048 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13049 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13050 define.
13051 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13052 define.
13053
8e95c99a
L
130542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13055
13056 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13057 LLONG_MAX != LONG_MAX.
13058 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13059 (_fitoa_word): Likewise.
13060 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13061 LLONG_MAX != LONG_MAX.
13062 * stdio-common/_itowa.h: Include <_itoa.h>.
13063 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13064 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13065 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13066 only if not defined.
13067 (_ITOA_WORD_TYPE): Likewise.
13068 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13069 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13070
6f4db457
DM
130712012-03-21 David S. Miller <davem@davemloft.net>
13072
13073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13074
7785fe5a
L
130752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13076
13077 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13078 of x86_64 when setting libc_cv_slibdir, libdir and
13079 libc_cv_localedir.
13080 * sysdeps/unix/sysv/linux/configure: Regenerated.
13081
4535cd55
JM
130822012-03-21 Joseph Myers <joseph@codesourcery.com>
13083
13084 * manual/lang.texi (Old Varargs): Remove section.
13085 (How Variadic): Update menu.
13086 (va_start): Do not mention varargs.h.
13087
17228132
TS
130882012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13089 Joseph Myers <joseph@codesourcery.com>
13090
13091 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13092 link test.
13093 * configure: Regenerated.
13094
8149f976
TS
130952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13096
05f3d1f6
UD
13097 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13098 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13099 conformtest.pl
8149f976 13100
1a4ac776
JM
131012012-03-21 Joseph Myers <joseph@codesourcery.com>
13102
be22ce65
JM
13103 * NOTES: Remove.
13104 * Makefile (files-for-dist): Remove NOTES.
13105 (NOTES): Remove rule.
13106 * README: Don't refer to NOTES.
13107 * manual/creature.texi: Don't include macros.texi.
13108 * manual/intro.texi (creature.texi): Remove comment referring to
13109 NOTES.
13110
40b601fb
JM
13111 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13112 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13113 * configure: Regenerated.
13114 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13115 LIBC_TRY_CC_OPTION.
13116 (libc_cv_as_i686): Likewise.
13117 (libc_cv_cc_avx): Likewise.
13118 (libc_cv_cc_sse2avx): Likewise.
13119 (libc_cv_cc_fma4): Likewise.
13120 (libc_cv_cc_novzeroupper): Likewise.
13121 * sysdeps/i386/configure: Regenerated.
13122
1a4ac776
JM
13123 [BZ #13883]
13124 * sysdeps/i386/fpu/s_cexp.S: Remove.
13125 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13126 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13127 * math/libm-test.inc (cexp_test): Add more tests.
13128 * sysdeps/i386/fpu/libm-test-ulps: Update.
13129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13130
a458e7fe
AM
131312012-03-21 Allan McRae <allan@archlinux.org>
13132
13133 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13134
0cb7efc5
JM
131352012-03-21 Joseph Myers <joseph@codesourcery.com>
13136
13137 [BZ #13871]
13138 * math/w_exp2.c: Do not include <float.h>.
13139 (o_threshold, u_threshold): Remove.
13140 (__exp2): Calculate result before checking finiteness and calling
13141 __kernel_standard.
13142 * math/w_exp2f.c: Likewise.
13143 * math/w_exp2l.c: Likewise.
13144 * math/libm-test.inc (exp2_test): Require overflow exception for
13145 1e6 input.
2460d3aa
JM
13146
13147 [BZ #3866]
13148 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13149 range of signed 64-bit integers before using fistpll. Remove
13150 checks for whether integers fit in mantissa bits.
13151 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13152 the range of signed 32-bit integers before using fistpl. Remove
13153 checks for whether integers fit in mantissa bits.
13154 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13155 (__ieee754_powl): Test for y outside the range of signed 64-bit
13156 integers before using fistpll. Reduce 64-bit values to 63-bit
13157 ones as needed.
13158 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13159 divide-by-zero is raised for zero to large negative powers.
13160 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13161 (__ieee754_powl): Test for y outside the range of signed 64-bit
13162 integers before using fistpll. Reduce 64-bit values to 63-bit
13163 ones as needed.
13164 * math/libm-test.inc (pow_test): Add more tests.
13165
eb96ffb0
L
131662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13167
13168 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13169 <stdio-common/_itoa.h>.
13170 * debug/segfault.c: Likewise.
13171 * elf/dl-cache.c: Likewise.
13172 * elf/dl-minimal.c: Likewise.
13173 * elf/dl-misc.c: Likewise.
13174 * elf/dl-sysdep.c: Likewise.
13175 * elf/dl-version.c: Likewise.
13176 * elf/rtld.c: Likewise.
13177 * hurd/hurdsock.c: Likewise.
13178 * hurd/lookup-retry.c: Likewise.
13179 * malloc/malloc.c: Likewise.
13180 * malloc/mtrace.c: Likewise.
13181 * nscd/nscd_getgr_r.c: Likewise.
13182 * nscd/nscd_getpw_r.c: Likewise.
13183 * nscd/nscd_getserv_r.c: Likewise.
13184 * posix/getopt_init.c: Likewise.
13185 * posix/wordexp.c: Likewise.
13186 * stdio-common/_itoa.c: Likewise.
13187 * stdio-common/printf_fphex.c: Likewise.
13188 * stdio-common/vfprintf.c: Likewise.
13189 * string/_strerror.c: Likewise.
13190 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13191 * sysdeps/i386/i686/hp-timing.h: Likewise.
13192 * sysdeps/mach/_strerror.c: Likewise.
13193 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13194 * sysdeps/mach/hurd/sethostid.c: Likewise.
13195 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13196 * sysdeps/mach/xpg-strerror.c: Likewise.
13197 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13198 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13199 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13200 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13201 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13202 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13203 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13204 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13205 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13206 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13207 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13208 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13209 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13210 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13211 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13212 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13213 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13214 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13215 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13216 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13217 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13218
13219 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13220
13221 * stdio-common/_itoa.h: Moved to ...
13222 * sysdeps/generic/_itoa.h: Here.
13223
13224 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13225
13226 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13227 instead of "_itoa.h" and "_itowa.h".
13228 * stdio-common/vfprintf.: Likewise.
13229
d1af992d
L
132302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13231
13232 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13233 <bits/wordsize.h>.
13234 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13235 (__signbit): Likwise.
13236 (llrintf): Likwise.
13237 (llrint): Likwise.
13238
114883e0
L
132392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13240
13241 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13242 __WORDSIZE != 64.
13243
c135cc1b
JM
132442012-03-20 Joseph Myers <joseph@codesourcery.com>
13245
13246 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13247 OVERFLOW_EXCEPTION_OK.
13248 * math/libm-test.inc ("Philosophy"): Update comment about
13249 exception testing.
13250 (OVERFLOW_EXCEPTION): Define.
13251 (OVERFLOW_EXCEPTION_OK): Likewise.
13252 (INVALID_EXCEPTION_OK): Renumber.
13253 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13254 (IGNORE_ZERO_INF_SIGN): Likewise.
13255 (test_exceptions): Handle FE_OVERFLOW.
13256 (exp10_test): Expect overflow exceptions.
13257 (exp2_test): Likewise.
13258 (expm1_test): Likewise.
13259 (nextafter_test): Likewise.
13260 (pow_test): Likewise.
13261 (scalbn_test): Likewise.
13262 (scalbln_test): Likewise.
13263
95443d88
L
132642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13265
13266 * sysdeps/x86_64/bits/atomic.h
13267 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13268 64bit integer.
13269 (atomic_exchange_acq): Likewise.
13270 (__arch_exchange_and_add_body): Likewise.
13271 (__arch_add_body): Likewise.
13272 (atomic_add_negative): Likewise.
13273 (atomic_add_zero): Likewise.
13274
490df6c4
L
132752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13276
c2722551 13277 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
13278 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13279
5e52b189
L
132802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13281
13282 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13283 Check __x86_64__ instead of __WORDSIZE.
13284
a9879d4c
L
132852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13286
13287 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13288
5df98260
DM
132892012-03-19 David S. Miller <davem@davemloft.net>
13290
e1497744
DM
13291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13292
5df98260
DM
13293 * sysdeps/sparc/fpu/fenv_private.h: New file.
13294 * sysdeps/sparc/fpu/math_private.h: Use it.
13295 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13296 Remove.
13297 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13298 (libc_feholdexcept_setroundl): Remove.
13299 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13300 Remove.
13301 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13302 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13303
b4c35121
L
133042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13305
13306 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13307 int64_t instead of long int.
13308 (INSERT_WORDS64): Likwise.
13309
56965fd7
L
133102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13311
13312 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13313 _Unwind_GetCFA return to _Unwind_Ptr first.
13314
83d1aec8
JM
133152012-03-19 Joseph Myers <joseph@codesourcery.com>
13316
1897ad44
JM
13317 [BZ #13629]
13318 * math/s_clog.c: Include <float.h>.
13319 (__clog): Scale large or subnormal inputs.
13320 * math/s_clogf.c: Likewise.
13321 * math/s_clogl.c: Likewise.
13322 * math/s_clog10.c: Include <float.h>.
13323 (M_LOG10_2): Define.
13324 (__clog10): Scale large or subnormal inputs.
13325 * math/s_clog10f.c: Likewise.
13326 * math/s_clog10l.c: Likewise.
13327 * math/libm-test.inc (clog_test): Add more tests.
13328 (clog10_test): Likewise.
13329 * sysdeps/i386/fpu/libm-test-ulps: Update.
13330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13331
7726d6a9
JM
13332 [BZ #11451]
13333 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13334 x and y.
13335 * math/libm-test.inc (atan2_test): Add another test.
13336
83d1aec8
JM
13337 * Makerules (common-objdir-compile): Remove.
13338 * sysdeps/unix/Makefile (config-generated): Do not add
13339 $(unix-generated) to variable.
13340 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13341 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13342 Remove rule.
13343 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13344 Likewise.
13345 [generic bits/local_lim.h] (before-compile): Do not append to
13346 variable.
13347 [generic bits/local_lim.h] (common-generated): Likewise.
13348 [generic sys/param.h] (before-compile): Do not append to variable.
13349 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13350 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13351 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13352 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13353 include.
13354 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13355 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13356 [generic sys/param.h] ($(addprefix
13357 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13358 [generic sys/param.h] (common-generated): Do not append to
13359 variable.
13360 [generic sys/param.h] (sysdep_headers): Likewise.
13361 [generic bits/errno.h] (before-compile): Do not append to
13362 variable.
13363 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13364 rule.
13365 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13366 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13367 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13368 [generic bits/errno.h] (common-generated): Do not append to
13369 variable.
13370 [generic bits/ioctls.h] (before-compile): Do not append to
13371 variable.
13372 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13373 rule.
13374 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13375 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13376 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13377 rule.
13378 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13379 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13380 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13381 [generic bits/ioctls.h] (common-generated): Do not append to
13382 variable.
13383 [generic sys/syscall.h] (syscall.h): Remove variable.
13384 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13385 rule.
13386 [generic sys/syscall.h] (before-compile): Do not append to
13387 variable.
13388 [generic sys/syscall.h] (common-generated): Likewise.
13389 * sysdeps/unix/errnos-tmpl.c: Remove file.
13390 * sysdeps/unix/errnos.awk: Likewise.
13391 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13392 * sysdeps/unix/ioctls.awk: Likewise.
13393 * sysdeps/unix/mk-local_lim.c: Likewise.
13394 * sysdeps/unix/snarf-ioctls: Likewise.
13395
4851a949
RH
133962012-03-19 Richard Henderson <rth@twiddle.net>
13397
bd37f2ee
RH
13398 * sysdeps/i386/fpu/fenv_private.h: New file.
13399 * sysdeps/i386/fpu/math_private.h: Use it.
13400 (math_opt_barrier, math_force_eval): Remove.
13401 (libc_feholdexcept_setround_53bit): Remove.
13402 (libc_feupdateenv_53bit): Remove.
13403 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13404 (math_opt_barrier, math_force_eval): Remove.
13405 (libc_feholdexcept): Remove.
13406 (libc_feholdexcept_setround): Remove.
13407 (libc_fetestexcept, libc_fesetenv): Remove.
13408 (libc_feupdateenv_test): Remove.
13409 (libc_feupdateenv, libc_feholdsetround): Remove.
13410 (libc_feresetround): Remove.
13411
d0adc922
RH
13412 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13413 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13414
0fe0f1f8
RH
13415 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13416 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13417 (libc_feupdateenv_testl): New.
13418 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13419 (libc_feupdateenv_testf): New.
13420 (libc_feupdateenv): Use libc_feupdateenv_test.
13421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13422 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13423
eb92c487
RH
13424 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13425 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13426 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13427 (libc_feresetround_noex): New.
13428 (libc_feresetround_noexf): New.
13429 (libc_feresetround_noexl): New.
13430 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13431 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13432 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13433 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13434 SET_RESTORE_ROUND.
13435 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13436 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13437 (__cos): Likewise.
13438 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13439 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13440 SET_RESTORE_ROUND_NOEX.
13441 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13442 SET_RESTORE_ROUND_NOEXF.
13443 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13444 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13445 (libc_feholdsetroundf): New.
13446 (libc_feresetround, libc_feresetroundf): New.
13447
7d2e8012
RH
13448 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13449 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13450 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13451
b4dabbb4
RH
13452 * sysdeps/generic/math_private.h: Include <fenv.h>.
13453 (default_libc_feholdexcept): New.
13454 (default_libc_feholdexcept_setround): New.
13455 (default_libc_fesetenv, default_libc_feupdateenv): New.
13456 (libc_feholdexcept): Only define if undefined.
13457 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13458 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13459 (libc_feholdexcept_setroundl): Likewise.
13460 (libc_feholdexcept_setround_53bit): Likewise.
13461 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13462 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13463 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13464 (libc_feupdateenv_53bit): Likewise.
13465 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13466 (libc_feholdexcept): Convert from macro to inline function.
13467 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13468 (libc_fesetenv, libc_feupdateenv): Likewise.
13469
4851a949
RH
13470 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13471 not previously defined.
13472 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13473 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13474 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13475 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13476 * sysdeps/ieee754/flt-32/math_private.h: New file.
13477 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13478 math_private.h below SET_FLOAT_WORD.
13479 (__isnan, __isinf_ns, __finite): Remove.
13480 (__isnanf, __isinf_nsf, __finitef): Remove.
13481
e79d442e
AS
134822012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13483
13484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13485
90b80344
DM
134862012-03-17 David S. Miller <davem@davemloft.net>
13487
13488 [BZ #6471]
13489 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13490 for 2.16.
13491
edc21804
DM
134922012-03-16 David S. Miller <davem@davemloft.net>
13493
77e927af
DM
13494 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13495 warnings.
13496
374976dd
DM
13497 [BZ #6471]
13498 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13499 properly.
13500 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13501 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13502 sysdep_routines when subdir is sysvipc.
13503 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13504 __getshmlba helper.
13505
edc21804
DM
13506 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13507
473c3ef3
L
135082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13509
13510 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13511 [__LP64__].
13512
eb0f39b6
L
135132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13514
13515 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13516 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13517 (__lround): Renamed to ...
13518 (__llround): This. Replace long int with long long int.
13519 Define lround functions as aliases of llround functions.
13520 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13521
6b6cd74b
L
135222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13523
13524 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13525 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13526 adresses to uintptr_t. Replace "long int" and "unsigned long
13527 int" with "greg_t" on va_arg.
13528
f1a77b01
L
135292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13530
13531 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13532 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13533
13534 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13535 Move e_machine check before EI_CLASS check. Handle x32
13536 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13537 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13538 SKIP_EM_IA_64 and include
13539 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13540
13541 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13542 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13543 (add_system_dir): New macro.
13544
13545 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13546 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13547
11b90b9f
JM
135482012-03-16 Joseph Myers <joseph@codesourcery.com>
13549
c36e1d23
JM
13550 [BZ #2551]
13551 [BZ #2552]
13552 [BZ #2553]
13553 [BZ #2554]
13554 [BZ #2562]
13555 [BZ #2563]
13556 [BZ #2565]
13557 [BZ #2566]
13558 [BZ #2576]
13559 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13560 (y0): Likewise.
13561 * math/w_j0f.c (j0f): Likewise.
13562 (y0f): Likewise.
13563 * math/w_j0l.c (__j0l): Likewise.
13564 (__y0l): Likewise.
13565 * math/w_j1.c (j1): Likewise.
13566 (y1): Likewise.
13567 * math/w_j1f.c (j1f): Likewise.
13568 (y1f): Likewise.
13569 * math/w_j1l.c (__j1l): Likewise.
13570 (__y1l): Likewise.
13571 * math/w_jn.c (jn): Likewise.
13572 (yn): Likewise.
13573 * math/w_jnf.c (jnf): Likewise.
13574 (ynf): Likewise.
13575 * math/w_jnl.c (__jnl): Likewise.
13576 (__ynl): Likewise.
13577 * math/libm-test.inc (j0_test): Add more tests.
13578 (j1_test): Likewise.
13579 (jn_test): Likewise. Add trailing semicolon to existing test.
13580 (y0_test): Likewise.
13581 (y1_test): Likewise.
13582 * sysdeps/i386/fpu/libm-test-ulps: Update.
13583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13584
11b90b9f
JM
13585 [BZ #13851]
13586 [BZ #13854]
13587 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13588 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13589 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13590 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13591 (__tanl): Set errno for infinite argument.
13592 * sysdeps/i386/fpu/mptan.c: Remove.
13593 * sysdeps/i386/fpu/s_tan.S: Likewise.
13594 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13595 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13596 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13597 * math/libm-test.inc (tan_test): Add more tests and enable more
13598 tests for double and long double.
13599 * sysdeps/i386/fpu/libm-test-ulps: Update.
13600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13601
6a1bd2a1
JK
136022012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13603
13604 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13605 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13606
10a803e0
RM
136072012-03-16 Roland McGrath <roland@hack.frob.com>
13608
13609 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13610 * configure.in: Use it for both main tree and add-ons.
13611 * configure: Regenerated.
13612
f196c7f7
L
136132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13614
13615 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13616
8848d99d
JM
136172012-03-16 Joseph Myers <joseph@codesourcery.com>
13618
96cbe7f4
JM
13619 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13620 in comment.
13621
8848d99d
JM
13622 [BZ #13851]
13623 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13624 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13625 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13626 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13627 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13628 infinite argument.
13629 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13630 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13631 != 0 for prec == 2.
13632 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13633 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13634 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13635 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13636 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13637 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13638 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13639 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13640 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13641 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13642 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13643 * math/libm-test.inc (cos_test): Add more tests and enable more
13644 tests for long double.
13645 (sin_test): Likewise.
13646 (sincos_test): Likewise.
13647 * sysdeps/i386/fpu/libm-test-ulps: Update.
13648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13649
dd7f4703
DM
136502012-03-16 David S. Miller <davem@davemloft.net>
13651
13652 * sysdeps/sparc/fpu/math_private.h: New file.
13653
006f1daa
DM
136542012-03-15 David S. Miller <davem@davemloft.net>
13655
c0c83bc8
DM
13656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13657 file.
e6a62e18 13658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13660 file.
e6a62e18
DM
13661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13666 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13667 sysdep routines.
13668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13669
88cb87d9
DM
13670 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13671 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13672
006f1daa 13673 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13675 sparc-ifunc.h
006f1daa 13676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13678 Likewise.
13679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13680 Likewise.
006f1daa
DM
13681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13685 Likewise.
006f1daa
DM
13686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13691 Likewise.
13692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13693 Likewise.
006f1daa
DM
13694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13698 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13699 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13700 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13701 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13702 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13703 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13705 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13712 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13713 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13714 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13715 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13716 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13717 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13718
11e0098e
AS
137192012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13720
13721 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13722 scaling.
13723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13724
e85b09d0
AJ
137252012-03-15 Andreas Jaeger <aj@suse.de>
13726
13727 [BZ #13852]
13728 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13729 ieee754/flt-32 implementation for sin, cos and sincos.
13730 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13731 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13732 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13733 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13734 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13735 ieee754/flt-32 implementation for tan.
13736
13737 * math/libm-test.inc (cos_test): Enable some large input tests for
13738 float as well
13739 (sin_test): Likewise.
13740 (sincos_test): Likewise.
13741 (tan_test): Add tests for large input.
13742
13743 * sysdeps/i386/fpu/libm-test-ulps: Update.
13744
81c64153
AJ
137452012-03-15 Andreas Jaeger <aj@suse.de>
13746
13747 [BZ #13658]
13748 * math/libm-test.inc (cos_test): Add more test cases.
13749 (sin_test): Likewise.
13750 (sincos_test): Likewise.
13751
7bbfa5c6
AJ
137522012-03-15 Andreas Jaeger <aj@suse.de>
13753
13754 [BZ #13837]
13755 * math/libm-test.inc (cos_test): Add a test case for large input
13756 value.
13757 (sin_test): Likewise.
13758 (sincos_test): Likewise.
13759
137602012-03-15 Andreas Jaeger <aj@suse.de>,
13761 Joseph Myers <joseph@codesourcery.com>
13762
13763 [BZ #13658]
0671f479 13764 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13765 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13766 * sysdeps/i386/fpu/branred.c: Likewise.
13767 * sysdeps/i386/fpu/dosincos.c: Likewise.
13768 * sysdeps/i386/fpu/mpa.c: Likewise.
13769 * sysdeps/i386/fpu/s_cos.S: Likewise.
13770 * sysdeps/i386/fpu/s_sin.S: Likewise.
13771 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13772 * sysdeps/i386/fpu/sincos32.c: Likewise.
13773
13774 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13775 Define.
13776 (libc_feupdateenv_53bit): Define.
13777 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13778 Define.
13779 (libc_feupdateenv_53bit): Define.
13780
13781 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13782 53 bit (without extend i386 double precision).
13783
13784 * math/libm-test.inc (sincos_test): Add tests for large input.
13785 (sin): Likewise.
13786 (cos): Likewise.
13787
13788 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13789
9cad04ea
AS
137902012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13791
13792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13793
f7062b9a
DM
137942012-03-15 David S. Miller <davem@davemloft.net>
13795
13796 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13797 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13798 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13799 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13804 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13805 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13806 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13807 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13812 file.
f7062b9a 13813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13815 file.
f7062b9a 13816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13818 file.
f7062b9a 13819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13821 file.
f7062b9a
DM
13822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13823 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13824 fmin/fmax sysdep routines.
13825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13826
7bd951ff
DM
138272012-03-14 David S. Miller <davem@davemloft.net>
13828
559398ab
DM
13829 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13830 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13831 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13832 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13833 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13834 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13835 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13836 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13837 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13838 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13839 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13840 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13841 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13842 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13843 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13844 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13846 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13849 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13850 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13851 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13852 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13853 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13854 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13855 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13856 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13857 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13858 routines.
13859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13860 file.
559398ab 13861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13863 file.
559398ab 13864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13866 file.
559398ab 13867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13869 file.
559398ab 13870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13872 file.
559398ab 13873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13875 file.
13876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13877 file.
13878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13879 file.
13880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13881 file.
13882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13883 New file.
13884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13885 file.
13886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13887 file.
559398ab 13888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13890 file.
559398ab 13891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13893 file.
559398ab 13894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13896 file.
559398ab 13897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13899 VIS3 routines.
559398ab
DM
13900
13901 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13902 New file.
13903
5a1c1e32
DM
13904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13905
eae47a36
DM
13906 * sysdeps/sparc/configure.in: New file.
13907 * sysdeps/sparc/configure: Generate.
13908 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13909 * configure: Regenerate.
13910 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13911 * config.make.in (have-as-vis3): New.
13912 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13913 available use -Av9d instead of -Av9a.
13914 * sysdeps/sparc/sparc64/Makefile: Likewise.
13915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13917 New file.
13918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13919 file.
13920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13921 New file.
13922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13923 file.
eae47a36
DM
13924 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13925 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13926 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13927 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13928 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13929
c0c83bc8
DM
13930 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13931 fzeros/fnegs to load 0x80000000 into a float register instead of
13932 using the stack.
7bd951ff
DM
13933 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13934
bd951ccb
JM
139352012-03-14 Joseph Myers <joseph@codesourcery.com>
13936
13937 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13938 bits/syscall.h.
13939 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13940 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13941 ($(inst_includedir)/bits/syscall.h): Remove rule.
13942 ($(objpfx)bits/syscall.d): Include instead of
13943 $(objpfx)syscall-list.d.
13944 (generated): Change syscall-list.h and syscall-list.d to
13945 bits/syscall.h and bits/syscall.d.
13946
bb4e6db2
RM
139472012-03-14 Roland McGrath <roland@hack.frob.com>
13948
13949 [BZ #13846]
13950 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13951
aa4a2ae1
JM
139522012-03-14 Joseph Myers <joseph@codesourcery.com>
13953
e456826d
JM
13954 [BZ #13841]
13955 * math/s_csqrt.c: Include <float.h>.
13956 (__csqrt): Scale large or subnormal inputs.
13957 * math/s_csqrtf.c: Likewise.
13958 * math/s_csqrtl.c: Likewise.
13959 * math/libm-test.inc (csqrt_test): Add more tests.
13960 * sysdeps/i386/fpu/libm-test-ulps: Update.
13961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13962
aa4a2ae1
JM
13963 [BZ #13840]
13964 * math/libm-test.inc (hypot_test): Add more tests.
13965
7c10fd35
DM
139662012-03-13 David S. Miller <davem@davemloft.net>
13967
13968 [BZ #13840]
13969 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13970 double-precision for the calculation instead of scaling.
13971
f453b98b
JM
139722012-03-13 Joseph Myers <joseph@codesourcery.com>
13973
13974 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13975 manipulate bits before adding and subtracting TWO52[sx].
13976 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13977 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13978 Likewise.
13979 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13980
09a3453f
DM
139812012-03-13 David S. Miller <davem@davemloft.net>
13982
8e59da90
DM
13983 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13984 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13985 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13986 rtld-global-offsets.h
13987 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13988
2a8ab7f2
DM
13989 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13990 large parameters.
13991
10f62770
DM
13992 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13993
5f0bdb18
DM
13994 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13995 'err' in the ifdef scope in which it is actually used.
13996
09a3453f
DM
13997 * nss/nss_db/db-init.c: Include string.h
13998
b4b2eb5e
DM
139992012-03-12 David S. Miller <davem@davemloft.net>
14000
98bb2f1c
DM
14001 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14002 masking out of the most significant byte of random value used.
14003 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14004 Fix coding style in previous change.
14005
b4b2eb5e
DM
14006 * sysdeps/unix/sysv/linux/kernel-features.h
14007 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14008 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14009 expression.
14010 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14011 later.
14012
6e226b09
DM
140132012-03-11 David S. Miller <davem@davemloft.net>
14014
a1bcbd40
DM
14015 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14016 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14017 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14018 for 'resultvar' otherwise things get truncated on 64-bit.
14019
cb9d6174
DM
14020 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14021 Fix masking out of the most significant byte of random value used.
14022
6e226b09
DM
14023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14024
058c132d
AS
140252012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14026
14027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14028
2d2cd515
DM
140292012-03-09 David S. Miller <davem@davemloft.net>
14030
14031 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14032 variables with appropriate CPP guards.
14033 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14034 frame pointer, not the stack pointer. Correct layout comments. Fix test
14035 on resulting framesize and the management of the outregs buffer for pltexit.
14036 Preserve floating point return values across _dl_call_pltexit call.
14037 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14038 framesize and the management of the outregs buffer for pltexit.
14039 Preserve floating point return values across _dl_call_pltexit
14040 call.
14041 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14042 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14043 (print_exit): Fix format string for return register value.
14044
9a07f9d0
JM
140452012-03-10 Joseph Myers <joseph@codesourcery.com>
14046
14047 * sunrpc/Makefile (others): Add rpcgen.
14048 ($(objpfx)rpcgen): Remove special build rule and dependency on
14049 libc.
14050 * sunrpc/rpcgen.c: New file.
14051
547b5e30
PE
140522012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14053
c524201a
PE
14054 [BZ #13673]
14055 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14056 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14057 * sysdeps/i386/crti.S: Likewise.
14058 * sysdeps/i386/crtn.S: Likewise.
14059 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14060 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14061 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14062 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14063 * sysdeps/sh/crti.S: Likewise.
14064 * sysdeps/sh/crtn.S: Likewise.
14065 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14066
7b6235f2
PE
14067 [BZ #13673]
14068 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14069 with URL.
14070 * locale/programs/locfile-kw.gperf: Likewise.
14071 * locale/programs/charmap-kw.h: Regenerated.
14072 * locale/programs/locfile-kw.h: Likewise.
14073
547b5e30
PE
14074 [BZ #13673]
14075 * intl/plural.y: Replace FSF snail mail address with URL.
14076 * intl/plural.c: Regenerated.
14077
5f0a5dae
RH
140782012-03-09 Richard Henderson <rth@twiddle.net>
14079
14080 * include/math_private.h: Remove file.
14081 * math/math_private.h: Move file ...
14082 * sysdeps/generic/math_private.h: ... here.
14083
b8c03620
RH
14084 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14085 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14086 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14087
4e234f5d 14088 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
14089 and <math_private.h>.
14090 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14091 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14092 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14093 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14094 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14095 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14096 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14097 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14098 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14099 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14100 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14101 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14102 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14103 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14104 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14105 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14106 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14107 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14108 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14109 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14110 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14111 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14112 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14113 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14114 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14115 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14116 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14117 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14118 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14119 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14120 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14121 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14122 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14123 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14124 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14125 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14126 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14127 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14128 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14129 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14130 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14131 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14132 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14133 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14134 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14135 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14136 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14137 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14138 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14139 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14140 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14141 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14142 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14143 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14144 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14145 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14146 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14147 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14148 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14149 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14150 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14151 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14152 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14153 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14154 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14155 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14156 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14157 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14158 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14159 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14160 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14161 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14162 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14163 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14164 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14165 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14166 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14167 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14168 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14169 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14170 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14171 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14172 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14173 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14174 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14175 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14176 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14177 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14178 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14179 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14180 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14181 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14182 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14183 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14184 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14185 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14186 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14187 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14188 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14189 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14190 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14191 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14192 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14193 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14194 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14195 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14196 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14197 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14198 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14199 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14200 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14201 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14202 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14203 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14204 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14205 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14206 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14207 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14208 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14209 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14210 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14211 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14212 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14213 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14214 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14215 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14216 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14217 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14218 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14219 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14220 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14221 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14222 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14223 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14224 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14225 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14226 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14227 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14228 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14229 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14230 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14231 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14232 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14233 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14234 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14235 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14236 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14237 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14238 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14239 * sysdeps/ieee754/k_standard.c: Likewise.
14240 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14241 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14242 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14243 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14244 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14245 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14246 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14247 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14248 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14249 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14250 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14251 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14252 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14253 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14254 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14255 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14256 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14257 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14258 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14259 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14260 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14261 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14262 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14263 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14264 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14265 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14266 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14267 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14268 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14269 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14270 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14271 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14272 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14273 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14274 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14275 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14276 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14277 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14278 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14279 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14280 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14281 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14282 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14283 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14284 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14285 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14286 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14287 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14288 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14289 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14290 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14291 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14292 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14293 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14294 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14295 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14296 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14297 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14298 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14299 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14300 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14301 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14302 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14303 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14304 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14305 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14306 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14307 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14308 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14309 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14310 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14311 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14312 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14313 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14314 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14315 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14316 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14317 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14318 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14319 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14320 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14321 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14322 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14323 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14324 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14325 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14326 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14327 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14328 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14329 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14330 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14331 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14332 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14333 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14334 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14335 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14336 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14337 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14338 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14339 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14340 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14341 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14342 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14343 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14344 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14345 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14346 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14347 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14348 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14349 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14350 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14351 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14352 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14353 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14354 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14355 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14356 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14357 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14358 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14359 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14360 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14361 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14362 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14363 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14364 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14365 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14366 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14367 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14368 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14369 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14370 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14371 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14372 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14373 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14374 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14375 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14376 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14377 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14378 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14379 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14380 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14381 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14382 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14383 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14384 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14385 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14386 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14387 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14388 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14389 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14390 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14391 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14392 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14393 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14394 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14395 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14396 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14397 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14398 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14399 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14400 * sysdeps/ieee754/s_lib_version.c: Likewise.
14401 * sysdeps/ieee754/s_matherr.c: Likewise.
14402 * sysdeps/ieee754/s_signgam.c: Likewise.
14403 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14404 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14405 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14406 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14407 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14408 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14409 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14410 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14411 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14412 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14413 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14414 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14415 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14416 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14417 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14418 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14419 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14420 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14421 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14422 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14423 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 14424
1991fa03
JM
144252012-03-09 Joseph Myers <joseph@codesourcery.com>
14426
14427 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14428 * sunrpc/rpc_main.c: Likewise.
14429 * sunrpc/rpc_svcout.c: Likewise.
14430
60d6f5a6
DM
144312012-03-09 David S. Miller <davem@davemloft.net>
14432
14433 * include/math_private.h: New file.
14434
4962050e
JM
144352012-03-09 Joseph Myers <joseph@codesourcery.com>
14436
02a6f887
JM
14437 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14438 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14439 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14440 from <bits/socket_type.h>.
14441 (enum __socket_type): Don't define here.
14442 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14443 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14444 bits/socket_type.h.
14445
c6e013c1
JM
14446 [BZ #13566]
14447 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14448 checking __USE_GNU.
14449
4962050e
JM
14450 * Makerules ($(inst_includedir)/%.h): New rule.
14451 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14452 (install-others): Remove variable setting.
14453 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14454
38842f45
RH
144552012-03-08 Richard Henderson <rth@twiddle.net>
14456
67bb6da6
RH
14457 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14458 from macro to inline function; merge with the
14459 !__LIBC_INTERNAL_MATH_INLINES version.
14460 (__ieee754_sqrtf): Likewise.
14461
15194b4b
RH
14462 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14463 to inline function.
14464 (__rintf, __floor, __floorf): Likewise.
14465
64e21ede
RH
14466 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14467 macro to inline function.
14468 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14469
38842f45
RH
14470 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14471 not <math/math_private.h>.
14472
c64bf5fe
DM
144732012-03-08 David S. Miller <davem@davemloft.net>
14474
14475 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14476 copyright year.
14477 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14478
82d86f28
TS
144792012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14480
14481 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14482 normalization.
14483 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14484 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14485
aea5d727
UD
144862012-03-08 Ulrich Drepper <drepper@gmail.com>
14487
14488 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14489 be defined individually, they must be defined as a block. Define
14490 S for printing a string instead of hidint the different by using a
14491 macro for adding the 'l'.
14492 * stdio-common/tst-fphex-wide.c: Adjust.
14493
70bca0a3
MP
144942012-03-07 Marek Polacek <polacek@redhat.com>
14495
14496 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14497
65b81130
MP
144982012-03-08 Marek Polacek <polacek@redhat.com>
14499
14500 [BZ #13806]
14501 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14502 * stdio-common/tst-fphex.c: Define a few macros to make the
14503 test reusable. Use them.
14504 * stdio-common/tst-fphex-wide.c: New file.
14505
07037eeb
JM
145062012-03-08 Joseph Myers <joseph@codesourcery.com>
14507
a7a93d50
JM
14508 [BZ #6911]
14509 * manual/macros.texi (gnusystems): New macro.
14510 (nongnusystems): Likewise.
14511 (gnulinuxhurdsystems): Likewise.
14512 (gnuhurdsystems): Likewise..
14513 (gnulinuxsystems): Likewise.
14514 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14515 variants of the GNU system, not "GNU system".
14516 * manual/conf.texi: Likewise.
14517 * manual/errno.texi: Likewise. Update example of errno macro
14518 expansion.
14519 * manual/filesys.texi: Likewise.
14520 (getumask): Document as specific to GNU/Hurd.
14521 * manual/install.texi: Likewise. Reword some references to
14522 GNU/Linux.
14523 * manual/intro.texi: Likewise.
14524 * manual/io.texi: Likewise.
14525 (File Name Portability): Detail which constraints are inapplicable
14526 to all GNU systems and which are only inapplicable to GNU/Hurd.
14527 * manual/job.texi: Likewise.
14528 * manual/llio.texi: Likewise.
14529 (O_NOCTTY): Document as present on GNU/Linux.
14530 * manual/maint.texi: Likewise.
14531 * manual/memory.texi: Likewise.
14532 * manual/pattern.texi: Likewise.
14533 * manual/pipe.texi: Likewise.
14534 * manual/process.texi: Likewise.
14535 * manual/resource.texi: Likewise.
14536 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14537 child on GNU/Hurd.
14538 * manual/setjmp.texi: Likewise.
14539 * manual/signal.texi: Likewise.
14540 * manual/startup.texi: Likewise.
14541 * manual/stdio.texi: Likewise.
14542 * manual/terminal.texi: Likewise.
14543 (ONLCR): Document as POSIX.
14544 (OXTABS): Document availability on GNU/Linux as XTABS.
14545 (ONOEOT): Document availability separately from other bits.
14546 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14547 * manual/time.texi: Likewise.
14548 * manual/users.texi: Likewise.
14549 * INSTALL: Regenerated.
14550 * sysdeps/gnu/errlist.c: Regenerated.
14551
07037eeb
JM
14552 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14553 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14554 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14555 puts.
14556 * configure: Regenerated.
14557
d1d3431a
JM
145582012-03-07 Joseph Myers <joseph@codesourcery.com>
14559
af6a1e37
JM
14560 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14561 default includes instead of AC_HEADER_CHECK.
14562 * sysdeps/i386/configure: Regenerated.
14563
d1d3431a
JM
14564 [BZ #10716]
14565 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14566 * math/s_cacoshf.c (__cacoshf): Likewise.
14567 * math/s_cacoshl.c (__cacoshl): Likewise.
14568 * math/s_casinh.c (__casinh): Set signs of result from argument.
14569 * math/s_casinhf.c (__casinhf): Likewise.
14570 * math/s_casinhl.c (__casinhl): Likewise.
14571 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14572 (casinh_test): Add more tests.
14573 * sysdeps/i386/fpu/libm-test-ulps: Update.
14574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14575
482ff4da
UD
145762012-03-07 Ulrich Drepper <drepper@gmail.com>
14577
872fda05
UD
14578 * po/zh_TW.po: Update from translation team.
14579
a4300c7a
UD
14580 * login/Makefile (distribute): Remove variable.
14581 * catgets/Makefile: Likewise.
14582 * mach/Makefile: Likewise.
14583 * malloc/Makefile: Likewise.
14584 * misc/Makefile: Likewise.
14585 * iconv/Makefile: Likewise.
14586 * nscd/Makefile: Likewise.
14587 * hurd/Makefile: Likewise.
14588 * manual/Makefile: Likewise.
14589 * locale/Makefile: Likewise.
14590 * intl/Makefile: Likewise.
14591 * conform/Makefile: Likewise.
14592 * nss/Makefile: Likewise.
14593 * time/Makefile: Likewise.
14594 * soft-fp/Makefile: Likewise.
14595 * dirent/Makefile: Likewise.
14596 * gmon/Makefile: Likewise.
14597 * po/Makefile: Likewise.
14598 * rt/Makefile: Likewise.
14599 * socket/Makefile: Likewise.
14600 * math/Makefile: Likewise.
14601 * signal/Makefile: Likewise.
14602 * debug/Makefile: Likewise.
14603 * elf/Makefile: Likewise.
14604 * timezone/Makefile: Likewise.
14605 * stdlib/Makefile: Likewise.
14606 * iconvdata/Makefile: Likewise.
14607 * sunrpc/Makefile: Likewise.
14608 * io/Makefile: Likewise.
14609 * argp/Makefile: Likewise.
14610 * inet/Makefile: Likewise.
14611 * hesiod/Makefile: Likewise.
14612 * grp/Makefile: Likewise.
14613 * csu/Makefile: Likewise.
14614 * wctype/Makefile: Likewise.
14615 * crypt/Makefile: Likewise.
14616 * libio/Makefile: Likewise.
14617 * string/Makefile: Likewise.
14618 * nis/Makefile: Likewise.
14619 * resolv/Makefile: Likewise.
14620 * stdio-common/Makefile: Likewise.
14621 * wcsmbs/Makefile: Likewise.
14622 * dlfcn/Makefile: Likewise.
14623 * posix/Makefile: Likewise.
14624
3b7c4e74 14625 [BZ #6959]
482ff4da
UD
14626 * timezone/Makefile: Don't install timezone files, just the programs
14627 and scripts.
14628
f72ed77d
UD
146292012-03-06 Ulrich Drepper <drepper@gmail.com>
14630
a000466f
UD
14631 * nss/databases.def: Add missing gshadow entry.
14632
f72ed77d
UD
14633 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14634
a53b7a4e
MP
146352012-03-06 Marek Polacek <polacek@redhat.com>
14636
14637 [BZ #13726]
14638 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14639 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14640 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14641 * stdio-common/tst-long-dbl-fphex.c: New file.
14642
e9258400
DM
146432012-03-06 David S. Miller <davem@davemloft.net>
14644
14645 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14646 (set_obp_int): New function.
14647 (get_obp_int): New function.
14648 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14649 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14650 Avoid unused variable warnings on 'val' and use builtin_expect.
14651 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14652 __builtin_expect.
e9258400
DM
14653 (INLINE_CLONE_SYSCALL): Likewise.
14654
3bd2c723
DM
146552012-03-05 David S. Miller <davem@davemloft.net>
14656
14657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14658
bbb78d03
AS
146592012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14660
884c5db4
AS
14661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14662
bbb78d03
AS
14663 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14664 only for |x| >= 40.
14665 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14666
1c9f702a 146672012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14668
14669 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14670 Replace gettimeofday with __vdso_gettimeofday.
14671
7be16f82
RM
14672 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14673 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14674 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14675
14676 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14677 time with __vdso_time.
14678
ed58a00f
JM
146792012-03-05 Joseph Myers <joseph@codesourcery.com>
14680
14681 * manual/lang.texi (size_t): Note types to which size_t may be
14682 equivalent with the GNU C Library, but do not describe when
14683 differences between them are significant.
14684
30ee4ced
AJ
146852012-03-05 Andreas Jaeger <aj@suse.de>
14686
14687 * sysdeps/i386/fpu/libm-test-ulps: Update.
14688
b7cd39e8
JM
146892012-03-05 Joseph Myers <joseph@codesourcery.com>
14690
14691 [BZ #3976]
14692 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14693 (__ieee754_pow): Save and restore rounding mode and use
14694 round-to-nearest for main computations.
14695 * math/libm-test.inc (pow_test_tonearest): New function.
14696 (pow_test_towardzero): Likewise.
14697 (pow_test_downward): Likewise.
14698 (pow_test_upward): Likewise.
14699 (main): Call the new functions.
14700 * sysdeps/i386/fpu/libm-test-ulps: Update.
14701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14702
14703 [BZ #3976]
14704 * math/libm-test.inc (cosh_test_tonearest): New function.
14705 (cosh_test_towardzero): Likewise.
14706 (cosh_test_downward): Likewise.
14707 (cosh_test_upward): Likewise.
14708 (sinh_test_tonearest): Likewise.
14709 (sinh_test_towardzero): Likewise.
14710 (sinh_test_downward): Likewise.
14711 (sinh_test_upward): Likewise.
14712 (main): Call the new functions.
14713 * sysdeps/i386/fpu/libm-test-ulps: Update.
14714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14715
6c6a98c9
TV
147162012-03-05 Tom de Vries <tom@codesourcery.com>
14717
14718 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14719 default stack guard is set in last bytes.
14720 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14721
21bb2d2e 147222012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14723
21bb2d2e 14724 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14725
21bb2d2e
AJ
14726 [BZ #13656]
14727 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14728 possibly allocate from heap instead of stack.
14729 * stdio-common/bug-vfprintf-nargs.c: New file.
14730 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14731
c6922934
AS
147322012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14733
14734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14735
bc957d53
MP
147362012-03-03 Marek Polacek <polacek@redhat.com>
14737
14738 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14739 * math/math_private.h: Likewise.
14740 * stdlib/tst-strtod.c: Likewise.
14741 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14742 * sysdeps/x86_64/bits/atomic.h: Likewise.
14743
6358490d
DM
147442012-03-02 David S. Miller <davem@davemloft.net>
14745
14746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14750 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14751 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14752 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14753 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14754
01ae168d
RM
147552012-03-02 Roland McGrath <roland@hack.frob.com>
14756
d9a17c07
RM
14757 [BZ #13792]
14758 * manual/examples/README: New file, says the example source files
14759 can be used under GPL>=2.
14760 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14761 line containing just "*/".
14762 * manual/examples/add.c: Add copyright header (GPL>=2).
14763 * manual/examples/argp-ex1.c: Likewise.
14764 * manual/examples/argp-ex2.c: Likewise.
14765 * manual/examples/argp-ex3.c: Likewise.
14766 * manual/examples/argp-ex4.c: Likewise.
14767 * manual/examples/atexit.c: Likewise.
14768 * manual/examples/db.c: Likewise.
14769 * manual/examples/dir.c: Likewise.
14770 * manual/examples/dir2.c: Likewise.
14771 * manual/examples/execinfo.c: Likewise.
14772 * manual/examples/filecli.c: Likewise.
14773 * manual/examples/filesrv.c: Likewise.
14774 * manual/examples/fmtmsgexpl.c: Likewise.
14775 * manual/examples/genpass.c: Likewise.
14776 * manual/examples/inetcli.c: Likewise.
14777 * manual/examples/inetsrv.c: Likewise.
14778 * manual/examples/isockad.c: Likewise.
14779 * manual/examples/longopt.c: Likewise.
14780 * manual/examples/memopen.c: Likewise.
14781 * manual/examples/memstrm.c: Likewise.
14782 * manual/examples/mkfsock.c: Likewise.
14783 * manual/examples/mkisock.c: Likewise.
14784 * manual/examples/mygetpass.c: Likewise.
14785 * manual/examples/pipe.c: Likewise.
14786 * manual/examples/popen.c: Likewise.
14787 * manual/examples/rprintf.c: Likewise.
14788 * manual/examples/search.c: Likewise.
14789 * manual/examples/select.c: Likewise.
14790 * manual/examples/setjmp.c: Likewise.
14791 * manual/examples/sigh1.c: Likewise.
14792 * manual/examples/sigusr.c: Likewise.
14793 * manual/examples/stpcpy.c: Likewise.
14794 * manual/examples/strdupa.c: Likewise.
14795 * manual/examples/strftim.c: Likewise.
14796 * manual/examples/strncat.c: Likewise.
14797 * manual/examples/subopt.c: Likewise.
14798 * manual/examples/swapcontext.c: Likewise.
14799 * manual/examples/termios.c: Likewise.
14800 * manual/examples/testopt.c: Likewise.
14801 * manual/examples/testpass.c: Likewise.
14802 * manual/examples/timeval_subtract.c: Likewise.
14803
01ae168d
RM
14804 [BZ #13792]
14805 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14806 function to ...
14807 * manual/timeval_subtract.c.texi: ... here, new file.
14808
49efa33d
DM
148092012-03-02 David S. Miller <davem@davemloft.net>
14810
14811 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14812
28afd92d
JM
148132012-03-02 Joseph Myers <joseph@codesourcery.com>
14814
804360ed
JM
14815 [BZ #3976]
14816 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14817 (__sin): Save and restore rounding mode and use round-to-nearest
14818 for all computations.
14819 (__cos): Save and restore rounding mode and use round-to-nearest
14820 for all computations.
14821 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14822 <fenv.h>.
14823 (tan): Save and restore rounding mode and use round-to-nearest for
14824 all computations.
14825 * math/libm-test.inc (cos_test_tonearest): New function.
14826 (cos_test_towardzero): Likewise.
14827 (cos_test_downward): Likewise.
14828 (cos_test_upward): Likewise.
14829 (sin_test_tonearest): Likewise.
14830 (sin_test_towardzero): Likewise.
14831 (sin_test_downward): Likewise.
14832 (sin_test_upward): Likewise.
14833 (tan_test_tonearest): Likewise.
14834 (tan_test_towardzero): Likewise.
14835 (tan_test_downward): Likewise.
14836 (tan_test_upward): Likewise.
14837 (main): Call the new functions.
14838 * sysdeps/i386/fpu/libm-test-ulps: Update.
14839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14840
a6d06d7b
JM
14841 [BZ #10135]
14842 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14843 small n, then large n, before computing and testing k+n.
14844 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14845 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14846 Likewise.
14847 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14848 Likewise.
14849 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14850 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14851 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14852 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14853 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14854 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14855 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14856 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14857 * math/libm-test.inc (scalbn_test): Add more tests.
14858 (scalbln_test): Likewise.
14859
07e12bb3
JM
14860 * manual/filesys.texi (mode_t): Describe constraints on size and
14861 signedness, not exact equivalence to a particular type.
14862 (ino_t): Likewise.
14863 (ino64_t): Likewise.
14864 (dev_t): Likewise.
14865 (nlink_t): Likewise.
14866 (blkcnt_t): Likewise.
14867 (blkcnt64_t): Likewise.
14868 * manual/llio.texi (off_t): Likewise.
14869
28afd92d
JM
14870 [BZ #3976]
14871 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14872 (__ieee754_exp): Save and restore rounding mode and use
14873 round-to-nearest for all computations.
14874 * math/libm-test.inc (exp_test_tonearest): New function.
14875 (exp_test_towardzero): Likewise.
14876 (exp_test_downward): Likewise.
14877 (exp_test_upward): Likewise.
14878 (main): Call the new functions.
14879 * sysdeps/i386/fpu/libm-test-ulps: Update.
14880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14881
b1eeb65d
CD
148822012-03-01 Chris Demetriou <cgd@google.com>
14883
14884 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14885 have predictable order.
14886
53362a4b
DM
148872012-03-01 David S. Miller <davem@davemloft.net>
14888
3c969083
DM
14889 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14890
759707de
DM
14891 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14892 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14893 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14894 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14895
dfdb8ff2
DM
14896 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14897 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14898 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14900 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14901 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14902 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14903 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14904 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14905
ead89f96
DM
14906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14907
7f66bd07
DM
14908 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14909 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14910 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14911
53362a4b
DM
14912 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14913 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14914 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14915 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14916 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14917 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14918 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14919 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14920 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14921 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14922 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14923 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14924 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14925 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14926 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14927 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14928 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14929 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14930 * sysdeps/sparc/elf/configure: Regenerated.
14931
7b1902cb
JM
149322012-03-01 Joseph Myers <joseph@codesourcery.com>
14933
bec039bc
JM
14934 * configure.in (AS, LD): Require binutils 2.20 or later.
14935 * configure: Regenerated.
14936 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14937 as required minimum version.
14938 * INSTALL: Regenerated.
14939
7b1902cb
JM
14940 [BZ #2541]
14941 [BZ #4108]
14942 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14943 before squaring exponent.
14944 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14945 bottom long double and 27 bits of top long double before squaring
14946 exponent.
14947 * math/libm-test.inc (erfc_test): Add more tests.
14948 * sysdeps/i386/fpu/libm-test-ulps: Update.
14949 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14951
f775c276
KT
149522012-03-01 Kai Tietz <ktietz@redhat.com>
14953
14954 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14955 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14956 containing bit-fields.
14957 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14958 * soft-fp/single.h (_FP_UNION_S): Likewise.
14959 * soft-fp/double.h (_FP_UNION_D): Likewise.
14960
5b8a4d4a
JM
149612012-02-29 Joseph Myers <joseph@codesourcery.com>
14962
0bab47b6
JM
14963 [BZ #13786]
14964 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14965 not include ../strcmp.S.
14966 [USE_AS_STRNCASECMP_L]: Likewise.
14967 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14968 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14969 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14970 (__strncasecmp_l_ia32): Define as alias to
14971 __strncasecmp_l_nonascii.
14972
0fcad3e2
JM
14973 [BZ #5794]
14974 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14975 * sysdeps/i386/fpu/libm-test-ulps: Update.
14976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14977
5b8a4d4a
JM
14978 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14980
8fdceb2e
JL
149812012-02-29 Jeff Law <law@redhat.com>
14982
14983 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14984 out of bounds read.
14985
1f393a11
MP
149862012-02-29 Marek Polacek <polacek@redhat.com>
14987
14988 [BZ #13706]
14989 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14990 * elf/Makefile: Add rules to run tst-unused-dep.out.
14991
8847f037
DM
149922012-02-28 David S. Miller <davem@davemloft.net>
14993
14994 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14995 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14996 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14997 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14998 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14999 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15000
169d7f11
JM
150012012-02-29 Joseph Myers <joseph@codesourcery.com>
15002
15003 * math/libm-test.inc (llround_test): Move one test from
15004 lround_test. Use TEST_f_L in moved test.
15005 (lround_test): Move misplaced test to llround_test. Add testcase
15006 from bug 2561.
15007
39adf059
UD
150082012-02-28 Ulrich Drepper <drepper@gmail.com>
15009
15010 * sysdeps/x86_64/fpu/e_expf.S: New file.
15011 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15012
71b5d1c5
SB
150132012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15014
15015 [BZ #13637]
15016 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15017 of remain_len that may cause incomplete multi-byte character and
15018 false match.
15019 * posix/bug-regex33.c: New file.
15020 * posix/Makefile (tests): Add bug-regex33.
15021
1f77f049
JM
150222012-02-28 Joseph Myers <joseph@codesourcery.com>
15023
15024 * manual/macros.texi: New file.
15025 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15026 * manual/libc.texinfo: Include macros.texi.
15027 * manual/creatute.texi: Likewise.
15028 * manual/install.texi: Likewise.
15029 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15030 @glibcadj{} in references to the GNU C Library.
15031 * manual/charset.texi: Likewise.
15032 * manual/conf.texi: Likewise.
15033 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15034 when not using those macros.
15035 * manual/creature.texi: Likewise.
15036 * manual/crypt.texi: Likewise.
15037 * manual/errno.texi: Likewise.
15038 * manual/filesys.texi: Likewise.
15039 * manual/header.texi: Likewise.
15040 * manual/install.texi: Likewise.
15041 * manual/intro.texi: Likewise.
15042 * manual/io.texi: Likewise.
15043 * manual/job.texi: Likewise.
15044 * manual/lang.texi: Likewise.
15045 * manual/libc.texiinfo: Likewise.
15046 * manual/llio.texi: Likewise.
15047 * manual/locale.texi: Likewise.
15048 * manual/maint.texi: Likewise.
15049 * manual/math.texi: Likewise.
15050 * manual/memory.texi: Likewise.
15051 * manual/message.texi: Likewise.
15052 * manual/nss.texi: Likewise.
15053 * manual/pattern.texi: Likewise.
15054 * manual/process.texi: Likewise.
15055 * manual/resource.texi: Likewise.
15056 * manual/search.texi: Likewise.
15057 * manual/setjmp.texi: Likewise.
15058 * manual/signal.texi: Likewise.
15059 * manual/socket.texi: Likewise.
15060 * manual/startup.texi: Likewise.
15061 * manual/stdio.texi: Likewise.
15062 * manual/string.texi: Likewise.
15063 * manual/sysinfo.texi: Likewise.
15064 * manual/syslog.texi: Likewise.
15065 * manual/terminal.texi: Likewise.
15066 * manual/time.texi: Likewise.
15067 * manual/users.texi: Likewise.
15068 * INSTALL: Regenerated.
15069 * NOTES: Regenerated.
d40c5d54 15070 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 15071
450bf206
AS
150722012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15073
15074 * include/dirent.h: Include <dirstream.h> before
15075 <dirent/dirent.h>.
15076
741a235b
DM
150772012-02-28 David S. Miller <davem@davemloft.net>
15078
15079 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15080 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15081 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15082 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15083
d6b5aa58
DM
150842012-02-27 David S. Miller <davem@davemloft.net>
15085
1aff59a3
DM
15086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15088 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15089 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15090
d6b5aa58
DM
15091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15092 frame pointer instead of stack pointer relative arg slot.
15093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15094 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15095 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15096
433f48bf
CD
150972012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15098
15099 [BZ #3992]
15100 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15101
d674b76d
DM
151022012-02-27 David S. Miller <davem@davemloft.net>
15103
15104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15108 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15109 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15110 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15111 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15112
0e7727f7
JM
151132012-02-27 Joseph Myers <joseph@codesourcery.com>
15114
15115 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15116 later. Allow versions 5-9.
43be4ca2 15117 * configure: Regenerated.
0e7727f7
JM
15118 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15119 required minimum version and 4.6 as recommended version. Do not
15120 mention bugs in GCC 2.7 and 2.8.
43be4ca2 15121 * INSTALL: Regenerated.
0e7727f7 15122
a78bc654
DM
151232012-02-27 David S. Miller <davem@davemloft.net>
15124
428d5830
DM
15125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15129 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15130 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15131 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15132 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15133
a78bc654
DM
15134 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15135 manipulate bits before adding and subtracting TWO112[sx].
15136 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15137
4579f81c
RM
151382012-02-27 Roland McGrath <roland@hack.frob.com>
15139
36c8acb4
RM
15140 [BZ #13775]
15141 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15142 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15143 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15144 being in POSIX, because they are in 1003.1-2008.
15145
84ad622b
RM
15146 * rt/tst-aio.c: Include <fcntl.h>.
15147 * rt/tst-aio7.c: Likewise.
15148 * rt/tst-aio64.c: Likewise.
15149
4579f81c
RM
15150 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15151
abd923db
JM
151522012-02-27 Joseph Myers <joseph@codesourcery.com>
15153
15154 * manual/install.texi (--with-headers): Describe headers as
15155 interface headers, not private headers.
15156 (Specific advice for GNU/Linux systems): Describe use of headers
15157 from "make headers_install", not private headers from older
15158 kernels.
43be4ca2 15159 * INSTALL: Regenerated.
abd923db
JM
15160 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15161 Change to 2.6.19.
15162 * sysdeps/unix/sysv/linux/configure: Regenerated.
15163
6664049b
JM
15164 * manual/llio.texi (fclean): Remove documentation.
15165
bb8b6697
JM
15166 * manual/Makefile (libc-texi-generated): New variable. Include
15167 version.texi.
15168 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15169 $(libc-texi-generated), not duplicated list of files.
15170 (version.texi, stamp-version): New rules.
15171 (realclean): Remove $(libc-texi-generated), not individual files
15172 from that list. Do not remove dir-add.texinfo.
15173 * manual/libc.texinfo: Comment out uses of edition numbers and
15174 references to printed manual. Remove last-updated dates.
15175 (EDITION): Comment out.
15176 (ISBN): Likewise.
15177 (VERSION, UPDATED): Remove.
15178 (version.texi): Include.
15179
12e5c3b9
AS
151802012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15181
15182 * sysdeps/posix/spawni.c: Include <signal.h>.
15183 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15184 * sysdeps/pthread/aio_fsync.c: Likewise.
15185
4efeffc1 151862012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 15187
ba63ba08
UD
15188 * conform/Makefile (tests): Run only when not cross-compiling and
15189 when fast-check is not defined.
15190
d94a4670
UD
15191 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15192 * conform/data/limits.h-data: Fixes for POSIX2008.
15193 * conform/run-conformtest.sh: Run all tests.
15194 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15195 headers.
15196 * include/bits/dlfcn.h: Likewise.
15197 * include/langinfo.h: Likewise.
15198 * include/monetary.h: Likewise.
15199 * include/sys/poll.h: Likewise.
15200
15201 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15202 for __USE_GNU.
15203 * posix/spawn.h: Define __need_sigset_t.
15204 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15205 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15206 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15207 to get sigevent_t only.
15208 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15209 only for __USE_GNU.
15210 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15211 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15212 process_vm_writev only for __USE_GNU.
15213 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
15214
15215 * conform/Makefile: For now ignore errors from run-conformtest.
15216 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15217 POSIX to avoid namespace pollution. Don't prepend headers.
15218 * conform/data/aio.h-data: Fixes for POSIX testing.
15219 * conform/data/fcntl.h-data: Likewise.
15220 * conform/data/glob.h-data: Likewise.
15221 * conform/data/grp.h-data: Likewise.
15222 * conform/data/pthread.h-data: Likewise.
15223 * conform/data/pwd.h-data: Likewise.
15224 * conform/data/signal.h-data: Likewise.
15225 * conform/data/spawn.h-data: Likewise.
15226 * conform/data/stdio.h-data: Likewise.
15227 * conform/data/stdlib.h-data: Likewise.
15228 * conform/data/stropts.h-data: Likewise.
15229 * conform/data/sys/mman.h-data: Likewise.
15230 * conform/data/sys/stat.h-data: Likewise.
15231 * conform/data/sys/types.h-data: Likewise.
15232 * conform/data/sys/wait.h-data: Likewise.
15233 * conform/data/time.h-data: Likewise.
15234 * conform/data/unistd.h-data: Likewise.
15235 * conform/data/utime.h-data: Likewise.
15236
15237 * io/sys/stat.h: fchmod was always in POSIX.
15238 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15239 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15240 * rt/aio.h: Define __need_timespec before including <time.h>.
15241 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15242 struct. Add forward declaration of pthread_attr_t and use it in
15243 sigevent.
15244 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15245 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15246 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15247 always remove CLK_TCK definition.
15248
c20105c3
AS
152492012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15250
15251 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15252
7a270350
UD
152532012-02-25 Ulrich Drepper <drepper@gmail.com>
15254
31341567
UD
15255 * conform/run-conformtest.sh: New file.
15256 * conform/Makefile: Run run-conformtest for tests.
15257 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15258 support.
15259
15260 * conform/data/uchar.h-data: New file.
15261 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15262 * conform/data/arpa/inet.h-data: Likewise.
15263 * conform/data/assert.h-data: Likewise.
15264 * conform/data/complex.h-data: Likewise.
15265 * conform/data/cpio.h-data: Likewise.
15266 * conform/data/ctype.h-data: Likewise.
15267 * conform/data/dirent.h-data: Likewise.
15268 * conform/data/dlfcn.h-data: Likewise.
15269 * conform/data/errno.h-data: Likewise.
15270 * conform/data/fcntl.h-data: Likewise.
15271 * conform/data/float.h-data: Likewise.
15272 * conform/data/fmtmsg.h-data: Likewise.
15273 * conform/data/fnmatch.h-data: Likewise.
15274 * conform/data/ftw.h-data: Likewise.
15275 * conform/data/glob.h-data: Likewise.
15276 * conform/data/grp.h-data: Likewise.
15277 * conform/data/iconv.h-data: Likewise.
15278 * conform/data/inttypes.h-data: Likewise.
15279 * conform/data/langinfo.h-data: Likewise.
15280 * conform/data/libgen.h-data: Likewise.
15281 * conform/data/limits.h-data: Likewise.
15282 * conform/data/locale.h-data: Likewise.
15283 * conform/data/math.h-data: Likewise.
15284 * conform/data/monetary.h-data: Likewise.
15285 * conform/data/mqueue.h-data: Likewise.
15286 * conform/data/ndbm.h-data: Likewise.
15287 * conform/data/net/if.h-data: Likewise.
15288 * conform/data/netdb.h-data: Likewise.
15289 * conform/data/netinet/in.h-data: Likewise.
15290 * conform/data/nl_types.h-data: Likewise.
15291 * conform/data/poll.h-data: Likewise.
15292 * conform/data/pthread.h-data: Likewise.
15293 * conform/data/pwd.h-data: Likewise.
15294 * conform/data/regex.h-data: Likewise.
15295 * conform/data/sched.h-data: Likewise.
15296 * conform/data/search.h-data: Likewise.
15297 * conform/data/semaphore.h-data: Likewise.
15298 * conform/data/setjmp.h-data: Likewise.
15299 * conform/data/signal.h-data: Likewise.
15300 * conform/data/spawn.h-data: Likewise.
15301 * conform/data/stdarg.h-data: Likewise.
15302 * conform/data/stdio.h-data: Likewise.
15303 * conform/data/stdlib.h-data: Likewise.
15304 * conform/data/string.h-data: Likewise.
15305 * conform/data/strings.h-data: Likewise.
15306 * conform/data/stropts.h-data: Likewise.
15307 * conform/data/sys/ipc.h-data: Likewise.
15308 * conform/data/sys/mman.h-data: Likewise.
15309 * conform/data/sys/msg.h-data: Likewise.
15310 * conform/data/sys/resource.h-data: Likewise.
15311 * conform/data/sys/select.h-data: Likewise.
15312 * conform/data/sys/sem.h-data: Likewise.
15313 * conform/data/sys/shm.h-data: Likewise.
15314 * conform/data/sys/socket.h-data: Likewise.
15315 * conform/data/sys/stat.h-data: Likewise.
15316 * conform/data/sys/statvfs.h-data: Likewise.
15317 * conform/data/sys/time.h-data: Likewise.
15318 * conform/data/sys/timeb.h-data: Likewise.
15319 * conform/data/sys/times.h-data: Likewise.
15320 * conform/data/sys/types.h-data: Likewise.
15321 * conform/data/sys/uio.h-data: Likewise.
15322 * conform/data/sys/un.h-data: Likewise.
15323 * conform/data/sys/utsname.h-data: Likewise.
15324 * conform/data/sys/wait.h-data: Likewise.
15325 * conform/data/syslog.h-data: Likewise.
15326 * conform/data/tar.h-data: Likewise.
15327 * conform/data/termios.h-data: Likewise.
15328 * conform/data/utime.h-data: Likewise.
15329 * conform/data/utmpx.h-data: Likewise.
15330 * conform/data/varargs.h-data: Likewise.
15331 * conform/data/wchar.h-data: Likewise.
15332 * conform/data/wctype.h-data: Likewise.
15333 * conform/data/wordexp.h-data: Likewise.
15334
15335 * include/stropts.h: New file.
15336 * include/uchar.h: New file.
15337 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15338 * include/assert.h: Likewise.
15339 * include/ctype.h: Likewise.
15340 * include/dirent.h: Likewise.
15341 * include/dlfcn.h: Likewise.
15342 * include/fcntl.h: Likewise.
15343 * include/fnmatch.h: Likewise.
15344 * include/glob.h: Likewise.
15345 * include/grp.h: Likewise.
15346 * include/libio.h: Likewise.
15347 * include/locale.h: Likewise.
15348 * include/math.h: Likewise.
15349 * include/net/if.h: Likewise.
15350 * include/netdb.h: Likewise.
15351 * include/netinet/in.h: Likewise.
15352 * include/pthread.h: Likewise.
15353 * include/pwd.h: Likewise.
15354 * include/regex.h: Likewise.
15355 * include/sched.h: Likewise.
15356 * include/search.h: Likewise.
15357 * include/setjmp.h: Likewise.
15358 * include/signal.h: Likewise.
15359 * include/stdio.h: Likewise.
15360 * include/stdlib.h: Likewise.
15361 * include/string.h: Likewise.
15362 * include/sys/cdefs.h: Likewise.
15363 * include/sys/mman.h: Likewise.
15364 * include/sys/msg.h: Likewise.
15365 * include/sys/resource.h: Likewise.
15366 * include/sys/select.h: Likewise.
15367 * include/sys/socket.h: Likewise.
15368 * include/sys/stat.h: Likewise.
15369 * include/sys/statvfs.h: Likewise.
15370 * include/sys/time.h: Likewise.
15371 * include/sys/times.h: Likewise.
15372 * include/sys/uio.h: Likewise.
15373 * include/sys/utsname.h: Likewise.
15374 * include/sys/wait.h: Likewise.
15375 * include/termios.h: Likewise.
15376 * include/time.h: Likewise.
15377 * include/ulimit.h: Likewise.
15378 * include/unistd.h: Likewise.
15379 * include/utime.h: Likewise.
15380 * include/wchar.h: Likewise.
15381 * include/wctype.h: Likewise.
15382 * include/wordexp.h: Likewise.
15383
15384 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15385
7a270350
UD
15386 * time/time.h: TIME_UTC must be a macro.
15387 Make timespec_get available for ISO C11 only as well.
15388
7724defc
UD
153892012-02-24 Ulrich Drepper <drepper@gmail.com>
15390
15391 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15392 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15393
6b1d1d46
JM
153942012-02-24 Joseph Myers <joseph@codesourcery.com>
15395
15396 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 15397
0f8bbd69
JM
153982012-02-24 Joseph Myers <joseph@codesourcery.com>
15399
15400 * manual/texinfo.tex: Update to version 2012-01-19.16.
15401
66ab80bc
JM
154022012-02-24 Joseph Myers <joseph@codesourcery.com>
15403
15404 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15405
74981cc5
RM
154062012-02-24 Roland McGrath <roland@hack.frob.com>
15407
ee968201
RM
15408 [BZ #13738]
15409 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15410 * manual/fdl-1.3.texi: New file.
15411 * manual/fdl-1.1.texi: File removed.
15412
74981cc5
RM
15413 [BZ #13738]
15414 * manual/libc.texinfo (FDL_VERSION): New @set.
15415 Use it for mention of FDL in cover text.
15416 (Documentation License): Use it in @include file name.
15417
7bb764bc
JM
154182012-02-22 Joseph Myers <joseph@codesourcery.com>
15419 Roland McGrath <roland@hack.frob.com>
15420
15421 [BZ #5461]
15422 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15423 not LONG_LONG_MAX and LONG_LONG_MIN.
15424 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15425 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15426 name.
15427 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15428
6cbeae47
JM
154292012-02-22 Joseph Myers <joseph@codesourcery.com>
15430
15431 [BZ #2547]
15432 [BZ #11365]
15433 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15434 manipulate bits before adding and subtracting TWO23[sx].
15435 * math/libm-test.inc (nearbyint_test): Add more tests.
15436
fe45ce09
JM
154372012-02-22 Joseph Myers <joseph@codesourcery.com>
15438
15439 [BZ #2548]
15440 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15441 bits before adding and subtracting TWO23[sx].
15442 * math/libm-test.inc (rint_test): Add more tests.
15443 (rint_test_tonearest): Likewise.
15444 (rint_test_towardzero): Likewise.
15445 (rint_test_downward): Likewise.
15446 (rint_test_upward: Likewise.
15447
ff3b3d82
JM
154482012-02-22 Joseph Myers <joseph@codesourcery.com>
15449
15450 [BZ #10110]
15451 * include/stdc-predef.h: New file. Extracted from features.h.
15452 * include/features.h: Include stdc-predef.h.
15453 * Makefile (headers): Add stdc-predef.h.
15454 * CONFORMANCE (Compiler limitations): Update.
15455
ef0aab35
JM
154562012-02-22 Joseph Myers <joseph@codesourcery.com>
15457
15458 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15459
58639409
DM
154602012-02-21 David S. Miller <davem@davemloft.net>
15461
15462 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15463 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15464
c0e70b25
DM
154652012-02-20 David S. Miller <davem@davemloft.net>
15466
15467 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15468 using a normal save/restore sequence, rather than allocating a
15469 dummy stack frame just to store a frame pointer and restore.
15470 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15471
fb06851d
JM
154722012-02-21 Joseph Myers <joseph@codesourcery.com>
15473
15474 * manual/install.texi: Fix stray word in line-wrapped comment.
15475
7a8b71c3
DM
154762012-02-20 David S. Miller <davem@davemloft.net>
15477
d510c123
DM
15478 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15479 both binutils and gcc support GOTDATA.
15480
0722d7c2
DM
15481 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15482 "rd %pc" in the PIC register setup sequences.
15483
3d2b3019
DM
15484 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15485 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15486 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15487 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15488 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15489 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15490 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15491 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15492 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15493 (SYSCALL_ERROR_HANDLER): Likewise.
15494 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15495 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15496 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15497 (SYSCALL_ERROR_HANDLER): Likewise.
15498
c80098a9
DM
15499 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15500 (HAVE_GCC_GOTDATA): New.
15501 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15502 relocation support in both binutils and gcc.
15503 * sysdeps/sparc/elf/configure: Regenerate.
15504
3a2545a0
DM
15505 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15506 * sysdeps/sparc/sparc32/elf/configure: Delete.
15507 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15508 * sysdeps/sparc/sparc64/elf/configure: Delete.
15509 * sysdeps/sparc/elf/configure.in: New file.
15510 * sysdeps/sparc/elf/configure: Generate.
15511
7a8b71c3
DM
15512 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15513 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15514 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15515 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15516 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15517
f1e86fca
JM
155182012-02-21 Joseph Myers <joseph@codesourcery.com>
15519
15520 * manual/install.texi: Do not mention specific glibc version
15521 numbers.
15522 * manual/libc.texinfo (VERSION, UPDATED): Update.
15523 (@copying): Use @copyright{} and range of years.
15524
0e7dfaef
JM
155252012-02-21 Joseph Myers <joseph@codesourcery.com>
15526
15527 [BZ #13695]
15528 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15529 [crti.S not in sysdirs] (generated): Do not append.
15530 [crti.S not in sysdirs] (omit-deps): Likewise.
15531 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15532 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15533 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15534 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15535 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15536 Likewise.
15537 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15538 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15539 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15540 * csu/defs.awk: Remove file.
15541 * sysdeps/generic/initfini.c: Likewise.
15542 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15543 variable.
15544 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15545 Likewise.
15546
599af3ca
JM
155472012-02-20 Joseph Myers <joseph@codesourcery.com>
15548
15549 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15550 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15551 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15552 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15553 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15554 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15555 <bits/epoll.h>.
15556 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15557 (__EPOLL_PACKED): Define to empty if not defined by
15558 <bits/epoll.h>.
15559 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15560 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15561 bits/epoll.h.
15562
0e499750
JM
155632012-02-20 Joseph Myers <joseph@codesourcery.com>
15564
15565 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15566 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15567 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15568 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15569 <bits/timerfd.h>.
15570 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15571 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15572 bits/timerfd.h.
15573
5ad91f6e
JM
155742012-02-20 Joseph Myers <joseph@codesourcery.com>
15575
15576 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15577 in C locale.
15578 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15579 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15580 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15582
06b99b02
AJ
155832012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15584
15585 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15586 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15587
7638c0fd
AS
155882012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15589
15590 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15591 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15592 defined.
15593 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15594 Likewise.
15595 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15596 entry for 2.16.
15597
92221550
AJ
155982012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15599
15600 * math/w_acos.c: Use non-signaling floating-point comparisons.
15601 * math/w_acosf.c: Likewise.
15602 * math/w_acosh.c: Likewise.
15603 * math/w_acoshf.c: Likewise.
15604 * math/w_acoshl.c: Likewise.
15605 * math/w_acosl.c: Likewise.
15606 * math/w_asin.c: Likewise.
15607 * math/w_asinf.c: Likewise.
15608 * math/w_asinl.c: Likewise.
15609 * math/w_atanh.c: Likewise.
15610 * math/w_atanhf.c: Likewise.
15611 * math/w_atanhl.c: Likewise.
15612 * math/w_exp2.c: Likewise.
15613 * math/w_exp2f.c: Likewise.
15614 * math/w_exp2l.c: Likewise.
15615 * math/w_j0.c: Likewise.
15616 * math/w_j0f.c: Likewise.
15617 * math/w_j0l.c: Likewise.
15618 * math/w_j1.c: Likewise.
15619 * math/w_j1f.c: Likewise.
15620 * math/w_j1l.c: Likewise.
15621 * math/w_jn.c: Likewise.
15622 * math/w_jnf.c: Likewise.
15623 * math/w_log.c: Likewise.
15624 * math/w_log10.c: Likewise.
15625 * math/w_log10f.c: Likewise.
15626 * math/w_log10l.c: Likewise.
15627 * math/w_log2.c: Likewise.
15628 * math/w_log2f.c: Likewise.
15629 * math/w_log2l.c: Likewise.
15630 * math/w_logf.c: Likewise.
15631 * math/w_logl.c: Likewise.
15632 * math/w_sqrt.c: Likewise.
15633 * math/w_sqrtf.c: Likewise.
15634 * math/w_sqrtl.c: Likewise.
15635 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15636 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15637 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15638 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15639 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15640
ebaf36eb
JM
156412012-02-19 Joseph Myers <joseph@codesourcery.com>
15642
15643 [BZ #9739]
15644 * manual/string.texi (strnlen): Use correct parameter name in
15645 equivalent expression.
15646
71c254a6
JM
156472012-02-19 Joseph Myers <joseph@codesourcery.com>
15648
15649 [BZ #11174]
15650 * manual/users.texi (seteuid): Consistently use neweuid for
15651 argument name.
15652
16d2c631
JM
156532012-02-19 Joseph Myers <joseph@codesourcery.com>
15654
15655 [BZ #13704]
15656 * manual/nss.texi (Services in the NSS configuration): Correct
15657 list of services in example configuration file.
15658
cd837b09
NB
156592012-02-19 Nick Bowler <nbowler@draconx.ca>
15660
15661 [BZ #11322]
15662 * manual/arith.texi: Remove statements about negative zero
15663 behaving identically to zero.
15664
02c4bbad
JM
156652012-02-18 Joseph Myers <joseph@codesourcery.com>
15666
15667 [BZ #5993]
15668 * manual/install.texi: Do not document upgrading from libc5.
15669
366842e7
JM
156702012-02-18 Joseph Myers <joseph@codesourcery.com>
15671
15672 [BZ #4596]
15673 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15674
dd54084d
DM
156752012-02-18 David S. Miller <davem@davemloft.net>
15676
15677 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15678 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15679 %o7 across the call.
15680 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15681 instead.
15682 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15683 SETUP_PIC_REG_LEAF.
15684 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15685 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15686 * sysdeps/sparc/crtn.S: Likewise.
15687
2bcc53a3
UD
156882012-02-17 Ulrich Drepper <drepper@gmail.com>
15689
15690 * aout/Makefile: Remove.
15691
09c093b5
RK
156922012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15693
15694 [BZ #13058]
15695 * manual/examples/argp-ex1.c (main): Format definition in GNU
15696 style.
15697 * manual/examples/argp-ex2.c (main): Likewise.
15698 * manual/examples/argp-ex3.c (main): Likewise.
15699 * manual/examples/argp-ex4.c (main): Likewise.
15700 * manual/examples/longopt.c (main): Use new-style prototype
15701 definition.
15702 * manual/examples/strncat.c (main): Specify return type and use
15703 (void) for arguments.
15704 * manual/examples/subopt.c (main): Use char **argv argument.
15705
2ee633a2
JM
157062012-02-17 Joseph Myers <joseph@codesourcery.com>
15707
15708 [BZ #5077]
15709 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15710 rounding modes.
15711
0520adde
FB
157122012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15713
15714 [BZ #6907]
15715 * manual/string.texi (strchr): Change when strchrnul is
15716 recommended.
15717
3f4081cd
DGM
157182012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15719
15720 [BZ #174]
15721 * manual/locale.texi (setlocale): Document LOCPATH.
15722
d1b10e78
JM
157232012-02-17 Joseph Myers <joseph@codesourcery.com>
15724
15725 [BZ #10210]
15726 * manual/process.texi (execle): Move @dots{} before last argument.
15727
79c6869c
PB
157282012-02-17 Paul Bolle <pebolle@tiscali.nl>
15729
15730 [BZ #12047]
15731 * manual/charset.texi (Generic Charset Conversion): Fix typo
15732 (LC_TYPE -> LC_CTYPE).
15733
cc6e48bc
NB
157342012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15735
15736 [BZ #5805]
15737 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15738 (scalbnf): Likewise.
15739 (scalbnl): Likewise.
15740 (scalbln): Likewise.
15741 (scalblnf): Likewise.
15742 (scalblnl): Likewise.
15743 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15744 (vwarnx): Likewise.
15745 (verr): Likewise.
15746 (verrx): Likewise.
15747 * manual/filesys.texi (telldir): Use braces around return type.
15748 * manual/llio.texi (mmap): Add space after comma.
15749 (mmap64): Likewise.
15750 * manual/math.texi (jn): Use @var{} on parameter names.
15751 (jnf): Likewise.
15752 (jnl): Likewise.
15753 (yn): Likewise.
15754 (ynf): Likewise.
15755 (ynl): Likewise.
15756 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15757 line.
15758 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15759 "...".
15760 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15761 (sched_get_priority_max): Likewise.
15762 * manual/signal.texi (sigvec): Add space after comma.
15763 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15764 names.
15765 (if_indextoname): Likewise.
15766 (if_freenameindex): Likewise.
15767 (sendto): Use ',' instead of '.' in prototype.
15768 * manual/startup.texi (syscall): Use @dots{} instead of literal
15769 "...".
15770 * manual/stdio.texi (__fpending): Separate initial words of
15771 paragraph from @deftypefun line.
15772 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15773 "...".
15774 (vsyslog): Use @var{} on parameter names.
15775 * manual/terminal.texi (stty): Use @var{} on parameter names.
15776 * manual/users.texi (getutmp): Use @var{} on parameter names.
15777 (getutmpx): Likewise.
15778
5b23062f
JM
157792012-02-17 Joseph Myers <joseph@codesourcery.com>
15780
15781 [BZ #6884]
15782 * manual/stdio.texi (fopen): Fix typos in description of
15783 ",ccs=STRING".
15784
8dee4833
AJ
157852012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15786
15787 [BZ #4026]
15788 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15789 get clock_id definition.
15790
9078ce93
TS
157912012-02-17 Thomas Schwinge <thomas@schwinge.name>
15792
15793 [BZ #4822]
15794 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15795 (madvise): Cast every argument to void on its own.
15796
3835c55f
JM
157972012-02-17 Joseph Myers <joseph@codesourcery.com>
15798
15799 [BZ #9902]
15800 * manual/startup.texi (Exit Status): Fix typo.
15801
35c47e37
JM
158022012-02-17 Joseph Myers <joseph@codesourcery.com>
15803
15804 [BZ #10140]
15805 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15806 * manual/examples/argp-ex2.c: Likewise.
15807 * manual/examples/argp-ex3.c: Likewise.
15808
e3b69ca7
RH
158092012-02-16 Richard Henderson <rth@redhat.com>
15810
15811 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15812 * sysdeps/s390/s390-32/initfini.c: Remove.
15813 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15814 * sysdeps/s390/s390-64/initfini.c: Remove.
15815
df83af67
KK
158162012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15817
15818 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15819 compiler output for sysdeps/generic/initfini.c.
15820 * sysdeps/sh/elf/initfini.c: Remove file.
15821
f63f3380
DM
158222012-02-16 David S. Miller <davem@davemloft.net>
15823
fb59b3a4
DM
15824 [BZ #11494]
15825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15826
f63f3380
DM
15827 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15828 * sysdeps/sparc/crti.S: New file.
15829 * sysdeps/sparc/crtn.S: New file.
15830 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15831 * sysdeps/sparc/sparc64/Makefile: Likewise.
15832
df6a4a4a
MF
158332012-02-15 Mike Frysinger <vapier@gentoo.org>
15834
6dd8f3dc 15835 [BZ #3335]
df6a4a4a
MF
15836 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15837
1cac7236
RM
158382012-02-15 Roland McGrath <roland@hack.frob.com>
15839
d2c736f8
RM
15840 [BZ #4822]
15841 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15842
1cac7236
RM
15843 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15844 (write, read, close): Likewise.
15845 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15846
8e475601
JM
158472012-02-15 Joseph Myers <joseph@codesourcery.com>
15848
15849 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15850 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15851 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15852 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15853 <bits/signalfd.h>.
15854 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15856 bits/signalfd.h.
15857
ed656b40
MP
158582012-02-14 Marek Polacek <polacek@redhat.com>
15859
15860 * sysdeps/x86_64/crti.S: New file.
15861 * sysdeps/x86_64/crtn.S: New file.
15862 * sysdeps/x86_64/elf/initfini.c: Remove file.
15863
2a979d3a
JM
158642012-02-13 Joseph Myers <joseph@codesourcery.com>
15865
15866 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15867 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15868 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15869 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15870 <bits/inotify.h>.
15871 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15872 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15873 bits/inotify.h.
15874
2a418ac3
JM
158752012-02-13 Joseph Myers <joseph@codesourcery.com>
15876
15877 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15878 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15879 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15880 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15881 <bits/eventfd.h>.
15882 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15883 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15884 bits/eventfd.h.
15885
fb779be7
TS
158862012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15887
e19e83c5
RM
15888 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15889 __feraiseexcept instead of feraiseexcept.
7c35ffed 15890
fb779be7
TS
15891 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15892 nanosleep invocations.
15893 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15894 strings, and add error checking for a nanosleep invocations.
15895
59ba27a6
PE
158962012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15897
15898 Replace FSF snail mail address with URLs, as per GNU coding standards.
15899 Most of the snail mail addresses were wrong anyway, and omitting
15900 them makes the source code easier to maintain. Almost all of the
15901 changes are to license notices and to locale LC_IDENTIFICATION
15902 addresses, except for this one:
15903 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15904 not its snail mail address.
15905
57b957eb
RH
159062012-02-09 Richard Henderson <rth@twiddle.net>
15907
af850b1c
RH
15908 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15909 of kernel-features.h.
15910
57b957eb
RH
15911 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15912
6b73181a
MP
159132012-02-08 Marek Polacek <polacek@redhat.com>
15914
15915 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15916 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15917 * sysdeps/gnu/_G_config.h: Likewise.
15918 * sysdeps/generic/_G_config.h: Likewise.
15919
26ecc33a
AS
159202012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15921
6c6dbc63
AS
15922 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15923 tests.
15924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15925
e216c012
AS
15926 * sysdeps/powerpc/powerpc32/crti.S: New file.
15927 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15928 * sysdeps/powerpc/powerpc64/crti.S: New file.
15929 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15930
26ecc33a
AS
15931 * Makeconfig (have-initfini): Don't set.
15932 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15933 * configure.in (nopic_initfini): Don't substitute.
15934 * config.h.in (HAVE_INITFINI): Don't #undef.
15935 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15936 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15937
3add8e13
JM
159382012-02-08 Joseph Myers <joseph@codesourcery.com>
15939
15940 Support crti.S and crtn.S provided directly by architectures.
15941 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15942 [crti.S in sysdirs] (omit-deps): Likewise.
15943 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15944 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15945 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15946 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15947 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15948 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15949 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15950 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15951 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15952 compiler output for sysdeps/generic/initfini.c.
15953 * sysdeps/i386/elf/Makefile: Remove file.
15954 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15955
a22f12b4
MP
159562012-02-07 Marek Polacek <polacek@redhat.com>
15957
15958 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15959 * sysdeps/gnu/_G_config.h: Likewise.
15960 * sysdeps/mach/hurd/_G_config.h: Likewise.
15961
148cf100
MP
159622012-02-07 Marek Polacek <polacek@redhat.com>
15963
15964 * math/Makefile (tests): Add tst-CMPLX2.
15965 * math/tst-CMPLX2.c: New file.
15966
cfdc0dd7
AS
159672012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15968
84ba42c4
AS
15969 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15970
cfdc0dd7
AS
15971 * math/libm-test.inc (jn_test): Add missing L suffix.
15972
622c86f4
MP
159732012-02-06 Marek Polacek <polacek@redhat.com>
15974
15975 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15976 * sysdeps/i386/fpu/e_powf.S: Likewise.
15977 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15978 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15979 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15980 * sysdeps/i386/fpu/e_pow.S: Likewise.
15981 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15982 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15983 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15984 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15985 * sysdeps/i386/fpu/e_log2.S: Likewise.
15986 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15987 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15988 * sysdeps/i386/fpu/e_powl.S: Likewise.
15989 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15990 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15991 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15992 * sysdeps/i386/fpu/e_logl.S: Likewise.
15993 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15994 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15995 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15996 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15997 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15998 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15999 * sysdeps/i386/fpu/e_log.S: Likewise.
16000 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16001 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16002 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16003 * sysdeps/i386/fpu/e_logf.S: Likewise.
16004 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16005 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16006 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16007 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16008 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16009 * sysdeps/i386/fpu/e_log10.S: Likewise.
16010 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16011 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16012 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16013 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16014 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16015 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16016 * sysdeps/i386/asm-syntax.h: Likewise.
16017 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16018 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16019 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16020 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16021 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16022 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16023 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16024 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16025 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16026 * sysdeps/powerpc/sysdep.h: Likewise.
16027 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16028 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16029
d4a54ac6
JM
160302012-02-06 Joseph Myers <joseph@codesourcery.com>
16031
16032 [BZ #411]
16033 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16034
314054ea
JM
160352012-02-06 Joseph Myers <joseph@codesourcery.com>
16036
16037 * sysdeps/i386/sysdep.h: Include <features.h>.
16038 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16039 version.
16040
d8e0ca50
JM
160412012-02-05 Joseph Myers <joseph@codesourcery.com>
16042
16043 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16044 Define.
16045 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16046 LOAD_PIC_REG_STR.
16047
b1da7dd9
JM
160482012-02-03 Joseph Myers <joseph@codesourcery.com>
16049
16050 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16051 (SETUP_PIC_REG): Use GET_PC_THUNK.
16052 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16053 macro.
16054
9a1d9254
JM
160552012-02-03 Joseph Myers <joseph@codesourcery.com>
16056
16057 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16058 for non-PIC compilation.
16059 (SETUP_PIC_REG): Add .p2align directive.
16060 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16061 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16062 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16063 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16064 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16065 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16066 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16067 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16068 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16069 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16070 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16071 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16072 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16073 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16074 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16075 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16076 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16077 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16078 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16079 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16080 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16081 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16082 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16083 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16084 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16085 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16086 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16087 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16088 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16089 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16090 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16091 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16092 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16093 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16094 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16095 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16096 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16097 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16098 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16099 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16100 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16101
65dc3b75
JM
161022012-02-03 Joseph Myers <joseph@codesourcery.com>
16103
16104 * math/tst-CMPLX.c: Include <stdio.h>.
16105
d55bf177
JM
161062012-01-31 Joseph Myers <joseph@codesourcery.com>
16107
16108 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16109 float.
16110 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16111 * sysdeps/sparc/bits/mathdef.h: Likewise.
16112
69db4f8f
MP
161132012-01-31 Marek Polacek <polacek@redhat.com>
16114
16115 * libio/libio.h: Don't define _PARAMS.
16116 * locale/programs/config.h: Don't define PARAMS.
16117 * stdlib/strtol_l.c: Likewise.
16118 (__strtol_l): Remove PARAMS from the prototype.
16119
41b81892
UD
161202012-01-31 Ulrich Drepper <drepper@gmail.com>
16121
3b49edc0
UD
16122 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16123 names. Just use the correct names. Remove unnecessary wrapper
16124 functions.
16125 * malloc/arena.c: Likewise.
16126 * malloc/hooks.c: Likewise.
16127
41b81892
UD
16128 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16129 ARENA_TEST says not to. Simplify test for creation of a new arena.
16130 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16131
27a25b6e
UD
161322012-01-30 Ulrich Drepper <drepper@gmail.com>
16133
16134 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16135 into tail calls.
16136 (update_get_addr): New function.
16137 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16138 GET_ADDR_MODULE parameter.
16139
c8a89e7d
JM
161402012-01-30 Joseph Myers <joseph@codesourcery.com>
16141
16142 * crypt/cert.c: Remove __STDC__ conditionals.
16143 * crypt/crypt-entry.c: Likewise.
16144 * crypt/crypt_util.c: Likewise.
16145 * libio/filedoalloc.c: Likewise.
16146 * libio/fileops.c: Likewise.
16147 * libio/genops.c: Likewise.
16148 * libio/iofclose.c: Likewise.
16149 * libio/iofdopen.c: Likewise.
16150 * libio/iofopen.c: Likewise.
16151 * libio/iofopen64.c: Likewise.
16152 * libio/iogetdelim.c: Likewise.
16153 * libio/iopopen.c: Likewise.
16154 * libio/obprintf.c: Likewise.
16155 * libio/oldfileops.c: Likewise.
16156 * libio/oldiofclose.c: Likewise.
16157 * libio/oldiofdopen.c: Likewise.
16158 * libio/oldiofopen.c: Likewise.
16159 * libio/oldiopopen.c: Likewise.
16160 * libio/wfiledoalloc.c: Likewise.
16161 * libio/wgenops.c: Likewise.
16162 * locale/programs/xmalloc.c: Likewise.
16163 * misc/syslog.c: Likewise.
16164 * stdio-common/xbug.c: Likewise.
16165 * string/memchr.c: Likewise.
16166 * string/memcmp.c: Likewise.
16167 * string/memrchr.c: Likewise.
16168 * string/rawmemchr.c: Likewise.
16169 * sysdeps/posix/getcwd.c: Likewise.
16170 * time/strftime_l.c: Likewise.
16171
3b100462
JM
161722012-01-30 Joseph Myers <joseph@codesourcery.com>
16173
16174 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
16175 * config.make.in (config-cflags-sse2avx): Define.
16176 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16177 Fix typo.
16178
607998af
CM
161792012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16180
16181 * scripts/config.guess: Update from upstream config git repository.
16182 * scripts/config.sub: Likewise.
16183
3601428f
CM
161842012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16185
3ac8b282
CM
16186 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16187 (EM_NUM): Update.
16188 (R_TILEPRO_*, R_TILEGX_*): New macros.
16189
e034841e
CM
16190 * scripts/firstversions.awk: Fix bug in version range handling.
16191
540d7568
CM
16192 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16193
3601428f
CM
16194 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16195
463de862
CM
16196 * include/sys/epoll.h: New file.
16197 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16198 libc_hidden_def.
16199
73139a76
UD
162002012-01-28 Ulrich Drepper <drepper@gmail.com>
16201
96bc5b45
UD
16202 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16203 Avoid unnecessary __WORDSIZE == 64 test.
16204 (fmaxf): Use VEX format if possible.
16205 (fmax): Likewise.
16206 (fminf): Likewise.
16207 (fmin): Likewise.
16208
56f6f6a2
UD
16209 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16210 * math/math_private.h: Remove libc_fegetround* and
16211 libc_fesetround*.
16212 * sysdeps/i386/configure.in: Check for -msse2avx.
16213 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16214 also if SSE2AVX is defined.
16215 Remove libc_fegetround* and libc_fesetround*.
16216 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16217 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16218 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16219 of HAS_YMM_USABLE.
16220 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16221 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16222 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16223 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16224 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16225
73139a76
UD
16226 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16227
d73f93a4
AZ
162282012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16229
16230 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16231 size is not set.
16232 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16233
6ee65ed6
UD
162342012-01-27 Ulrich Drepper <drepper@gmail.com>
16235
16236 [BZ #13618]
16237 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16238 relocation.
16239 * Makeconfig (libm): Define.
16240 * elf/Makefile: Add rules to build and run tst-relsort1.
16241 * elf/tst-relsort1.c: New file.
16242 * elf/tst-relsort1mod1.c: New file.
16243 * elf/tst-relsort1mod2.c: New file.
16244
8db21882
JM
162452012-01-27 Joseph Myers <joseph@codesourcery.com>
16246
16247 * math/s_ldexp.c: Remove __STDC__ conditionals.
16248 * math/s_ldexpf.c: Likewise.
16249 * math/s_ldexpl.c: Likewise.
16250 * math/s_nextafter.c: Likewise.
16251 * math/s_nexttowardf.c: Likewise.
16252 * math/s_significand.c: Likewise.
16253 * math/s_significandf.c: Likewise.
16254 * math/s_significandl.c: Likewise.
16255 * math/w_jnl.c: Likewise.
16256 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16257 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16258 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16259 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16260 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16261 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16262 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16263 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16264 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16265 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16266 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16267 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16268 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16269 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16270 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16271 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16272 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16273 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16274 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16275 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16276 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16277 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16278 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16279 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16280 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16281 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16282 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16283 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16284 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16285 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16286 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16287 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16288 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16289 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16290 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16291 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16292 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16293 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16294 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16295 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16296 * sysdeps/ieee754/k_standard.c: Likewise.
16297 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16298 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16299 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16300 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16301 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16302 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16303 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16304 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16305 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16306 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16307 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16308 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16309 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16310 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16311 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16312 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16313 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16314 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16315 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16316 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16317 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16318 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16319 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16320 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16321 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16322 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16323 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16324 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16325 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16326 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16327 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16328 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16329 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16330 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16331 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16332 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16333 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16334 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16335 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16336 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16337 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16338 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16339 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16340 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16341 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16342 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16343 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16344 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16345 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16346 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16347 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16348 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16349 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16350 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16351 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16352 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16353 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16354 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16355 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16356 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16357 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16358 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16359 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16360 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16361 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16362 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16363 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16364 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16365 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16366 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16367 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16368 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16369 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16370 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16371 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16372 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16373 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16374 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16375 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16376 * sysdeps/ieee754/s_matherr.c: Likewise.
16377 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16378 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16379 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16380 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16381
965a54a4
JM
163822012-01-26 Joseph Myers <joseph@codesourcery.com>
16383
16384 * crypt/md5.h: Remove __STDC__ conditionals.
16385 * libio/libioP.h: Likewise.
16386 * locale/programs/config.h: Likewise.
16387 * sysdeps/generic/sysdep.h: Likewise.
16388 * sysdeps/i386/asm-syntax.h: Likewise.
16389 * sysdeps/s390/asm-syntax.h: Likewise.
16390 * sysdeps/unix/sysdep.h: Likewise.
16391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16393
7071ad79
JM
163942012-01-26 Joseph Myers <joseph@codesourcery.com>
16395
16396 * libio/libio.h: Remove __STDC__ conditionals.
16397 * malloc/obstack.h: Likewise.
16398 * math/complex.h: Likewise.
16399 * math/math.h: Likewise.
16400 * sysdeps/generic/_G_config.h: Likewise.
16401 * sysdeps/gnu/_G_config.h: Likewise.
16402 * sysdeps/mach/hurd/_G_config.h: Likewise.
16403 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16404 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16405 * sysdeps/sparc/bits/mathdef.h: Likewise.
16406
afc5ed09
UD
164072012-01-26 Ulrich Drepper <drepper@gmail.com>
16408
16409 [BZ #13583]
16410 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 16411 Clean up HAS_* macros.
afc5ed09 16412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
16413 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16414 possible.
16415 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16416 HAS_AVX.
16417 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16418 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16419 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16420 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16421 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 16422
bdb6de1d
JM
164232012-01-25 Joseph Myers <joseph@codesourcery.com>
16424
16425 * elf/tst-unique3.cc (gets): Remove declaration.
16426 * elf/tst-unique3lib.cc (gets): Likewise.
16427 * elf/tst-unique3lib2.cc (gets): Likewise.
16428 * elf/tst-unique4.cc (gets): Likewise.
16429
b15549e6
UD
164302012-01-24 Ulrich Drepper <drepper@gmail.com>
16431
16432 * include/stdio.h: Add C++ protection. Add gets declarations and
16433 definitions.
16434 * debug/tst-chk1.c: Don't declare gets here.
16435 * stdio-common/tst-gets.c: Likewise.
16436
a037381f
JM
164372012-01-24 Joseph Myers <joseph@codesourcery.com>
16438
16439 * posix/glob: Remove directory.
16440
f1d4aa75
JM
164412012-01-24 Joseph Myers <joseph@codesourcery.com>
16442
16443 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16444
81c0c964
PT
164452012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16446
16447 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16448 of the non-standard EPFNOSUPPORT.
16449
0ea698ae
ST
164502011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16451
16452 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16453 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16454 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16455
d220b117
UD
164562012-01-21 Ulrich Drepper <drepper@gmail.com>
16457
16458 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16459
3e1aa84e
UD
164602012-01-20 Ulrich Drepper <drepper@gmail.com>
16461
16462 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16463 transient errors.
16464 * nscd/grpcache.c (cache_addgr): Likewise.
16465 * nscd/hstcache.c (cache_addhst): Likewise.
16466 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16467 * nscd/pwdcache.c (cache_addpw): Likewise.
16468 * nscd/servicescache.c (cache_addserv): Likewise.
16469
400aa020
UD
164702012-01-16 Ulrich Drepper <drepper@gmail.com>
16471
d77e7869
UD
16472 * malloc/malloc.c: Various cleanups.
16473 * malloc/hooks.c: Likewise.
16474
400aa020
UD
16475 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16476 * stdlib/bug-fmtmsg1.c: New file.
16477
16478 * stdlib/fmtmsg.c (init): Add missing unlock.
16479 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16480
e0a309cf
MP
164812012-01-12 Marek Polacek <polacek@redhat.com>
16482
16483 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16484 and _GNU_SOURCE.
16485
929d11c7
WS
164862012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16487
16488 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16489 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16490 macro to ensure uniqueness of label name.
16491 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16492 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16493
41d0e869
UD
164942012-01-11 Ulrich Drepper <drepper@gmail.com>
16495
0cc5ed3b
UD
16496 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16497
41d0e869
UD
16498 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16499 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16500 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16501 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16502
a47a831a
UD
165032012-01-10 Ulrich Drepper <drepper@gmail.com>
16504
daa891c0
UD
16505 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16506
16507 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16508 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16509 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16510
e58ef0f2
UD
16511 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16512
a47a831a 16513 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
16514 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16515 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 16516 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
16517
16518 * math/bits/math-finite.h: Add ldexp support.
16519
a0bfc9c7
MP
165202012-01-10 Marek Polacek <polacek@redhat.com>
16521
16522 * locale/programs/localedef.h (show_archive_content): Add noreturn
16523 attribute.
16524
d6e97a1d
UD
165252012-01-09 Ulrich Drepper <drepper@gmail.com>
16526
16527 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16528
d5835c26
UD
165292012-01-08 Ulrich Drepper <drepper@gmail.com>
16530
e5f484c6
UD
16531 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16532
d5835c26
UD
16533 * io/Makefile (headers): Add bits/poll2.h.
16534
d1f741e9
WS
165352011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16536
16537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16538 typo #include statement.
16539
ec09c1c4
UD
165402012-01-08 Ulrich Drepper <drepper@gmail.com>
16541
16542 * include/sys/cdefs.h: Define __attribute_alloc_size.
16543 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16544 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16545 * elf/pldd.c: Likewise.
16546 * iconv/iconv_charmap.c: Likewise.
16547 * iconv/iconvconfig.c: Likewise.
16548 * iconv/strtab.c: Likewise.
16549 * locale/programs/locale.c: Likewise.
16550 * locale/programs/localedef.h: Likewise.
16551 * locale/programs/simple-hash.c: Likewise.
16552 * nscd/nscd.h: Likewise.
16553 * nss/makedb.c: Likewise.
16554 * sysdeps/generic/ldconfig.h: Likewise.
16555 * locale/programs/localedef.c: Remove xmalloc prototype.
16556 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16557
20b38e03
PP
165582012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16559
16560 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16561 appropriate.
16562
a0da5fe1
UD
165632012-01-08 Ulrich Drepper <drepper@gmail.com>
16564
1d5a644a 16565 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16566 * math/tst-CMPLX.c: New file.
1d5a644a 16567
8784a6db
UD
16568 * math/complex.h (CMPLXL): Fix typo.
16569
d9a216c0
UD
16570 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16571 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16572 GLIBC_2.16.
16573 * debug/tst-chk1.c: Add poll and ppoll tests.
16574 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16575 * include/sys/poll.h: Add hidden proto for ppoll.
16576 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16577 * sysdeps/mach/hurd/ppoll.c: Likewise.
16578 * io/ppoll.c: Likewise.
16579 * debug/poll_chk.c: New file.
16580 * debug/ppoll_chk.c: New file.
16581 * include/bits/poll2.h: New file.
16582 * io/bits/poll2.h: New file.
16583
ac097f5c
UD
16584 [BZ #1350]
16585 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16586
2119dcfa
UD
16587 * configure.in: static is always set to yes. Remove.
16588 * config.make.in: Don't set build-static.
16589 * Makeconfig: Remove use of build-static.
16590 * dlfcn/Makefile: Likewise.
16591 * elf/Makefile: Likewise.
16592 * math/Makefile: Likewise.
16593 * misc/Makefile: Likewise.
16594 * nptl/Makefile: Likewise.
16595 * sysdeps/mach/hurd/Makefile: Likewise.
16596
121766a9
UD
16597 * configure.in: PWD_P is not used anymore.
16598 * config.make.in: Remove PWD_P entry.
16599
51a1d39c 16600 * configure.in: Remove last remnants of RANLIB.
8720d066 16601 No need to check for signed size_t anymore.
215f4bdc
UD
16602 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16603 and IA-64.
3857022a 16604 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16605 * aclocal.m4: Likewise.
16606
d3ed7225
UD
16607 * wcsmbs/mbrtoc16.c: Implement using towc function.
16608 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16609 * wcsmbs/wcsmbsload.c: Likewise.
16610 * iconv/gconv_simple.c: Likewise.
16611 * iconv/gconv_int.h: Likewise.
16612 * iconv/gconv_builtin.h: Likewise.
16613 * iconv/iconv_prog.c: Remove CHAR16 handling.
16614
16615 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16616
16617 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16618
a0da5fe1
UD
16619 * configure.in: Remove --with-elf and --enable-bounded options.
16620 Dont set base_machine for ia64. More non-ELF conditions removed.
16621 Remove testing and setting of leading underscore information.
16622 * config.make.in (build-bounded): Set to no.
16623 * config.h.in: Remove NO_UNDERSCORES entry.
16624 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16625 them.
16626 * csu/start.c: Remove !NO_UNDERSCORE code.
16627 * locale/localeinfo.h: Likewise.
16628 * sysdeps/generic/machine-gmon.h: Likewise.
16629 * sysdeps/generic/sysdep.h: Likewise.
16630 * sysdeps/i386/sysdep.h: Likewise.
16631 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16632 * sysdeps/mach/sysdep.h: Likewise.
16633 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16634 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16635 * sysdeps/sh/sysdep.h: Likewise.
16636 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16637 * sysdeps/unix/i386/sysdep.S: Likewise.
16638 * sysdeps/unix/sparc/start.c: Likewise.
16639 * sysdeps/unix/sparc/sysdep.S: Likewise.
16640 * sysdeps/unix/sparc/sysdep.h: Likewise.
16641 * sysdeps/unix/start.c: Likewise.
16642 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16643 * sysdeps/x86_64/sysdep.h: Likewise.
16644
df78418a
UD
166452012-01-07 Ulrich Drepper <drepper@gmail.com>
16646
a784e502
UD
16647 [BZ #13553]
16648 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16649 for non-gcc.
16650 * argp/argp-fmtstream.h: Use const instead __const.
16651 * argp/argp.h: Likewise.
16652 * assert/assert.h: Likewise.
16653 * bits/fenv.h: Likewise.
16654 * bits/sched.h: Likewise.
16655 * bits/sigset.h: Likewise.
16656 * bits/sigthread.h: Likewise.
16657 * catgets/nl_types.h: Likewise.
16658 * conform/data/pthread.h-data: Likewise.
16659 * crypt/crypt-private.h: Likewise.
16660 * crypt/crypt.h: Likewise.
16661 * crypt/crypt_util.c: Likewise.
16662 * ctype/ctype.h: Likewise.
16663 * debug/execinfo.h: Likewise.
16664 * debug/mbsnrtowcs_chk.c: Likewise.
16665 * debug/mbsrtowcs_chk.c: Likewise.
16666 * debug/wcsnrtombs_chk.c: Likewise.
16667 * debug/wcsrtombs_chk.c: Likewise.
16668 * debug/wcstombs_chk.c: Likewise.
16669 * dirent/dirent.h: Likewise.
16670 * dlfcn/dlfcn.h: Likewise.
16671 * elf/neededtest4.c: Likewise.
16672 * grp/grp.h: Likewise.
16673 * gshadow/gshadow.h: Likewise.
16674 * iconv/gconv.h: Likewise.
16675 * iconv/gconv_int.h: Likewise.
16676 * iconv/gconv_simple.c: Likewise.
16677 * iconv/iconv.h: Likewise.
16678 * iconv/loop.c: Likewise.
16679 * iconv/skeleton.c: Likewise.
16680 * include/aio.h: Likewise.
16681 * include/aliases.h: Likewise.
16682 * include/argz.h: Likewise.
16683 * include/arpa/inet.h: Likewise.
16684 * include/assert.h: Likewise.
16685 * include/dirent.h: Likewise.
16686 * include/dlfcn.h: Likewise.
16687 * include/execinfo.h: Likewise.
16688 * include/fcntl.h: Likewise.
16689 * include/fenv.h: Likewise.
16690 * include/glob.h: Likewise.
16691 * include/grp.h: Likewise.
16692 * include/libintl.h: Likewise.
16693 * include/mntent.h: Likewise.
16694 * include/netdb.h: Likewise.
16695 * include/pwd.h: Likewise.
16696 * include/rpc/netdb.h: Likewise.
16697 * include/sched.h: Likewise.
16698 * include/search.h: Likewise.
16699 * include/shadow.h: Likewise.
16700 * include/signal.h: Likewise.
16701 * include/stdio.h: Likewise.
16702 * include/stdlib.h: Likewise.
16703 * include/string.h: Likewise.
16704 * include/sys/socket.h: Likewise.
16705 * include/sys/stat.h: Likewise.
16706 * include/sys/statfs.h: Likewise.
16707 * include/sys/statvfs.h: Likewise.
16708 * include/sys/syslog.h: Likewise.
16709 * include/sys/time.h: Likewise.
16710 * include/sys/uio.h: Likewise.
16711 * include/time.h: Likewise.
16712 * include/unistd.h: Likewise.
16713 * include/utmp.h: Likewise.
16714 * include/wchar.h: Likewise.
16715 * include/wctype.h: Likewise.
16716 * inet/aliases.h: Likewise.
16717 * inet/arpa/inet.h: Likewise.
16718 * inet/netinet/ether.h: Likewise.
16719 * inet/netinet/in.h: Likewise.
16720 * intl/libintl.h: Likewise.
16721 * io/bits/fcntl2.h: Likewise.
16722 * io/fcntl.h: Likewise.
16723 * io/ftw.h: Likewise.
16724 * io/sys/poll.h: Likewise.
16725 * io/sys/stat.h: Likewise.
16726 * io/sys/statfs.h: Likewise.
16727 * io/sys/statvfs.h: Likewise.
16728 * io/utime.h: Likewise.
16729 * libio/bits/stdio.h: Likewise.
16730 * libio/bits/stdio2.h: Likewise.
16731 * libio/libio.h: Likewise.
16732 * libio/libioP.h: Likewise.
16733 * libio/stdio.h: Likewise.
16734 * locale/lc-ctype.c: Likewise.
16735 * locale/locale.h: Likewise.
16736 * login/utmp.h: Likewise.
16737 * malloc/arena.c: Likewise.
16738 * malloc/malloc.c: Likewise.
16739 * malloc/malloc.h: Likewise.
16740 * malloc/mcheck.c: Likewise.
16741 * malloc/mtrace.c: Likewise.
16742 * math/bits/mathcalls.h: Likewise.
16743 * math/fenv.h: Likewise.
16744 * math/math_private.h: Likewise.
16745 * misc/bits/error.h: Likewise.
16746 * misc/bits/syslog.h: Likewise.
16747 * misc/err.h: Likewise.
16748 * misc/error.h: Likewise.
16749 * misc/fstab.h: Likewise.
16750 * misc/mntent.h: Likewise.
16751 * misc/regexp.h: Likewise.
16752 * misc/search.h: Likewise.
16753 * misc/sgtty.h: Likewise.
16754 * misc/sys/mman.h: Likewise.
16755 * misc/sys/syslog.h: Likewise.
16756 * misc/sys/uio.h: Likewise.
16757 * misc/sys/xattr.h: Likewise.
16758 * misc/ttyent.h: Likewise.
16759 * nis/rpcsvc/ypclnt.h: Likewise.
16760 * nss/nss.h: Likewise.
16761 * posix/bits/unistd.h: Likewise.
16762 * posix/fnmatch.h: Likewise.
16763 * posix/glob.h: Likewise.
16764 * posix/sched.h: Likewise.
16765 * posix/spawn.h: Likewise.
16766 * posix/sys/wait.h: Likewise.
16767 * posix/unistd.h: Likewise.
16768 * posix/wordexp.h: Likewise.
16769 * pwd/pwd.h: Likewise.
16770 * resolv/netdb.h: Likewise.
16771 * resource/sys/resource.h: Likewise.
16772 * rt/aio.h: Likewise.
16773 * rt/bits/mqueue2.h: Likewise.
16774 * rt/mqueue.h: Likewise.
16775 * shadow/shadow.h: Likewise.
16776 * signal/signal.h: Likewise.
16777 * socket/send.c: Likewise.
16778 * socket/sendto.c: Likewise.
16779 * socket/sys/socket.h: Likewise.
16780 * stdio-common/printf.h: Likewise.
16781 * stdlib/bits/stdlib.h: Likewise.
16782 * stdlib/fmtmsg.h: Likewise.
16783 * stdlib/monetary.h: Likewise.
16784 * stdlib/stdlib.h: Likewise.
16785 * stdlib/ucontext.h: Likewise.
16786 * streams/stropts.h: Likewise.
16787 * string/argz.h: Likewise.
16788 * string/bits/string2.h: Likewise.
16789 * string/string.h: Likewise.
16790 * string/strings.h: Likewise.
16791 * sunrpc/rpc/auth.h: Likewise.
16792 * sunrpc/rpc/auth_des.h: Likewise.
16793 * sunrpc/rpc/clnt.h: Likewise.
16794 * sunrpc/rpc/netdb.h: Likewise.
16795 * sunrpc/rpc/pmap_clnt.h: Likewise.
16796 * sunrpc/rpc/xdr.h: Likewise.
16797 * sysdeps/generic/inttypes.h: Likewise.
16798 * sysdeps/generic/net/if.h: Likewise.
16799 * sysdeps/generic/sys/swap.h: Likewise.
16800 * sysdeps/gnu/net/if.h: Likewise.
16801 * sysdeps/gnu/utmpx.h: Likewise.
16802 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16803 * sysdeps/i386/i486/bits/string.h: Likewise.
16804 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16805 * sysdeps/s390/bits/string.h: Likewise.
16806 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16807 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16808 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16809 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16810 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16811 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16812 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16813 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16814 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16815 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16816 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16817 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16818 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16819 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16820 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16821 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16822 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16823 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16824 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16825 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16826 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16827 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16828 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16829 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16830 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16831 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16832 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16833 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16834 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16835 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16836 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16837 * sysvipc/sys/ipc.h: Likewise.
16838 * sysvipc/sys/msg.h: Likewise.
16839 * sysvipc/sys/sem.h: Likewise.
16840 * sysvipc/sys/shm.h: Likewise.
16841 * termios/termios.h: Likewise.
16842 * time/sys/time.h: Likewise.
16843 * time/time.h: Likewise.
16844 * wcsmbs/bits/wchar2.h: Likewise.
16845 * wcsmbs/uchar.h: Likewise.
16846 * wcsmbs/wchar.h: Likewise.
16847 * wctype/wctype.h: Likewise.
16848
0269750c
UD
16849 [BZ #13551]
16850 * Makeconfig: Remove all but ELF support including AIX support.
16851 * Makerules: Likewise.
16852 * config.h.in: Likewise.
16853 * config.make.in: Likewise.
16854 * configure: Likewise.
16855 * configure.in: Likewise.
16856 * csu/Makefile: Likewise.
16857 * csu/version.c: Likewise.
16858 * debug/Makefile: Likewise.
16859 * dlfcn/Makefile: Likewise.
16860 * elf/Makefile: Likewise.
16861 * extra-lib.mk: Likewise.
16862 * iconv/Makefile: Likewise.
16863 * include/libc-symbols.h: Likewise.
16864 * include/shlib-compat.h: Likewise.
16865 * resolv/Makefile: Likewise.
16866 * resolv/res_libc.c: Likewise.
16867 * rt/Makefile: Likewise.
16868 * sysdeps/i386/asm-syntax.h: Likewise.
16869 * sysdeps/i386/sysdep.h: Likewise.
16870 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16871 * sysdeps/mach/sysdep.h: Likewise.
16872 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16873 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16874 * sysdeps/s390/asm-syntax.h: Likewise.
16875 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16876 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16877 * sysdeps/sh/sysdep.h: Likewise.
16878 * sysdeps/unix/sparc/sysdep.h: Likewise.
16879 * sysdeps/wordsize-32/divdi3.c: Likewise.
16880 * sysdeps/x86_64/sysdep.h: Likewise.
16881
00bbd29b
UD
16882 * argp/Versions: Remove _argp_unlock_xxx.
16883
16884 [BZ #13559]
16885 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16886 * abilist/libBrokenLocale.abilist: Likewise.
16887 * abilist/libanl.abilist: Likewise.
16888 * abilist/libc.abilist: Likewise.
16889 * abilist/libcrypt.abilist: Likewise.
16890 * abilist/libdl.abilist: Likewise.
16891 * abilist/libm.abilist: Likewise.
16892 * abilist/libnsl.abilist: Likewise.
16893 * abilist/libpthread.abilist: Likewise.
16894 * abilist/libresolv.abilist: Likewise.
16895 * abilist/librt.abilist: Likewise.
16896 * abilist/libthread_db.abilist: Likewise.
16897 * abilist/libutil.abilist: Likewise.
16898 * abilist/libnss_db.abilist: New file.
16899
16900 * scripts/abilist.awk: Add support for indirect functions.
16901
a2693a0e
UD
16902 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16903
3f05895f
UD
16904 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16905
ecb6fb48
UD
16906 * shlib-versions: Remove entries for ports architectures.
16907
664f8cb9
UD
16908 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16909 files in ports.
16910 * elf/stackguard-macros.h: Remove support for IA-64.
16911 * elf/tst-auditmod1.c: Likewise.
16912 * sysdeps/generic/ldsodefs.h: Likewise.
16913
7ae81d88
UD
16914 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16915 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16916 configure files.
16917
bdeba135
UD
16918 [BZ #13552]
16919 * configure.in: Remove --enable-omitfp support.
16920 * FAQ.in: Adjust.
16921 * config.make.in: Likewise.
16922 * Makeconfig: Likewise.
16923 * manual/install.texi: Likewise.
16924
d75a0a62
UD
16925 In case anyone cares, the IA-64 architecture could move to ports.
16926 * sysdeps/ia64/*: Removed.
16927 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16928 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16929
dcc9756b
UD
16930 [BZ #13555]
16931 * configure.in: Remove entries for unsupported architectures.
16932
d3761ebc 16933 [BZ #13533]
9954432e
UD
16934 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16935 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16936 routines.
16937 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16938 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16939 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16940 fall back to using wcrtomb.
16941 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16942 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16943 renaming.
16944 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16945 * wcsmbs/tst-c16c32-1.c: New file.
16946
16947 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16948 local variable.
16949
c3a87236
UD
16950 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16951
28926a1b
UD
16952 * elf/tst-unique3.cc: Add explicit declaration of gets.
16953 * elf/tst-unique3lib.cc: Likewise.
16954 * elf/tst-unique3lib2.cc: Likewise.
16955 * elf/tst-unique4.cc: Likewise.
16956
df78418a
UD
16957 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16958
8ecd6b2a
JM
169592012-01-06 Joseph Myers <joseph@codesourcery.com>
16960
16961 [BZ #13566]
16962 * assert/assert.h (static_assert): Don't define for C++.
16963 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16964 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16965
9f115170
UD
169662012-01-03 Ulrich Drepper <drepper@gmail.com>
16967
5e0d0300
UD
16968 * iconv/loop.c (single loop): Fix assertion in storing of
16969 remaining bytes.
16970
9f115170
UD
16971 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16972
81fb02b0
UD
169732012-01-01 Ulrich Drepper <drepper@gmail.com>
16974
16975 * posix/getconf.c: Update copyright year.
16976 * nss/getent.c: Likewise.
a316c1f6 16977 * nss/makedb.c: Likewise.
81fb02b0
UD
16978 * iconv/iconvconfig.c: Likewise.
16979 * iconv/iconv_prog.c: Likewise.
16980 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16981 * elf/pldd.c: Likewise.
16982 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16983 * catgets/gencat.c: Likewise.
16984 * csu/version.c: Likewise.
16985 * elf/ldd.bash.in: Likewise.
16986 * elf/sprof.c (print_version): Likewise.
16987 * locale/programs/locale.c: Likewise.
16988 * locale/programs/localedef.c: Likewise.
a316c1f6 16989 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16990 * nscd/nscd.c (print_version): Likewise.
16991 * debug/xtrace.sh: Likewise.
16992 * malloc/memusage.sh: Likewise.
16993 * malloc/mtrace.pl: Likewise.
16994 * debug/catchsegv.sh: Likewise.
16995
2ba92745
JJ
169962011-12-30 Jakub Jelinek <jakub@redhat.com>
16997
16998 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16999 pure attribute.
17000
dadebdae
UD
170012011-12-24 Ulrich Drepper <drepper@gmail.com>
17002
d3761ebc 17003 [BZ #13533]
db6af3eb
UD
17004 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17005 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17006 transformations.
17007 * iconv/gconv_int.h: Likewise.
17008 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17009 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17010 from libc for GLIBC_2.16.
17011 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17012 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17013 * wcsmbs/uchar.h: Really define mbstate_t.
17014 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17015 * wcsmbs/c16rtomb.c: New file.
17016 * wcsmbs/mbrtoc16.c: New file.
17017 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17018 for C/POSIX locale.
17019 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17020 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17021
dadebdae
UD
17022 * wcsmbs/wchar.h: Add missing __restrict.
17023
67371b56
UD
170242011-12-23 Ulrich Drepper <drepper@gmail.com>
17025
74033a25
UD
17026 [BZ #13532]
17027 * time/Makefile (routines): Add timespec_get.
17028 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17029 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17030 timespec for ISO C11.
17031 * time/timespec_get.c: New file.
17032 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17033 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17034
380d7e87
UD
17035 [BZ #13531]
17036 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17037 * stdlib/stdlib.h: Declare aligned_alloc.
17038 * Versions.def: Add GLIBC_2.16 for libc.
17039 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17040
4e9e7a35
UD
17041 [BZ 13527]
17042 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17043 ISO C11.
17044
380d7e87 17045 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
17046 code.
17047
03a71829
UD
17048 [BZ #13528]
17049 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17050
839e283e
UD
17051 [BZ #13529]
17052 * assert/assert.h (static_assert): Define.
17053
ce5294e2 17054 * version.h: Update for 2.16 development version.
90fa7312 17055
8d44e150 17056 [BZ #13526]
d7809905
UD
17057 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17058 _ISOC11_SOURCE.
17059
c0da14cd
UD
17060 * version.h (RELEASE): Bump for 2.15 release.
17061 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17062
530a3249
MP
17063 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17064 Patch by Marek Polacek <mpolacek@redhat.com>.
17065
67371b56
UD
17066 * bits/byteswap.h: Protect long long constants with __extension__.
17067 * sysdeps/i386/bits/byteswap.h: Likewise.
17068 * sysdeps/ia64/bits/byteswap.h: Likewise.
17069 * sysdeps/s390/bits/byteswap.h: Likewise.
17070 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17071
15db4de1
LD
170722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17073
17074 [BZ #13540]
bbe315ea
LD
17075 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17076 destination buffer.
15db4de1
LD
17077 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17078
2b2596b1
MP
170792011-12-23 Marek Polacek <polacek@redhat.com>
17080
17081 * elf/dl-addr.c (determine_info): Add inline keyword.
17082 * elf/tst-auditmod4b.c (check_avx): Likewise.
17083 * elf/tst-auditmod6b.c (check_avx): Likewise.
17084 * elf/tst-auditmod6c.c (check_avx): Likewise.
17085 * elf/tst-auditmod7b.c (check_avx): Likewise.
17086
70c6c246
UD
170872011-12-23 Ulrich Drepper <drepper@gmail.com>
17088
17089 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17090 !__SSE_MATH__.
17091
c044cf14
LD
170922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17093
15db4de1 17094 [BZ #13540]
c044cf14
LD
17095 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17096 processing for last bytes.
17097
6b13d9d9
BH
170982011-08-06 Bruno Haible <bruno@clisp.org>
17099
d455f537
BH
17100 [BZ #13061]
17101 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17102 U+0385, not to U+1FEE.
17103
6b13d9d9
BH
17104 [BZ #13062]
17105 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17106 entry for U+00A5 U+0301.
17107
db910efd
UD
171082011-12-22 Ulrich Drepper <drepper@gmail.com>
17109
27deeafc
UD
17110 [BZ #13166]
17111 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17112 buffer for the output is too small.
17113
aed9d171
UD
17114 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17115 optimization.
17116
db910efd
UD
17117 [BZ #13185]
17118 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17119 SSE flags if possible.
17120
2bd779ae
LD
171212011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17122
e7f9dac3 17123 [BZ #13540]
2bd779ae
LD
17124 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17125 processing for last bytes.
17126
154bfc16
JM
171272011-12-22 Joseph Myers <joseph@codesourcery.com>
17128
17129 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17130 (syscall-list-default-options, syscall-list-default-condition)
17131 (syscall-list-includes): Define.
17132 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17133 list of ABIs and options and #if conditions for each ABI. Do not
17134 handle common syscalls between ABIs specially.
17135 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17136 Remove.
17137 (syscall-list-variants, syscall-list-32bit-options)
17138 (syscall-list-32bit-condition, syscall-list-64bit-options)
17139 (syscall-list-64bit-condition): Define.
17140 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17141 (syscall-list-variants, syscall-list-32bit-options)
17142 (syscall-list-32bit-condition, syscall-list-64bit-options)
17143 (syscall-list-64bit-condition): Define.
17144 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17145 Remove.
17146 (syscall-list-variants, syscall-list-32bit-options)
17147 (syscall-list-32bit-condition, syscall-list-64bit-options)
17148 (syscall-list-64bit-condition): Define.
17149 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17150 Remove.
17151 (syscall-list-variants, syscall-list-32bit-options)
17152 (syscall-list-32bit-condition, syscall-list-64bit-options)
17153 (syscall-list-64bit-condition): Define.
17154
21eaf3a5
UD
171552011-12-22 Ulrich Drepper <drepper@gmail.com>
17156
16c6f992
UD
17157 * locale/iso-639.def: Add brx entry.
17158
41043168
UD
17159 [BZ #13328]
17160 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17161 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17162
21eaf3a5
UD
17163 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17164 __feraiseexcept_renamed.
17165
e3a851a2
UD
171662011-12-21 Ulrich Drepper <drepper@gmail.com>
17167
4920765e
UD
17168 [BZ #13538]
17169 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17170 EPOLLET with unsigned values.
17171 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17172 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17173
e3a851a2
UD
17174 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17175 to large cancellation.
17176 * math/s_cacoshf.c: Likewise.
17177 * math/s_cacoshl.c: Likewise.
17178
b27e24b8
RK
171792011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17180
17181 [BZ #13305]
aebefeee 17182 [BZ #12786]
b27e24b8
RK
17183 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17184 * math/s_cacoshf.c: Likewise.
17185 * math/s_cacoshl.c: Likewise.
17186
ee190f67
UD
171872011-12-21 Ulrich Drepper <drepper@gmail.com>
17188
17189 [BZ #13439]
17190 * iconv/gconv.h: Define __GCONV_SWAP.
17191 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17192 * iconvdata/utf-16.c: Likewise.
17193 * iconvdata/utf-32.c: Likewise.
17194
707f25df
AS
171952011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17196
17197 [BZ #13524]
17198 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17199 numerator after shifting it by one limb.
17200
d2daaa1e
RÁE
172012011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17202
17203 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17204 under [__USE_EXTERN_INLINES].
17205
a4647e72
UD
172062011-12-17 Ulrich Drepper <drepper@gmail.com>
17207
17208 [BZ #13446]
17209 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17210
f0b264f1
AZ
172112011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17212
17213 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17214 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17215 optimized code.
17216 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17217 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17218 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17219 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17220 for strncasecmp/strncasecmp_l compilation.
17221 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17222 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17223
8ef4f244
MP
172242011-12-08 Marek Polacek <mpolacek@redhat.com>
17225
17226 [BZ #13484]
17227 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17228 of __asm__.
17229
97ac2654
UD
172302011-12-17 Ulrich Drepper <drepper@gmail.com>
17231
17232 [BZ #13506]
17233 * time/tzfile.c (__tzfile_read): Check values from file header.
17234
91d2a845
WS
172352011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17236
17237 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17238 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17239 * powerpc/powerpc32/dl-start.S: Likewise.
17240 * powerpc/powerpc32/elf/start.S: Likewise.
17241 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17242 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17243 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17244 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17245 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17246 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17247 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17248 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17249 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17250 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17251 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17252 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17253 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17254 * powerpc/powerpc32/memset.S: Likewise.
17255 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17256 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17257 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17258 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17259 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17260 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17261 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17262 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17263 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17264 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17265 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17266 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17267 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17268
a1267ba1
AZ
172692011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17270
17271 * math/libm-test.inc: Added more nearbyint tests.
17272 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17273 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17274 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17275 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17276
ad8ac1bd
RL
172772011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17278
17279 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17280 FD_CLOEXEC.
17281
1d3e4b61
UD
172822011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17283
17284 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17285 Add wcscpy-ssse3 wcscpy-c.
17286 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17287 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17288 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17289 * sysdeps/x86_64/wcschr.S: New file.
17290 * sysdeps/x86_64/wcsrchr.S: New file.
17291 * string/test-strcmp.c: Remove checking of wcscmp function for
17292 wrong alignments.
17293 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17294 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17295 wcsrchr-sse2 wcsrchr-c.
17296 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17297 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17298 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17299 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17300 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17301 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17302 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17303 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17304 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17305 * wcsmbc/wcschr.c (WCSCHR): New macro.
17306
5b330a2d
UD
173072011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17308
17309 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17310 * wcsmbs/test-wcsrchr.c: New file.
17311 * string/test-strrchr.c: Add wcsrchr support.
17312 (WIDE): New macro.
17313 * wcsmbs/test-wcscpy.c: New file.
17314 * string/test-strcpy.c: Add wcscpy support.
17315 (WIDE): New macro.
26428b7c 17316
f039c043
UD
173172011-12-10 Ulrich Drepper <drepper@gmail.com>
17318
17319 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17320 the inner loop.
17321
850fb039
AS
173222011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17323
17324 [BZ #13472]
17325 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17326
4efbd5cb
UD
173272011-12-04 Ulrich Drepper <drepper@gmail.com>
17328
52ff5dd0 17329 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 17330 Minor optimizations.
52ff5dd0 17331
4efbd5cb
UD
17332 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17333 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17334 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17335
8a426e12
UD
173362011-12-03 Ulrich Drepper <drepper@gmail.com>
17337
aff2453d
UD
17338 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17339 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17340 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17341 for gcc to avoid warnings.
17342 * inet/Makefile (tests): Add tst-checks.
17343 * inet/tst-checks.c: New file.
17344
17345 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17346 warning.
17347
17348 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17349 __wmemcmp_sse2.
17350
17351 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17352 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17353
8a426e12
UD
17354 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17355
9bea3473
UD
173562011-12-02 Ulrich Drepper <drepper@gmail.com>
17357
3a965496
UD
17358 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17359 problem.
17360
9bea3473
UD
17361 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17362
f101631b
UD
173632011-11-29 Joseph Myers <joseph@codesourcery.com>
17364
17365 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17366 conditional on GCC version.
17367 (__arch_compare_and_exchange_val_8_acq)
17368 (__arch_compare_and_exchange_val_16_acq)
17369 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17370 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17371 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17372
a98275aa
UD
173732011-12-02 Joseph Myers <joseph@codesourcery.com>
17374
17375 * sysdeps/sh/backtrace.c: New file.
17376
d4cc29a2
AS
173772011-12-02 Andreas Schwab <schwab@redhat.com>
17378
17379 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17380 parenthesis.
17381
6257af2d
AS
173822011-12-01 Andreas Schwab <schwab@redhat.com>
17383
17384 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17385 falling back to utime.
17386
b5f44c1a
AS
173872011-11-30 Andreas Schwab <schwab@redhat.com>
17388
17389 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17390 expectations for float.
17391
f3a6cc0a
AS
173922011-11-29 Andreas Schwab <schwab@redhat.com>
17393
17394 * locale/weight.h (findidx): Add parameter len.
17395 * locale/weightwc.h (findidx): Likewise.
17396 * posix/fnmatch_loop.c (FCT): Adjust caller.
17397 * posix/regcomp.c (build_equiv_class): Likewise.
17398 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17399 * posix/regexec.c (check_node_accept_bytes): Likewise.
17400 * string/strcoll_l.c (STRCOLL): Likewise.
17401 * string/strxfrm_l.c (STRXFRM): Likewise.
17402
9d65ea3a
UD
174032011-11-17 Ulrich Drepper <drepper@gmail.com>
17404
17405 * Makefile.in: Remove CVSOPT handling.
17406 * configure.in: Remove use of AC_REVISION.
17407 * iconvdata/Makefile (distribute): No need to filter out CVS.
17408 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17409 handling.
17410
5583a086
AS
174112011-11-16 Andreas Schwab <schwab@redhat.com>
17412
17413 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17414 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17415 [USE_AS_STRNCASECMP_L]: Likewise.
17416 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17417 NO_TLS_DIRECT_SEG_REFS.
17418 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17419 Fix argument offsets for non-PIC.
17420 [USE_AS_STRNCASECMP_L]: Likewise.
17421 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17422 NO_TLS_DIRECT_SEG_REFS.
17423
d62a8200
UD
174242011-11-15 Ulrich Drepper <drepper@gmail.com>
17425
9d65ea3a 17426 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
17427 O_CLOEXEC.
17428 * locale/loadlocale.c (_nl_load_locale): Likewise.
17429
09f93bd3
AS
174302011-11-15 Andreas Schwab <schwab@redhat.com>
17431
446514f9
AS
17432 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17433 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17434 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17435 (SYSCALL_GETTIME): Set errno on error.
17436
09f93bd3
AS
17437 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17438 count references to noai6ai_cached.
17439
312be3f9
UD
174402011-11-15 Ulrich Drepper <drepper@gmail.com>
17441
17442 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17443
17444 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17445 FD_CLOEXEC for /proc/self/maps.
17446
17447 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17448 FD_CLOEXEC for /proc/meminfo.
17449
17450 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17451 gai.conf.
17452
17453 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17454 FD_CLOEXEC for given file.
17455
17456 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17457
17458 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17459 FD_CLOEXEC for /etc/hosts.
17460 (_gethtent): Likewise.
17461
17462 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17463
17464 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17465 cancellation and set FD_CLOEXEC for /etc/netgroup.
17466
17467 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17468 reading /etc/publickey.
17469
17470 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17471 allow cancellation when reading /etc/group.
17472
17473 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17474 cancellation.
17475 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17476
17477 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17478 when using data file.
17479
17480 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17481
17482 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17483 (write_nis_obj): Use "c" and "e" in fopen.
17484
17485 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17486
17487 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17488
17489 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17490
17491 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17492
17493 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17494 locale.alias.
17495
17496 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17497
17498 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17499
17500 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17501
17502 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17503 file parsing and set FD_CLOEXEC.
17504
82af0fa8
UD
175052011-11-14 Ulrich Drepper <drepper@gmail.com>
17506
17507 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17508
a5fb313c
AS
175092011-11-14 Andreas Schwab <schwab@redhat.com>
17510
17511 * malloc/arena.c (arena_get2): Don't call reused_arena when
17512 _int_new_arena failed.
17513
6abf3465
UD
175142011-11-14 Ulrich Drepper <drepper@gmail.com>
17515
17516 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17517 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17518 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17519 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17520 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17521 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17522 to compile strcasecmp and strncasecmp.
17523 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17524 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17525
17526 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17527
76e3966e
UD
175282011-11-13 Ulrich Drepper <drepper@gmail.com>
17529
17530 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17531 locale-defines.sym to gen-as-const-headers.
17532 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17533 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17534 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17535 to compile strcasecmp and strncasecmp.
17536 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17537 strcasecmp_l and strncasecmp_l.
17538 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17539 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17540 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17541 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17542 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17543 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17544 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17545 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17546 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17547 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17548 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17549
ab26144e
UD
175502011-11-12 Ulrich Drepper <drepper@gmail.com>
17551
7edb22ef
UD
17552 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17553 result of SYSDEP_GETTIME_CPU to retval.
17554 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17555 parameter list to macro. Remove trailing semicolon. Adjust users.
17556
9694fc44
UD
17557 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17558 variable.
17559
8ad89ef8
UD
17560 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17561 mantissa words.
17562 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17563
0c822ef9
UD
17564 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17565 from unused variable.
17566
874e0564
UD
17567 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17568 DWARF definitions.
17569 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17570 for assembling.
17571
3a2edc79
UD
17572 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17573 over namespaces.
17574
f3c2577f
UD
17575 * sunrpc/rpc_prot.c (rejected): Fix case value.
17576
294ce126
UD
17577 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17578 unsigned long long int to avoid warnings in shift.
17579
5e2b63c6
UD
17580 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17581 of use of trans.
17582 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17583 variable tmp.
17584
e7f4b08e
UD
17585 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17586 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17587 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17588
ab26144e
UD
17589 * nis/nis_table.c (nis_list): Use variable of correct type for
17590 result of __follow_path call.
17591
8a6d5255
AZ
175922011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17593
17594 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17595 of math functions ceil, trunc, floor, round, and sqrt, when
17596 avaliable on the platform.
17597 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17598 name clash.
17599 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17600 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17601 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17602
aaddc98c
MP
176032011-10-30 Marek Polacek <mpolacek@redhat.com>
17604
17605 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17606 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17607
95b7042b
RM
176082011-11-11 Roland McGrath <roland@hack.frob.com>
17609
17610 * include/unistd.h: Fix __readlink return type.
17611 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17612
57769839
UD
176132011-11-11 Ulrich Drepper <drepper@gmail.com>
17614
17615 * stdlib/ucontext.h: Undo last change for makecontext.
17616
edc5984d
AS
176172011-11-11 Andreas Schwab <schwab@redhat.com>
17618
98591e58
AS
17619 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17620
edc5984d
AS
17621 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17622 * setjmp/setjmp.h: Mark functions as non-leaf.
17623 * setjmp/bits/setjmp2.h: Likewise.
17624 * stdlib/ucontext.h: Likewise.
17625
77cdc054
AS
176262011-11-10 Andreas Schwab <schwab@redhat.com>
17627
17628 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17629 (reused_arena): Don't check arena limit.
17630 (arena_get2): Atomically check arena limit.
17631
fe72eebd
UD
176322011-11-08 Ulrich Drepper <drepper@gmail.com>
17633
5f078c32
UD
17634 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17635 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17636
fe72eebd
UD
17637 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17638 instructions.
17639
ae1bc2fa
AS
176402011-11-07 Andreas Schwab <schwab@redhat.com>
17641
7583a88d
AS
17642 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17643 handler when locking.
17644
ae1bc2fa
AS
17645 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17646 Fix size of allocated buffer.
17647
10fb0bfa
AS
176482011-11-04 Andreas Schwab <schwab@redhat.com>
17649
998832a4
AS
17650 [BZ #10103]
17651 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17652 declarations for long double functions.
17653 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17654
10fb0bfa
AS
17655 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17656
3d7ba52b
AS
176572011-11-03 Andreas Schwab <schwab@redhat.com>
17658
a9ae54a1
AS
17659 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17660 installed.
17661
3d7ba52b
AS
17662 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17663 is disabled.
17664
bc8db248
ST
176652011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17666
17667 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17668
45b96dd6
AS
176692011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17670
647776f6
AS
17671 * include/alloca.h (stackinfo_alloca_round): Define.
17672 (extend_alloca): Use it.
17673 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17674 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17675 here.
17676
d91a8b93
AS
17677 * scripts/check-local-headers.sh: Ignore libaudit.h.
17678
45b96dd6
AS
17679 * nscd/Makefile (extra-objs): Make recursively expanded.
17680
432d41ce
UD
176812011-11-01 Ulrich Drepper <drepper@gmail.com>
17682
34372fc6
UD
17683 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17684 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17685
fadb59f8
UD
17686 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17687 * posix/tst-rfc3484-2.c: Likewise.
17688 * posix/tst-rfc3484-3.c: Likewise.
17689
78239589
UD
17690 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17691 process_vm_writev.
17692 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17693 process_vm_writev.
17694 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17695 process_vm_writev from libc using GLIBC_2.15 version.
17696
432d41ce
UD
17697 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17698
02f9c6cf
PP
176992011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17700
17701 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17702 stack usage.
17703
3a2c0242
UD
177042011-10-31 Ulrich Drepper <drepper@gmail.com>
17705
f4ec4833
UD
17706 [BZ #13367]
17707 * nss/getent.c (initgroups_keys): Show error message in case no group
17708 names are given.
17709
3a2c0242
UD
17710 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17711 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17712 __bump_nl_timestamp.
17713 * nscd/connections (nscd_init): When host database is served open
17714 netlink socket and request notification about configuration changes.
17715 (main_loop_poll): Track netlink file descriptor and bump timestamp
17716 in case data becomes available.
17717 (main_loop_epoll): Likewise.
17718 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17719 (database_pers_head): Add extra_data fileds.
17720 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17721 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17722 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17723 Adjust caller.
17724 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17725 in6ai data, call __free_in6ai.
17726 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17727 Add -DHAVE_NETLINK.
17728 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17729 interface information. Reuse previous data if netlink timestamp
17730 is not changed.
17731 (__bump_nl_timestamp): New function.
17732 (__free_in6ai): New function.
17733
636064eb
UD
177342011-10-30 Ulrich Drepper <drepper@gmail.com>
17735
17736 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17737 close_not_cancel_no_status here.
17738 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17739
9beb2334
UD
177402011-10-29 Ulrich Drepper <drepper@gmail.com>
17741
6ef76f3b
UD
17742 [BZ #13276]
17743 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17744 return value.
17745
0ffc4f3e 17746 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17747 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17748 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17749
cb95113e
UD
177502011-07-03 Andreas Jaeger <aj@suse.de>
17751
17752 [BZ #10709]
17753 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17754 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17755 * math/libm-test.inc (sin_test): Add test case.
17756
a1b560ff
UD
177572011-10-29 Ulrich Drepper <drepper@gmail.com>
17758
c9aaface
UD
17759 [BZ #13337]
17760 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17761 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17762
d272e7f1
UD
17763 * elf/chroot_canon.c (chroot_canon): Cleanups.
17764
1bc33071
UD
17765 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17766
1760874d
TJ
17767 [BZ #13335]
17768 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17769 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17770
51d91b18
UD
17771 * string/test-strchr.c: Make usable for strchrnul testing.
17772 * string/test-strchrnul.c: New file.
17773 * string/Makefile (strop-tests): Add strchrnul.
17774
a1b560ff 17775 * po/it.po: Update from translation team.
b611fb81 17776 * po/es.po: Likewise.
a1b560ff 17777
a5b81e1f
UD
177782011-10-28 Ulrich Drepper <drepper@gmail.com>
17779
fd52bc6d
UD
17780 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17781 the three constants needed as parameters. Drop the others.
17782 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17783 __m128i_strloadu_tolower.
52e4b9eb
UD
17784 Create and initialize variable zero and use it in all the places
17785 where _mm_setzero_si128 was used.
fd52bc6d 17786
a5b81e1f
UD
17787 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17788 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17789 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17790 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17791 anymore.
17792 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17793 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17794 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17795 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17796 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17797 __mpranred, __mptan.
17798 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17799 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17800 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17801 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17802 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17803 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17804 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17805 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17806 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17807
b4343346
AS
178082011-10-28 Andreas Schwab <schwab@redhat.com>
17809
0c92d8a8
AS
17810 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17811 redefine if SHARED.
17812 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17813
b4343346
AS
17814 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17815 wide char related routines to wcsmbs subdir.
17816
3871f58f
AS
178172011-10-27 Andreas Schwab <schwab@redhat.com>
17818
17819 [BZ #13344]
17820 * misc/sys/cdefs.h (__THROWNL): Define.
17821 * posix/unistd.h: Use __THREADNL instead of __THREAD
17822 for memory synchronization functions.
17823
94d44d9f
RM
178242011-10-26 Roland McGrath <roland@hack.frob.com>
17825
21b64b15 17826 [BZ #13349]
94d44d9f
RM
17827 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17828 doesn't exist.
17829 * manual/stdio.texi (Obstack Streams): Node removed.
17830
f6ce9294
AS
178312011-10-26 Andreas Schwab <schwab@redhat.com>
17832
80479147
AS
17833 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17834 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17835 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17836
f6ce9294
AS
17837 * math/math_private.h (math_force_eval): Allow non-addressable
17838 arguments.
17839 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17840
618280a1
UD
178412011-10-25 Ulrich Drepper <drepper@gmail.com>
17842
e0016b11
UD
17843 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17844 file is not needed.
17845
17846 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17847 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17848 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17849 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17850 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17851 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17852 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17853 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17854 Add AVX variants.
17855 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17856 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17857 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17858 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17859 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17860 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17861 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17862 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17863 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17864 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17865 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17866 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17867 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17868 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17869 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17870 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17871 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17872 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17873 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17874
17875 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17876 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17877
618280a1
UD
17878 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17879 place. Use VEX encoding when compiling for AVX.
17880
37822576
AS
178812011-10-25 Andreas Schwab <schwab@redhat.com>
17882
1f1e1947
AS
17883 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17884 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17885
37822576
AS
17886 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17887
31ea014d
UD
178882011-10-25 Ulrich Drepper <drepper@gmail.com>
17889
d7826aa1 17890 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17891 useless if() expression.
d7826aa1
UD
17892 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17893 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17894 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17895 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17896 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17897 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17898 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17899 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17900 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17901 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17902 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17903 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17904 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17905 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17906 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17907 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17908 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17909 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17910 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17911
31ea014d
UD
17912 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17913
16437fec
AS
179142011-10-25 Andreas Schwab <schwab@redhat.com>
17915
17916 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17917 condition.
17918 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17919
31d3cc00
UD
179202011-10-25 Ulrich Drepper <drepper@gmail.com>
17921
17922 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17923 .text section. Avoid duplicate constants.
17924 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17925 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17926 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17927 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17928 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17929 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17930 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17931 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17932 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17933 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17934 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17935 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17936 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17937 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17938 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17939 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17940 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17941 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17942 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17943 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17944 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17945 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17946 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17947 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17948 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17949 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17950 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17951 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17952 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17953 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17954 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17955 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17956 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17957 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17958 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17959 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17960 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17961 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17962 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17963 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17964 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17965 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17966 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17967 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17968 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17969
58985aa9
UD
179702011-10-24 Ulrich Drepper <drepper@gmail.com>
17971
202c9deb
UD
17972 * sysdeps/x86_64/dla.h: Move to ...
17973 * sysdeps/x86_64/fpu/dla.h: ...here.
17974 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17975 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17976
af968f62
UD
17977 * config.make.in: Add have-mfma4 entry.
17978 * configure.in: Substitute libc_cv_cc_fma4.
17979 * math/Makefile (dbl-only-routines): Add sincostab.
17980 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17981 Use __sincostab not sincos.
17982 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17983 name is a macro.
17984 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17985 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17986 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17987 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17988 using __copysign.
17989 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17990 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17991 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17992 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17993 and __inv.
17994 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17995 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17996 __copysign.
17997 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17998 define aliases when function name is a macro.
17999 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18000 sysdeps/ieee754/dbl-64/sincos.tbl.
18001 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18002 fma4-enabled routines.
18003 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18004 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18005 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18006 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18007 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18008 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18009 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18010 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18011 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18012 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18013 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18014 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18015 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18016 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18017 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18018 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18019 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18020 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18021 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18022 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18023 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18024 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18025 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18026 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18027 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18028 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18029 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18030 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18031 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18032 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18033
58985aa9
UD
18034 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18035 rename.
18036 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18037 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18038 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18039 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18040 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18041 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18042 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18043 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18044
a201fbcf
AS
180452011-10-24 Andreas Schwab <schwab@redhat.com>
18046
18047 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18048
fc2ee42a
LD
180492011-10-23 Ulrich Drepper <drepper@gmail.com>
18050
bb3129bd
UD
18051 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18052
0275fff8
UD
18053 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18054 prediction.
18055 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18056
2fa2ae85
UD
18057 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18058 Remove unused variable magic_bits.
18059 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18060
fc2ee42a
LD
18061 * string/strnlen.c: Define and use STRNLEN macro.
18062 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18063 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18064 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18065 * wcsmbs/wcslen.c: Define and use WCSLEN.
18066 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18067 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18068 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18069 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18070 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18071 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18072 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18073
ce7dd29f
LD
180742011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18075
18076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18077 strnlen-sse2-no-bsf.
18078 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18079 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18080 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18081 Add strnlen support.
18082 (USE_AS_STRNLEN): New macro.
18083 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18084 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18085 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18086 * sysdeps/x86_64/wcslen.S: New file.
18087
979c70a3
MZ
180882011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18089
18090 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18091 XMM-moves are used for copying on small sizes.
18092
2d09f82f
LD
180932011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18094
18095 * wcsmbs/Makefile (strop-tests): Add wcschr.
18096 * wcsmbs/test-wcschr.c: New file.
18097 * string/test-strchr.c: Update.
18098 Add wcschr support.
18099 (WIDE): New macro.
18100
619fccca
LD
181012011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18102
2d09f82f 18103 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
18104 * wcsmbs/test-wcslen.c: New file.
18105 * string/test-strlen.c: Update.
18106 Add wcslen support.
18107 (WIDE): New macro.
18108
09f699ea
UD
181092011-10-23 Ulrich Drepper <drepper@gmail.com>
18110
18111 * po/it.po: Update from translation team.
18112
95584d3b
LD
181132011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18114
18115 * sysdeps/x86_64/wcscmp.S: Update.
18116 Fix wrong comparison semantics.
18117 wcscmp shall use signed comparison not unsigned.
18118 Don't use substraction to avoid overflow bug.
18119 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18120 * wcsmbc/wcscmp.c: Likewise.
18121 * string/test-strcmp.c: Likewise.
18122 Add new tests to check cases with negative values.
18123
c8b3296b
UD
181242011-10-23 Ulrich Drepper <drepper@gmail.com>
18125
18126 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18127 * sysdeps/x86_64/dla.h: ...here. New file.
18128 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18129 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18130 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18131 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18132 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18133 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18134 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18135 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18136 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18137
246ad57a
AS
181382011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18139
18140 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18141 __ynl_finite aliases.
18142
a1a87169
UD
181432011-10-22 Ulrich Drepper <drepper@gmail.com>
18144
0d355eb7
UD
18145 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18146
a1a87169
UD
18147 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18148 define DLA_FMA.
18149 [DLA_FMA] (EMULV): Use DLA_FMA.
18150 [DLA_FMA] (MUL12): Use EMULV.
18151 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18152 that are not needed.
18153 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18154 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18155 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18156 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18157 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18158 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18159 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18160
ee2aafe0
AS
181612011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18162
18163 * math/s_nan.c: Undef __nan.
18164 * math/s_nanf.c: Undef __nanf.
18165 * math/s_nanl.c: Undef __nanl.
18166 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18167 "math_private.h".
18168
bc62c2fb
UD
181692011-10-22 Ulrich Drepper <drepper@gmail.com>
18170
77425c63
UD
18171 * math/s_catan.c: Add branch predictions.
18172 * math/s_catanf.c: Likewise.
18173 * math/s_catanh.c: Likewise.
18174 * math/s_catanhf.c: Likewise.
18175 * math/s_catanhl.c: Likewise.
18176 * math/s_catanl.c: Likewise.
18177 * math/s_cexp.c: Likewise.
18178 * math/s_cexpf.c: Likewise.
18179 * math/s_cexpl.c: Likewise.
18180 * math/s_clog.c: Likewise.
18181 * math/s_clog10.c: Likewise.
18182 * math/s_clog10f.c: Likewise.
18183 * math/s_clog10l.c: Likewise.
18184 * math/s_clogf.c: Likewise.
18185 * math/s_clogl.c: Likewise.
18186 * math/s_csqrt.c: Likewise.
18187 * math/s_csqrtf.c: Likewise.
18188 * math/s_csqrtl.c: Likewise.
18189 * math/s_ctanf.c: Likewise.
18190 * math/s_ctanh.c: Likewise.
18191 * math/s_ctanhf.c: Likewise.
18192 * math/s_ctanhl.c: Likewise.
18193 * math/s_ctanl.c: Likewise.
18194
bc62c2fb
UD
18195 * math/math_private.h: Define __nan, __nanf, __nanl.
18196 * math/s_cacosh.c: Include <math_private.h>.
18197 * math/s_cacoshl.c: Likewise.
18198 * math/s_casinh.c: Likewise.
18199 * math/s_casinhf.c: Likewise.
18200 * math/s_casinhl.c: Likewise.
18201 * math/s_ccos.c: Rely entire on ccosh.
18202 * math/s_ccosf.c: Rely entire on ccoshf.
18203 * math/s_ccosl.c: Rely entirely on ccoshl.
18204 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18205 Remove tests for FE_INVALID.
18206 * math/s_ccoshf.c: Likewise.
18207 * math/s_ccoshl.c: Likewise.
18208 * math/s_csin.c: Likewise.
18209 * math/s_csinf.c: Likewise.
18210 * math/s_csinh.c Likewise.
18211 * math/s_csinhf.c: Likewise.
18212 * math/s_csinhl.c: Likewise.
18213 * math/s_csinl.c: Likewise.
18214 * math/s_ctan.c: Likewise.
18215 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18216 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18217 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18218
8ec250a4
UD
182192011-10-21 Ulrich Drepper <drepper@gmail.com>
18220
c196fed8
UD
18221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18222 compilation problems.
18223
8ec250a4
UD
18224 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18225 __builtin_expect.
18226
8d4f46c6
UD
182272011-10-20 Ulrich Drepper <drepper@gmail.com>
18228
ed72b654
UD
18229 * sysdeps/i386/configure.in: Test for -mfma4 option.
18230 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18231 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18232 COMMON_CPUID_INDEX_80000001.
18233 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18234 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18235 use it if FMA3 is not supported.
18236 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18237
8d4f46c6
UD
18238 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18239 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18240
d45c60c2
AS
182412011-10-20 Andreas Schwab <schwab@redhat.com>
18242
18243 [BZ #12892]
18244 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18245 it would create a cycle with a link time dependency.
18246
d9a4d2ab
UD
182472011-10-19 Ulrich Drepper <drepper@gmail.com>
18248
855d1560
UD
18249 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18250 instruction.
18251 * string/Makefile (strop-tests): Add rawmemchr.
18252 * string/test-rawmemchr.c: New file.
18253
d9a4d2ab
UD
18254 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18255 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18256 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18257 when compiling str{,n}casecmp and when AVX is available. Hook up
18258 new optimized code in initializers.
18259
8f3b1ffe
AS
182602011-10-19 Andreas Schwab <schwab@redhat.com>
18261
18262 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18263 __feraiseexcept instead of feraiseexcept.
18264
d38f1dba
UD
182652011-10-18 Ulrich Drepper <drepper@gmail.com>
18266
d9a8d0ab
UD
18267 * math/math_private.h: Define defaults for libc_fetestexcept and
18268 libc_feupdateenv.
18269 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18270 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18271 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18272 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18273 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18274 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18275 libc_fetestexcept and libc_feupdateenv.
18276
4855e3dd
UD
18277 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18278 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18279 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18280 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18281 libc_feholdexcept_setround.
18282
581d30e3
UD
18283 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18284 Add s_nearbyint-c and s_nearbyintf-c.
18285 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18286 nearbyintf inlines.
18287 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18288 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18289 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18290 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18291
d38f1dba
UD
18292 * math/math_private.h: Define defaults for libc_fegetround,
18293 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18294 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18295 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18296 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18297 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18298 standard functions.
18299 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18300 Remove comments and hacks for old compiler versions.
18301 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18302 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18303 libc_feholdexceptl.
18304
caa6c9d8
AS
183052011-10-18 Andreas Schwab <schwab@redhat.com>
18306
18307 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
18308 (__feraiseexcept_renamed): Add __NTH.
18309 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
18310 namespace violations.
18311
97c066e6
UD
183122011-10-17 Ulrich Drepper <drepper@gmail.com>
18313
99ce7b04
UD
18314 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18315
1004d182
UD
18316 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18317
228a984d
UD
18318 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18319 recently added interfaces.
18320 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18321
c8553a6a
UD
18322 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18323 about macro parameter expansion.
18324
ed22dcf6
UD
18325 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18326 __NO_MATH_INLINES is defined. Cleanups.
18327
18328 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18329 and __floorf is target has SSE4.1.
18330 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18331 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18332 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18333 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18334
b171c137
UD
18335 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18336 name.
18337 (floorf): Likewise.
18338
97c066e6
UD
18339 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18340
629f62ef
AS
183412011-10-17 Andreas Schwab <schwab@redhat.com>
18342
49a43d80
AS
18343 * misc/sys/cdefs.h: Fix last change.
18344
629f62ef
AS
18345 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18346 database lookup.
18347
e453f6cd
UD
183482011-10-16 Ulrich Drepper <drepper@gmail.com>
18349
aa78043a
UD
18350 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18351
ad0f5cad
UD
18352 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18353 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18354 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18355 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18356 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18357 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18358 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18359 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18360 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18361 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18362 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18363 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18364 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18365 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18366 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18367 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18368 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18369 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18370 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18371 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18372 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18373 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18374
18375 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18376 ceil, ceilf, floor, floorf.
18377
18378 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18379 Perform IRELATIVE relocations last.
18380
e453f6cd
UD
18381 * elf/do-rel.h: Add another parameter nrelative, replacing the
18382 local variable with the same name. Change name of the function
18383 to end in Rel or Rela (uppercase).
18384 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18385 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18386 elf_dynamic_do_##reloc function.
18387
fd5bdc09
UD
183882011-10-15 Ulrich Drepper <drepper@gmail.com>
18389
79b195b5
UD
18390 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18391 is sufficient, at least on modern CPUs.
18392
d4a28569
UD
18393 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18394
b61099b5
UD
18395 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18396 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18397
bcf01e6d
UD
18398 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18399 __expl_finite.
18400 * math/bits/math-finite.h: Add entries for exp.
18401 * math/e_expl.c: Add __*_finite alias.
18402 * sysdeps/i386/fpu/e_exp.S: Likewise.
18403 * sysdeps/i386/fpu/e_expf.S: Likewise.
18404 * sysdeps/i386/fpu/e_expl.c: Likewise.
18405 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18406 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18407 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18408 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18409 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18410 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18411 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18412
ba1a0d59
UD
18413 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18414 is sufficient, at least on modern CPUs.
18415
fd5bdc09
UD
18416 * ctype/ctype-info.c (__ctype_init): Define.
18417 * include/ctype.h (__ctype_init): Declare.
18418 (__ctype_b_loc): The variable is always initialized.
18419 (__ctype_toupper_loc): Likewise.
18420 (__ctype_tolower_loc): Likewise.
18421 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18422 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18423
7872cfb0
AS
184242011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18425
b468825a
AS
18426 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18427
7872cfb0
AS
18428 * configure.in: Also look in $cxxmachine/include for C++ system
18429 headers.
18430
be13f7bf
LD
184312011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18432
18433 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18434 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18435 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18436 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18437 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18438 (USE_AS_WMEMCMP): New macro.
18439 Fixing indents.
18440 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18441 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18442 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18443 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18444 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18445 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18446 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18447 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18448 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18449 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18450 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18451 (USE_AS_WMEMCMP): New macro.
18452 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18453 * sysdeps/string/test-memcmp.c: Update.
18454 Fix simple_wmemcmp.
18455 Add new tests.
18456 * wcsmbs/wmemcmp.c: Update.
18457 (WMEMCMP): New macro.
18458 Fix overflow bug.
18459
556a2007
AJ
184602011-10-12 Andreas Jaeger <aj@suse.de>
18461
18462 [BZ #13268]
18463 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18464
538faaa7
UD
184652011-10-15 Ulrich Drepper <drepper@gmail.com>
18466
ab6737ff
UD
18467 * libio/iofwide.c (do_length): Avoid warning.
18468
538faaa7
UD
18469 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18470
396a21b1
UD
184712011-10-14 Ulrich Drepper <drepper@gmail.com>
18472
cdf2901f
UD
18473 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18474
38ad40ce
UD
18475 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18476 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18477 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18478 * sysdeps/i386/i686/fpu/e_log.S: New file.
18479 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18480 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18481
396a21b1
UD
18482 * ctype/ctype.h: Add support for inlined isXXX functions when
18483 compiling C++ code.
18484
6b1f68c9
AS
184852011-10-14 Andreas Schwab <schwab@redhat.com>
18486
349290c0
AS
18487 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18488
6b1f68c9
AS
18489 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18490
f2282d42
RM
184912011-10-13 Roland McGrath <roland@hack.frob.com>
18492
18493 [BZ #13291]
18494 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18495
5298ffa8
AS
184962011-10-13 Andreas Schwab <schwab@redhat.com>
18497
714fad23
AS
18498 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18499 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18500 feraiseexcept.
18501
81dcc7fb
AS
18502 * sysdeps/x86_64/memrchr.S: Check for zero size.
18503
5298ffa8
AS
18504 * string/stratcliff.c: Add memrchr tests.
18505
951fbcec
LD
185062011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18507
18508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18509 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18510 rawmemchr-sse2 rawmemchr-sse2-bsf.
18511 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18512 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18513 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18514 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18515 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18516 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18517 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18518 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18519 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18520 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18521 * string/memrchr.c (MEMRCHR): New macro.
18522
0ac5ae23
UD
185232011-10-12 Ulrich Drepper <drepper@gmail.com>
18524
18525 Add integration with gcc's -ffinite-math-only and optimize wrapper
18526 functions in libm.
18527 * Versions.def: Define GLIBC_2.15 version for libm.
18528 * math/Makefile (headers): Add bits/math-finite.h.
18529 * math/bits/math-finite.h: New file.
18530 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18531 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18532 * math/e_acoshl.c: Add __*_finite alias.
18533 * math/e_acosl.c: Likewise.
18534 * math/e_asinl.c: Likewise.
18535 * math/e_atan2l.c: Likewise.
18536 * math/e_atanhl.c: Likewise.
18537 * math/e_coshl.c: Likewise.
18538 * math/e_exp10.c: Likewise.
18539 * math/e_exp10f.c: Likewise.
18540 * math/e_exp10l.c: Likewise.
18541 * math/e_exp2l.c: Likewise.
18542 * math/e_fmodl.c: Likewise.
18543 * math/e_gammal_r.c: Likewise.
18544 * math/e_hypotl.c: Likewise.
18545 * math/e_j0l.c: Likewise.
18546 * math/e_j1l.c: Likewise.
18547 * math/e_jnl.c: Likewise.
18548 * math/e_lgammal_r.c: Likewise.
18549 * math/e_log10l.c: Likewise.
18550 * math/e_log2l.c: Likewise.
18551 * math/e_logl.c: Likewise.
18552 * math/e_powl.c: Likewise.
18553 * math/e_sinhl.c: Likewise.
18554 * math/e_sqrtl.c: Likewise.
18555 * math/e_scalb.c: Completely rewritten and optimized.
18556 * math/e_scalbf.c: Likewise.
18557 * math/e_scalbl.c: Likewise.
18558 * math/w_acos.c: Likewise.
18559 * math/w_acosf.c: Likewise.
18560 * math/w_acosl.c: Likewise.
18561 * math/w_acosh.c: Likewise.
18562 * math/w_acoshf.c: Likewise.
18563 * math/w_acoshl.c: Likewise.
18564 * math/w_asin.c: Likewise.
18565 * math/w_asinf.c: Likewise.
18566 * math/w_asinl.c: Likewise.
18567 * math/w_atan2.c: Likewise.
18568 * math/w_atan2f.c: Likewise.
18569 * math/w_atan2l.c: Likewise.
18570 * math/w_atanh.c: Likewise.
18571 * math/w_atanhf.c: Likewise.
18572 * math/w_atanhl.c: Likewise.
18573 * math/w_exp10.c: Likewise.
18574 * math/w_exp10f.c: Likewise.
18575 * math/w_exp10l.c: Likewise.
18576 * math/w_fmod.c: Likewise.
18577 * math/w_fmodf.c: Likewise.
18578 * math/w_fmodl.c: Likewise.
18579 * math/w_j0.c: Likewise.
18580 * math/w_j0f.c: Likewise.
18581 * math/w_j0l.c: Likewise.
18582 * math/w_j1.c: Likewise.
18583 * math/w_j1f.c: Likewise.
18584 * math/w_j1l.c: Likewise.
18585 * math/w_jn.c: Likewise.
18586 * math/w_jnf.c: Likewise.
18587 * math/w_log.c: Likewise.
18588 * math/w_logf.c: Likewise.
18589 * math/w_logl.c: Likewise.
18590 * math/w_log10.c: Likewise.
18591 * math/w_log10f.c: Likewise.
18592 * math/w_log10l.c: Likewise.
18593 * math/w_log2.c: Likewise.
18594 * math/w_log2f.c: Likewise.
18595 * math/w_log2l.c: Likewise.
18596 * math/w_pow.c: Likewise.
18597 * math/w_powf.c: Likewise.
18598 * math/w_powl.c: Likewise.
18599 * math/w_remainder.c: Likewise.
18600 * math/w_remainderf.c: Likewise.
18601 * math/w_remainderl.c: Likewise.
18602 * math/w_scalb.c: Likewise.
18603 * math/w_scalbf.c: Likewise.
18604 * math/w_scalbl.c: Likewise.
18605 * math/w_sqrt.c: Likewise.
18606 * math/w_sqrtf.c: Likewise.
18607 * math/w_sqrtl.c: Likewise.
18608 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18609 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18610 used.
18611 * math/math_private.h: Declare __kernel_standard_f.
18612 * math/w_cosh.c: Remove cruft and optimize a bit.
18613 * math/w_coshf.c: Likewise.
18614 * math/w_coshl.c: Likewise.
18615 * math/w_exp2.c: Likewise.
18616 * math/w_exp2f.c: Likewise.
18617 * math/w_exp2l.c: Likewise.
18618 * math/w_hypot.c: Likewise.
18619 * math/w_hypotf.c: Likewise.
18620 * math/w_hypotl.c: Likewise.
18621 * math/w_lgamma.c: Likewise.
18622 * math/w_lgamma_r.c: Likewise.
18623 * math/w_lgammaf.c: Likewise.
18624 * math/w_lgammaf_r.c: Likewise.
18625 * math/w_lgammal.c: Likewise.
18626 * math/w_lgammal_r.c: Likewise.
18627 * math/w_sinh.c: Likewise.
18628 * math/w_sinhf.c: Likewise.
18629 * math/w_sinhl.c: Likewise.
18630 * math/w_tgamma.c: Likewise.
18631 * math/w_tgammaf.c: Likewise.
18632 * math/w_tgammal.c: Likewise.
18633 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18634 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18635 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18636 Minor optimizations. Pretty printing. Remove cruft.
18637 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18638 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18639 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18640 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18641 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18642 * sysdeps/i386/fpu/e_asin.S: Likewise.
18643 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18644 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18645 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18646 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18647 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18648 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18649 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18650 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18651 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18652 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18653 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18654 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18655 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18656 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18657 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18658 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18659 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18660 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18661 * sysdeps/i386/fpu/e_log.S: Likewise.
18662 * sysdeps/i386/fpu/e_log10.S: Likewise.
18663 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18664 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18665 * sysdeps/i386/fpu/e_log2.S: Likewise.
18666 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18667 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18668 * sysdeps/i386/fpu/e_logf.S: Likewise.
18669 * sysdeps/i386/fpu/e_logl.S: Likewise.
18670 * sysdeps/i386/fpu/e_pow.S: Likewise.
18671 * sysdeps/i386/fpu/e_powf.S: Likewise.
18672 * sysdeps/i386/fpu/e_powl.S: Likewise.
18673 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18674 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18675 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18676 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18677 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18678 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18679 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18680 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18681 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18682 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18683 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18684 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18685 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18686 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18687 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18688 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18689 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18690 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18691 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18692 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18693 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18695 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18696 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18697 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18698 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18699 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18700 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18701 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18702 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18703 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18704 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18705 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18706 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18707 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18708 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18709 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18710 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18711 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18712 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18713 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18714 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18715 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18716 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18717 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18718 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18719 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18720 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18721 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18722 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18723 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18724 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18725 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18726 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18727 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18728 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18729 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18730 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18731 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18732 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18733 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18734 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18735 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18736 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18737 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18738 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18739 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18740 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18741 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18742 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18743 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18744 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18745 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18746 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18747 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18748 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18749 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18750 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18751 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18752 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18753 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18754 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18755 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18756 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18757 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18758 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18759 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18760 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18761 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18762 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18763 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18764 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18765 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18766 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18767 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18768 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18769 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18770 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18771 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18772 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18773 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18774 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18775 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18776 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18777 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18778 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18779 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18780 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18781 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18782 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18783 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18784 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18785 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18786 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18787 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18788 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18789 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18790 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18791 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18792 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18793 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18794 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18795 (__isnanf): Likewise.
18796 (__isinf_ns): Likewise.
18797 (__isinf_nsf): Likewise.
18798 (__finite): Likewise.
18799 (__finitef): Likewise.
18800 (__ieee754_sqrt): Define as macro.
18801 (__ieee754_sqrtf): Define as macro.
18802 (__ieee754_sqrtl): Define as macro.
18803 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18804 inlined copy.
18805 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18806 __FINITE_MATH_ONLY__ consistent.
18807 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18808
12cc2fcd
AS
188092011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18810
a843a204
AS
18811 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18812 of rawmemchr.
18813
12cc2fcd
AS
18814 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18815
c853acd5
UD
188162011-10-09 Ulrich Drepper <drepper@gmail.com>
18817
18818 * po/ja.po: Update from translation team.
18819
c658d255
RM
188202011-10-08 Roland McGrath <roland@hack.frob.com>
18821
110946e4
RM
18822 * locale/programs/locarchive.c (prepare_address_space): New function.
18823 (create_archive, enlarge_archive, open_archive): Use it.
18824
50604220
RM
18825 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18826 inside [SHARED], where it is used.
18827
c658d255
RM
18828 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18829
18830 * nss/getent.c (netgroup_keys): Remove unused variable.
18831 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18832
6a621eb7
UD
188332011-10-08 Ulrich Drepper <drepper@gmail.com>
18834
7edb55ce
UD
18835 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18836 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18837 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18838 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18839 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18840 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18841 * math/Makefile (libm-calls): Add s_isinf_ns.
18842 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18843 * math/multc3.c: Likewise.
18844 * math/s_casin.c: Likewise.
18845 * math/s_casinf.c: Likewise.
18846 * math/s_casinl.c: Likewise.
18847 * math/s_ccos.c: Likewise.
18848 * math/s_ccosf.c: Likewise.
18849 * math/s_ccosl.c: Likewise.
18850 * math/s_ctan.c: Likewise.
18851 * math/s_ctanf.c: Likewise.
18852 * math/s_ctanh.c: Likewise.
18853 * math/s_ctanhf.c: Likewise.
18854 * math/s_ctanhl.c: Likewise.
18855 * math/s_ctanl.c: Likewise.
18856 * math/w_fmod.c: Likewise.
18857 * math/w_fmodf.c: Likewise.
18858 * math/w_fmodl.c: Likewise.
18859 * math/w_remainder.c: Likewise.
18860 * math/w_remainderf.c: Likewise.
18861 * math/w_remainderl.c: Likewise.
18862 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18863 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18864 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18865 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18866 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18867 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18868 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18869 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18870
187da0ae
UD
18871 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18872 of the number.
18873 * stdio-common/printf_fphex.c: Likewise.
18874 * stdio-common/printf_size.c: Likewise.
18875
9277c064
UD
18876 * math/e_exp10.c: Include math_private.h using <...> not "...".
18877 * math/e_exp10f.c: Likewise.
18878 * math/e_exp10l.c: Likewise.
18879 * math/e_exp2l.c: Likewise.
18880 * math/e_j0l.c: Likewise.
18881 * math/e_j1l.c: Likewise.
18882 * math/e_jnl.c: Likewise.
18883 * math/e_lgammal_r.c: Likewise.
18884 * math/e_rem_pio2l.c: Likewise.
18885 * math/e_scalb.c: Likewise.
18886 * math/e_scalbf.c: Likewise.
18887 * math/e_scalbl.c: Likewise.
18888 * math/k_cosl.c: Likewise.
18889 * math/k_sinl.c: Likewise.
18890 * math/k_tanl.c: Likewise.
18891 * math/s_cacoshf.c: Likewise.
18892 * math/s_catan.c: Likewise.
18893 * math/s_catanf.c: Likewise.
18894 * math/s_catanh.c: Likewise.
18895 * math/s_catanhf.c: Likewise.
18896 * math/s_catanhl.c: Likewise.
18897 * math/s_catanl.c: Likewise.
18898 * math/s_ccosh.c: Likewise.
18899 * math/s_ccoshf.c: Likewise.
18900 * math/s_ccoshl.c: Likewise.
18901 * math/s_cexp.c: Likewise.
18902 * math/s_cexpf.c: Likewise.
18903 * math/s_cexpl.c: Likewise.
18904 * math/s_clog.c: Likewise.
18905 * math/s_clog10.c: Likewise.
18906 * math/s_clog10f.c: Likewise.
18907 * math/s_clog10l.c: Likewise.
18908 * math/s_clogf.c: Likewise.
18909 * math/s_clogl.c: Likewise.
18910 * math/s_csin.c: Likewise.
18911 * math/s_csinf.c: Likewise.
18912 * math/s_csinh.c: Likewise.
18913 * math/s_csinhf.c: Likewise.
18914 * math/s_csinhl.c: Likewise.
18915 * math/s_csinl.c: Likewise.
18916 * math/s_csqrt.c: Likewise.
18917 * math/s_csqrtf.c: Likewise.
18918 * math/s_csqrtl.c: Likewise.
18919 * math/s_ctan.c: Likewise.
18920 * math/s_ctanf.c: Likewise.
18921 * math/s_ctanh.c: Likewise.
18922 * math/s_ctanhf.c: Likewise.
18923 * math/s_ctanhl.c: Likewise.
18924 * math/s_ctanl.c: Likewise.
18925 * math/s_ldexp.c: Likewise.
18926 * math/s_ldexpf.c: Likewise.
18927 * math/s_ldexpl.c: Likewise.
18928 * math/s_significand.c: Likewise.
18929 * math/s_significandf.c: Likewise.
18930 * math/s_significandl.c: Likewise.
18931 * math/w_acos.c: Likewise.
18932 * math/w_acosf.c: Likewise.
18933 * math/w_acosh.c: Likewise.
18934 * math/w_acoshf.c: Likewise.
18935 * math/w_acoshl.c: Likewise.
18936 * math/w_acosl.c: Likewise.
18937 * math/w_asin.c: Likewise.
18938 * math/w_asinf.c: Likewise.
18939 * math/w_asinl.c: Likewise.
18940 * math/w_atan2.c: Likewise.
18941 * math/w_atan2f.c: Likewise.
18942 * math/w_atan2l.c: Likewise.
18943 * math/w_atanh.c: Likewise.
18944 * math/w_atanhf.c: Likewise.
18945 * math/w_atanhl.c: Likewise.
18946 * math/w_cosh.c: Likewise.
18947 * math/w_coshf.c: Likewise.
18948 * math/w_coshl.c: Likewise.
18949 * math/w_dremf.c: Likewise.
18950 * math/w_exp10.c: Likewise.
18951 * math/w_exp10f.c: Likewise.
18952 * math/w_exp10l.c: Likewise.
18953 * math/w_exp2.c: Likewise.
18954 * math/w_exp2f.c: Likewise.
18955 * math/w_fmod.c: Likewise.
18956 * math/w_fmodf.c: Likewise.
18957 * math/w_fmodl.c: Likewise.
18958 * math/w_hypot.c: Likewise.
18959 * math/w_hypotf.c: Likewise.
18960 * math/w_hypotl.c: Likewise.
18961 * math/w_j0.c: Likewise.
18962 * math/w_j0f.c: Likewise.
18963 * math/w_j0l.c: Likewise.
18964 * math/w_j1.c: Likewise.
18965 * math/w_j1f.c: Likewise.
18966 * math/w_j1l.c: Likewise.
18967 * math/w_jn.c: Likewise.
18968 * math/w_jnf.c: Likewise.
18969 * math/w_jnl.c: Likewise.
18970 * math/w_lgamma.c: Likewise.
18971 * math/w_lgamma_r.c: Likewise.
18972 * math/w_lgammaf.c: Likewise.
18973 * math/w_lgammaf_r.c: Likewise.
18974 * math/w_lgammal.c: Likewise.
18975 * math/w_lgammal_r.c: Likewise.
18976 * math/w_log.c: Likewise.
18977 * math/w_log10.c: Likewise.
18978 * math/w_log10f.c: Likewise.
18979 * math/w_log10l.c: Likewise.
18980 * math/w_log2.c: Likewise.
18981 * math/w_log2f.c: Likewise.
18982 * math/w_log2l.c: Likewise.
18983 * math/w_logf.c: Likewise.
18984 * math/w_logl.c: Likewise.
18985 * math/w_pow.c: Likewise.
18986 * math/w_powf.c: Likewise.
18987 * math/w_powl.c: Likewise.
18988 * math/w_remainder.c: Likewise.
18989 * math/w_remainderf.c: Likewise.
18990 * math/w_remainderl.c: Likewise.
18991 * math/w_scalb.c: Likewise.
18992 * math/w_scalbf.c: Likewise.
18993 * math/w_scalbl.c: Likewise.
18994 * math/w_sinh.c: Likewise.
18995 * math/w_sinhf.c: Likewise.
18996 * math/w_sinhl.c: Likewise.
18997 * math/w_sqrt.c: Likewise.
18998 * math/w_sqrtf.c: Likewise.
18999 * math/w_sqrtl.c: Likewise.
19000 * math/w_tgamma.c: Likewise.
19001 * math/w_tgammaf.c: Likewise.
19002 * math/w_tgammal.c: Likewise.
19003
6a621eb7
UD
19004 * po/ja.po: Update from translation team.
19005
bf582445
AJ
190062011-09-29 Andreas Jaeger <aj@suse.de>
19007
f9efbf3a
AJ
19008 [BZ #13179]
19009 * sunrpc/netname.c (netname2host): Fix logic.
19010
bf582445
AJ
19011 [BZ #6779]
19012 [BZ #6783]
19013 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19014 correctly.
19015 * math/w_remainder.c (__remainder): Likewise.
19016 * math/w_remainderf.c (__remainderf): Likewise.
19017 * math/libm-test.inc (remainder_test): Add test cases.
19018
48693bea
AK
190192011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19020
19021 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19022 sdiv_qrnnd.
19023
42622229
LD
190242011-10-07 Ulrich Drepper <drepper@gmail.com>
19025
19026 * string/test-memcmp.c: Avoid unncessary #defines.
19027 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19028
093ecf92
LD
190292011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19030
19031 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19032 Use new sse2 version for core i3 - i7 as it's faster
19033 than sse42 version.
19034 (bit_Prefer_PMINUB_for_stringop): New.
19035 * sysdeps/x86_64/rawmemchr.S: Update.
19036 Replace with faster SSE2 version.
19037 * sysdeps/x86_64/memrchr.S: New file.
19038 * sysdeps/x86_64/memchr.S: Update.
19039 Replace with faster SSE2 version.
19040
fde56e5c
MP
190412011-09-12 Marek Polacek <mpolacek@redhat.com>
19042
19043 * elf/dl-load.c (lose): Add cast to avoid warning.
19044
21fd49a9
UD
190452011-10-07 Ulrich Drepper <drepper@gmail.com>
19046
5a06e643
UD
19047 * po/ca.po: Update from translation team.
19048
684ae515
UD
19049 * inet/getnetgrent_r.c: Hook up nscd.
19050 * nscd/Makefile (routines): Add nscd_netgroup.
19051 (nscd-modules): Add netgroupcache.
19052 (CFLAGS-netgroupcache.c): Define.
19053 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19054 (cache_search): Add const to second parameter.
19055 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19056 INNETGR.
19057 (dbs): Add netgrdb entry.
19058 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19059 (verify_persistent_db): Handle netgrdb.
19060 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19061 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19062 GETFDNETGR.
19063 (netgroup_response_header): Define.
19064 (innetgroup_response_header): Define.
19065 (datahead): Add netgroup_response_header and innetgroup_response_header
19066 elements.
19067 * nscd/nscd.conf: Add entries for netgroup cache.
19068 * nscd/nscd.h (dbtype): Add netgrdb.
19069 (_PATH_NSCD_NETGROUP_DB): Define.
19070 (netgroup_iov_disabled): Declare.
19071 (xmalloc, xcalloc, xrealloc): Move declarations here.
19072 (cache_search): Adjust prototype.
19073 Add netgroup-related prototypes.
19074 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19075 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19076 (__nscd_innetgr): Declare.
19077 * nscd/selinux.c (perms): Use access_vector_t as element type and
19078 add netgroup-related initializers.
19079 * nscd/netgroupcache.c: New file.
19080 * nscd/nscd_netgroup.c: New file.
19081 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19082 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19083 For four parameters use innetgr.
19084 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19085 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19086 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19087 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19088
21fd49a9
UD
19089 * nscd/connections.c (register_traced_file): Don't register file
19090 for disabled databases.
19091
054c0457
UD
190922011-10-06 Ulrich Drepper <drepper@gmail.com>
19093
32b63198
UD
19094 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19095
054c0457
UD
19096 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19097 from tree and freeing node.
19098
64031225
JO
190992011-09-25 Jiri Olsa <jolsa@redhat.com>
19100
19101 * nss/nsswitch.c (__nss_database_lookup): Handle
19102 nss_parse_service_list out of memory case.
19103
0490345c
JO
191042011-09-15 Jiri Olsa <jolsa@redhat.com>
19105
19106 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19107 out of memory case.
19108
3a62d00d
AS
191092011-10-04 Andreas Schwab <schwab@redhat.com>
19110
19111 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19112 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19113 pass it down.
19114 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19115 elf_machine_rela, elf_machine_lazy_rel.
19116 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19117 (ELF_DYNAMIC_DO_REL): Likewise.
19118 (ELF_DYNAMIC_DO_RELA): Likewise.
19119 (ELF_DYNAMIC_RELOCATE): Likewise.
19120 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19121 to ELF_DYNAMIC_DO_REL.
19122 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19123 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19124 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19125 elf_machine_rela.
19126 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19127 skip_ifunc, don't call ifunc function if non-zero.
19128 (elf_machine_rela): Likewise.
19129 (elf_machine_lazy_rel): Likewise.
19130 (elf_machine_lazy_rela): Likewise.
19131 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19132 (elf_machine_lazy_rel): Likewise.
19133 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19134 Likewise.
19135 (elf_machine_lazy_rel): Likewise.
19136 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19137 Likewise.
19138 (elf_machine_lazy_rel): Likewise.
19139 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19140 (elf_machine_lazy_rel): Likewise.
19141 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19142 (elf_machine_lazy_rel): Likewise.
19143 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19144 (elf_machine_lazy_rel): Likewise.
19145 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19146 (elf_machine_lazy_rel): Likewise.
19147 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19148 (elf_machine_lazy_rel): Likewise.
19149 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19150 (elf_machine_lazy_rel): Likewise.
19151
68577918
UD
191522011-09-28 Ulrich Drepper <drepper@gmail.com>
19153
19154 * nss/nss_files/files-init.c (_nss_files_init): Use static
19155 initialization for all the *_traced_file variables.
19156
68822d74
AS
191572011-09-28 Andreas Schwab <schwab@redhat.com>
19158
19159 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19160
2056100b
RM
191612011-09-27 Roland McGrath <roland@hack.frob.com>
19162
19163 [BZ #13226]
19164 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19165
32c76b63
AS
191662011-09-27 Andreas Schwab <schwab@redhat.com>
19167
19168 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19169 Reread the line before reparsing it.
19170
bf972c9d
AS
191712011-09-26 Andreas Schwab <schwab@redhat.com>
19172
19173 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19174
e057a1b5
JM
191752011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19176 Maxim Kuvyrkov <maxim@codesourcery.com>
19177 Joseph Myers <joseph@codesourcery.com>
19178
19179 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19180 if needed for __stack_chk_guard.
19181
bc7e1c36
RM
191822011-09-19 Roland McGrath <roland@hack.frob.com>
19183
ecb1482f
RM
19184 * sysdeps/posix/spawni.c (script_execute): Always define it.
19185 It will be optimized away if unused.
19186 (maybe_script_execute): New function.
19187 (__spawni): Call it.
19188
bc7e1c36
RM
19189 * Makerules: Don't include tls.make.
19190 (config-tls): Always set to thread.
19191 * tls.make.c: File removed.
19192
1c3b002b
MF
191932011-09-19 Mike Frysinger <vapier@gentoo.org>
19194
19195 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19196 * config.make.in (CPPFLAGS-config): New substituted variable.
19197
2840865d
UD
191982011-09-15 Ulrich Drepper <drepper@gmail.com>
19199
88738eb6
UD
19200 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19201
cbf645a6 19202 [BZ #13192]
2840865d
UD
19203 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19204 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19205
b402e91a
RM
192062011-09-15 Roland McGrath <roland@hack.frob.com>
19207
19208 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19209 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19210 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19211 (CALL_FAIL): Likewise.
19212 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19213 (CALL_FAIL): Macro removed.
19214 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19215
4c1a1f71
UD
192162011-09-15 Ulrich Drepper <drepper@gmail.com>
19217
19218 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19219 for __FINITE_MATH_ONLY__ == 1.
19220
edc121be
AS
192212011-09-15 Andreas Schwab <schwab@redhat.com>
19222
19223 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19224 __ieee754_sqrt instead of sqrt.
19225 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19226 __ieee754_sqrtf instead of sqrtf.
19227 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19228 __floorf instead of floorf.
19229 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19230 __floorf, __truncf instead of floorf, truncf.
19231
cd205654
UD
192322011-09-14 Ulrich Drepper <drepper@gmail.com>
19233
ee4d0315
UD
19234 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19235
cd205654
UD
19236 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19237 __extern_always_inline.
19238 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19239 32-bit.
19240
48b67d71
AS
192412011-09-14 Andreas Schwab <schwab@redhat.com>
19242
19243 * elf/rtld.c (dl_main): Also relocate in dependency order when
19244 doing symbol dependency testing.
19245
1ae12c75
AS
192462011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19247
19248 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19249 Always define `refsym'.
19250
995a80df
AS
192512011-09-13 Andreas Schwab <schwab@redhat.com>
19252
e529793b
AS
19253 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19254 (__FD_ELT): Renamed from __FDELT.
19255 * misc/bits/select2.h (__FD_ELT): Likewise.
19256 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19257 __FD_MASK instead of __FDELT, __FDMASK.
19258 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19259 Likewise.
19260 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19261 Likewise.
19262
52d4fef8
AS
19263 * elf/Makefile (gen-ldd): Fix pattern.
19264
995a80df
AS
19265 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19266 (init_tls): Likewise.
19267
8682f8b0
UD
192682011-09-12 Ulrich Drepper <drepper@gmail.com>
19269
19270 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19271
de82006d
AS
192722011-09-12 Andreas Schwab <schwab@redhat.com>
19273
a7c8e6a1
AS
19274 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19275 `struct cmsghdr *' instead of `void *'.
19276 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19277 Likewise.
19278
0f31fe77
AS
192792011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19280
19281 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19282 if non-absolute.
19283 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19284 ldd_rewrite_script.
0f31fe77 19285
32b4c839
UD
192862011-09-11 Ulrich Drepper <drepper@gmail.com>
19287
83cd1420
UD
19288 * configure.in: Remove --with-tls option.
19289 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19290 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19291 out in case it is missing.
19292 * sysdeps/ia64/elf/configure.in: Likewise.
19293 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19294 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19295 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19296 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19297 * sysdeps/sh/elf/configure.in: Likewise.
19298 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19299 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19300 * sysdeps/x86_64/elf/configure.in: Likewise.
19301 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19302 * sysdeps/mach/hurd/tls.h: Likewise.
19303
633f745d
UD
19304 [BZ #13067]
19305 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19306
f318beb8
UD
19307 [BZ #13090]
19308 * configure.in: Fix use of AC_INIT.
19309
32b4c839
UD
19310 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19311
3ce1f295
UD
193122011-09-10 Ulrich Drepper <drepper@gmail.com>
19313
bb016596
UD
19314 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19315 __set_errno.
8e58439c
UD
19316 * malloc/hooks.c: Likewise.
19317
aebae053 19318 [BZ #11929]
02d46fc4
UD
19319 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19320 variables statically.
19321 (narenas): Initialize.
19322 (list_lock): Initialize.
bb016596
UD
19323 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19324 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
19325 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19326 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19327 Add initializers to main_arena and mp_.
19328 (malloc_state): Remove pagesize member. Change all users to use
19329 GLRO(dl_pagesize).
19330
19331 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19332 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19333 is always initialized.
19334
22a89187
UD
19335 * malloc/malloc.c: Removed unused configurations and dead code.
19336 * malloc/arena.c: Likewise.
19337 * malloc/hooks.c: Likewise.
02d46fc4 19338 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 19339
d063d164
UD
19340 * include/tls.h: Removed. USE___THREAD must always be defined.
19341 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19342 * elf/dl-libc.c: Likewise.
19343 * elf/dl-tsd.c: Likewise.
19344 * include/errno.h: Likewise.
19345 * include/netdb.h: Likewise.
19346 * include/resolv.h: Likewise.
19347 * inet/herrno-loc.c: Likewise.
19348 * inet/herrno.c: Likewise.
19349 * malloc/arena.c: Likewise.
19350 * malloc/hooks.c: Likewise.
19351 * malloc/malloc.c: Likewise.
19352 * resolv/res-state.c: Likewise.
19353 * resolv/res_libc.c: Likewise.
19354 * sysdeps/i386/dl-machine.h: Likewise.
19355 * sysdeps/ia64/dl-machine.h: Likewise.
19356 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19357 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19358 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19359 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19360 * sysdeps/sh/dl-machine.h: Likewise.
19361 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19362 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19363 * sysdeps/unix/i386/sysdep.S: Likewise.
19364 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19365 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19366 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19367 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19368 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19369 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19370 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19371 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19372 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19373 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19374 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19375 * sysdeps/x86_64/dl-machine.h: Likewise.
19376 * tls.make.c: Likewise.
19377
3ce1f295
UD
19378 * configure.in: Remove --with-__thread option. Make tests for
19379 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19380 tls_model attribute fail if no support is available. Remove
19381 USE_IN_LIBIO.
19382 * Makeconfig: Adjust for dropped configure option. All features are
19383 now mandatory.
19384 * Makerules: Likewise.
19385 * Versions.def: Likewise.
19386 * argp/argp-fmtstream.c: Likewise.
19387 * argp/argp-fmtstream.h: Likewise.
19388 * argp/argp-help.c: Likewise.
19389 * assert/assert.c: Likewise.
19390 * config.h.in: Likewise.
19391 * config.make.in: Likewise.
19392 * configure: Likewise.
19393 * configure.in: Likewise.
19394 * csu/Versions: Likewise.
19395 * csu/init.c: Likewise.
19396 * elf/tst-audit2.c: Likewise.
19397 * elf/tst-tls10.c: Likewise.
19398 * elf/tst-tls10.h: Likewise.
19399 * elf/tst-tls11.c: Likewise.
19400 * elf/tst-tls12.c: Likewise.
19401 * elf/tst-tls14.c: Likewise.
19402 * elf/tst-tlsmod11.c: Likewise.
19403 * elf/tst-tlsmod12.c: Likewise.
19404 * elf/tst-tlsmod13.c: Likewise.
19405 * elf/tst-tlsmod13a.c: Likewise.
19406 * elf/tst-tlsmod14a.c: Likewise.
19407 * elf/tst-tlsmod15b.c: Likewise.
19408 * elf/tst-tlsmod16a.c: Likewise.
19409 * elf/tst-tlsmod16b.c: Likewise.
19410 * elf/tst-tlsmod7.c: Likewise.
19411 * elf/tst-tlsmod8.c: Likewise.
19412 * elf/tst-tlsmod9.c: Likewise.
19413 * gmon/gmon.c: Likewise.
19414 * grp/fgetgrent_r.c: Likewise.
19415 * grp/putgrent.c: Likewise.
19416 * hurd/fopenport.c: Likewise.
19417 * include/libc-symbols.h: Likewise.
19418 * include/tls.h: Likewise.
19419 * intl/gettextP.h: Likewise.
19420 * intl/loadinfo.h: Likewise.
19421 * locale/global-locale.c: Likewise.
19422 * locale/localeinfo.h: Likewise.
19423 * mach/devstream.c: Likewise.
19424 * malloc/arena.c: Likewise.
19425 * malloc/set-freeres.c: Likewise.
19426 * misc/err.c: Likewise.
19427 * misc/getttyent.c: Likewise.
19428 * misc/mntent_r.c: Likewise.
19429 * posix/getopt.c: Likewise.
19430 * posix/wordexp.c: Likewise.
19431 * pwd/fgetpwent_r.c: Likewise.
19432 * resolv/Versions: Likewise.
19433 * resolv/res_hconf.c: Likewise.
19434 * shadow/fgetspent_r.c: Likewise.
19435 * shadow/putspent.c: Likewise.
19436 * stdio-common/printf_fphex.c: Likewise.
19437 * stdio-common/tmpfile.c: Likewise.
19438 * stdlib/abort.c: Likewise.
19439 * stdlib/fmtmsg.c: Likewise.
19440 * sunrpc/auth_unix.c: Likewise.
19441 * sunrpc/clnt_perr.c: Likewise.
19442 * sunrpc/clnt_tcp.c: Likewise.
19443 * sunrpc/clnt_udp.c: Likewise.
19444 * sunrpc/clnt_unix.c: Likewise.
19445 * sunrpc/openchild.c: Likewise.
19446 * sunrpc/svc_simple.c: Likewise.
19447 * sunrpc/svc_tcp.c: Likewise.
19448 * sunrpc/svc_udp.c: Likewise.
19449 * sunrpc/svc_unix.c: Likewise.
19450 * sunrpc/xdr.c: Likewise.
19451 * sunrpc/xdr_array.c: Likewise.
19452 * sunrpc/xdr_rec.c: Likewise.
19453 * sunrpc/xdr_ref.c: Likewise.
19454 * sunrpc/xdr_stdio.c: Likewise.
19455
1248c1c4
PB
194562011-09-09 Ulrich Drepper <drepper@gmail.com>
19457
19458 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19459
194602011-07-03 Andreas Jaeger <aj@suse.de>
19461
19462 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19463 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19464 regenerate with gen-libm-tests.pl.
19465
194662010-05-12 Petr Baudis <pasky@suse.cz>
19467
19468 [BZ #11589]
19469 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19470 around j0() zero points by switching to j1().
19471 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19472 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19473 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19474 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19475
f22e1074
UD
194762011-09-09 Ulrich Drepper <drepper@gmail.com>
19477
f19009c1
UD
19478 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19479 instead of 0.
19480 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19481 instead of 0. .
19482 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19483 Patch in part by Pavel Roskin <proski@gnu.org>.
19484
3f8cc204
UD
19485 [BZ #13138]
19486 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19487 realloc.
19488 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19489 Free memory block if necessary.
19490
f22e1074
UD
19491 [BZ #12847]
19492 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19493 be NULL. Don't lock in this case.
19494
0a2349f9
RM
194952011-09-09 Roland McGrath <roland@hack.frob.com>
19496
19497 * elf/elf.h (ELFOSABI_GNU): New macro.
19498 (ELFOSABI_LINUX): Define to that.
19499
f3cdd467
DZ
195002011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19501
19502 * string/strncat.c (strncat): Undef the symbol in case it has been
19503 defined in bits/string.h.
19504
74718d13
UD
195052011-09-09 Ulrich Drepper <drepper@gmail.com>
19506
633e9e0f
UD
19507 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19508
0a2349f9 19509 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
19510 link map.
19511
f9924780
AJ
195122011-08-17 Andreas Jaeger <aj@suse.de>
19513
19514 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19515
7f5517aa
PP
195162011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19517 Ian Lance Taylor <iant@google.com>
19518
19519 * math/libm-test.inc (lround_test): New testcase.
19520 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19521
762011fe
UD
195222011-09-08 Ulrich Drepper <drepper@gmail.com>
19523
92963737
UD
19524 * Makefile: Remove support for automatic cvs check-ins.
19525 * Makerules: Likewise.
19526 * config.make.in: Likewise.
19527 * configure.in: Likewise.
19528 * intl/Makefile: Likewise.
19529 * locale/Makefile: Likewise.
19530 * po/Makefile: Likewise.
19531 * posix/Makefile: Likewise.
19532 * sysdeps/gnu/Makefile: Likewise.
19533 * sysdeps/mach/hurd/Makefile: Likewise.
19534 * sysdeps/sparc/sparc32/Makefile: Likewise.
19535
b0727fd8
JS
19536 [BZ #13118]
19537 * posix/Makefile (bug-regex32-ENV): Define.
19538 Patch by John Stanley <jpsinthemix@verizon.net>.
19539
a0f33f99
UD
19540 * misc/Makefile (headers): Add bits/select2.h.
19541 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19542 * misc/bits/select2.h: New file.
19543 * include/bits/select2.h: New file.
19544 * debug/Makefile (routines): Add fdelt_chk.
19545 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19546 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19547 FD_ISSET.
19548 * debug/fdelt_chk.c: New file.
19549
762011fe
UD
19550 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19551 * wcsmbs/test-wmemcmp.c: Likewise.
19552 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19553 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19554
195552011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19556
19557 * string/Makefile (strop-tests): Add memcmp.
19558 * string/test-wmemcmp.c: New file.
19559 * string/test-memcmp.c: Add wmemcmp support.
19560
7f513ec8
RM
195612011-09-08 Roland McGrath <roland@hack.frob.com>
19562
0442afb4
RM
19563 [BZ #13153]
19564 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19565 2011-07-19 change.
19566
7f513ec8
RM
19567 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19568 garbage value in a __mach_port_mod_refs call in the cases of the
19569 task-self and thread-self ports.
19570
a12b2239
ST
195712011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19572
19573 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19574
610f9ab4
AS
195752011-09-08 Andreas Schwab <schwab@redhat.com>
19576
7f513ec8 19577 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19578
48882a1a
LD
195792011-09-07 Ulrich Drepper <drepper@gmail.com>
19580
b49865be
UD
19581 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19582
fdc86bc9
UD
19583 * elf/dl-libc.c (dlerror_run): Pass back error code from
19584 dl_catch_error.
19585
c966526a
UD
19586 [BZ #13123]
19587 * elf/dl-load.c (lose): Free l_origin if it is valid.
19588
48882a1a
LD
19589 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19590 names.
19591 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19592 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19593 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19594 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19595 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19596 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19597
77a2a8b4
AZ
195982011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19599
19600 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19601 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19602 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19603 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19604 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19605 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19606 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19607 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19608 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19609 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19610
24f579d8
AM
196112011-08-15 Alan Modra <amodra@gmail.com>
19612
19613 [BZ #13092]
19614 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19615 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19616 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19617 ppc_mcount to static-only-routines.
19618 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19619 __mcount_internal.
19620 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19621 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19622
3d4837df
UD
196232011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19624
19625 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19626 for finite and infinity parameters.
19627
22700377
WS
196282011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19629
19630 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19631 and add nop instructions for throughput optimization.
19632 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19633
5025581e
WS
196342011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19635
19636 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19637 aligned copy for power7 with vector-scalar instructions.
19638 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19639
08a300c9
L
196402011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19641
19642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19643 AVX check.
19644
59178ef9
AS
196452011-09-07 Andreas Schwab <schwab@redhat.com>
19646
19647 [BZ #13144]
19648 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19649 last change.
19650
e38ba7ab
UD
196512011-09-07 Ulrich Drepper <drepper@gmail.com>
19652
19653 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19654 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19655 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19656 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19657 clock_gettime.
19658
d53a73ac
UD
196592011-09-06 Ulrich Drepper <drepper@gmail.com>
19660
fc8bffcc
UD
19661 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19662 Forgot to demangle the pointer.
19663
ceaa0c5d
UD
19664 * sysdeps/i386/sysdep.h: Define atom_text_section.
19665 * sysdeps/x86_64/sysdep.h: Likewise.
19666 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19667 section with atom_text_section.
19668 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19669 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19670 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19671 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19672 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19673
a77d3c17
UD
19674 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19675 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19676 already be defined. Change to take two parameters and don't assign
19677 result to variable. Adjust all users.
19678 Define INTERNAL_GETTIME if not already defined.
19679 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19680 call.
19681 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19682 HAVE_CLOCK_GETTIME_VSYSCALL.
19683 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19684
d53a73ac
UD
19685 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19686 gettimeofday vsyscall, just use time.
19687
a8f84144
AS
196882011-09-06 Andreas Schwab <schwab@redhat.com>
19689
19690 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19691 <errno.h>.
19692
ef606249
UD
196932011-09-06 Ulrich Drepper <drepper@gmail.com>
19694
19695 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19696 syscall on x86-64.
19697 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19698 syscall.
19699 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19700 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19701 syscall if possible.
19702
6585cb60
UD
197032011-09-05 Ulrich Drepper <drepper@gmail.com>
19704
19705 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19706 e_ident. Don't pass to find_mapsXX.
19707 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19708
a5f524e4
LD
197092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19710
19711 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19712 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19713 * sysdeps/x86_64/multiarch/strchr.S: Update.
19714 Check bit_slow_BSF bit.
19715 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19716 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19717 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19718
554881ef
UD
197192011-09-05 Ulrich Drepper <drepper@gmail.com>
19720
d96de963
UD
19721 [BZ #13134]
19722 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19723 before glibc 2.15.
19724 (tryshell): Define.
19725 (__spawni): Change last parameter to be flag. Test
19726 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19727 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19728 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19729 * posix/spawni.c: Likewise.
19730 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19731 * posix/spawnp.c: Likewise. Change normal version to use
19732 SPAWN_XFLAGS_USE_PATH.
19733 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19734 SPAWN_XFLAGS_TRY_SHELL.
19735
d48e5868
UD
19736 [BZ #13150]
19737 * posix/glob.h: Remove gcc 1.x support.
19738
554881ef
UD
19739 [BZ #13068]
19740 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19741
693fb948
LD
197422011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19743
19744 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19745 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19746 strrchr-sse2-bsf
19747 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19748 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19749 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19750 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19751 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19752 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19753
1b48c537
UD
197542011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19755
49d42c37
UD
19756 * sysdeps/x86_64/wcscmp.S: New file.
19757
1b48c537
UD
19758 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19759 wcscmp-c wcscmp-sse2
19760 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19761 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19762 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19763 * wcsmbs/wcscmp.c: Allow renaming.
19764
15c95c5d
DM
197652011-09-05 David S. Miller <davem@davemloft.net>
19766
19767 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19768 stack slot, rather than the struct return pointer slot.
19769 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19770 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19772 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19773
2f0ad8f3
UD
197742011-09-05 Ulrich Drepper <drepper@gmail.com>
19775
d88ae418
UD
19776 * po/ja.po: Update from translation team.
19777
2f0ad8f3
UD
19778 [BZ #13144]
19779 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19780 kernel in 64-bit binaries.
19781
5f4318d1
DM
197822011-09-01 David S. Miller <davem@davemloft.net>
19783
19784 * elf/elf.h (HWCAP_SPARC_*): Move to..
19785 * sysdeps/sparc/sysdep.h: this new file and add new values.
19786 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19787 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19788 _DL_HWCAP_COUNT to 24.
19789 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19790 entries.
19791 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19792 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19793 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19794 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19795 instead of magic constants.
19796 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19797
3ba57516
DM
197982011-08-31 David S. Miller <davem@davemloft.net>
19799
19800 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19801 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19802 Reimplement to do errno handling inline.
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/sparc64/sysdep.h: Include
19808 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19809 (PSEUDO): Reimplement to do errno handling inline.
19810 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19811 (SYSCALL_ERROR_HANDLER): New macro.
19812 (__SYSCALL_STRING): Do not do errno handling in asm.
19813 (__CLONE_SYSCALL_STRING): Delete.
19814 (__INTERNAL_SYSCALL_STRING): Delete.
19815 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19816 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19817 i386.
19818 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19819 (inline_syscall*): Add 'err' argument.
19820 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19821 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19822 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19823 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19824
19825 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19826 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19827
2bc17433
AS
198282011-08-30 Andreas Schwab <schwab@redhat.com>
19829
19830 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19831
fbeb5f4d
JO
198322011-08-29 Jiri Olsa <jolsa@redhat.com>
19833
19834 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19835 directive.
19836
ad69cc26
DM
198372011-08-24 David S. Miller <davem@davemloft.net>
19838
19839 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19840
39dd69df
AS
198412011-08-24 Andreas Schwab <schwab@redhat.com>
19842
19843 * elf/Makefile: Add rules to build and run unload8 test.
19844 * elf/unload8.c: New file.
19845 * elf/unload8mod1.c: New file.
19846 * elf/unload8mod1x.c: New file.
19847 * elf/unload8mod2.c: New file.
19848 * elf/unload8mod3.c: New file.
19849
19850 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19851 it wasn't used.
19852
2c0b250a
DM
198532011-08-23 David S. Miller <davem@davemloft.net>
19854
19855 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19856 subtract stack bias.
19857 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19858 %sp not %fp in calculations.
19859 (_JMPBUF_UNWINDS_ADJ): Likewise.
19860
22044b48
DM
19861 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19862 (aio_suspend): Call it to force an exception region around the
19863 AIO_MISC_WAIT() invocation.
19864
2cae4995
AS
198652011-08-23 Andreas Schwab <schwab@redhat.com>
19866
19867 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19868 backslash.
19869
873a772e
AJ
198702011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19871
19872 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19873 protection macro.
19874 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19875 and <dl-machine.h>.
19876 (Elf64_FuncDesc): Remove.
19877
25ad0df1
DM
198782011-08-22 David S. Miller <davem@davemloft.net>
19879
19880 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19881 sigaltstack check, add missing cfi directives.
19882 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19883 missing cfi directives, and sigaltstack handling.
19884
e888bcbe
AS
198852011-08-16 Andreas Schwab <schwab@redhat.com>
19886
19887 [BZ #11724]
19888 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19889 object is seen twice.
19890 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19891
19892 * elf/Makefile (distribute): Add tst-initorder2.c.
19893 (tests): Add tst-initorder2.
19894 (modules-names): Add tst-initorder2a tst-initorder2b
19895 tst-initorder2c tst-initorder2d. Add rules to build them.
19896 ($(objpfx)tst-initorder2.out): New rule.
19897 * elf/tst-initorder2.c: New file.
19898 * elf/tst-initorder2.exp: New file.
19899
87162f46
AS
199002011-08-22 Andreas Schwab <schwab@redhat.com>
19901
70538b7f
AS
19902 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19903
f55ffe58
AS
19904 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19905 dependencies back to end of function.
19906
87162f46
AS
19907 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19908 $(elfobjdir)/ld.so.
19909
91b392a4
UD
199102011-08-21 Ulrich Drepper <drepper@gmail.com>
19911
19912 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19913 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19914 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19915 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19916 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19917 of __vdso_gettimeofday.
19918 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19919 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19920 attribute_hidden.
19921 (_libc_vdso_platform_setup): Remove initialization of
19922 __vdso_gettimeofday and __vdso_time.
19923
5c43483f
UD
199242011-08-20 Ulrich Drepper <drepper@gmail.com>
19925
775a77e7
UD
19926 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19927 and fgetc_unlocked.
19928 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19929 getc_unlocked.
89f447ed 19930
49c74ba9
UD
19931 * elf/dl-open.c (add_to_global): Report additions to the global scope
19932 for LD_DEBUG=scopes.
19933 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19934 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19935
5c43483f
UD
19936 [BZ #13114]
19937 * stdio-common/Makefile (tests): Add bug24.
19938 * stdio-common/bug24.c: New file.
19939
a101b025
AJ
199402011-08-19 Andreas Jaeger <aj@suse.de>
19941
19942 [BZ #13114]
19943 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19944 non-existant file when using close-on-exec mode.
19945
c88f1766
UD
199462011-08-20 Ulrich Drepper <drepper@gmail.com>
19947
0276a718
UD
19948 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19949 the very first instruction.
19950
c88f1766
UD
19951 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19952 the CFI state in the end.
19953 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19954 inclusion of dl-trampoline.h.
19955 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19956
51ccffa0
AS
199572011-08-19 Andreas Schwab <schwab@redhat.com>
19958
94d7165f
AS
19959 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19960 expectations for long double.
19961
51ccffa0
AS
19962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19963 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19964
fd708658 199652011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19966
19967 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19968 artificual limit depends upon the system page size.
19969
44f0a71e
UD
199702011-08-17 Ulrich Drepper <drepper@gmail.com>
19971
19972 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19973 * resolv/Makefile: Define CFLAGS-libresolv.
19974
8de79a24
AS
199752011-08-17 Andreas Schwab <schwab@redhat.com>
19976
19977 * nss/makedb.c (compute_tables): Make variables used in nested
19978 function static.
19979
27724598
UD
199802011-08-17 Ulrich Drepper <drepper@gmail.com>
19981
c5305d88
UD
19982 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19983 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19984 if buffer was too small.
19985
27724598
UD
19986 * elf/pldd.c (main): Attach to all threads in the process.
19987 Rewrite /proc handling to use *at functions.
19988
076fe015
UD
199892011-08-16 Ulrich Drepper <drepper@gmail.com>
19990
174baab3
UD
19991 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19992 specifies first scope to show.
19993 (dl_open_worker): Update callers. Move printing scope of new
19994 object to before the relocation.
44f0a71e 19995 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19996 * sysdeps/generic/ldsodefs.h: Update declaration.
19997
076fe015
UD
19998 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19999 string for the scope number.
20000
a60df2c3
UD
200012011-08-14 Ulrich Drepper <drepper@gmail.com>
20002
20003 * nscd/servicescache.c (cache_addserv): Make sure written is always
20004 initialized.
20005
5e4287d1
RM
200062011-08-14 Roland McGrath <roland@hack.frob.com>
20007
85ae0589
RM
20008 * sysdeps/i386/i486/bits/atomic.h
20009 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20010 statement expression, so as to suppress "set but not used" warning.
20011 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20012
69f63097
RM
20013 * string/strncat.c (STRNCAT): Use prototype definition.
20014
675456ef
RM
20015 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20016 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20017 -Iprograms here.
20018 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20019 (localedef-modules): Add localedef.
20020 (locale-modules): Add locale.
20021
5e4287d1
RM
20022 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20023 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20024 to avoid a warning.
20025
9c96ff23
DM
200262011-08-14 David S. Miller <davem@davemloft.net>
20027
20028 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20029 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20030
f9ddf089
UD
200312011-08-13 Ulrich Drepper <drepper@gmail.com>
20032
44f0a71e 20033 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
20034 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20035 * elf/rtld.c (dl_main): Set l_name of vDSO.
20036 Call _dl_show_scope when DL_DEBUG_SCOPES.
20037 (process_dl_debug): Recognize scopes flag and also set it for all.
20038 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20039 Declare _dl_show_scope.
20040
1dc27704
UD
20041 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20042 (do_dlopen): Pass caller_dlopen to dl_open.
20043 (__libc_dlopen_mode): Initialize caller_dlopen.
20044
f9ddf089
UD
20045 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20046 of libc. Make tolower call locale-independent. Optimize a bit by
20047 using isdigit instead of isalnum.
20048 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20049
9ac533d3
UD
200502011-08-12 Ulrich Drepper <drepper@gmail.com>
20051
20052 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20053 was a dependency or dynamically loaded.
20054
89edf2e9
UD
200552011-08-11 Ulrich Drepper <drepper@gmail.com>
20056
8e999d29
UD
20057 * intl/l10nflist.c: Allow architecture-specific pop function.
20058 * sysdeps/x86_64/l10nflist.c: New file.
20059
89edf2e9
UD
20060 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20061 classification.
20062
14d96785
AS
200632011-08-10 Andreas Schwab <schwab@redhat.com>
20064
20065 * include/dirent.h: Add libc_hidden_proto for scandirat and
20066 scandirat64. Don't declare __scandirat64.
20067 * dirent/scandirat.c: Add libc_hidden_def.
20068 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20069 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20070
6761ac04
DM
200712011-08-10 David S. Miller <davem@davemloft.net>
20072
20073 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20074 enum.
20075 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20076 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20077 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20078
c55fbd1e
UD
200792011-08-09 Ulrich Drepper <drepper@gmail.com>
20080
20081 * Versions.def [libc]: Add GLIBC_2.15.
20082 * dirent/Makefile (routines): Add scandirat and scandirat64.
20083 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20084 GLIBC_2.15.
20085 * dirent/dirent.h: Declare scandirat and scandirat64.
20086 * dirent/scandirat.c: New file.
20087 * dirent/scandirat64.c: New file.
20088 * sysdeps/wordsize-64/scandirat.c: New file.
20089 * sysdeps/wordsize-64/scandirat64.c: New file.
20090 * dirent/opendir.c: Define opendirat.
20091 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20092 using scandirat.
20093 * dirent/scandir64.c: Adjust for scandir.c change.
20094 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20095 __scandirat64, and __scandir_cancel_handler.
20096 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20097 additional parameter and use openat instead of open (outside of ld.so).
20098 Add new __opendir as wrapper around __opendirat.
20099 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20100 here without requiring old scandirat implementation.
20101
879165f2
UD
201022011-08-08 Ulrich Drepper <drepper@gmail.com>
20103
20104 * dirent/scandir.c (cancel_handler): Renamed to
20105 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20106 defined. Adjust users.
20107 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20108 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20109
cb7e923b
UD
201102011-08-04 Ulrich Drepper <drepper@gmail.com>
20111
16292edd
UD
20112 * string/test-string.h (IMPL): Use __STRING to expand name and then
20113 stringify it.
20114
cb7e923b
UD
20115 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20116 of cleanups.
20117
cff82933
LD
201182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20119
20120 * string/Makefile: Update.
20121 (strop-tests): Append strncat.
20122 * string/test-wcscmp.c: New file.
20123 New comprehensive test for wcscmp.
20124 * string/test-strcmp.c: Update.
20125 (WIDE): New define.
20126
9be9bfcc
AS
201272011-07-22 Andreas Schwab <schwab@redhat.com>
20128
20129 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20130 line.
20131
2e96f1c7
AS
201322011-07-26 Andreas Schwab <schwab@redhat.com>
20133
20134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20135 encoding to ACE if AI_IDN.
20136
85188888
JJ
201372011-08-01 Jakub Jelinek <jakub@redhat.com>
20138
20139 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20140 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20141
5fa16e9b
LD
201422011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20143
20144 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20145 Fix overflow bug in strncat.
20146 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20147
20148 * string/test-strncat.c: Update.
20149 Add new tests for checking overflow bugs.
20150
201512011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20152
20153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20154 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20155 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20156 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20157 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20158 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20159 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20160 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20161 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20162
20163 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20164 (USE_AS_STRCAT): Define.
20165 Add strcat and strncat support.
20166 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20167
8c1a459f
AS
201682011-07-25 Andreas Schwab <schwab@redhat.com>
20169
20170 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20171 __n bigger than INT_MAX+1.
20172 (__strncmp_g): Likewise.
20173
bba33c28
UD
201742011-07-23 Ulrich Drepper <drepper@gmail.com>
20175
798be72d
UD
20176 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20177 * libio/stido.h: Likewise.
20178
8accd4dc
UD
20179 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20180 (AF_NFC): Define.
20181 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20182 (AF_NFC): Define.
20183
cbff0d96
UD
20184 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20185 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20186 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20187 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20188 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20189
9191c04a
UD
20190 [BZ #13021]
20191 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20192 installed.
20193
bba33c28
UD
20194 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20195 typo.
20196 (_dl_x86_64_save_sse): Likewise.
20197
90f139dd
UD
201982011-07-22 Ulrich Drepper <drepper@gmail.com>
20199
1aae088a
UD
20200 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20201 OSXSAVE.
20202 (_dl_x86_64_save_sse): Likewise.
20203
8e2045f5
UD
20204 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20205
90f139dd
UD
20206 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20207
1d002f25
AS
202082011-07-21 Andreas Schwab <schwab@redhat.com>
20209
20210 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20211 change.
20212 (_dl_x86_64_save_sse): Use correct AVX check.
20213
21137f89
UD
202142011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20215
20216 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20217 bug in strncpy/strncat.
20218 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20219
a65c0b7a
UD
202202011-07-21 Ulrich Drepper <drepper@gmail.com>
20221
20222 * string/tester.c (test_strcat): Add tests for different alignments
20223 of source and destination.
20224 (test_strncat): Likewise.
20225
6986b98a
UD
202262011-07-20 Ulrich Drepper <drepper@gmail.com>
20227
90bb2039
UD
20228 [BZ #12852]
20229 * posix/glob.c (glob): Check passed in values before using them in
20230 expressions to avoid some overflows.
20231 (glob_in_dir): Likewise.
20232
5644ef54
UD
20233 [BZ #13007]
20234 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20235 check for AVX enablement so that we don't crash with old kernels and
20236 new hardware.
20237 * elf/tst-audit4.c: Add same checks here.
20238 * elf/tst-audit6.c: Likewise.
20239
20240 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 20241
bfc9dc9b
AS
202422011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20243
20244 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20245
702e64bb
UD
202462011-07-20 Ulrich Drepper <drepper@gmail.com>
20247
20248 * po/cs.po: Update from translation team.
20249 * po/bg.po: Likewise.
20250
295e904f
MP
202512011-07-12 Marek Polacek <mpolacek@redhat.com>
20252
20253 * misc/sys/cdefs.h: Add support for const attribute.
20254 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20255 to gnu_dev_{major,minor,makedev} functions.
20256
3ff94596
MP
202572011-07-20 Marek Polacek <mpolacek@redhat.com>
20258
20259 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20260
28b59fca
AS
202612011-07-20 Andreas Schwab <schwab@redhat.com>
20262
20263 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20264 strlen results.
20265
19df733e
AK
202662011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20267
20268 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20269 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20270 register in order to avoid conflicts with the soft frame pointer
20271 being held in r11 when necessary.
20272 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20273 (INTERNAL_VSYSCALL_NCS): Likewise.
20274
c8835729
MP
202752011-07-14 Marek Polacek <mpolacek@redhat.com>
20276
20277 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20278 * elf/dl-fini.c (_dl_fini): Adjust caller.
20279 * elf/dl-close.c (_dl_close_worker): Likewise.
20280 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20281
b902330c
MP
202822011-07-15 Marek Polacek <mpolacek@redhat.com>
20283
8991e135
MP
20284 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20285 "aux_cache->nlibs < 0".
20286
b902330c
MP
20287 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20288 in the reload-count case.
20289
99710781
LD
202902011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20291
20292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20293 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20294 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20295 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20296 * sysdeps/x86_64/multiarch/strcat.S: New file.
20297 * sysdeps/x86_64/multiarch/strncat.S: New file.
20298 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20299 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20300 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20301 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20302 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20303 (USE_AS_STRCAT): Define.
20304 Add strcat and strncat support.
20305 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20306 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20307 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20308 * string/strncat.c: Update.
20309 (USE_AS_STRNCAT): Define.
20310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20311 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20312 and i7.
20313 * sysdeps/x86_64/multiarch/init-arch.h
20314 (bit_Prefer_PMINUB_for_stringop): New.
20315 (index_Prefer_PMINUB_for_stringop): Likewise.
20316 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20317 bit_Prefer_PMINUB_for_stringop.
20318
7dc6bd90
UD
203192011-07-19 Ulrich Drepper <drepper@gmail.com>
20320
20321 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20322 buffer64.
20323 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20324 of casting of buffer.
20325 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20326 buffer32 and buffer64.
20327 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20328 writes instead of casting of buffer.
20329 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20330 buffer32.
20331 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20332 casting of buffer.
20333
e0e72284
AS
203342011-07-19 Andreas Schwab <schwab@redhat.com>
20335
20336 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20337
feb1eb0b
UD
203382011-07-19 Ulrich Drepper <drepper@gmail.com>
20339
20340 * nscd/nscd.c (termination_handler): Don't do anything for a database
20341 if it has not yet been initialized.
20342
298711ff
UD
203432011-07-18 Ulrich Drepper <drepper@gmail.com>
20344
20345 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20346
203472011-07-15 Marek Polacek <mpolacek@redhat.com>
20348
20349 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20350
f9d68389
UD
203512011-07-18 Ulrich Drepper <drepper@gmail.com>
20352
20353 * po/nl.po: Update from translation team.
20354 * po/sv.po: Likewise.
20355
db290cf5
RM
203562011-07-16 Roland McGrath <roland@hack.frob.com>
20357
20358 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20359 now disallowed by GCC.
5c550700 20360
fd5e21c7
RM
20361 * configure.in (use-default-link): Default to yes if a test -shared
20362 link meets our qualifications.
20363 * configure: Regenerated.
20364
5c550700
RM
20365 * config.make.in (output-format): New variable.
20366 * configure.in: Check for ld --print-output-format support.
20367 * configure: Regenerated.
20368 * Makerules ($(common-objpfx)format.lds)
20369 [$(output-format) != unknown]: Just use $(output-format),
20370 instead of the linker-script munging.
20371
9fa2c032
RM
203722011-07-14 Roland McGrath <roland@hack.frob.com>
20373
a6928d51
RM
20374 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20375 of $(common-objpfx)shlib.lds.
20376 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20377
661607b3
RM
20378 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20379 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20380
9fa2c032
RM
20381 * configure.in (-z relro check): Adjust test code to add a large
20382 writable data section after it.
20383 * configure: Regenerated.
20384
defe9061
RM
203852011-07-11 Roland McGrath <roland@hack.frob.com>
20386
20387 * configure.in (-z relro check): Fix test code to make the variable
20388 truly const.
20389 * configure: Regenerated.
20390
319b9ad4
UD
203912011-07-11 Ulrich Drepper <drepper@gmail.com>
20392
20393 * nscd/nscd.h (struct traced_file): Define.
20394 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20395 elements. Add traced_files.
20396 (inotify_fd): Declare.
20397 (register_traced_file): Declare.
20398 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20399 (inotify_fd): Export.
20400 (resolv_conf_descr): Remove.
20401 (nscd_init): Move inotify descriptor creation to main.
20402 Don't register files for notification here.
20403 (register_traced_file): New function.
20404 (invalidate_cache): Don't use reset_res to determine whether to call
20405 res_init, go through the list of registered files.
20406 (main_loop_poll): The inotify descriptors are now stored in the
20407 structures for the traced files.
20408 (main_loop_epoll): Likewise
20409 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20410 to __nss_disable_nscd.
20411 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20412 for a database anymore. Check the records for all the registered
20413 files instead.
20414 * nss/Makefile (libnss_files-routines): Add files-init.
20415 (libnss_db-routines): Add db-init.
20416 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20417 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20418 * nss/nss_db/db-init.c: New file.
20419 * nss/nss_files/files-init.c: New file.
20420 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20421 __nss_lookup_function.
20422 (__nss_lookup_function): Call nss_load_library.
20423 (nss_load_all_libraries): New function.
20424 (__nss_disable_nscd): Take parameter with callback function for files
20425 to register. Set is_nscd. Load all the DSOs for the NSS modules
20426 used for the cached services.
20427 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20428 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20429 options for features to all the files in nscd.
20430
20431 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20432
23bee3e8
RM
204332011-07-10 Roland McGrath <roland@hack.frob.com>
20434
20435 * csu/elf-init.c (__libc_csu_init): Comment typo.
20436
46a5b7f0
UD
204372011-07-09 Ulrich Drepper <drepper@gmail.com>
20438
20439 * po/pl.po: Update from translation team.
20440 * po/ja.po: Likewise.
20441 * po/ru.po: Likewise.
20442 * po/ko.po: Likewise.
20443 * po/fr.po: Likewise.
20444
d30cf5bb
RM
204452011-07-09 Roland McGrath <roland@hack.frob.com>
20446
113ddea4
RM
20447 * configure.in (.ctors/.dtors header and trailer check):
20448 Use an empirical test on a built program.
20449 * configure: Regenerated.
20450
574920b4
RM
20451 * configure.in (-z relro check): Use an empirical test on a built DSO.
20452 Detect, but do not require, on ia64.
20453 * configure: Regenerated.
20454
d30cf5bb
RM
20455 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20456 Update tests that use readelf to use $READELF instead.
20457 * configure: Regenerated.
20458
8538fdb3
UD
204592011-07-08 Ulrich Drepper <drepper@gmail.com>
20460
20461 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20462 if the result is not used.
20463
04d08991
AJ
204642011-07-05 Andreas Jaeger <aj@suse.de>
20465
20466 [BZ#9696]
20467 * stdlib/tst-strtod.c: Add testcase.
20468
de283087
AD
204692011-07-07 Ulrich Drepper <drepper@gmail.com>
20470
4e5f31c8 20471 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 20472 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
20473 The latter has a higher limit. Take additional parameter to pass to
20474 the new function.
20475 (__pathconf): Pass file to __statfs_link_max.
20476 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20477 __statfs_link_max.
20478 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20479 __statfs_link_max.
20480
de283087
AD
20481 [BZ #12868]
20482 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20483 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20484 Handle Lustre.
20485 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20486 (__statfs_filesize_max): Likewise.
20487 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20488
c75fa153
AJ
204892011-07-05 Andreas Jaeger <aj@suse.de>
20490
20491 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20492
1a544854
UD
204932011-07-06 Marek Polacek <mpolacek@redhat.com>
20494
20495 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20496 `status' variable.
20497 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20498 Likewise.
20499
6f0eec67
UD
205002011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20501
20502 * Makefile (strop-tests): Add strncat.
20503 * string/test-strncat.c: New file.
20504
aae30307
UD
205052011-06-30 Marek Polacek <mpolacek@redhat.com>
20506
20507 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20508
c0cfb5eb
UD
205092011-06-21 Andreas Jaeger <aj@suse.de>
20510
20511 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20512 Copy rule from iconvdata/Makefile.
20513
01636b21
UD
205142011-07-06 Ulrich Drepper <drepper@gmail.com>
20515
20516 [BZ #12922]
20517 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20518 but no long options are defined, just return 'W'.
20519
9895c8bc
UD
205202011-06-22 Marek Polacek <mpolacek@redhat.com>
20521
20522 [BZ #9696]
20523 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20524
5d4cf042
UD
205252011-07-06 Ulrich Drepper <drepper@gmail.com>
20526
20527 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20528 netgroups to read.
960e5535 20529 (innetgr): Likewise.
5d4cf042 20530
751eb97e
RM
205312011-07-05 Roland McGrath <roland@hack.frob.com>
20532
20533 * config.make.in (install_root): Default to $(DESTDIR).
20534
f15f1e45
UD
205352011-07-05 Ulrich Drepper <drepper@gmail.com>
20536
20537 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20538
4e34ac6a
RM
205392011-07-02 Roland McGrath <roland@hack.frob.com>
20540
5e9b6af4
RM
20541 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20542
84f9ea0f
RM
20543 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20544 containing directory rather than embedding absolute directory names.
20545
ea5ee9f7
RM
20546 * scripts/check-local-headers.sh: Rewritten using awk.
20547 Match by word, not by line. Print error messages for matches.
20548 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20549
1b74661a
RM
20550 * Makerules [shlib-lds-flags empty]:
20551 ($(common-objpfx)libc_pic.opts): New target.
20552 ($(common-objpfx)libc_pic.os.clean): New target.
20553 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20554
20555 * config.make.in (OBJCOPY): New variable.
20556 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20557 * configure: Regenerated.
20558
f781ef40
RM
20559 * config.make.in (use-default-link): New variable.
20560 * configure.in (use_default_link): Grok --with-default-link to set it.
20561 * configure: Regenerated.
20562 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20563 (shlib-lds, shlib-lds-flags): Define to empty.
20564
2d4fa81e
RM
20565 * Makerules (shlib-lds): New variable.
20566 (shlib-lds-flags): New variable.
20567 (build-shlib, build-moduile, build-module-asneeded): Use it.
20568 ($(common-objpfx)libc.so): Use $(shlib-lds).
20569 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20570 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20571
31fffa6b
RM
20572 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20573 DT_FLAGS/DT_FLAGS_1 with zero flags.
20574
4e34ac6a
RM
20575 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20576 linker script munging.
20577
fcfc776b
UD
205782011-07-02 Ulrich Drepper <drepper@gmail.com>
20579
20580 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20581 as 128-bit value.
20582 * crypt/sha512.c (sha512_process_block): Perform total addition using
20583 128-bit if possible.
20584 (__sha512_finish_ctx): Likewise.
20585 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20586 as 64-bit value.
20587 * crypt/sha256.c (SWAP64): Define.
20588 (sha256_process_block): Perform total addition using 64-bit if
20589 possible.
20590 (__sha256_finish_ctx): Likewise.
20591
99231d9a
UD
205922011-07-01 Ulrich Drepper <drepper@gmail.com>
20593
20594 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20595 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20596 * nscd/hstcache.c (cache_addhst): Likewise.
20597 * nscd/grpcache.c (cache_addgr): Likewise.
20598 * nscd/aicache.c (addhstaiX): Likewise
20599 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20600
445b4a53
TK
206012011-07-01 Thorsten Kukuk <kukuk@suse.de>
20602
20603 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20604 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20605 * nscd/hstcache.c (cache_addhst): Likewise.
20606 * nscd/grpcache.c (cache_addgr): Likewise.
20607 * nscd/aicache.c (addhstaiX): Likewise
20608
6d4d8e8e
AS
206092011-07-01 Andreas Schwab <schwab@redhat.com>
20610
20611 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20612 domain only when needed.
20613
89f654c5
AS
206142011-06-30 Andreas Schwab <schwab@redhat.com>
20615
20616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20617 is always restored.
20618
cf3b23ff
UD
206192011-06-29 Ulrich Drepper <drepper@gmail.com>
20620
20621 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20622 are re-adding the entry.
20623 * nscd/servicescache.c (cache_addserv): Likewise.
20624
751626f9
AJ
206252011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20626
20627 * sysdeps/generic/dl-irel.h: fix protection against multiple
20628 inclusions.
20629 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20630
9113ea1f
UD
206312011-06-28 Ulrich Drepper <drepper@gmail.com>
20632
5c0b8d90
UD
20633 [BZ #12935]
20634 * malloc/memusage.sh: Fix quoting in message.
20635 * debug/xtrace.sh: Likewise.
20636
9113ea1f
UD
20637 * configure.in: Remove support for --experimental-malloc option, make
20638 it the default.
20639 * config.make.in: Likewise.
20640 * malloc/Makefile: Likewise.
20641
a4172181
AS
206422011-06-27 Andreas Schwab <schwab@redhat.com>
20643
20644 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20645 two-byte characters.
20646
78a7eee7
RM
206472011-06-27 Roland McGrath <roland@hack.frob.com>
20648
62bede13
RM
20649 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20650 AC_CACHE_CHECK invocation.
20651 * configure: Regenerated.
20652
78a7eee7
RM
20653 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20654
5ce33a62
UD
206552011-06-27 Ulrich Drepper <drepper@gmail.com>
20656
034807a9
UD
20657 [BZ #12350]
20658 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20659 bit from old_res_options.
20660
4902da17
UD
20661 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20662
5ce33a62
UD
20663 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20664 value type for setfct.
20665
c2344f56
L
206662011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20667
20668 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20669 __gettimeofday instead of gettimeofday.
20670
68468076
UD
206712011-06-26 Ulrich Drepper <drepper@gmail.com>
20672
20673 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20674
acb0d739
L
206752011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20676
20677 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20678
20679 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20680 info.
20681
8912479f
L
206822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20683
20684 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20685 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20686 strcpy-sse2-unaligned strncpy-sse2-unaligned
20687 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20688 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20689 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20690 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20691 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20692 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20693 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20694 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20695 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20696 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20697 (STRCPY): Support SSE2 and SSSE3 versions.
20698
d5495a11
UD
206992011-06-24 Ulrich Drepper <drepper@gmail.com>
20700
20701 [BZ #12874]
20702 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20703 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20704 kernels which artificially limit size of requests.
20705
0b1cbaae
L
207062011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20707
20708 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20709 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20710 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20711 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20712 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20713 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20714 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20715 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20716 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20717 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20718 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20719 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20720 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20721 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20722 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20723 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20724 Enable unaligned load optimization for Intel Core i3, i5 and i7
20725 processors.
20726 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20727 Define.
20728 (index_Fast_Unaligned_Load): Define.
20729 (HAS_FAST_UNALIGNED_LOAD): Define.
20730
07f494a0
MP
207312011-06-23 Marek Polacek <mpolacek@redhat.com>
20732
20733 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20734
fa3fc0fe
UD
207352011-06-22 Ulrich Drepper <drepper@gmail.com>
20736
20737 [BZ #12907]
20738 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20739 until it is clear that the information is realy needed.
20740 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20741
e12df166
AS
207422011-06-22 Andreas Schwab <schwab@redhat.com>
20743
20744 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20745
852eb34d
UD
207462011-06-22 Ulrich Drepper <drepper@gmail.com>
20747
84e2a551
UD
20748 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20749 /sys/devices/system/cpu/online if it is usable.
20750
852eb34d
UD
20751 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20752 reading the information from the /proc filesystem to once a second.
20753
6e502e19
UD
207542011-06-21 Andreas Jaeger <aj@suse.de>
20755
20756 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20757 NULL after inclusion of kernel headers.
20758
75d39ff2
UD
207592011-06-21 Ulrich Drepper <drepper@gmail.com>
20760
51f9aa6a
UD
20761 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20762 calls to internal_setent.
20763
c0244a9d
UD
20764 [BZ #12885]
20765 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20766 addresses using gethostbyname4_r ignore IPv4 addresses.
20767
c5e3c2ae
UD
20768 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20769 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20770
75d39ff2
UD
20771 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20772
42675c6f
DM
207732011-06-20 David S. Miller <davem@davemloft.net>
20774
20775 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20776 inclusions.
20777 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20778
20779 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20780 (elf_irel): Use it.
20781 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20782 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20783 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20784 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20785 * sysdeps/x86_64/dl-irel.h: Likewise.
20786
20787 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20788 * elf/dl-sym.c: Likewise.
20789
57912a71
UD
207902011-06-15 Ulrich Drepper <drepper@gmail.com>
20791
20792 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20793 need to dereference resplen2.
20794
ee22793d
AS
207952011-06-14 Andreas Schwab <schwab@redhat.com>
20796
20797 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20798
a9e836b0
UD
207992011-06-15 Ulrich Drepper <drepper@gmail.com>
20800
77fb9117
UD
20801 * Makeconfig: Define vardbdir and inst_vardbdir.
20802 * nss/Makefile: Add rules to install db-Makefile.
20803
40c1b22c
UD
20804 * nss/nss_db/db-XXX.c: Cleanup.
20805
9f2da732
UD
20806 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20807 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20808 GLIBC_PRIVATE.
20809 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20810 * nss/makedb.c: Implement -g option to specify that value strings
20811 are generated and should not be added to table iterated over for
20812 get*ent calls.
20813 * nss/nss_db/db-initgroups.c: New file.
20814
82e9a1f7
UD
20815 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20816 interface.
20817
c41af17e
UD
20818 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20819 (internal_getgrouplist): Adjust to name change.
20820 Update use_initgroups_entry if this is not the first call.
20821 * nss/databases.def: Add initgroups entry.
20822
a9e836b0
UD
20823 * nss/makedb.c (compute_tables): Check result of multiple hash table
20824 sizes to minimize maximum chain length.
20825
2666d441
UD
208262011-06-14 Ulrich Drepper <drepper@gmail.com>
20827
20828 * Versions.def: Add entry for libnss_db.
20829 * shlib-versions: Likewise.
20830 * nss/Makefile: Add rules to build libnss_db.
20831 * nss/Versions: Add libnss_db information. Organize libnss_files
20832 entries better.
20833 * nss/db-Makefile: Add gshadow support. Change rules for the new
20834 makedb progra. Some minor improvements to generate smaller files.
20835 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20836 here from...
20837 * nss/makedb.c: ...here.
20838 Improve database format to be smaller and require less memory at
20839 runtime.
20840 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20841 db anymore.
20842 * nss/nss_db/db-netgrp.c: Likewise.
20843 * nss/nss_db/db-open.c: Likewise.
20844 * nss/nss_files/flies-XXX.x: Adjust comments.
20845 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20846 * nss/nss_files/files-grp.c: Likewise.
20847 * nss/nss_files/files-hosts.c: Likewise.
20848 * nss/nss_files/files-network.c: Likewise.
20849 * nss/nss_files/files-proto.c: Likewise.
20850 * nss/nss_files/files-pwd.c: Likewise.
20851 * nss/nss_files/files-rpc.c: Likewise.
20852 * nss/nss_files/files-service.c: Likewise.
20853 * nss/nss_files/files-sgrp.c: Likewise.
20854 * nss/nss_files/files-spwd.c: Likewise.
20855 * nss/nss_db/db-alias.c: Removed.
20856 * nss/nss_db/dummy-db.h: Removed.
20857
9ee76b5a
UD
208582011-06-02 Ulrich Drepper <drepper@gmail.com>
20859
20860 * nss/makedb.c: Rewritten to not use database library.
20861 * nss/Makefile: Update to build new makedb program.
20862
c71ca1f8
AJ
208632011-06-14 Andreas Jaeger <aj@suse.de>
20864
20865 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20866 memset declaration.
20867
3154bfb8
UD
208682011-06-10 Andreas Schwab <schwab@redhat.com>
20869
20870 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20871 tmpbuf.
20872
b350afab
RM
208732011-06-10 Roland McGrath <roland@hack.frob.com>
20874
decd4e50
RM
20875 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20876 * elf/Makefile ($(objpfx)ld.so): Likewise.
20877
5615eaf2
RM
20878 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20879 Don't list ld.so twice in dependencies.
20880
20881 * posix/bug-regex31.c: Include <stdlib.h>.
20882
20883 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20884
20885 * nis/nss_compat/compat-spwd.c
20886 (getspent_next_nss_netgr): Remove unused variable.
20887 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20888
20889 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20890 nonmembers" output to use the right array.
20891
20892 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20893
20894 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20895
20896 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20897 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20898 * catgets/gencat.c (read_input_file): Likewise.
20899 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20900
20901 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20902 variable definition inside #if's controlling its use.
20903
20904 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20905
20906 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20907
20908 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20909
20910 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20911 unreachable code.
20912
20913 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20914
b68e08db
RM
20915 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20916 * configure: Regenerated.
20917
b350afab
RM
20918 * Makerules: Revert last change.
20919 * elf/Makefile: Likewise.
20920
28368601
RM
209212011-06-09 Roland McGrath <roland@hack.frob.com>
20922
20923 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20924 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20925 (reloc-link): Likewise.
20926
11988f8f
UD
209272011-06-09 Ulrich Drepper <drepper@gmail.com>
20928
20929 * elf/Makefile: Add rules to build pldd.
20930 * elf/pldd.c: New file.
20931 * elf/pldd-xx.c: New file.
20932
e80fab37
UD
209332011-06-07 Ulrich Drepper <drepper@gmail.com>
20934
20935 * version.h: Update for 2.15 development version.
20936
9b849836
DM
209372011-06-07 David S. Miller <davem@davemloft.net>
20938
20939 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20940 ifuncs.
20941 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20942 elf_machine_lazy_rel): Likewise.
20943 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20944 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20945 elf_machine_lazy_rel): Likewise.
20946 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20947 dl_hwcap via passed in argument.
20948 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20949 Likewise.
20950
5a31b283
AK
209512011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20952
20953 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20954
069e52f8
RM
209552011-06-06 Roland McGrath <roland@hack.frob.com>
20956
20957 [BZ #12849]
20958 * manual/fdl-1.1.texi: New file, verbatim from:
20959 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20960 * manual/lgpl-2.1.texi: New file, verbatim from:
20961 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20962 * manual/Makefile (licenses): New variable, list those new file names.
20963 (texis): Use it.
20964 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20965
20966 * manual/fdl.texi: File removed.
20967 * manual/lesser.texi: File removed.
20968 * manual/libc.texinfo (Copying, Documentation License):
20969 Use new @include file names, put @appendix directive before @include.
20970
f16846a5
JJ
209712011-06-04 Jakub Jelinek <jakub@redhat.com>
20972
20973 [BZ #12841]
20974 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20975 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20976 (mq_open): Add __NTH.
20977
3d29045b
L
209782011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20979
20980 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20981 Assume Intel Core i3/i5/i7 processor if AVX is available.
20982
8c297311
UD
209832011-05-31 Ulrich Drepper <drepper@gmail.com>
20984
20985 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20986 typo.
20987
c8fc0c91
UD
209882011-05-31 Andreas Schwab <schwab@redhat.com>
20989
20990 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20991 memory. Use alloca_account. Fix memory leak when retrying.
20992
5b27a807
UD
209932011-05-31 Ulrich Drepper <drepper@gmail.com>
20994
356f8bc6
UD
20995 * version.h (RELEASE): Bump for 2.14 release.
20996 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20997
5b27a807
UD
20998 * config.make.in (RANLIB): Remove entry.
20999
01f16ab0
UD
210002011-05-30 Ulrich Drepper <drepper@gmail.com>
21001
41fce8bd
UD
21002 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21003 (libc.pot): Work around missing support for .ksh extension in xgettext.
21004
4769ae77
UD
21005 [BZ #12684]
21006 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21007 if both request failed.
21008 (send_dg): In case of server errors clear resplen or *resplen2.
21009
6b1e7d19
UD
21010 [BZ #12454]
21011 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21012 when there are multiple maps.
21013 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21014 (_dl_fini): Remove test here.
21015
01f16ab0
UD
21016 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21017
b1ebd700
UD
210182011-05-29 Ulrich Drepper <drepper@gmail.com>
21019
7ae22829
UD
21020 [BZ #12350]
21021 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21022 bit from old_res_options.
21023 (gaih_inet): Likewise.
21024
553149f6 21025 [BZ #11099]
18a84741 21026 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
21027 as signed.
21028
652ffab1
UD
21029 * resolv/res_init.c (res_setoptions): Make the code more compact.
21030
16985fd0
UD
21031 [BZ #11558]
21032 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21033 set RES_USEVC.
21034
0464f746
UD
21035 [BZ #11634]
21036 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21037
7d17596c
UD
21038 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21039
cf6bbbd7
UD
21040 [BZ #11781]
21041 * malloc/malloc.h: Declare malloc hook variables as volatile.
21042
13f1ab36
UD
21043 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21044 in last patch.
21045
b1ebd700
UD
21046 [BZ #11799]
21047 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 21048 raise in the comment.
80e2212d
UD
21049 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21050 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21051 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 21052
ce67228d
UD
210532011-05-28 Ulrich Drepper <drepper@gmail.com>
21054
8887a920
UD
21055 [BZ #12811]
21056 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21057 grow the buffers more if it already has to be sufficient.
21058 (build_wcs_upper_buffer): Likewise.
21059 * posix/regexec.c (check_matching): Likewise.
21060 (clean_state_log_if_needed): Likewise.
21061 (extend_buffers): Don't enlarge buffers beyond size of the input
21062 buffer.
21063 Patches mostly by Emil Wojak <emil@wojak.eu>.
21064 * posix/bug-regex32.c: New file.
21065 * posix/Makefile (tests): Add bug-regex32.
21066
4f031072
UD
21067 * locale/findlocale.c (_nl_find_locale): Return right away if
21068 _nl_explode_name failed.
21069 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21070
d0478f0c
UD
21071 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21072
de81b246
UD
21073 * debug/xtrace.sh: Unify messages.
21074 * malloc/memusage.sh: Likewise.
21075
c738465a
UD
21076 [BZ #12813]
21077 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21078 time symbol from vDSO. Substitute with vsyscall if not available.
21079 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21080 __vdso_time.
21081
f1f929d7
UD
21082 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21083 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21084 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21085 Add sendmmsg and internal_sendmmsg.
21086 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21087 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21088 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21089
ce67228d
UD
21090 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21091 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21092 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21093
e57420c6
UD
210942011-05-27 Ulrich Drepper <drepper@gmail.com>
21095
a8509ca5
UD
21096 [BZ #12813]
21097 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21098 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21099 available.
21100 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21101 __vdso_getcpu.
21102
e57420c6
UD
21103 [BZ #12814]
21104 * iconvdata/Makefile (tests): Add bug-iconv9.
21105 * iconvdata/bug-iconv9.c: New file.
21106
4d07db15
AS
211072011-05-27 Andreas Schwab <schwab@redhat.com>
21108
21109 [BZ #12814]
21110 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21111
ea486f69
JJ
211122011-05-25 Jakub Jelinek <jakub@redhat.com>
21113
21114 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21115 (struct user_regs_struct): Change intcs field back to cs.
21116
6f038433
UD
211172011-05-25 Ulrich Drepper <drepper@gmail.com>
21118
21119 * po/ja.po: Update from translation team.
21120
67f86a25
UD
211212011-05-23 Ulrich Drepper <drepper@gmail.com>
21122
21123 [BZ #12795]
21124 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21125 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21126
def7fbd6
AS
211272011-05-20 Andreas Schwab <schwab@redhat.com>
21128
21129 * stdlib/longlong.h: Update from GCC.
21130
f50ef8f1
AS
211312011-05-23 Andreas Schwab <schwab@redhat.com>
21132
21133 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21134 parameter name.
21135 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21136 Add parameter name.
21137 (__sysconf): Pass it down.
21138
de7ce8f1
UD
211392011-05-22 Ulrich Drepper <drepper@gmail.com>
21140
f2962a71
UD
21141 [BZ #12671]
21142 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21143 some situations.
21144 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21145 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21146 add in in __libc_use_alloca calls. Adjust callers.
21147 (glob): Use malloc in some situations.
21148
de7ce8f1
UD
21149 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21150 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21151 pltexit.
21152
aec84f53
UD
211532011-05-21 Ulrich Drepper <drepper@gmail.com>
21154
05bb4a68
UD
21155 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21156 and CLOCK_BOOTTIME_ALARM.
21157
7ea72f99
UD
21158 [BZ #12782]
21159 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21160 is returned.
21161
7e4afad5
UD
21162 * string/_strerror.c (__strerror_r): Print negative errors as signed
21163 numbers.
21164
8e211fec
UD
21165 [BZ #12777]
21166 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21167 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21168 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21169
f7d82dc9
UD
21170 * configure.in: Fix typo in redirection and correct removal of test
21171 files in two cases.
21172
cc9e536d
UD
21173 [BZ #12788]
21174 * locale/setlocale.c (new_composite_name): Fix test to check for
21175 identical name of all categories.
21176
aec84f53
UD
21177 [BZ #12792]
21178 * libio/filedoalloc.c (local_isatty): New function.
21179 (_IO_file_doallocate): Use local_isatty.
21180 * stdio-common/perror.c (perror): In case a new stream is used
21181 forward the stream error.
21182 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21183 error flag.
21184
78e64fdc
RT
211852011-05-20 Ulrich Drepper <drepper@gmail.com>
21186
34a9094f
UD
21187 [BZ #11869]
21188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21189 alloca.
21190 * include/alloca.h (extend_alloca_account): Define.
21191
78e64fdc
RT
21192 [BZ #11857]
21193 * posix/regex.h: Fix comments with documentation of user-accessible
21194 fields after compilation and describe correct free'ing of pattern
21195 after re_compile_pattern.
21196 Patch by Reuben Thomas <rrt@sc3d.org>.
21197
457bddfc
RA
211982011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21199
21200 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21201 and -mno-altivec to prevent the compiler from using Altivec and/or
21202 VSX instructions when the corresponding registers are not available.
21203
a4527b51
AS
212042011-05-19 Andreas Schwab <schwab@redhat.com>
21205
21206 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21207
ed690b2f
UD
212082011-05-19 Ulrich Drepper <drepper@gmail.com>
21209
21210 * libio/freopen.c (freopen): Use __dup2, not dup2.
21211 * libio/freopen64.c (freopen64): Likewise.
21212
8db73634
L
212132011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21214
21215 [BZ #12775]
21216 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21217 * math/Makefile (tests): Add test-powl.
21218 (CFLAGS-test-powl.c): Define.
21219 * math/test-powl.c: New file.
21220
0a197a9d
L
212212011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21222
21223 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21224
ee30c380
UD
212252011-05-17 Ulrich Drepper <drepper@gmail.com>
21226
21227 [BZ #11837]
21228 * iconvdata/gb18030.c: Update to GB18020-2005.
21229
6ce75379
UD
212302011-05-16 Ulrich Drepper <drepper@gmail.com>
21231
a4b89fd8
AR
21232 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21233 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21234 Patch by Aharon Robbins <arnold@skeeve.com>.
21235
ea389b12
UD
21236 [BZ #11892]
21237 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21238 on the stack.
21239
68a3f91f
UD
21240 [BZ #11895]
21241 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21242 through underflows.
21243
15cc7dd1
UD
21244 [BZ #12766]
21245 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21246 point to strings before performing equality test for error_one_per_line
21247 mode.
21248
f3799213
UD
21249 [BZ #11697]
21250 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21251
d79a9c94
UD
21252 [BZ #11820]
21253 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21254 (struct user_fpregs_struct): Avoid __uint*_t types.
21255
56e5eb46
UD
21256 [BZ #6420]
21257 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21258 symbol info. Use it instead of calling _dl_addr locally.
21259 (lock_and_info): New function.
21260 (tr_freehook): Call lock_and_info and pass symbol info as additional
21261 parameter to tr_where.
21262 (tr_mallochook): Likewise.
21263 (tr_reallochook): Likewise.
21264 (tr_memalignhook): Likewise.
21265
6ce75379
UD
21266 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21267 used and couldn't be at all thread-safe.
21268
f8a3b5bf
UD
212692011-05-15 Ulrich Drepper <drepper@gmail.com>
21270
94b7cc37
UD
21271 * libio/freopen.c (freopen): Don't close old file descriptor
21272 before the new one is opened. Instead dup the new file descriptor
21273 to the old one after the new stream is created.
21274 * libio/freopen64.c (freopen64): Likewise.
21275 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21276 * libio/fileops.c (_IO_new_file_close_it): Handle new
21277 _IO_FLAGS2_NOCLOSE flag.
21278 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21279 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21280 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21281 _IO_FLAGS2_NOCLOSE flag.
21282 * include/unistd.h: Add hidden_proto for dup3.
21283 Define __have_dup3.
21284 * io/dup3.c: Define hidden symbol.
21285 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21286
bd25564e
UD
21287 [BZ #7101]
21288 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21289 when an incomplete long option is used.
21290 * posix/tst-getopt_long1.c: New file.
21291 * posix/Makefile (tests): Add tst-getopt_long1.
21292
c84cfef4
UD
21293 [BZ #10138]
21294 * scripts/config.guess: Update from autoconf-2.68.
21295 * scripts/config.sub: Likewise.
21296
3b85df27
UD
21297 [BZ #10157]
21298 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21299 tests into ...
21300 (has_cpuclock): ...this. New function.
21301 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21302 macro here based on has_cpuclock code.
21303
15a856b1
UD
21304 [BZ #10149]
21305 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21306 First byte (not low byte) is now always NUL.
21307 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21308
05f399e6
UD
21309 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21310 Use non-cancelable interfaces.
21311
10a52685 21312 [BZ #9809]
94ecc67d
UD
21313 * locale/iso-639.def: Add entry for Sorani.
21314
f8a3b5bf
UD
21315 [BZ #11901]
21316 * include/stdlib.h: Move include protection to the right place.
21317 Define abort_msg_s. Declare __abort_msg with it.
21318 * stdlib/abort.c (__abort_msg): Adjust type.
21319 * assert/assert.c (__assert_fail_base): New function. Majority
21320 of code from __assert_fail. Allocate memory for __abort_msg with
21321 mmap.
21322 (__assert_fail): Now call __assert_fail_base.
21323 * assert/assert-perr.c: Remove bulk of implementation. Use
21324 __assert_fail_base.
21325 * include/assert.hL Declare __assert_fail_base.
21326 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21327 mmap.
21328 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21329
1af4e298
UD
213302011-05-14 Ulrich Drepper <drepper@gmail.com>
21331
f8a3b5bf 21332 [BZ #11952]
d26dfc60
MG
21333 [BZ #12453]
21334 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21335 until all modules are registered in the DTV.
21336 * elf/Makefile: Add rules to build and run tst-tls19.
21337 * elf/tst-tls19.c: New file.
21338 * elf/tst-tls19mod1.c: New file.
21339 * elf/tst-tls19mod2.c: New file.
21340 * elf/tst-tls19mod3.c: New file.
21341 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21342
2fc54d6f
UD
21343 [BZ #12083]
21344 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21345 correctly.
21346
98d76b46
UD
21347 [BZ #12601]
21348 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21349 two-byte sequence errors.
21350 * iconvdata/Makefile (tests): Add bug-iconv8.
21351 * iconvdata/bug-iconv8.c: New file.
21352
da3c19ef
UD
21353 [BZ #12626]
21354 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21355 buf2 definition.
21356
ca408c15
UD
21357 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21358
d6f67f7d
UD
21359 [BZ #12432]
21360 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21361 (dummy_getcfa): New function.
21362 (init): Get _Unwind_GetCFA address, use dummy if not found.
21363 (backtrace_helper): In recursion check, also check whether CFA changes.
21364 (__backtrace): Completely initialize arg.
21365
1af4e298 21366 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
21367 storing incomplete byte sequence in state object. Avoid testing for
21368 guaranteed too small input if we know there is enough data available.
1af4e298 21369
da62f81b
AS
213702011-05-11 Andreas Schwab <schwab@redhat.com>
21371
21372 * Makeconfig (+link-pie): Indent.
21373 * Rules (binaries-pie): Define if $(have-fpie) and
21374 $(build-shared).
21375 (binaries-shared): Also filter out $(binaries-pie).
21376 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21377 * nscd/Makefile (others-pie): Add nscd.
21378 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21379 ($(objpfx)nscd): Remove command override.
21380 * login/Makefile (others-pie): Add pt_chown.
21381 ($(objpfx)pt_chown): Remove command override.
21382 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21383 remove command overrides.
21384
fcabc0f8
UD
213852011-05-13 Ulrich Drepper <drepper@gmail.com>
21386
20030ae6
UD
21387 * libio/tst_putwc.c: Fix error messages.
21388
fcabc0f8
UD
21389 [BZ #12724]
21390 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21391 currently writing and seek to current position when not.
21392 * libio/Makefile (tests): Add bug-fclose1.
21393 * libio/bug-fclose1.c: New file.
21394
320a5dc0
PB
213952011-05-12 Ulrich Drepper <drepper@gmail.com>
21396
21397 [BZ #12511]
21398 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21399 don't set DF_1_NODELETE here.
21400 (do_lookup_x): When entering new entry test for copy relocation
21401 and if necessary set DF_1_NODELETE flag.
21402 * elf/tst-unique4.cc: New file.
21403 * elf/tst-unique4.h: New file.
21404 * elf/tst-unique4lib.cc: New file.
21405 * elf/Makefile: Add rules to build and run tst-unique4.
21406 Patch by Piotr Bury <pbury@goahead.com>.
21407
22836f52
UD
214082011-05-11 Ulrich Drepper <drepper@gmail.com>
21409
f574184a
UD
21410 [BZ #12052]
21411 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21412
e1fb097f
UD
21413 [BZ #12625]
21414 * misc/mntent_r.c (addmntent): Flush the stream after the output
21415
22836f52
UD
21416 [BZ #12393]
21417 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21418 (is_trusted_path_normalize): Skip initial colon. Append slash
21419 to empty buffer. Duplicate is_trusted_path code but allow
21420 constructed patch to be prefix.
21421 (is_dst): Allow $ORIGIN followed by /.
21422 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21423 Correct testing of result of is_trusted_path_normalize
21424 (decompose_rpath): Fix warning.
21425
7b3b0b2a
UD
214262011-05-10 Ulrich Drepper <drepper@gmail.com>
21427
21428 [BZ #11257]
21429 * grp/initgroups.c (internal_getgrouplist): When we found the service
21430 list through the initgroups entry in nsswitch.conf do not always
21431 continue on a successful lookup. Don't always use the
eac80ce2 21432 __nss_group_database value if it is set.
7b3b0b2a
UD
21433 * nss/nsswitch.conf (initgroups): Change action for successful db
21434 lookup to continue for compatibility.
21435
2a81eaa5
UD
214362011-05-09 Ulrich Drepper <drepper@gmail.com>
21437
be97a69e
UD
21438 [BZ #11532]
21439 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21440 and CP774 modules.
21441 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21442 and CP774 modules.
21443 * iconvdata/tst-tables.sh: Likewise.
21444 * iconvdata/cp770.c: New file.
21445 * iconvdata/cp771.c: New file.
21446 * iconvdata/cp772.c: New file.
21447 * iconvdata/cp773.c: New file.
21448 * iconvdata/cp774.c: New file.
21449 * iconvdata/testdata/CP770: New file.
21450 * iconvdata/testdata/CP770..UTF8: New file.
21451 * iconvdata/testdata/CP771: New file.
21452 * iconvdata/testdata/CP771..UTF8: New file.
21453 * iconvdata/testdata/CP772: New file.
21454 * iconvdata/testdata/CP772..UTF8: New file.
21455 * iconvdata/testdata/CP773: New file.
21456 * iconvdata/testdata/CP773..UTF8: New file.
21457 * iconvdata/testdata/CP774: New file.
21458 * iconvdata/testdata/CP774..UTF8: New file.
21459
21460 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21461 END CHARMAP line.
21462 * iconvdata/gen-8bit-gap.sh: Likewise.
21463 * iconvdata/gen-8bit.sh: Likewise.
21464
c1e9e399
UD
21465 * locale/iso-639.def: Add ary entry.
21466
24c55fb3 21467 [BZ #11258]
96b4b1b0
UD
21468 * locale/C-translit.h.in: Add U20A1 transliteration.
21469
bdc2f971
KB
21470 [BZ #12178]
21471 * locale/iso-639.def: Add wae entry.
21472 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21473
2952b117
UD
21474 [BZ #12545]
21475 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21476 for n.
21477
2a81eaa5
UD
21478 [BZ #12711]
21479 * locale/C-translit.h.in: Add entry for U20B9.
21480 Patch by pravin.d.s@gmail.com.
21481
28377d1b
UD
214822011-05-08 Ulrich Drepper <drepper@gmail.com>
21483
7fb90fb8
UD
21484 [BZ #12713]
21485 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21486 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
21487 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21488 in rtld. Use *stat64.
7fb90fb8 21489 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 21490 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 21491 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
21492 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21493 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21494 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21495 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21496 __fstatat64 macros.
7fb90fb8
UD
21497 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21498 * dirent/rewinddir.c: Add libc_hidden_def.
21499 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 21500 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 21501
28377d1b
UD
21502 * include/dirent.h (__alloc_dir): Add flags parameter.
21503 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21504 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21505 __alloc_dir.
21506 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21507 from fdopendir if O_CLOEXEC is already set.
21508
66bdbaa4
AM
215092011-03-15 Alan Modra <amodra@gmail.com>
21510
21511 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21512 l_tls_firstbyte_offset non-zero. Save padding offset in
21513 l_tls_firstbyte_offset for later use.
21514 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21515 freeing static tls block.
21516
95721191
JN
215172011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21518
21519 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21520 where #ifdef was intended. The intent is to prevent ARG_MAX from
21521 being defined by the kernel headers.
21522
f87dfb1f
UD
215232011-05-07 Ulrich Drepper <drepper@gmail.com>
21524
21525 [BZ #12734]
21526 * resolv/resolv.h: Define RES_NOTLDQUERY.
21527 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21528 no-tld-query and set RES_NOTLDQUERY.
21529 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21530 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21531 modern BIND to search name as TLD unless forbidden.
21532
47c3cd7a
UD
215332011-05-07 Petr Baudis <pasky@suse.cz>
21534 Ulrich Drepper <drepper@gmail.com>
21535
21536 [BZ #12393]
21537 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21538 (is_trusted_path): ...to here.
c1e9ea35 21539 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 21540 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 21541 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 21542
8a35c912
PP
215432011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21544
21545 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21546 __BEGIN/__END_DECLS.
21547
acd41f47
UD
215482011-05-06 Ulrich Drepper <drepper@gmail.com>
21549
21550 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21551 NSS_STATUS_NOTFOUND if no record was found.
21552
597df647
AS
215532011-05-05 Andreas Schwab <schwab@redhat.com>
21554
21555 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21556 (headers-not-in-tirpc): Remove rpc/netdb.h
21557 * resolv/netdb.h: Revert last change.
21558
b9af1301
PP
215592011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21560
21561 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21562 circular dependency between libgcc.a and libc.a.
21563
4e34d5f5
AS
215642011-05-05 Andreas Schwab <schwab@redhat.com>
21565
21566 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21567 * nis/Makefile: Don't install rpcsvc/*.
21568 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21569 instead of <rpc/types.h>.
21570 (MAXHOSTNAMELEN): Define.
21571
00ee369c
AS
215722011-05-03 Andreas Schwab <schwab@redhat.com>
21573
21574 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21575
0b592a30
MB
215762011-04-28 Maciej Babinski <mbabinski@google.com>
21577
21578 [BZ #12714]
21579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21580 gethostbyname4_r when IPv6 results are possible.
21581
6e04cbbe
UD
215822011-05-02 Ulrich Drepper <drepper@gmail.com>
21583
21584 [BZ #12723]
21585 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21586 _PC_PIPE_BUF handling.
21587
e4ecafe0
BH
215882011-04-30 Bruno Haible <bruno@clisp.org>
21589
21590 [BZ #12717]
21591 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21592 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21593 to 'int'.
21594 * inet/getnameinfo.c (getnameinfo): Likewise.
21595
125ee683
UD
215962011-04-29 Ulrich Drepper <drepper@gmail.com>
21597
21598 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21599 to groups setting in database lookup.
21600 * nss/nsswitch.conf: Add initgroups entry.
21601
b722481a
EB
216022011-04-22 Ulrich Drepper <drepper@gmail.com>
21603
21604 [BZ #12685]
21605 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21606 mode string.
21607 Patch by Eric Blake <eblake@redhat.com>.
21608
4df46dbd
L
216092011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21610
21611 * sunrpc/Makefile (need-export-routines): Add svc_run.
21612 (routines): Remove svc_run.
21613 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21614 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21615 * sunrpc/svc_run.c (svc_run): Likewise.
21616 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21617
e84142d2
UD
216182011-04-21 Ulrich Drepper <drepper@gmail.com>
21619
21620 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21621 problem in reallocation in last patch.
21622
877175d8
UD
216232011-04-20 Ulrich Drepper <drepper@gmail.com>
21624
21625 * sunrpc/Makefile: Move inclusion of Rules.
21626
ab8eed78
UD
216272011-04-19 Ulrich Drepper <drepper@gmail.com>
21628
21629 * nss/nss_files/files-initgroups.c: New file.
21630 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21631 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21632 _nss_files_initgroups_dyn.
21633
e3d8f584
RS
216342011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21635
21636 * elf/elf.h (R_ARM_IRELATIVE): Define.
21637
af190f45
UD
216382011-04-19 Ulrich Drepper <drepper@gmail.com>
21639
21640 * po/ru.po: Update from translation team.
21641
53cf59ef
UD
216422011-04-17 Ulrich Drepper <drepper@gmail.com>
21643
21644 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21645 dependencies.
21646
4c559bcd
MF
216472011-02-06 Mike Frysinger <vapier@gentoo.org>
21648
21649 [BZ #12653]
21650 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21651 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21652 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21653 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21654 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21655
4420675c
AS
216562011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21657
21658 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21659 differing bytes.
21660 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21661 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21662 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21663
75ea32ab
UD
216642011-04-17 Ulrich Drepper <drepper@gmail.com>
21665
21666 [BZ #12420]
21667 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21668 storing it.
21669 * stdlib/bug-getcontext.c: New file.
21670 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21671
27390476
AK
216722011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21673
21674 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21675 instructions into .machine "z9-109".
21676 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21677 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21678
10442705
AK
216792011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21680
21681 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21682 between environment variables and auxiliary vector.
21683
7b57bfe5
UD
216842011-04-16 Ulrich Drepper <drepper@gmail.com>
21685
21686 * Makefile: Add rules to build linkobj/libc.so.
21687 * include/libc-symbols.h: Define libc_hidden_nolink.
21688 * include/rpc/auth.h: Mark functions which are to be hidden.
21689 * include/rpc/auth_des.h: Likewise.
21690 * include/rpc/auth_unix.h: Likewise.
21691 * include/rpc/clnt.h: Likewise.
21692 * include/rpc/des_crypt.h: Likewise.
21693 * include/rpc/key_prot.h: Likewise.
21694 * include/rpc/pmap_clnt.h: Likewise.
21695 * include/rpc/pmap_prot.h: Likewise.
21696 * include/rpc/pmap_rmt.h: Likewise.
21697 * include/rpc/rpc_msg.h: Likewise.
21698 * include/rpc/svc.h: Likewise.
21699 * include/rpc/svc_auth.h: Likewise.
21700 * include/rpc/xdr.h: Likewise.
21701 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21702 * nss/Makefile: Likewise.
21703 * sunrpc/Makefile: Don't install headers. Build library with normal
21704 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21705 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21706 for the compat linking library. Remove use of INTDEF/INTUSE.
21707 * sunrpc/auth_none.c: Likewise.
21708 * sunrpc/auth_unix.c: Likewise.
21709 * sunrpc/authdes_prot.c: Likewise.
21710 * sunrpc/authuxprot.c: Likewise.
21711 * sunrpc/clnt_gen.c: Likewise.
21712 * sunrpc/clnt_perr.c: Likewise.
21713 * sunrpc/clnt_raw.c: Likewise.
21714 * sunrpc/clnt_simp.c: Likewise.
21715 * sunrpc/clnt_tcp.c: Likewise.
21716 * sunrpc/clnt_udp.c: Likewise.
21717 * sunrpc/clnt_unix.c: Likewise.
21718 * sunrpc/des_crypt.c: Likewise.
21719 * sunrpc/des_soft.c: Likewise.
21720 * sunrpc/get_myaddr.c: Likewise.
21721 * sunrpc/key_call.c: Likewise.
21722 * sunrpc/key_prot.c: Likewise.
21723 * sunrpc/netname.c: Likewise.
21724 * sunrpc/pm_getmaps.c: Likewise.
21725 * sunrpc/pm_getport.c: Likewise.
21726 * sunrpc/pmap_clnt.c: Likewise.
21727 * sunrpc/pmap_prot.c: Likewise.
21728 * sunrpc/pmap_prot2.c: Likewise.
21729 * sunrpc/pmap_rmt.c: Likewise.
21730 * sunrpc/publickey.c: Likewise.
21731 * sunrpc/rpc_cmsg.c: Likewise.
21732 * sunrpc/rpc_common.c: Likewise.
21733 * sunrpc/rpc_dtable.c: Likewise.
21734 * sunrpc/rpc_prot.c: Likewise.
21735 * sunrpc/rpc_thread.c: Likewise.
21736 * sunrpc/rtime.c: Likewise.
21737 * sunrpc/svc.c: Likewise.
21738 * sunrpc/svc_auth.c: Likewise.
21739 * sunrpc/svc_authux.c: Likewise.
21740 * sunrpc/svc_raw.c: Likewise.
21741 * sunrpc/svc_run.c: Likewise.
21742 * sunrpc/svc_simple.c: Likewise.
21743 * sunrpc/svc_tcp.c: Likewise.
21744 * sunrpc/svc_udp.c: Likewise.
21745 * sunrpc/svc_unix.c: Likewise.
21746 * sunrpc/svcauth_des.c: Likewise.
21747 * sunrpc/xcrypt.c: Likewise.
21748 * sunrpc/xdr.c: Likewise.
21749 * sunrpc/xdr_array.c: Likewise.
21750 * sunrpc/xdr_float.c: Likewise.
21751 * sunrpc/xdr_intXX_t.c: Likewise.
21752 * sunrpc/xdr_mem.c: Likewise.
21753 * sunrpc/xdr_rec.c: Likewise.
21754 * sunrpc/xdr_ref.c: Likewise.
21755 * sunrpc/xdr_sizeof.c: Likewise.
21756 * sunrpc/xdr_stdio.c: Likewise.
21757
e6c61494
UD
217582011-04-10 Ulrich Drepper <drepper@gmail.com>
21759
21760 [BZ #12650]
21761 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21762 * sysdeps/ia64/dl-tls.h: Likewise.
21763 * sysdeps/powerpc/dl-tls.h: Likewise.
21764 * sysdeps/s390/dl-tls.h: Likewise.
21765 * sysdeps/sh/dl-tls.h: Likewise.
21766 * sysdeps/sparc/dl-tls.h: Likewise.
21767 * sysdeps/x86_64/dl-tls.h: Likewise.
21768 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21769
34fe483e
AS
217702011-03-14 Andreas Schwab <schwab@redhat.com>
21771
21772 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21773 rpath element also skip the following colon.
21774 (expand_dynamic_string_token): Add is_path parameter and pass
21775 down to DL_DST_REQUIRED and _dl_dst_substitute.
21776 (decompose_rpath): Call expand_dynamic_string_token with
21777 non-zero is_path. Ignore empty rpaths.
21778 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21779 with zero is_path.
21780
f12a32e6
AS
217812011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21782
21783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21784 Make cancelable.
21785
38a7d692
UD
217862011-04-09 Ulrich Drepper <drepper@gmail.com>
21787
21788 [BZ #12655]
21789 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21790 Patch by Filipe David Manana <fdmanana@apache.org>.
21791
e451d22b
AS
217922011-04-07 Andreas Schwab <schwab@redhat.com>
21793
21794 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21795 Maintain aligned stack.
21796 (CHECK_RSP): Remove unused macro.
21797
dedc7c7b
UD
217982011-04-03 Ulrich Drepper <drepper@gmail.com>
21799
21800 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21801 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21802
94521213
UD
218032011-04-02 Ulrich Drepper <drepper@gmail.com>
21804
21805 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21806
8cb700c0 21807 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21808
0354e355
L
218092011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21810
21811 [BZ #12518]
21812 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21813 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21814 * sysdeps/x86_64/memmove.c: New file.
21815 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21816 (memcpy): Renamed to ...
21817 (__new_memcpy): This.
21818 (memcpy): Provide GLIBC_2_14 memcpy.
21819 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21820 (memcpy): Provide GLIBC_2_2_5 memcpy.
21821
8593482f
UD
218222011-04-01 Ulrich Drepper <drepper@gmail.com>
21823
21824 [BZ #12631]
21825 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21826
81a5726b
AS
218272011-03-30 Andreas Schwab <schwab@redhat.com>
21828
21829 * misc/syncfs.c: New file.
21830 * misc/Makefile (routines): Add syncfs.
21831 * posix/unistd.h: Declare syncfs.
21832 * sysdeps/unix/syscalls.list: Add syncfs.
21833
00e5419f
AS
218342011-04-01 Andreas Schwab <schwab@redhat.com>
21835
21836 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21837 open_by_handle_at.
21838 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21839 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21840 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21841 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21842 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21843 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21844 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21845
748876bf
UD
218462011-04-01 Ulrich Drepper <drepper@gmail.com>
21847
658e451d
UD
21848 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21849 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21850 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21851 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21852 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21853 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21854 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21855
748876bf
UD
21856 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21857 sync_file_range.c with -fexceptions.
21858 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21859 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21860 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21861 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21862 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21863 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21864 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21865 sync_file_range as cancellation point
21866 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21867 now a wrapper around __call_sync_file_range with cancellation handling.
21868 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21869 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21870 function name to __call_sync_file_range.
21871 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21872 Add call_sync_file_range.
748876bf 21873
6e63d5e1
AS
218742011-04-01 Andreas Schwab <schwab@redhat.com>
21875
21876 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21877 bits/timex.h.
6e63d5e1 21878
46998f74
UD
218792011-04-01 Ulrich Drepper <drepper@gmail.com>
21880
4c1423ed
UD
21881 * iconv/iconv.h: Fix typo in comment.
21882 * io/fcntl.h: Likewise.
21883 * libio/stdio.h: Likewise.
21884 * posix/spawn.h: Likewise.
21885 * posix/unistd.h: Likewise.
21886 * stdlib/stdlib.h: Likewise.
21887 * time/time.h: Likewise.
21888 * wcsmbs/wchar.h: Likewise.
21889
158648c0
UD
21890 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21891 open_by_handle): Add.
21892 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21893 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21894 Augment a few comments.
21895 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21896 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21897 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21898 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21899 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21900 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21901 open_by_handle.
21902
46998f74
UD
21903 * io/fcntl.h (AT_EMPTY_PATH): Define.
21904
83fe108b
UD
219052011-03-30 Ulrich Drepper <drepper@gmail.com>
21906
21907 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21908 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21909 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21910 to...
21911 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21912 * Versions.def: Add GLIBC_2.14.
21913 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21914 Export.
83fe108b 21915
bb242059
UD
219162011-03-22 Ulrich Drepper <drepper@gmail.com>
21917
21918 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21919 round counter.
21920 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21921
c97a1282
L
219222011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21923
21924 [BZ #12597]
21925 * string/test-strncmp.c (do_page_test): New function.
21926 (check2): Likewise.
21927 (test_main): Call check2.
21928 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21929
2a115601
UD
219302011-03-20 Ulrich Drepper <drepper@gmail.com>
21931
21932 [BZ #12587]
21933 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21934 Handle cache information in CPU leaf 4.
21935 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21936
8126d904
UD
219372011-03-18 Ulrich Drepper <drepper@gmail.com>
21938
042c49c6 21939 [BZ #12583]
8126d904
UD
21940 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21941 character representation.
21942 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21943
ccfe366e
RA
219442011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21945
21946 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21947 END(__isnan) to END(__isnanf) to match function entry point/label
21948 EALIGN(__isnanf,...).
21949
c6e13027
JJ
219502011-03-10 Jakub Jelinek <jakub@redhat.com>
21951
21952 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21953
33f85a3f
UD
219542011-03-10 Ulrich Drepper <drepper@gmail.com>
21955
028478fa
UD
21956 [BZ #12510]
21957 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21958 copy from the symbol referenced in the relocation to initialize the
21959 used variable.
21960 Patch by Piotr Bury <pbury@goahead.com>.
21961 * elf/Makefile: Add rules to build and tst-unique3.
21962 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21963 * elf/tst-unique3.cc: New file.
21964 * elf/tst-unique3.h: New file.
21965 * elf/tst-unique3lib.cc: New file.
21966 * elf/tst-unique3lib2.cc: New file.
21967
33f85a3f
UD
21968 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21969
03592fc7
MF
219702011-03-10 Mike Frysinger <vapier@gentoo.org>
21971
21972 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21973 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21974 to _start.
03592fc7 21975
6a5ee102
UD
219762011-03-06 Ulrich Drepper <drepper@gmail.com>
21977
21978 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21979 to-be-loaded object along a path to loader is ld.so.
21980
7e4ba49c
HJ
219812011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21982 Ulrich Drepper <drepper@gmail.com>
21983
21984 * sysdeps/x86_64/memset.S: After aligning destination, code
21985 branches to different locations depending on the value of
21986 misalignment, when multiarch is enabled. Fix this.
21987
219882011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21989
21990 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21991 Set _x86_64_preferred_memory_instruction for AMD processsors.
21992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21993 Set bit_Prefer_SSE_for_memop for AMD processors.
21994
13a804de
UD
219952011-03-04 Ulrich Drepper <drepper@gmail.com>
21996
21997 * libio/fmemopen.c (fmemopen): Optimize a bit.
21998
9d25c392
AS
219992011-03-03 Andreas Schwab <schwab@redhat.com>
22000
22001 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22002
a5543c6a
RM
220032011-03-03 Roland McGrath <roland@redhat.com>
22004
22005 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22006
012d35f7
DM
220072011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22008
7e4ba49c 22009 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
22010 __bzero_ultra1 instead of __memset_ultra1.
22011
4bff6e01
AS
220122011-02-23 Andreas Schwab <schwab@redhat.com>
22013 Ulrich Drepper <drepper@gmail.com>
22014
22015 [BZ #12509]
22016 * include/link.h (struct link_map): Add l_orig_initfini.
22017 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22018 returning unsuccessfully.
22019 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22020 close of a file loaded at startup, restore the original l_initfini
22021 list.
22022 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22023 list, store the pointer.
22024 * elf/Makefile ($(objpfx)noload-mem): New rule.
22025 (noload-ENV): Define.
22026 (tests): Add $(objpfx)noload-mem.
22027 * elf/noload.c: Include <memcheck.h>.
22028 (main): Call mtrace. Close all opened handles.
22029
f2092faf
AS
220302011-02-17 Andreas Schwab <schwab@redhat.com>
22031
22032 [BZ #12454]
22033 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22034 dependencies are missing.
22035
6c8a2e88
ST
220362011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22037
f2092faf 22038 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
22039 Hurd needs munmap.
22040 * sysdeps/mach/hurd/ifreq.h: New file.
22041
84a42118
PB
220422011-01-27 Petr Baudis <pasky@suse.cz>
22043 Ulrich Drepper <drepper@gmail.com>
22044
071f805e 22045 [BZ 12445]#
84a42118
PB
22046 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22047 to extend_alloca().
22048 * stdio-common/bug23.c: New file.
22049 * stdio-common/Makefile (tests): Add bug23.
22050
e23fe25b
AS
220512010-09-28 Andreas Schwab <schwab@redhat.com>
22052 Ulrich Drepper <drepper@gmail.com>
22053
22054 [BZ #12489]
22055 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22056 before performing relro protection. At old place add assertion
22057 to make sure nothing changed.
22058
d3f02e10
NS
220592011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22060 Glauber de Oliveira Costa <glommer@gmail.com>
22061
22062 * elf/elf.h: Add new ARM TLS relocs.
22063
d55fd7a5
RA
220642011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22065
22066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22067 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22068 cast from r3.
22069 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22070 'tests' variable.
22071 * sysdeps/wordsize-64/tst-writev.c: New file.
22072
2206397e
RA
220732011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22074
22075 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22076 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22077 insns in _dl_start to prevent a TOC reference before relocs are
22078 resolved.
22079
e9433893
UD
220802011-02-15 Ulrich Drepper <drepper@gmail.com>
22081
22082 [BZ #12469]
22083 * Makeconfig: Remove RANLIB definition.
22084 * Makerules: Don't use RANLIB.
22085 * aclocal.m4: Remove ranlib test.
22086 * configure.in: No need to check for ranlib.
22087 * elf/rtld-Rules: Don't use RANLIB.
22088
f75286c6
ST
220892011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22090
8e31c82d
ST
22091 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22092 protection macro.
22093 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22094 inclusion protection macro.
22095
f75286c6
ST
22096 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22097 SIGRTMIN and SIGRTMAX and print information in that case only when
22098 SIGRTMIN is defined.
22099
c1d0e639
JJ
221002011-02-11 Jakub Jelinek <jakub@redhat.com>
22101
22102 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22103 arginfo fn returning -1.
22104
22105 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22106 and thousands string is zero terminated.
22107
edf9294e
AS
221082011-02-03 Andreas Schwab <schwab@redhat.com>
22109
22110 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22111 sysdeps/unix/sysv/linux/bits/socket.h.
22112
2b7e92df
ST
221132011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22114
edf9294e
AS
22115 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22116 (__CPU_COUNT): Remove old macros.
22117 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22118 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22119 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
22120 (__sched_cpualloc, __sched_cpufree): Add declarations.
22121
a4c7ea7b
UD
221222011-02-05 Ulrich Drepper <drepper@gmail.com>
22123
22124 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22125 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22126 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22127 (readdhstai): Return value of addhstaiX call.
22128 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22129 (addgrbyX): Return value returned by cache_addgr.
22130 (readdgrbyname): Return value returned by addgrbyX.
22131 (readdgrbygid): Likewise.
22132 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22133 (addpwbyX): Return value returned by cache_addpw.
22134 (readdpwbyname): Return value returned by addhstbyX.
22135 (readdpwbyuid): Likewise.
22136 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22137 (addservbyX): Return value returned by cache_addserv.
22138 (readdservbyname): Return value returned by addservbyX:
22139 (readdservbyport): Likewise.
22140 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22141 (addhstbyX): Return value returned by cache_addhst.
22142 (readdhstbyname): Return value returned by addhstbyX.
22143 (readdhstbyaddr): Likewise.
22144 (readdhstbynamev6): Likewise.
22145 (readdhstbyaddrv6): Likewise.
22146 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22147 (readdinitgroups): Return value returned by addinitgroupsX.
22148 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22149 (prune_cache): Keep track of timeout value of re-added entries.
22150 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22151 * nscd/nscd.h: Adjust prototypes of readd* functions.
22152
a0bf67cc
RM
221532011-02-04 Roland McGrath <roland@redhat.com>
22154
22155 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22156 (nis_stats): Likewise.
22157 * nis/nis_modify.c (nis_modify): Likewise.
22158 * nis/nis_remove.c (nis_remove): Likewise.
22159 * nis/nis_add.c (nis_add): Likewise.
22160
22161 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22162
22163 * posix/fnmatch_loop.c: Add some consts.
22164
22165 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22166
435b95eb
L
221672011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22168
22169 [BZ #12460]
22170 * config.make.in (config-cflags-novzeroupper): Define.
22171 * configure.in: Substitute libc_cv_cc_novzeroupper.
22172 * elf/Makefile (AVX-CFLAGS): Define.
22173 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22174 (CFLAGS-tst-auditmod4a.c): Likewise.
22175 (CFLAGS-tst-auditmod4b.c): Likewise.
22176 (CFLAGS-tst-auditmod6b.c): Likewise.
22177 (CFLAGS-tst-auditmod6c.c): Likewise.
22178 (CFLAGS-tst-auditmod7b.c): Likewise.
22179 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22180
8517b15e
UD
221812011-02-02 Ulrich Drepper <drepper@gmail.com>
22182
22183 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22184 function to the callback.
22185 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22186
10a656fe
AS
221872011-02-02 Andreas Schwab <schwab@redhat.com>
22188
22189 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22190 of errno.
22191
968dad0a
UD
221922011-01-19 Ulrich Drepper <drepper@gmail.com>
22193
9f94d2ea 22194 [BZ #11724]
968dad0a
UD
22195 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22196 of constructors.
22197 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22198 of destructors.
22199 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22200
22201 [BZ #11724]
22202 * elf/Makefile: Add rules to build and run new test.
22203 * elf/tst-initorder.c: New file.
22204 * elf/tst-initorder.exp: New file.
22205 * elf/tst-initordera1.c: New file.
22206 * elf/tst-initordera2.c: New file.
22207 * elf/tst-initordera3.c: New file.
22208 * elf/tst-initordera4.c: New file.
22209 * elf/tst-initorderb1.c: New file.
22210 * elf/tst-initorderb2.c: New file.
22211 * elf/tst-order-a1.c: New file.
22212 * elf/tst-order-a2.c: New file.
22213 * elf/tst-order-a3.c: New file.
22214 * elf/tst-order-a4.c: New file.
22215 * elf/tst-order-b1.c: New file.
22216 * elf/tst-order-b2.c: New file.
22217 * elf/tst-order-main.c: New file.
22218 New test case by George Gensure <werkt0@gmail.com>.
22219
86e92359
UD
222202010-10-01 Andreas Schwab <schwab@redhat.com>
22221
22222 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22223 decoding ACE if AI_CANONIDN.
22224
5d5732b0
UD
222252011-01-18 Ulrich Drepper <drepper@gmail.com>
22226
22227 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22228
a77e8cbc
UD
222292011-01-17 Ulrich Drepper <drepper@gmail.com>
22230
6392473f
UD
22231 * version.h (RELEASE): Bump for 2.13 release.
22232 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22233
620a0529
UD
22234 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22235
18ba70a5
UD
22236 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22237 MADV_NOHUGEPAGE.
32465c3e
UD
22238 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22239 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22240 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22241 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22242 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22243 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22244
c0dafcf1
UD
22245 * posix/getconf.c: Update copyright year.
22246 * catgets/gencat.c: Likewise.
22247 * csu/version.c: Likewise.
22248 * debug/catchsegv.sh: Likewise.
22249 * debug/xtrace.sh: Likewise.
22250 * elf/ldconfig.c: Likewise.
22251 * elf/ldd.bash.in: Likewise.
22252 * elf/sprof.c (print_version): Likewise.
22253 * iconv/iconv_prog.c: Likewise.
22254 * iconv/iconvconfig.c: Likewise.
22255 * locale/programs/locale.c: Likewise.
22256 * locale/programs/localedef.c: Likewise.
22257 * malloc/memusage.sh: Likewise.
22258 * malloc/mtrace.pl: Likewise.
22259 * nscd/nscd.c (print_version): Likewise.
22260 * nss/getent.c: Likewise.
22261
a77e8cbc
UD
22262 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22263 PF_CAIF, and PF_ALG.
22264 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22265
77e8bddf
AS
222662011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22267
1f20b93a
AS
22268 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22269 (modules-names): Use them.
22270 (ifunc-test-modules, ifunc-pie-tests): Define.
22271 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22272 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22273 (test-extras): Likewise.
22274 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22275 $(compile-command.c).
22276 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22277 (all-built-dso): Define.
22278 (check-textrel.out, check-execstack.out): Depend on it.
22279
77e8bddf
AS
22280 * configure.in: Don't override --enable-multi-arch.
22281
bc425b33
UD
222822011-01-15 Ulrich Drepper <drepper@gmail.com>
22283
22284 [BZ #6812]
22285 * nscd/hstcache.c (tryagain): Define.
22286 (cache_addhst): Return tryagain not notfound for temporary errors.
22287 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22288 failed.
22289
794c3ad3
UD
222902011-01-14 Ulrich Drepper <drepper@gmail.com>
22291
70181fdd
UD
22292 [BZ #10563]
22293 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22294 to make the syscall.
22295 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22296
794c3ad3
UD
22297 [BZ #12378]
22298 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22299 and fall back to matching as normal character if the string ends before
22300 the matching ']' is found. This is what POSIX requires.
22301 * posix/testfnm.c: Adjust test result.
22302 * posix/globtest.sh: Adjust test result. Add new test.
22303 * posix/tst-fnmatch.input: Likewise.
22304 * posix/tst-fnmatch2.c: Add new test.
22305
68dc9497
AS
223062010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22307
22308 * elf/Makefile (check-execstack): Revert last change. Depend on
22309 check-execstack.h.
22310 (check-execstack.h): New target.
22311 (generated): Add check-execstack.h.
22312 * elf/check-execstack.c: Include "check-execstack.h".
22313 (main): Revert last change.
22314 (handle_file): Return zero if GNU_STACK is absent and
22315 DEFAULT_STACK_PERMS doesn't include PF_X.
22316
451f001b
UD
223172011-01-13 Ulrich Drepper <drepper@gmail.com>
22318
cfa28e56
UD
22319 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22320 in child fails because the descriptor is already closed.
8cf8ce17
UD
22321 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22322 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22323 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 22324
1086d70d
UD
22325 [BZ #12397]
22326 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22327 syscall.
22328
451f001b
UD
22329 [BZ #10484]
22330 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22331 temporary buffer used to handle multi lookups locally.
a85b5cb4 22332 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 22333
08769175
UD
223342011-01-12 Ulrich Drepper <drepper@gmail.com>
22335
22336 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22337 loader is ld.so.
22338
5e49c52e
UD
223392011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22340
22341 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22342 alignment for SSE2.
22343
60522a5f
UD
223442011-01-12 Ulrich Drepper <drepper@gmail.com>
22345
22346 [BZ #12394]
22347 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22348 characters. When rounding increased number of integer digits recompute
22349 number of groups.
22350 * stdio-common/tst-grouping.c: New file.
22351 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22352
f257bbd7
UD
223532011-01-09 Ulrich Drepper <drepper@gmail.com>
22354
22355 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22356 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22357
22358 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22359 void.
22360 * bits/select.h: Likewise.
22361
fa9c15cb
UD
223622011-01-08 Ulrich Drepper <drepper@gmail.com>
22363
22364 * po/ja.po: Update from translation team.
22365
16c2895f
DM
223662011-01-04 David S. Miller <davem@sunset.davemloft.net>
22367
22368 [BZ #11155]
22369 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22370 implementation just like for lxstat, fxstatat, et al.
22371
2543fef2
JM
223722010-12-27 Jim Meyering <meyering@redhat.com>
22373
22374 [BZ #12348]
22375 * posix/regexec.c (build_trtable): Return failure indication upon
22376 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22377
98727dbe
UD
223782010-12-25 Ulrich Drepper <drepper@gmail.com>
22379
5bd6dc5c
UD
22380 [BZ #12201]
22381 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22382 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22383 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22384 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22385
97983464
UD
22386 [BZ #12207]
22387 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22388
98727dbe
UD
22389 [BZ #12204]
22390 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22391 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22392
4a531bb0
L
223932010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22394
22395 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22396 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22397 script has SORT_BY_INIT_PRIORITY.
22398 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22399 NO_CTORS_DTORS_SECTIONS is defined.
22400 * elf/soinit.c: Likewise.
22401 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22402 NO_CTORS_DTORS_SECTIONS is defined.
22403 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22404 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22405 * sysdeps/sh/init-first.c: Likewise.
22406 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22407
07eb4b71
UD
224082010-12-24 Ulrich Drepper <drepper@gmail.com>
22409
22410 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22411 always use the slow path.
22412
30950a5f
RA
224132010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22414
22415 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22416 similar rule which adds the sysdep directories to the header search in
22417 order to pick up the correct platform stackinfo.h.
22418 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22419 perform test if it is, otherwise return successfully without testing.
22420 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22421 DEFAULT_STACK_PERMS define in stackinfo.h.
22422 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22423 defined in stackinfo.h.
22424 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22425 DEFAULT_STACK_PERMS defined in stackinfo.h.
22426 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22427 * sysdeps/ia64/stackinfo.h: Likewise.
22428 * sysdeps/s390/stackinfo.h: Likewise.
22429 * sysdeps/sh/stackinfo.h: Likewise.
22430 * sysdeps/sparc/stackinfo.h: Likewise.
22431 * sysdeps/x86_64/stackinfo.h: Likewise.
22432 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22433 PF_X for powerpc64. Retain PF_X for powerpc32.
22434
db753e2c
UD
224352010-12-19 Ulrich Drepper <drepper@gmail.com>
22436
14b697f7
UD
22437 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22438 accurately.
db753e2c
UD
22439 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22440 GETDENTS_64BIT_ALIGNED.
22441
28300719
UD
224422010-12-14 Ulrich Drepper <dreper@gmail.com>
22443
14b697f7 22444 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 22445
4f197237
AS
224462010-12-10 Andreas Schwab <schwab@redhat.com>
22447
dbb0472f
AS
22448 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22449 _GNU_SOURCE.
22450
4f197237
AS
22451 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22452 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22453 Remove __restrict.
22454 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22455 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22456
fb88ac72
UD
224572010-12-09 Ulrich Drepper <drepper@gmail.com>
22458
22459 [BZ #11655]
22460 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22461 are initialized.
22462
42acbb92
JJ
224632010-12-09 Jakub Jelinek <jakub@redhat.com>
22464
22465 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22466
c038d98d
UD
224672010-12-03 Ulrich Drepper <drepper@gmail.com>
22468
22469 * po/it.po: Update from translation team.
22470
3a4a2499
L
224712010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22472
22473 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22474 unused codes.
22475
1e24cf6e
UD
224762010-11-30 Ulrich Drepper <drepper@gmail.com>
22477
22478 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22479
a7690819
AS
224802010-11-24 Andreas Schwab <schwab@redhat.com>
22481
22482 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22483 specially.
22484 (gaih_getanswer_slice): Likewise.
22485
3bf8d1b1
JJ
224862010-10-20 Jakub Jelinek <jakub@redhat.com>
22487
22488 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22489
6db52fbb
PB
224902010-05-31 Petr Baudis <pasky@suse.cz>
22491
22492 [BZ #11149]
22493 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22494 silently even in the chroot mode.
22495
eaca7569
UD
224962010-11-22 Ulrich Drepper <drepper@gmail.com>
22497
22498 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22499 last patch a bit. Pretty printing
22500
3056dcdb
UD
225012010-05-31 Petr Baudis <pasky@suse.cz>
22502
22503 [BZ #10085]
22504 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22505 initialization of skip_initgroups_dyn.
22506
cf7c9078
UD
225072010-11-19 Ulrich Drepper <drepper@gmail.com>
22508
22509 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22510 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22511
a1fb5e3e
UD
225122010-11-16 Ulrich Drepper <drepper@gmail.com>
22513
22514 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22515
3540d66b
AS
225162010-11-11 Andreas Schwab <schwab@redhat.com>
22517
22518 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22519 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22520 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22521 ($(objpfx)tst-fnmatch-mem): New rule.
22522 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22523 * posix/tst-fnmatch.c (main): Call mtrace.
22524
13b69574
L
225252010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22526
22527 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22528 Support Intel processor model 6 and model 0x2c.
22529
da93d214
LM
225302010-11-10 Luis Machado <luisgpm@br.ibm.com>
22531
22532 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22533 signed comparison.
22534
8ca52c6e
L
225352010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22536
22537 [BZ #12205]
22538 * string/test-strncasecmp.c (check_result): New function.
22539 (do_one_test): Use it.
22540 (check1): New function.
22541 (test_main): Use it.
22542 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22543 Support strcasecmp and strncasecmp.
22544
69da074d
UD
225452010-11-08 Ulrich Drepper <drepper@gmail.com>
22546
22547 [BZ #12194]
22548 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22549 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22550
ff02d528
L
225512010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22552
22553 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22554 IFUNC support.
22555 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22556 memset-x86-64.
22557 * sysdeps/x86_64/multiarch/bzero.S: New file.
22558 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22559 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22560 * sysdeps/x86_64/multiarch/memset.S: New file.
22561 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22563 Set bit_Prefer_SSE_for_memop for Intel processors.
22564 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22565 Define.
22566 (index_Prefer_SSE_for_memop): Define.
22567 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22568
344d0b54
LM
225692010-11-04 Luis Machado <luisgpm@br.ibm.com>
22570
22571 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22572 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22573
c0dde15b
UD
225742010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22575
22576 [BZ #12191]
22577 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22578 (__x86_64_raw_data_cache_size_half): Likewise.
22579 (__x86_64_raw_shared_cache_size): Likewise.
22580 (__x86_64_raw_shared_cache_size_half): Likewise.
22581
22582 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22583 (__x86_64_raw_data_cache_size_half): Likewise.
22584 (__x86_64_raw_shared_cache_size): Likewise.
22585 (__x86_64_raw_shared_cache_size_half): Likewise.
22586 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22587 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22588 and __x86_64_raw_shared_cache_size_half. Round
22589 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22590 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22591 to multiple of 256 bytes.
22592
0e516e0e
MS
225932010-11-03 Ulrich Drepper <drepper@gmail.com>
22594
22595 [BZ #12167]
22596 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22597 of inacessible symlinks. Verify result of symlink before returning it.
22598 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22599 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22600
0e012e87
ER
226012010-10-28 Erich Ritz <erichritz@gmail.com>
22602
22603 * math/math.h (isinf): Fix typo in comment.
22604
de0ff7bc
UD
226052010-11-01 Ulrich Drepper <drepper@gmail.com>
22606
22607 * po/da.po: Update from translation team.
22608
fa41c84d
UD
226092010-10-26 Ulrich Drepper <drepper@gmail.com>
22610
22611 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22612 is added to the list.
22613
f0967738
AK
226142010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22615 Ulrich Drepper <drepper@gmail.com>
22616
22617 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22618 the global list here. Move code to...
22619 (_dl_add_to_namespace_list): ...here. New function.
22620 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22621 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22622 * elf/dl-load.c (lose): Don't remove the element from the list.
22623 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22624 (_dl_map_object): Likewise.
22625
226262010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22627
22628 [BZ #12159]
22629 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22630 into all bytes of SSE register.
22631 Patch by Richard Li <richardpku@gmail.com>.
22632
f0967738 226332010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22634
22635 [BZ #12140]
22636 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22637 perturbing.
22638
d0b9e94f
MB
226392010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22640
22641 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22642 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22643 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22644 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22646 submachine.
22647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22648
8e9f92e9
AS
226492010-10-22 Andreas Schwab <schwab@redhat.com>
22650
22651 * include/dlfcn.h (__RTLD_SECURE): Define.
22652 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22653 mode & __RTLD_SECURE instead.
22654 (open_path): Rename preloaded parameter to secure.
22655 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22656 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22657 * elf/dl-deps.c (openaux): Likewise.
22658 * elf/rtld.c (struct map_args): Remove is_preloaded.
22659 (map_doit): Don't use it.
22660 (dl_main): Likewise.
22661 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22662 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22663
bc96fbda
AS
226642010-09-09 Andreas Schwab <schwab@redhat.com>
22665
22666 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22667 (sysd-rules-targets): Remove duplicates.
22668 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22669 rtld-%.$o dependency.
22670
22cd1c9b
AS
226712010-10-18 Andreas Schwab <schwab@redhat.com>
22672
22673 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22674 _dl_map_object do it.
22675
18edac48
UD
226762010-10-19 Ulrich Drepper <drepper@gmail.com>
22677
22678 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22679 fast fma builtins, define the macros in the C99 standard.
22680 (FP_FAST_FMAF): Likewise.
22681 (FP_FAST_FMAL): Likewise.
22682 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22683
22684 * bits/mathdef.h: Update copyright year.
22685 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22686
d2050124
MM
226872010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22688
22689 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22690 builtins, define the macros in the C99 standard.
22691 (FP_FAST_FMAF): Likewise.
22692 (FP_FAST_FMAL): Likewise.
22693 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22694 multiply/add.
22695 (FP_FAST_FMAF): Likewise.
22696
475facd1
JJ
226972010-10-15 Jakub Jelinek <jakub@redhat.com>
22698
22699 [BZ #3268]
22700 * math/libm-test.inc (fma_test): Some new testcases.
22701 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22702 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22703 y and infinite z. Do multiplication by C already in long double.
22704 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22705 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22706 y and infinite z. Do bitwise or of inexact bit into u.d.
22707 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22708 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22709 * sysdeps/i386/fpu/s_fma.S: Removed.
22710 * sysdeps/i386/fpu/s_fmal.S: Removed.
22711
7c08a05c
JJ
227122010-10-16 Jakub Jelinek <jakub@redhat.com>
22713
22714 [BZ #3268]
22715 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22716 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22717 computation is not scheduled after fetestexcept. Fix value
22718 of minimum denormal long double.
22719
f3f7372d
JJ
227202010-10-14 Jakub Jelinek <jakub@redhat.com>
22721
22722 [BZ #3268]
22723 * math/libm-test.inc (fma_test): Add some more tests.
22724 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22725 correctly.
22726
14d43591
AS
227272010-10-15 Andreas Schwab <schwab@redhat.com>
22728
22729 * scripts/data/localplt-s390-linux-gnu.data: New file.
22730 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22731
5e908464
JJ
227322010-10-13 Jakub Jelinek <jakub@redhat.com>
22733
22734 [BZ #3268]
22735 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22736 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22737 instead of dbl-64.
22738 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22739 inlines.
22740 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22741 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22742 if one of x and y is very large and the other is subnormal.
22743 * sysdeps/s390/fpu/s_fmaf.c: New file.
22744 * sysdeps/s390/fpu/s_fma.c: New file.
22745 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22746 * sysdeps/powerpc/fpu/s_fma.S: New file.
22747 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22748 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22749 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22750
227512010-10-12 Jakub Jelinek <jakub@redhat.com>
22752
22753 [BZ #3268]
22754 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22755 fma tests.
22756 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22757 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22758 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22759 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22760 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22761 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22762 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22763
b833d51f
UD
227642010-10-12 Ulrich Drepper <drepper@redhat.com>
22765
22766 [BZ #12078]
22767 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22768 * posix/bug-regex31.input: Add test case.
22769
1751705d
UD
227702010-10-11 Ulrich Drepper <drepper@gmail.com>
22771
e9b9cbf5
UD
22772 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22773 * posix/bug-regex31.input: New file.
22774
22775 [BZ #12078]
22776 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22777 (parse_sub_exp): Fix last change, use postorder.
22778
ef06edbe
UD
22779 * posix/bug-regex31.c: New file.
22780 * posix/Makefile: Add rules to build and run bug-regex31.
22781
a129c80d
UD
22782 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22783
22784 [BZ #12078]
22785 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22786
b76b818e
UD
22787 [BZ #12108]
22788 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22789 to have entries in sys_siglist.
22790
1751705d
UD
22791 [BZ #12093]
22792 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22793 be NULL.
22794
9ff8d36f
JJ
227952010-10-07 Jakub Jelinek <jakub@redhat.com>
22796
22797 [BZ #3268]
22798 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22799 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22800 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22801 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22802 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22803 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22804 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22805 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22806 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22807 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22808 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22809 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22810 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22811 * math/ftestexcept.c (fetestexcept): Likewise.
22812 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22813 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22814 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22815 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22816 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22817 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22818 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22819
af325969
UD
228202010-10-11 Ulrich Drepper <drepper@gmail.com>
22821
c579b202 22822 [BZ #12107]
af325969
UD
22823 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22824 newline.
22825
67a67b95
UD
228262010-10-06 Ulrich Drepper <drepper@gmail.com>
22827
22828 * string/bug-strstr1.c: New file.
22829 * string/Makefile: Add rules to build and run bug-strstr1.
22830
5fb308bc
EB
228312010-10-05 Eric Blake <eblake@redhat.com>
22832
22833 [BZ #12092]
22834 * string/str-two-way.h (two_way_long_needle): Always clear memory
22835 when skipping input due to the shift table.
22836
45db99c7
UD
228372010-10-03 Ulrich Drepper <drepper@gmail.com>
22838
3b111893
UD
22839 [BZ #12005]
22840 * malloc/mcheck.c: Handle large requests.
22841
45db99c7
UD
22842 [BZ #12077]
22843 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22844 for strncmp and strncasecmp.
22845 * string/stratcliff.c: Add tests for strcmp and strncmp.
22846 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22847
cf7a1eb8
NI
228482010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22849
22850 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22851 __set_fpscr.
22852
6484ba5e
AJ
228532010-09-30 Andreas Jaeger <aj@suse.de>
22854
22855 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22856 (CGROUP_SUPER_MAGIC): Define.
22857 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22858 Handle btrfs and cgroup file systems.
22859 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22860 Likewise.
22861
91c42559
LM
228622010-09-27 Luis Machado <luisgpm@br.ibm.com>
22863
22864 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22865 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22866
87a97932
AK
228672010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22868
22869 [BZ #12067]
22870 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22871 trying to locate the ELF header.
22872
c21cc9bc
AS
228732010-09-27 Andreas Schwab <schwab@redhat.com>
22874
22875 [BZ #11611]
22876 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22877 Mask out sign-bit copies when constructing f_fsid.
22878
315970f6
PB
228792010-09-24 Petr Baudis <pasky@suse.cz>
22880
22881 * debug/stack_chk_fail_local.c: Add missing licence exception.
22882 * debug/warning-nop.c: Likewise.
22883
1ac7a2c7
JM
228842010-09-15 Joseph Myers <joseph@codesourcery.com>
22885
22886 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22887 implementing getdents64 using getdents syscall, set d_type if
22888 __ASSUME_GETDENTS32_D_TYPE.
22889
56801c50
AS
228902010-09-16 Andreas Schwab <schwab@redhat.com>
22891
22892 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22893 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22894
dda51327
UD
228952010-09-21 Ulrich Drepper <drepper@redhat.com>
22896
22897 [BZ #12037]
22898 * posix/unistd.h: Undo change of feature selection for ftruncate from
22899 2010-01-11.
22900
8ffcee4a
UD
229012010-09-20 Ulrich Drepper <drepper@redhat.com>
22902
a545ecd9 22903 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22904 detection.
22905
e24f0a8b
AS
229062010-09-20 Andreas Schwab <schwab@redhat.com>
22907
22908 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22909 fanotify_mark.
22910 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22911
7291c56f
AS
229122010-09-14 Andreas Schwab <schwab@redhat.com>
22913
22914 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22915 variables after CHECK_SP call.
22916 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22917
bc5fb037
AS
229182010-09-13 Andreas Schwab <schwab@redhat.com>
22919 Ulrich Drepper <drepper@redhat.com>
22920
22921 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22922 re-relocationg ld.so.
22923 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22924 _dl_init_paths call.
22925 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22926 here anymore.
22927
e66e7419
UD
229282010-09-14 Ulrich Drepper <drepper@redhat.com>
22929
22930 * resolv/res_init.c (__res_vinit): Count the default server we added.
22931
c044aa75
CLT
229322010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22933 Ulrich Drepper <drepper@redhat.com>
22934
22935 [BZ #11968]
22936 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22937 (____longjmp_chk): Use %ebx for saving value across system call.
22938 Add unwind info.
22939
32cf4069
AS
229402010-09-06 Andreas Schwab <schwab@redhat.com>
22941
22942 * manual/Makefile: Don't mix pattern rules with normal rules.
22943
817328ee
AS
229442010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22945
22946 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22947 operation.
22948 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22949 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22950 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22951 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22952 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22953 Likewise.
22954
29fddf61
UD
229552010-09-04 Ulrich Drepper <drepper@redhat.com>
22956
22957 [BZ #11979]
22958 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22959 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22960
0959ffc9
UD
229612010-09-02 Ulrich Drepper <drepper@redhat.com>
22962
22963 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22964 * sysdeps/x86_64/addmul_1.S: Likewise.
22965 * sysdeps/x86_64/lshift.S: Likewise.
22966 * sysdeps/x86_64/mul_1.S: Likewise.
22967 * sysdeps/x86_64/rshift.S: Likewise.
22968 * sysdeps/x86_64/sub_n.S: Likewise.
22969 * sysdeps/x86_64/submul_1.S: Likewise.
22970
ece29840
ST
229712010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22972
0959ffc9
UD
22973 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22974 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22975 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22976 * bits/sched.h [__need_schedparam]
ece29840 22977 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22978 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22979 (__defined_schedparam): Define to 1.
ece29840
ST
22980 (__sched_param): New structure, identical to sched_param.
22981 (__need_schedparam): Undefine.
22982
e53a31fe
MF
229832010-08-31 Mike Frysinger <vapier@gentoo.org>
22984
fdc0c10d
MF
22985 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22986 (epoll_create1): Declare.
22987
e53a31fe
MF
22988 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22989
a726d796
AS
229902010-08-31 Andreas Schwab <schwab@redhat.com>
22991
22992 [BZ #7066]
22993 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22994 shifting retval into place.
22995
2f3e3dc7
UD
229962010-09-01 Ulrich Drepper <drepper@redhat.com>
22997
f2933da9
UD
22998 * nis/rpcsvc/nis.h: Update copyright notice.
22999 * nis/rpcsvc/nis.x: Likewise.
23000 * nis/rpcsvc/nis_callback.h: Likewise.
23001 * nis/rpcsvc/nis_callback.x: Likewise.
23002 * nis/rpcsvc/nis_object.x: Likewise.
23003 * nis/rpcsvc/nis_tags.h: Likewise.
23004 * nis/rpcsvc/yp.h: Likewise.
23005 * nis/rpcsvc/yp.x: Likewise.
23006 * nis/rpcsvc/ypupd.h: Likewise.
23007 * nis/yp_xdr.c: Likewise.
23008 * nis/ypupdate_xdr.c: Likewise.
23009
2f3e3dc7
UD
23010 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23011 mainly the body of pmap_getport. Add parameters to specify timeouts.
23012 (pmap_getport): Use __libc_rpc_getport.
23013 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23014 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23015 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23016
f3dcc2f9
AS
230172010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23018
23019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23020 fanotify_mark.
23021
6d34eb5b
RM
230222010-08-27 Roland McGrath <roland@redhat.com>
23023
23024 * sysdeps/i386/i686/multiarch/Makefile
23025 (CFLAGS-varshift.c): New variable.
23026
9ea3de11
UD
230272010-08-27 Ulrich Drepper <drepper@redhat.com>
23028
c96d23fc
UD
23029 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23030 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23031
9ea3de11
UD
23032 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23033
23034 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23035
623aac7f
L
230362010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23037
23038 * sysdeps/x86_64/strlen.S: Unroll the loop.
23039 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23040 strlen-sse2 strlen-sse2-bsf.
23041 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23042 __strlen_no_bsf if bit_Slow_BSF is set.
23043 (__strlen_sse42): Removed.
23044 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23045 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23046
8b2b7715
RM
230472010-08-25 Roland McGrath <roland@redhat.com>
23048
23049 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23050 * sysdeps/x86_64/multiarch/varshift.c: New file.
23051 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23052 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23053 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23054 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23055
e73015f2
L
230562010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23057
23058 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23059 strlen-sse2 strlen-sse2-bsf.
23060 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23061 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23062 (__strlen_sse2): Removed.
23063 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23064 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23066 bit_Slow_BSF for Atom.
23067 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23068 (index_Slow_BSF): Define.
23069 (HAS_SLOW_BSF): Define.
23070
df24a73e
UD
230712010-08-25 Ulrich Drepper <drepper@redhat.com>
23072
23073 [BZ #10851]
23074 * resolv/res_init.c (__res_vinit): When no server address at all
23075 is given default to loopback.
23076
f2ac4868
RM
230772010-08-24 Roland McGrath <roland@redhat.com>
23078
09055553
RM
23079 * configure.in: Remove config-name.h generation.
23080 * configure: Regenerated.
23081 * config-name.in: File removed.
23082 * scripts/config-uname.sh: New file.
23083 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23084 ($(objdir)config-name.h): New target.
23085
f2ac4868
RM
23086 * sunrpc/rpc_parse.h: Avoid nested comment.
23087
73f27d5e
RH
230882010-08-24 Richard Henderson <rth@redhat.com>
23089 Ulrich Drepper <drepper@redhat.com>
23090 H.J. Lu <hongjiu.lu@intel.com>
23091
23092 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23094 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23095 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23096 _mm_alignr_epi8 with _mm_loadu_si128.
23097 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23098 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23099 (__m128i_shift_right): Removed.
23100 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23101 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23102 * sysdeps/x86_64/multiarch/varshift.h: New file.
23103 * sysdeps/x86_64/multiarch/varshift.S: New file.
23104
84b9230c
MF
231052010-08-21 Mike Frysinger <vapier@gentoo.org>
23106
23107 * configure.in: Move assembler checks to before sysdep dir checking.
23108
9bbd0ddc
PB
231092010-08-20 Petr Baudis <pasky@suse.cz>
23110
23111 * LICENSES: Sync the sunrpc license.
23112
9da4bb31
UD
231132010-08-19 Ulrich Drepper <drepper@redhat.com>
23114
a7ab6ec8
UD
23115 * sunrpc/auth_des.c: Update copyright notice once again.
23116 * sunrpc/auth_none.c: Likewise.
23117 * sunrpc/auth_unix.c: Likewise.
23118 * sunrpc/authdes_prot.c: Likewise.
23119 * sunrpc/authuxprot.c: Likewise.
23120 * sunrpc/bindrsvprt.c: Likewise.
23121 * sunrpc/clnt_gen.c: Likewise.
23122 * sunrpc/clnt_perr.c: Likewise.
23123 * sunrpc/clnt_raw.c: Likewise.
23124 * sunrpc/clnt_simp.c: Likewise.
23125 * sunrpc/clnt_tcp.c: Likewise.
23126 * sunrpc/clnt_udp.c: Likewise.
23127 * sunrpc/clnt_unix.c: Likewise.
23128 * sunrpc/des_crypt.c: Likewise.
23129 * sunrpc/des_soft.c: Likewise.
23130 * sunrpc/get_myaddr.c: Likewise.
23131 * sunrpc/getrpcport.c: Likewise.
23132 * sunrpc/key_call.c: Likewise.
23133 * sunrpc/key_prot.c: Likewise.
23134 * sunrpc/openchild.c: Likewise.
23135 * sunrpc/pm_getmaps.c: Likewise.
23136 * sunrpc/pm_getport.c: Likewise.
23137 * sunrpc/pmap_clnt.c: Likewise.
23138 * sunrpc/pmap_prot.c: Likewise.
23139 * sunrpc/pmap_prot2.c: Likewise.
23140 * sunrpc/pmap_rmt.c: Likewise.
23141 * sunrpc/rpc/auth.h: Likewise.
23142 * sunrpc/rpc/auth_unix.h: Likewise.
23143 * sunrpc/rpc/clnt.h: Likewise.
23144 * sunrpc/rpc/des_crypt.h: Likewise.
23145 * sunrpc/rpc/key_prot.h: Likewise.
23146 * sunrpc/rpc/netdb.h: Likewise.
23147 * sunrpc/rpc/pmap_clnt.h: Likewise.
23148 * sunrpc/rpc/pmap_prot.h: Likewise.
23149 * sunrpc/rpc/pmap_rmt.h: Likewise.
23150 * sunrpc/rpc/rpc.h: Likewise.
23151 * sunrpc/rpc/rpc_des.h: Likewise.
23152 * sunrpc/rpc/rpc_msg.h: Likewise.
23153 * sunrpc/rpc/svc.h: Likewise.
23154 * sunrpc/rpc/svc_auth.h: Likewise.
23155 * sunrpc/rpc/types.h: Likewise.
23156 * sunrpc/rpc/xdr.h: Likewise.
23157 * sunrpc/rpc_clntout.c: Likewise.
23158 * sunrpc/rpc_cmsg.c: Likewise.
23159 * sunrpc/rpc_common.c: Likewise.
23160 * sunrpc/rpc_cout.c: Likewise.
23161 * sunrpc/rpc_dtable.c: Likewise.
23162 * sunrpc/rpc_hout.c: Likewise.
23163 * sunrpc/rpc_main.c: Likewise.
23164 * sunrpc/rpc_parse.c: Likewise.
23165 * sunrpc/rpc_parse.h: Likewise.
23166 * sunrpc/rpc_prot.c: Likewise.
23167 * sunrpc/rpc_sample.c: Likewise.
23168 * sunrpc/rpc_scan.c: Likewise.
23169 * sunrpc/rpc_scan.h: Likewise.
23170 * sunrpc/rpc_svcout.c: Likewise.
23171 * sunrpc/rpc_tblout.c: Likewise.
23172 * sunrpc/rpc_util.c: Likewise.
23173 * sunrpc/rpc_util.h: Likewise.
23174 * sunrpc/rpcinfo.c: Likewise.
23175 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23176 * sunrpc/rpcsvc/key_prot.x: Likewise.
23177 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23178 * sunrpc/rpcsvc/mount.x: Likewise.
23179 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23180 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23181 * sunrpc/rpcsvc/rex.x: Likewise.
23182 * sunrpc/rpcsvc/rstat.x: Likewise.
23183 * sunrpc/rpcsvc/rusers.x: Likewise.
23184 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23185 * sunrpc/rpcsvc/spray.x: Likewise.
23186 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23187 * sunrpc/rtime.c: Likewise.
23188 * sunrpc/svc.c: Likewise.
23189 * sunrpc/svc_auth.c: Likewise.
23190 * sunrpc/svc_authux.c: Likewise.
23191 * sunrpc/svc_raw.c: Likewise.
23192 * sunrpc/svc_run.c: Likewise.
23193 * sunrpc/svc_simple.c: Likewise.
23194 * sunrpc/svc_tcp.c: Likewise.
23195 * sunrpc/svc_udp.c: Likewise.
23196 * sunrpc/svc_unix.c: Likewise.
23197 * sunrpc/svcauth_des.c: Likewise.
23198 * sunrpc/xcrypt.c: Likewise.
23199 * sunrpc/xdr.c: Likewise.
23200 * sunrpc/xdr_array.c: Likewise.
23201 * sunrpc/xdr_float.c: Likewise.
23202 * sunrpc/xdr_mem.c: Likewise.
23203 * sunrpc/xdr_rec.c: Likewise.
23204 * sunrpc/xdr_ref.c: Likewise.
23205 * sunrpc/xdr_sizeof.c: Likewise.
23206 * sunrpc/xdr_stdio.c: Likewise.
23207
9da4bb31
UD
23208 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23209 handling.
23210
bdaa77bc
AS
232112010-08-19 Andreas Schwab <schwab@redhat.com>
23212
23213 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23214
fe2f79db
LM
232152010-08-19 Luis Machado <luisgpm@br.ibm.com>
23216
23217 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23218 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23219 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23220 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23221 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23222 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23223 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23224 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23225 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23226 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23227 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23228 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23229 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23230 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23231
b9b42ee0
AB
232322010-07-26 Anton Blanchard <anton@samba.org>
23233
23234 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23235 * malloc/arena.c (heap_trim): Likewise.
23236
1c06ba31
UD
232372010-08-16 Ulrich Drepper <drepper@redhat.com>
23238
23239 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23240 here. Not...
23241 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23242 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23243
f8392f40
L
232442010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23245
23246 * sysdeps/i386/elf/Makefile: New file.
23247
3162f12e
AS
232482010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23249
23250 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23251 from fanotify_init.
23252 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23253 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23254
28c90b2c
UD
232552010-08-15 Ulrich Drepper <drepper@redhat.com>
23256
23257 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23258 of strncasecmp_l.
1feccb6c 23259 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23260
ca6bb004
UD
232612010-08-14 Ulrich Drepper <drepper@redhat.com>
23262
e9f82e0d
UD
23263 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23264 strncase_l-nonascii.
23265 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23266 Add strncase_l-ssse3.
23267 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23268 * sysdeps/x86_64/strcmp.S: Likewise.
23269 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23270 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23271 * sysdeps/x86_64/strncase.S: New file.
23272 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23273 * sysdeps/x86_64/strncase_l.S: New file.
23274 * string/Makefile (strop-tests): Add strncasecmp.
23275 * string/test-strncasecmp.c: New file.
23276
23277 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23278 warning.
23279
ca6bb004
UD
23280 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23281 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23282
052fa7b3
AS
232832010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23284
23285 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23286
962dba78
UD
232872010-08-12 Ulrich Drepper <drepper@redhat.com>
23288
23289 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23290 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23291 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23292
bebff237
AM
232932010-05-01 Alan Modra <amodra@gmail.com>
23294
23295 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23296 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23297 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23298 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23299 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23300 tidying. Don't tail-call __sigjmp_save for static lib.
23301 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23302 save location.
23303 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23304 (CALL_MCOUNT): Add eh info, and nop after bl.
23305 (TAIL_CALL_SYSCALL_ERROR): New macro.
23306 (PSEUDO_RET): Use it.
23307 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23308 Correct save location of integer regs and cr.
23309 (_dl_profile_resolve): Correct cr save location. Delete nops
23310 after bl when SHARED. Reduce cfi size a little by better
23311 placement of cfi directives.
23312 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23313 make a stack frame. Instead use parm save area as a temp.
23314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23315 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23317 Don't make a stack frame for parent, use parm save area.
23318 Increase child stack frame to 112 bytes. Don't save unused reg,
23319 and adjust reg usage. Set up cfi on error recovery and
23320 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23322 (__makecontext): Add dummy nop after jump to exit.
23323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23324 Use correct parm save area and cr save, reduce stack frame.
23325 Correct cfi for possible PSEUDO_RET frame setup.
23326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23327 Branch to local label emitted by PSEUDO_RET rather than
23328 __syscall_error.
23329
02637374
AS
233302010-08-12 Andreas Schwab <schwab@redhat.com>
23331
23332 [BZ #11904]
23333 * locale/programs/locale.c (print_assignment): New function.
23334 (show_locale_vars): Use it.
23335
c3e2f19b
UD
233362010-08-11 Ulrich Drepper <drepper@redhat.com>
23337
3cdaa6ad
UD
23338 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23339 field.
23340 (struct statfs64): Likewise.
23341 (_STATFS_F_FLAGS): Define.
23342 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23343 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23344 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23345 (ST_VALID): Define locally.
23346 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23347 __statvfs_getflags, use the provided value.
23348 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23349 __ASSUME_STATFS_F_FLAGS.
23350
754f7da3
UD
23351 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23352
10b3bedc
UD
23353 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23354 Add sys/fanotify.h.
23355 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23356 fanotify_mask for GLIBC_2.13.
23357 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23358 fanotify_init and fanotify_mark.
23359 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23360 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23361
c08fb0d7
UD
23362 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23363 Add prlimit.
23364 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23365 prlimit64 for GLIBC_2.13.
23366 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23367 prlimit64.
23368 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23369 syscall.
23370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23371 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23372 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23373 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23374 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23375 add prlimit alias.
23376 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23377
15bac72b
UD
23378 [BZ #11903]
23379 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23380 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23381
c3e2f19b
UD
23382 * nss/Makefile: Add rules to build and run tst-nss-test1.
23383 * shlib-versions: Add entry for libnss_test1.
23384 * nss/nss_test1.c: New file.
23385 * nss/tst-nss-test1.c: New file.
23386
23387 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23388 (__nss_configure_lookup): Set appropriate entry in
23389 __nss_configure_lookup to true.
23390 * nss/nsswitch.h: Define enum with indeces of databases in
23391 databases and __nss_database_custom arrays. Declare
23392 __nss_database_custom.
23393 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23394 to avoid using nscd when custom rules are installed.
23395 * nss/getXXbyYY_r.c: Likewise.
23396 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23397
23398 * nss/nss_files/files-parse.c: Whitespace fixes.
23399
f15ce4d8
UD
234002010-08-09 Ulrich Drepper <drepper@redhat.com>
23401
23402 [BZ #11883]
23403 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23404 * posix/fnmatch_loop.c: Likewise.
23405
d22e4cc9
AK
234062010-07-17 Andi Kleen <ak@linux.intel.com>
23407
23408 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23409 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23410 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23411 * Versions.def [GLIBC_2.13]: Add.
23412
805bc17d
UD
234132010-08-06 Ulrich Drepper <drepper@redhat.com>
23414
23415 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23416 Also fail if tpwd after pwuid call is NULL.
23417
5a42321d
ST
234182010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23419
23420 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23421 when converting to ms.
23422
fd3ebeda
ST
234232010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23424
23425 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23426 EOPNOTSUPP errors with ENOTTY.
23427 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23428 EOPNOTSUPP errors with ENOTTY.
23429
73507d3a
UD
234302010-07-31 Ulrich Drepper <drepper@redhat.com>
23431
23432 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23433 Add strcasecmp_l-ssse3.
23434 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23435 strcasecmp.
23436 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23437 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23438 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23439
fe36dd02
UD
234402010-07-30 Ulrich Drepper <drepper@redhat.com>
23441
66f6765a
UD
23442 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23443
42e08a54
UD
23444 * string/Makefile (strop-tests): Add strcasecmp.
23445 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23446 strcasecmp_l-nonascii.
23447 (gen-as-const-headers): Add locale-defines.sym.
23448 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23449 * sysdeps/x86_64/strcasecmp.S: New file.
23450 * sysdeps/x86_64/strcasecmp_l.S: New file.
23451 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23452 * sysdeps/x86_64/locale-defines.sym: New file.
23453 * string/test-strcasecmp.c: New file.
23454
fe36dd02
UD
23455 * string/test-strcasestr.c: Test both ends of the range of characters.
23456 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23457
48cbc0d6
RM
234582010-07-29 Roland McGrath <roland@redhat.com>
23459
76e6d6bc 23460 [BZ #11856]
48cbc0d6
RM
23461 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23462
880113d9
UD
234632010-07-27 Ulrich Drepper <drepper@redhat.com>
23464
23465 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23466 for ld.so.
23467
deb9cabb
AS
234682010-07-27 Andreas Schwab <schwab@redhat.com>
23469
23470 * manual/memory.texi (Malloc Tunable Parameters): Document
23471 M_PERTURB.
23472
1c7570ff
RM
234732010-07-26 Roland McGrath <roland@redhat.com>
23474
23475 [BZ #11840]
23476 * configure.in (-fgnu89-inline check): Set and substitute
23477 gnu89_inline, not libc_cv_gnu89_inline.
23478 * configure: Regenerated.
23479 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23480
24fb0f88
UD
234812010-07-26 Ulrich Drepper <drepper@redhat.com>
23482
23483 * string/test-strnlen.c: New file.
23484 * string/Makefile (strop-tests): Add strnlen.
23485 * string/tester.c (test_strnlen): Add a few more test cases.
23486 * string/tst-strlen.c: Better error reporting.
23487
23488 * sysdeps/x86_64/strnlen.S: New file.
23489
8e96b93a
UD
234902010-07-24 Ulrich Drepper <drepper@redhat.com>
23491
23492 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23493 lower-latency instructions.
23494
dbc676d4
UD
234952010-07-23 Ulrich Drepper <drepper@redhat.com>
23496
23497 * string/test-strcasestr.c: New file.
23498 * string/test-strstr.c: New file.
23499 * string/Makefile (strop-tests): Add strstr and strcasestr.
23500 * string/str-two-way.h: Don't undefine MAX.
23501 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23502
f6a31e0e
AS
235032010-07-21 Andreas Schwab <schwab@redhat.com>
23504
23505 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23506 strcasestr-nonascii.
23507 (CFLAGS-strcasestr-nonascii.c): Define.
23508 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23509 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23510 Remove unused attribute.
23511
5dbc3b6c
RM
235122010-07-20 Roland McGrath <roland@redhat.com>
23513
23514 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23515 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23516 ld.so.cache was broken. With it, there is no way to disable dsocaps
23517 like LD_HWCAP_MASK can disable hwcaps.
23518
23d101d8
EPM
235192010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23520
23521 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23522
cc9f2e47
UD
235232010-07-16 Ulrich Drepper <drepper@redhat.com>
23524
23525 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23526 call in strcasestr.
23527 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23528 __strcasestr_sse42_nonascii.
23529 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23530 strcasestr-nonascii.c.
23531 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23532
77c1b069
LM
235332010-06-15 Luis Machado <luisgpm@br.ibm.com>
23534
23535 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23536 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23537 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23538 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23539
440566c3
UD
235402010-07-09 Ulrich Drepper <drepper@redhat.com>
23541
23542 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23543 fcntl.
23544
5be9d05d
AS
235452010-07-06 Andreas Schwab <schwab@redhat.com>
23546
c30b7ee2 23547 [BZ #11577]
5be9d05d
AS
23548 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23549 dl_signal_cerror.
23550
8a492a67
UD
235512010-07-06 Ulrich Drepper <drepper@redhat.com>
23552
23553 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23554 _PC_PIPE_BUF using F_GETPIPE_SZ.
23555
713df3d5
RM
235562010-07-05 Roland McGrath <roland@redhat.com>
23557
23558 * manual/arith.texi (Rounding Functions): Fix rint description
23559 implicit in round description.
23560
702e8f14
UD
235612010-07-02 Ulrich Drepper <drepper@redhat.com>
23562
23563 * elf/Makefile: Fix linking for a few tests to make recent linker
23564 happy.
23565
52ed8be9
AS
235662010-06-30 Andreas Schwab <schwab@redhat.com>
23567
23568 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23569 $(common-objpfx)libc_nonshared.a.
23570
f47c9a11
LM
235712010-06-21 Luis Machado <luisgpm@br.ibm.com>
23572
23573 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23574 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23575 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23576 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23577 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23578 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23579 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23580 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23595 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23596 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23597 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23598 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23599 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23600 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23601 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23602 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23603 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23604 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23605 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23606 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23621
6fb8cbcb
L
236222010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23623
23624 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23625 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23626 * string/memmove.c (memmove): Renamed to ...
23627 (MEMMOVE): ...this. Default to memmove.
23628 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23629 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23630 (END_CHK): Define.
23631 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23632 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23633 mempcpy-ssse3-back memmove-ssse3-back.
23634 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23635 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23636 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23637 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23638 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23639 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23640 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23641 * sysdeps/x86_64/multiarch/memmove.c: New file.
23642 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23643 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23644 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23645 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23646 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23647 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23648 Define.
23649 (index_Fast_Copy_Backward): Define.
23650 (HAS_ARCH_FEATURE): Define.
23651 (HAS_FAST_REP_STRING): Define.
23652 (HAS_FAST_COPY_BACKWARD): Define.
23653
4e733bac 236542010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23655
23656 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23657 Restore proper fallback handling.
23658
63c4ed22
UD
236592010-06-19 Ulrich Drepper <drepper@redhat.com>
23660
ac2b484c
UD
23661 [BZ #11701]
23662 * posix/group_member.c (__group_member): Correct checking loop.
23663
63c4ed22
UD
23664 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23665 OOM in getpwuid_r correctly. Return error number when the caller
23666 should return, otherwise -1.
23667 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23668 call returning > 0 value.
23669 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23670
765ade4b
AS
236712010-06-07 Andreas Schwab <schwab@redhat.com>
23672
23673 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23674 libc_nonshared.a from targets in modules-names.
23675
80da2e09
KS
236762010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23677
23678 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23679 requires it.
23680
158db122
LM
236812010-06-10 Luis Machado <luisgpm@br.ibm.com>
23682
23683 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23684 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23685 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23686 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23687
caa78cf8
AS
236882010-06-02 Andreas Schwab <schwab@redhat.com>
23689
23690 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23691
b2ef2c01
UD
236922010-06-14 Ulrich Drepper <drepper@redhat.com>
23693
23694 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23695 and F_GETPIPE_SZ.
23696 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23697 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23698 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23699 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23700 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23701 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23702
fbd643b6
RM
237032010-06-14 Roland McGrath <roland@redhat.com>
23704
23705 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23706
f32f2869
JJ
237072010-06-07 Jakub Jelinek <jakub@redhat.com>
23708
23709 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23710 __REDIRECT followed by __THROW.
23711 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23712 * posix/getopt.h (getopt): Likewise.
23713
2a50c078
EPM
237142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23715
23716 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23717 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23718 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23719 in AT_FLAGS.
23720 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23721 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23722
eb5ad2eb
LM
237232010-05-28 Luis Machado <luisgpm@br.ibm.com>
23724
23725 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23726
3c88fe1e
L
237272010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23728
23729 [BZ #11640]
23730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23731 Properly check family and model.
23732
d2f73151
TY
237332010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23734
23735 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23736
ebd2e13d
LM
237372010-05-24 Luis Machado <luisgpm@br.ibm.com>
23738
23739 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23740
b32b8b45
UD
237412010-05-21 Ulrich Drepper <drepper@redhat.com>
23742
23743 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23744 symbol reference.
23745
9acbe24d
AS
237462010-05-19 Andreas Schwab <schwab@redhat.com>
23747
23748 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23749 symbol reference.
23750
f0ccf6ea
AS
237512010-05-21 Andreas Schwab <schwab@redhat.com>
23752
3d04ff3a
AS
23753 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23754 and internal_recvmmsg.
23755 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23756 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23757 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23758 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23759
f0ccf6ea
AS
23760 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23761 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23762 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23763
5b08ac57
AS
237642010-05-20 Andreas Schwab <schwab@redhat.com>
23765
23766 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23767
4828935d
LM
237682010-05-17 Luis Machado <luisgpm@br.ibm.com>
23769
23770 POWER7 optimizations.
23771 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23772 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23773
373d545e
UD
237742010-05-19 Ulrich Drepper <drepper@redhat.com>
23775
23776 * version.h: Update for 2.13 development version.
23777
21a2b1ae
AS
237782010-05-12 Andrew Stubbs <ams@codesourcery.com>
23779
23780 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23781 exceptions. Return 0.
23782
3f7dcb2b
RM
237832010-05-07 Roland McGrath <roland@redhat.com>
23784
23785 * elf/ldconfig.c (main): Add a const.
23786
5f24d53a 237872010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23788
a160f8d8
UD
23789 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23790 (args_options): Add no-idn option.
23791 (ahosts_keys_int): Add idn_flags to ai_flags.
23792 (parse_option): Handle 'i' option to clear idn_flags.
23793
5f24d53a
UD
23794 * malloc/malloc.c (_int_free): Possible race in the most recently
23795 added check. Only act on the data if no current modification
23796 happened.
265bb1ce
UD
23797
23798See ChangeLog.17 for earlier changes.