]> sourceware.org Git - glibc.git/blame - ChangeLog
Change __x86_64 prefix in cache size to __x86
[glibc.git] / ChangeLog
CommitLineData
afec409a
L
12013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4 (__x86_64_raw_data_cache_size): Likewise.
5 (__x86_64_data_cache_size_half): Likewise.
6 (__x86_64_raw_data_cache_size_half): Likewise.
7 (__x86_64_shared_cache_size): Likewise.
8 (__x86_64_raw_shared_cache_size): Likewise.
9 (__x86_64_shared_cache_size_half): Likewise.
10 (__x86_64_raw_shared_cache_size_half): Likewise.
11 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12 to ...
13 (__x86_data_cache_size): This.
14 (__x86_64_raw_data_cache_size): Renamed to ...
15 (__x86_raw_data_cache_size): This.
16 (__x86_64_data_cache_size_half): Renamed to ...
17 (__x86_data_cache_size_half): This.
18 (__x86_64_raw_data_cache_size_half): Renamed to ...
19 (__x86_raw_data_cache_size_half): This.
20 (__x86_64_shared_cache_size): Renamed to ...
21 (__x86_shared_cache_size): This.
22 (__x86_64_raw_shared_cache_size): Renamed to ...
23 (__x86_raw_shared_cache_size): This.
24 (__x86_64_shared_cache_size_half): Renamed to ...
25 (__x86_shared_cache_size_half): This.
26 (__x86_64_raw_shared_cache_size_half): Renamed to ...
27 (__x86_raw_shared_cache_size_half): This.
28 * sysdeps/x86_64/memcpy.S: Updated.
29 * sysdeps/x86_64/memset.S: Likewise.
30 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33
0b3986d0
DM
342013-01-04 David S. Miller <davem@davemloft.net>
35
36 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37
e47686e9
AS
382013-01-04 Andreas Schwab <schwab@linux-m68k.org>
39
d643bac1
AS
40 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
41 1 to avoid redefinition warning.
42 (__USE_GNU): Don't define.
43 (init_signaling_nan): Protoize.
44
e47686e9
AS
45 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46
b18decba
SP
472013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
48
fffb407f
SP
49 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
50 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
51 (__cpymn): Likewise.
52 (norm): Remove commented code.
53 (denorm): Likewise.
54 (__mp_dbl): Likewise.
55 (__inv): Likewise.
56 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
57 (__cpymn): Likewise.
58 (norm): Remove commented code.
59 (denorm): Likewise.
60 (__mp_dbl): Likewise.
61 (__inv): Likewise.
62
b18decba
SP
63 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
64 mp_no value for 1.0 and 2.0.
65 (norm): Use RADIXI instead of radixi.d.
66 (denorm): Likewise.
67 (__mul): Use 0.0 instead of zero.d.
68 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
69 mp_no value for 1.0 and 2.0.
70 (norm): Use RADIXI instead of radixi.d.
71 (denorm): Likewise.
72 (__mul): Use 0.0 instead of zero.d.
73
cdc1c96f
JM
742013-01-04 Joseph Myers <joseph@codesourcery.com>
75
76 [BZ #14994]
77 * math/s_casinh.c (__casinh): Reduce finite argument to first
78 quadrant then set signs of results at the end.
79 * math/s_casinhf.c (__casinhf): Likewise.
80 * math/s_casinhl.c (__casinhl): Likewise.
81 * math/libm-test.inc (casin_test): Add more tests.
82 (casinh_test): Likewise.
83 * sysdeps/i386/fpu/libm-test-ulps: Update.
84 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85
302913e1
SP
862013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
87
6420d207
SP
88 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
89
a9e48ab4
SP
90 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
91
b7837264
SP
92 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
93 declarations.
94 (denorm): Likewise.
95 (__mp_dbl): Likewise.
96 (__inv): Likewise.
97
f8af25d2
SP
98 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
99 and adjust the header comment.
100
302913e1
SP
101 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
102 variable name from declaration.
103
5d7dd1ca
L
1042013-01-03 H.J. Lu <hongjiu.lu@intel.com>
105
106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
107 Initialize COMMON_CPUID_INDEX_7 element.
108 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
109 (CPUID_RTM): Likewise.
110 (HAS_RTM): Likewise.
111 (COMMON_CPUID_INDEX_7): New enum.
112
2f5f40f4
AS
1132013-01-03 Andreas Schwab <schwab@linux-m68k.org>
114
115 [BZ #14981]
116 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
117 size is zero, record memory as freed.
118
4056f4a0
AJ
1192013-01-03 Andreas Jaeger <aj@suse.de>
120
121 * po/ia.po: Add new Interlingua translation.
122
ab15736f 1232012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
124
125 * locale/programs/localedef.c: Fix description of '--posix' flag.
126
568035b7
JM
1272013-01-02 Joseph Myers <joseph@codesourcery.com>
128
e6898b8d
JM
129 * NEWS: Update dates in second copyright notice.
130 * README: Update copyright dates in example.
131 * manual/libc.texinfo: Update copyright dates.
132 * scripts/test-installation.pl: Update copyright date in --version
133 output.
134
0e2f9562
JM
135 * hurd/ctty-input.c: Fix copyright notice formatting.
136 * hurd/ctty-output.c: Likewise.
137 * hurd/dtable.c: Likewise.
138 * hurd/hurd-raise.c: Likewise.
139 * hurd/hurdprio.c: Likewise.
140 * hurd/msgportdemux.c: Likewise.
141 * misc/sys/file.h: Likewise.
142 * misc/sys/ioctl.h: Likewise.
143 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
144 * sysdeps/mach/hurd/chdir.c: Likewise.
145 * sysdeps/mach/hurd/fchdir.c: Likewise.
146 * sysdeps/mach/hurd/rename.c: Likewise.
147 * sysdeps/mach/hurd/rmdir.c: Likewise.
148 * sysdeps/mach/hurd/seekdir.c: Likewise.
149 * sysdeps/mach/hurd/setsid.c: Likewise.
150 * sysdeps/posix/wait3.c: Likewise.
151
568035b7
JM
152 * All files with FSF copyright notices: Update copyright dates
153 using scripts/update-copyrights.
154 * intl/plural.c: Regenerated.
155 * locale/programs/charmap-kw.h: Likewise.
156 * locale/programs/locfile-kw.h: Likewise.
157
da08f647
SP
1582013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
159
0f5477af
SP
160 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
161 four values.
162
44e0d4c2
SP
163 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
164 calculation loop and add branch prediction.
165
4d55b4e5
SP
166 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
167 check access beyond bounds of m1np.
168
da08f647
SP
169 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
170 MPTWO.
171 (__inv): Remove local variable MPTWO to use the global
172 constant.
173 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
174 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
175 variable MPTWO.
176 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
177 MP3HALFS static const.
178
8e051029
DM
1792013-01-01 David S. Miller <davem@davemloft.net>
180
181 * po/ca.po: Update from translation team.
182
f4cf5f2d
JM
1832013-01-01 Joseph Myers <joseph@codesourcery.com>
184
185 * scripts/update-copyrights: New file.
186 * Makeconfig: Reformat copyright notice.
187 * ctype/ctype.h: Likewise.
188 * debug/swprintf_chk.c: Likewise.
189 * elf/dl-cache.c: Likewise.
190 * elf/dl-debug.c: Likewise.
191 * elf/dl-object.c: Likewise.
192 * grp/initgroups.c: Likewise.
193 * hurd/Makefile: Likewise.
194 * hurd/hurd/signal.h: Likewise.
195 * hurd/hurdfault.c: Likewise.
196 * hurd/hurdioctl.c: Likewise.
197 * hurd/hurdlookup.c: Likewise.
198 * hurd/intr-msg.c: Likewise.
199 * iconv/gconv_open.c: Likewise.
200 * libio/swprintf.c: Likewise.
201 * locale/lc-ctype.c: Likewise.
202 * locale/nl_langinfo.c: Likewise.
203 * mach/Machrules: Likewise.
204 * mach/Makefile: Likewise.
205 * malloc/obstack.h: Likewise.
206 * manual/Makefile: Likewise.
207 * manual/tsort.awk: Likewise.
208 * misc/bits/stab.def: Likewise.
209 * nis/nis_print_group_entry.c: Likewise.
210 * nis/nis_table.c: Likewise.
211 * nis/nss_compat/compat-pwd.c: Likewise.
212 * nis/nss_compat/compat-spwd.c: Likewise.
213 * po/Makefile: Likewise.
214 * posix/fnmatch.c: Likewise.
215 * posix/regex.h: Likewise.
216 * resolv/Makefile: Likewise.
217 * resolv/nss_dns/dns-network.c: Likewise.
218 * resolv/res_hconf.c: Likewise.
219 * scripts/gen-sorted.awk: Likewise.
220 * soft-fp/soft-fp.h: Likewise.
221 * stdio-common/printf.h: Likewise.
222 * stdlib/monetary.h: Likewise.
223 * stdlib/random.c: Likewise.
224 * stdlib/random_r.c: Likewise.
225 * sysdeps/generic/Makefile: Likewise.
226 * sysdeps/gnu/Makefile: Likewise.
227 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
228 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
229 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
230 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
231 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
232 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
233 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
234 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
235 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
236 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
237 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
238 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
239 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
240 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
241 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
242 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
243 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
244 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
245 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
246 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
247 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
248 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
249 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
250 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
251 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
252 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
253 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
254 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
255 * sysdeps/mach/hurd/errnos.awk: Likewise.
256 * sysdeps/mach/hurd/fork.c: Likewise.
257 * sysdeps/mach/hurd/getcwd.c: Likewise.
258 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
259 * sysdeps/mach/hurd/mmap.c: Likewise.
260 * sysdeps/mach/hurd/utimes.c: Likewise.
261 * sysdeps/mach/hurd/xmknod.c: Likewise.
262 * sysdeps/posix/profil.c: Likewise.
263 * sysdeps/posix/readdir_r.c: Likewise.
264 * sysdeps/powerpc/bits/mathdef.h: Likewise.
265 * sysdeps/powerpc/bits/setjmp.h: Likewise.
266 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
267 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
268 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
269 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
270 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
271 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
273 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
274 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
275 * sysdeps/pthread/lio_listio.c: Likewise.
276 * sysdeps/sparc/dl-procinfo.h: Likewise.
277 * sysdeps/unix/i386/sysdep.S: Likewise.
278 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
279 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
280 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
281 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
283 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
284 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
285 * sysdeps/unix/sysv/linux/speed.c: Likewise.
286 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
287 * sysdeps/wordsize-32/divdi3.c: Likewise.
288 * time/sys/time.h: Likewise.
289 * wcsmbs/Makefile: Likewise.
290
0549fbba
DM
2912013-01-01 David S. Miller <davem@davemloft.net>
292
a141f1a7
DM
293 * po/fr.po: Update from translation team.
294
0549fbba
DM
295 * catgets/gencat.c: Update copyright year.
296 * csu/version.c: Likewise.
297 * debug/catchsegv.sh: Likewise.
298 * debug/pcprofiledump.c: Likewise.
299 * debug/xtrace.sh: Likewise.
300 * elf/ldconfig.c: Likewise.
301 * elf/ldd.bash.in: Likewise.
302 * elf/pldd.c: Likewise.
303 * elf/sotruss.ksh: Likewise.
304 * elf/sprof.c: Likewise.
305 * iconv/iconv_prog.c: Likewise.
306 * iconv/iconvconfig.c: Likewise.
307 * locale/programs/locale.c: Likewise.
308 * locale/programs/localedef.c: Likewise.
309 * login/programs/pt_chown.c: Likewise.
310 * malloc/memusage.sh: Likewise.
311 * malloc/memusagestat.c: Likewise.
312 * malloc/mtrace.pl: Likewise.
313 * nscd/nscd.c: Likewise.
314 * nss/getent.c: Likewise.
315 * nss/makedb.c: Likewise.
316 * posix/getconf.c: Likewise.
317
18ea052c
SP
3182012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
319
320 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
321 numbers.
322
9c89fca6
MF
3232012-12-30 Mike Frysinger <vapier@gentoo.org>
324
325 * math/bits/mathcalls.h (modf): Use __nonnull.
326
085ec079
SP
3272012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
328
329 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
330 (split): Use macro CN instead of the bare value.
331 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
332 could be used.
333 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
334 instead of the bare value.
335 (power1): Likewise.
336
6d9f97e1
SP
3372012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
338
d63f73be
SP
339 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
340 __ATAN_TWOM.
341 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
342
6d9f97e1
SP
343 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
344 their values.
345 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
346 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
347 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
348 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
349
4c4febf5
AJ
3502012-12-28 Andreas Jaeger <aj@suse.de>
351
af5843ef
AJ
352 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
353 values are from Linux 3.7.
354
4c4febf5
AJ
355 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
356 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
357
99136f82
SP
3582012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
359
2f216c3c 360 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
361 TRUE case.
362
99136f82
SP
363 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
364 (norm): Likewise.
365 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
366 variables with preprocessor constants.
367 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
368 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
369 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
370
7fffbdff
BH
3712012-12-27 Bruno Haible <bruno@clisp.org>
372
373 [BZ #14317]
374 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
375 only if needed.
376
b76eb5f0
SP
3772012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
378
31a7fe5c
SP
379 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
380 and use variable directly.
381 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
382
b76eb5f0
SP
383 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
384 MPONE.
385 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
386 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
387 variable MPONE.
388 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
389 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
390 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
391 include directive. Remove local variable MPONE.
392 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
393 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
394 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
395
2c8bfe7d
DM
3962012-12-25 David S. Miller <davem@davemloft.net>
397
398 * version.h (RELEASE): Set to "development".
399 (VERSION): Set to "2.17.90".
400 * NEWS: Add 2.18 section.
401
147d03b0
DM
4022012-12-21 David S. Miller <davem@davemloft.net>
403
404 * po/hr.po: Update from translation team.
405
a8ebb2b9
AK
4062012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
407
408 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
409
95b4f1b6
SE
4102012-12-19 Steve Ellcey <sellcey@mips.com>
411
b2d94007 412 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 413
cedb2a90
MS
4142012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
415
416 * manual/contrib.texi (Contributors): Spelling correction.
417
bbf527d6
DM
4182012-12-15 David S. Miller <davem@davemloft.net>
419
420 * po/ru.po: Update from translation team.
421
bc38c906
DM
4222012-12-13 David S. Miller <davem@davemloft.net>
423
85429b1a
DM
424 * NEWS: Mention IFUNC testsuite enhancements.
425
d283e353
DM
426 * po/pl.po: Update from translation team.
427 * po/bg.po: Likewise.
428
bc38c906
DM
429 * manual/contrib.texi (Contributors): Update entries for Hongjiu
430 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
431
a181b0d7
DM
4322012-12-11 David S. Miller <davem@davemloft.net>
433
4641d57e
DM
434 * po/sv.po: Update from translation team.
435
f7bc6495
DM
436 * po/vi.po: Update from translation team.
437
6fc9048f
DM
438 * po/cs.po: Update from translation team.
439
a181b0d7
DM
440 * po/de.po: Update from translation team.
441 * po/eo.po: Likewise.
442 * po/nl.po: Likewise.
443
f70bfe80
SP
4442012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
445
3c8b4190
SP
446 [BZ #14246]
447 * manual/argp.texi (Argp Helper Functions): Move node to follow
448 Argp Parsing State.
449
f70bfe80
SP
450 [BZ #14872]
451 * manual/conf.texi (Limits on File System Capacity): Mention if
452 terminating null is included in the max size.
453
188f0adf
AJ
4542012-12-10 Andreas Jaeger <aj@suse.de>
455
456 * po/cs.po: Update from translation team.
457
56e7d3ad
SP
4582012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
459
460 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
461 void pointer and cast to uintptr_t.
462 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
463 path.
464 * sysdeps/s390/s390-64/memcpy.S: Likewise.
465 * sysdeps/s390/s390-64/memset.S: Likewise.
466
76f2d2ea 4672012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
468
469 [BZ #14833]
470 * menual/message.texi (Message Translation): Fix typos.
471 (Helper programs for gettext): Likewise.
472
67cbf9a2
AS
4732012-12-07 Andreas Schwab <schwab@linux-m68k.org>
474
475 [BZ #14898]
476 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
477 Change to -1.
478
682d0e9a
DM
4792012-12-07 David S. Miller <davem@davemloft.net>
480
481 * po/libc.pot: Update.
482
573cd484
RH
4832012-12-07 Richard Henderson <rth@redhat.com>
484
7e9da188 485 [BZ #10114]
573cd484
RH
486 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
487 normal/normal case to before the switch.
488 (_FP_DIV): Likewise.
489
e933a943
MF
4902012-12-06 Carlos O'Donell <carlos@systemhalted.org>
491 Mike Frysinger <vapier@gentoo.org>
492
493 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
494 check for __NR_fadvise64_64.
495
82123268
CM
4962012-12-06 Chris Metcalf <cmetcalf@tilera.com>
497
498 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
499 0, not just to plain "0" as a statement.
500 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
501 with cw.
502
d9814526
JM
5032012-12-06 Joseph Myers <joseph@codesourcery.com>
504
505 * NEWS: Use sourceware.org in Bugzilla URL.
506
7728c574
SP
5072012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
508
f16946dd
SP
509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
510 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
511
5704bbcb
SP
512 * stdio-common/tst-put-error.c (do_test): Add newline to the
513 padded test to ensure flush.
514
17aa0516
JL
5152012-12-05 Jeff Law <law@redhat.com>
516
517 * sunrpc/etc.rpc (fedfs_admin): Add entry.
518
363313b5
JM
5192012-12-05 Joseph Myers <joseph@codesourcery.com>
520
effbd42a
JM
521 * README: Don't refer to ports add-on as distributed separately.
522 Mention AArch64 in list of systems supported in the ports add-on.
523
87600365
JM
524 * LICENSES: Add more non-FSF copyright and license notices.
525
a0d7066a
JM
526 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
527 ((unused)).
528
66ca5a5b
JM
529 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
530
363313b5
JM
531 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
532 10000 as width of padded output.
533
b37984ad
JM
5342012-12-04 Joseph Myers <joseph@codesourcery.com>
535
9003570a
JM
536 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
537
b37984ad
JM
538 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
539 variable LX with __attribute__ ((unused)).
540 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
541 Likewise.
542 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
543 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
544 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
545 with __attribute__ ((unused)).
546
c8df52ec
DM
5472012-12-04 David S. Miller <davem@abraco.davemloft.net>
548
549 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
550
b3b099af
JM
5512012-12-04 Joseph Myers <joseph@codesourcery.com>
552
c33aa6e3
JM
553 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
554 (CFLAGS-nldbl-acos.c): New variable.
555 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
556 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
557 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
558 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
559 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
560 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
561 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
562 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
563 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
564 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
565 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
566 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
567 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
568 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
569 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
570 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
571 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
572 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
573 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
574 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
575 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
576 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
577 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
578 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
579 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
580 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
581 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
582 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
583 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
584 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
585 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
586 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
587 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
588 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
589 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
590 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
591 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
592 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
593 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
594 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
595 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
596 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
597 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
598 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
599 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
600 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
601 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
602 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
603 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
604 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
605 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
606 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
607 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
608 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
609 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
610 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
611 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
612 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
613 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
614 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
615 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
616 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
617 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
618 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
619 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
620 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
621 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
622 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
623 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
624 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
625 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
626 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
627 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
628 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
629 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
630 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
631 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
632 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
633 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
634 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
635 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
636 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
637 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
638 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
639 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
640 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
641 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
642 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
643 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
644 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
645 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
646 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
647 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
648 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
649 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
650 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
651 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
652
20f0018d
JM
653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
654 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
655
b3b099af
JM
656 [BZ #14914]
657 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
658 whole low double instead of just low 47 bits when splitting values
659 into two parts.
660
029264d1
AM
6612012-12-03 Allan McRae <allan@archlinux.org>
662
663 * manual/stdio.texi (Predefined Printf Handlers): Remove
664 @hsep and @vsep usage.
665
c9d6789e
MF
6662012-12-03 Mike Frysinger <vapier@gentoo.org>
667
668 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
669 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
670
4b7634a5
JL
6712012-12-03 Jeff Law <law@redhat.com>
672
673 * time/sys/time.h (settimeofday): Do not mark TV argument
674 as __nonnull.
675
eb6cbd24
MF
6762012-12-01 Mike Frysinger <vapier@gentoo.org>
677
678 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
679 when currently writing and seek to current position when not.
680 * libio/Makefile (tests): Remove bug-fclose1.
681 * libio/bug-fclose1.c: Delete.
682
f638872a
JM
6832012-12-01 Joseph Myers <joseph@codesourcery.com>
684
685 * manual/arith.texi (feenableexcept): Fix typo.
686 (fedisableexcept): Likewise.
687
48085d14
RM
6882012-11-30 Roland McGrath <roland@hack.frob.com>
689
690 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
691 second, differently-typed declaration, rather than a cast.
692
1a538b9f
SP
6932012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
694
695 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
696 * include/rpc/svc.h: ... here.
697
d07f2ff1 6982012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
699
700 [BZ #13013]
701 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
702 depending n and resplen2 to catch cases where answer
703 equals answerp2.
704
c93ec1f0
CD
7052012-11-29 Carlos O'Donell <carlos@systemhalted.org>
706
707 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
708 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
709
37db69de
MF
7102012-11-29 Mike Frysinger <vapier@gentoo.org>
711
712 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
713
e10c4e4f
RM
7142012-11-29 Roland McGrath <roland@hack.frob.com>
715
716 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
717
2af1b328
JL
7182012-11-28 Jeff Law <law@redhat.com>
719
720 [BZ #13761]
721 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
722 dataset_temporary. Track alloca usage into alloca_used.
723 If dataset is large allocate and release it via malloc/free.
724
111db5b1
FW
7252012-06-04 Florian Weimer <fweimer@redhat.com>
726
f06cc227 727 [BZ #14197]
111db5b1
FW
728 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
729
dd694abd
DM
7302012-11-28 David S. Miller <davem@davemloft.net>
731
732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
733
9984dd01
JM
7342012-11-28 Joseph Myers <joseph@codesourcery.com>
735
736 [BZ #14803]
737 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
738 of pi/2 rounded to nearest to 64 bits.
739 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
740 nearest to 64 bits.
741 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
742 bits.
743
14bc93a9
JL
7442012-11-28 Jeff Law <law@redhat.com>
745 Martin Osvald <mosvald@redhat.com>
746
747 [BZ #14889]
748 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
749 * sunrpc/svc.c: Include time.h.
750 (__svc_accept_failed): New function.
751 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
752 any reason other than EINTR, call __svc_accept_failed.
753 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
754 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
755
e3c6aa3a
AS
7562012-11-28 Andreas Schwab <schwab@suse.de>
757
758 * scripts/abilist.awk: Also handle indirect functions in .opd
759 section.
760
1bead169
JM
7612012-11-28 Joseph Myers <joseph@codesourcery.com>
762
763 [BZ #13881]
764 * sysdeps/x86/fpu/powl_helper.c: New file.
765 * sysdeps/x86/fpu/Makefile: Likewise.
766 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
767 (p3): New object.
768 (__ieee754_powl): Use __powl_helper for finite arguments except
769 integer exponents below 8.
770 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
771 (p3): New object.
772 (__ieee754_powl): Use __powl_helper for finite arguments except
773 integer exponents below 8.
774 * math/libm-test.inc (pow_test): Add more tests and enable some
775 previously disabled tests.
776 * sysdeps/i386/fpu/libm-test-ulps: Update.
777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
778
0817d63d
SP
7792012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
780 Carlos O'Donell <carlos_odonell@mentor.com>
781
782 * nss/makedb.c (is_prime): Assert that input is odd and greater
783 than 4. Note that fact in a comment too.
784 (next_prime): Add 4 to input.
785
de2fd463
SP
7862012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
787
788 [BZ #11741]
789 * libio/Makefile (tests): Add test case tst-fwrite-error.
790 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
791 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
792 * libio/tst-fwrite-error.c: New test case.
793
c515fb51
L
7942012-11-26 H.J. Lu <hongjiu.lu@intel.com>
795
796 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
797 before casting to void *.
798 * include/libc-internal.h (__pointer_type): New macro.
799 (__integer_if_pointer_type_sub): Likewise.
800 (__integer_if_pointer_type): Likewise.
801 (cast_to_integer): Likewise.
802 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
803 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
804 before casting to atomic64_t.
805 (atomic_exchange_acq): Likewise.
806 (__arch_exchange_and_add_body): Likewise.
807 (__arch_add_body): Likewise.
808 (atomic_add_negative): Likewise.
809 (atomic_add_zero): Likewise.
810
4cf77aa9
JM
8112012-11-26 Joseph Myers <joseph@codesourcery.com>
812
813 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
814 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
815 (add_fdes): Likewise.
816 (linear_search_fdes): Likewise.
817 (binary_search_unencoded_fdes): Likewise.
818
d260b3b4
AS
8192012-11-26 Andreas Schwab <schwab@linux-m68k.org>
820
821 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
822
67060746
AC
8232012-11-24 Adam Conrad <adconrad@0c3.net>
824
825 * configure.in: Autodetect C++ header directories.
826 * configure: Regenerated.
827
800938a1
MF
8282012-11-23 Mike Frysinger <vapier@gentoo.org>
829
830 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
831
4e6e34e6
AS
8322012-11-23 Andreas Schwab <schwab@linux-m68k.org>
833
834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
835
7c7feb47
JM
8362012-11-22 Joseph Myers <joseph@codesourcery.com>
837
7184dcdf
JM
838 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
839 LDBL_MANT_DIG == 106]: Disable some tests.
840 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
841 Likewise.
842 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
843 Likewise.
844
0a42601f
JM
845 [BZ #14871]
846 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
847 input for small inputs. Return +/- pi/2 for large inputs.
848 * math/libm-test.inc (atan_test): Add more tests.
849
79c9b9fe
JM
850 * sysdeps/generic/unwind-dw2-fde-glibc.c
851 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
852 __attribute__ ((unused)).
853
c60d3bf2
JM
854 [BZ #14645]
855 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
856 x * y if x and y are nonzero and z is zero.
857
ef1e0867
JM
858 [BZ #14811]
859 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
860 nonzero exponents with absolute value below 0x1p-117 to +/-
861 0x1p-117.
862
1468ded3
JM
863 [BZ #14869]
864 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
865 up arguments below 2**-450, not just those below 2**-500.
866 * math/libm-test.inc (hypot_test): Add another test.
867
8e27e3cc
JM
868 [BZ #14868]
869 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
870 Return a+b for ratio over 2**120, not 2**60.
871 * math/libm-test.inc (hypot_test): Add another test.
872
c9c0279b
JM
873 * math/libm-test.inc (clog_test): Use
874 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
875 (clog10_test): Likewise.
876
7c7feb47
JM
877 [BZ #6778]
878 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
879
fff1530e
AS
8802012-11-22 Andreas Schwab <schwab@suse.de>
881
882 * sysdeps/i386/fpu/libm-test-ulps: Update.
883
94558d30
PT
8842012-11-22 Pino Toscano <toscano.pino@tiscali.it>
885
886 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
887 printf output with newline.
888
7e1be741
L
8892012-11-21 H.J. Lu <hongjiu.lu@intel.com>
890
6bfea974
L
891 [BZ #14865]
892 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
893 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
894 -z nodlopen, -z initfirst and -z execstack support.
895 * configure: Regenerated.
896
7e1be741
L
897 * elf/elf.h (DF_1_NODIRECT): New macro.
898 (DF_1_IGNMULDEF): Likewise.
899 (DF_1_NOKSYMS): Likewise.
900 (DF_1_NOHDR): Likewise.
901 (DF_1_EDITED): Likewise.
902 (DF_1_NORELOC): Likewise.
903 (DF_1_SYMINTPOSE): Likewise.
904 (DF_1_GLOBAUDIT): Likewise.
905 (DF_1_SINGLETON): Likewise.
906 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
907 DT_1_SUPPORTED_MASK bits.
908 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
909
105ce2ce
CD
9102012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
911
912 * sysdeps/unix/make-syscalls.sh: Document prefixes.
913
123be9de
TS
9142012-11-20 Thomas Schwinge <thomas@codesourcery.com>
915
d072f3f7
TS
916 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
917 macro.
918
123be9de
TS
919 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
920 (sendmmsg): Move declarations...
921 * socket/sys/socket.h: ... here.
922 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
923 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
924 include it from...
925 * socket/recvmmsg.c: ... this new file.
926 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
927 (sendmmsg): Rename to __sendmmsg, create weak alias and make
928 definition of __sendmmsg hidden.
929 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
930 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
931 Move ENOSYS stub into and include it from...
932 * socket/sendmmsg.c: ... this new file.
933 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
934 (sysdep_routines): Move recvmmsg and sendmmsg...
935 * socket/Makefile (routines): ... here.
936 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
937 (GLIBC_PRIVATE): Add __sendmmsg.
938 * include/sys/socket.h (__sendmmsg): Add declarations.
939 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
940 sendmmsg.
941
cf9a5d18
JM
9422012-11-20 Joseph Myers <joseph@codesourcery.com>
943
944 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
945 variable I1 with __attribute__ ((unused)).
946 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
947
ecd4caf9
JM
9482012-11-19 Joseph Myers <joseph@codesourcery.com>
949
be14d48f
JM
950 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
951 DUMMY variables with __attribute__ ((unused)).
952
ecd4caf9
JM
953 * bits/byteswap.h: Include <bits/types.h>.
954 (__bswap_64): Use __uint64_t instead of unsigned long long int.
955
986cab95
PT
9562012-11-19 Pino Toscano <toscano.pino@tiscali.it>
957
958 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
959 string_t. Do not manually set errno.
960 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
961 length with __strnlen. Make sure to both set errno and return it on
962 failure.
963
6d33cc9d
DM
9642012-11-19 David S. Miller <davem@davemloft.net>
965
966 With help from Joseph Myers.
967 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
968 very large arguments properly.
969 * math/libm-test.inc (atan_test): New tests.
970 (atan2_test): New tests.
971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
973
ee663277
JM
9742012-11-19 Joseph Myers <joseph@codesourcery.com>
975
877f2d8e
JM
976 [BZ #14856]
977 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
978 Define to 3.
979
116fc08a
JM
980 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
981 [POSIX] (EADDRNOTAVAIL): Likewise.
982 [POSIX] (EAFNOSUPPORT): Likewise.
983 [POSIX] (EALREADY): Likewise.
984 [POSIX] (ECONNABORTED): Likewise.
985 [POSIX] (ECONNREFUSED): Likewise.
986 [POSIX] (ECONNRESET): Likewise.
987 [POSIX] (EDESTADDRREQ): Likewise.
988 [POSIX] (EDQUOT): Likewise.
989 [POSIX] (EHOSTUNREACH): Likewise.
990 [POSIX] (EIDRM): Likewise.
991 [POSIX] (EISCONN): Likewise.
992 [POSIX] (ELOOP): Likewise.
993 [POSIX] (EMULTIHOP): Likewise.
994 [POSIX] (ENETDOWN): Likewise.
995 [POSIX] (ENETUNREACH): Likewise.
996 [POSIX] (ENOBUFS): Likewise.
997 [POSIX] (ENODATA): Likewise.
998 [POSIX] (ENOLINK): Likewise.
999 [POSIX] (ENOMSG): Likewise.
1000 [POSIX] (ENOPROTOOPT): Likewise.
1001 [POSIX] (ENOSR): Likewise.
1002 [POSIX] (ENOSTR): Likewise.
1003 [POSIX] (ENOTCONN): Likewise.
1004 [POSIX] (ENOTSOCK): Likewise.
1005 [POSIX] (EOPNOTSUPP): Likewise.
1006 [POSIX] (EOVERFLOW): Likewise.
1007 [POSIX] (EPROTO): Likewise.
1008 [POSIX] (EPROTONOSUPPORT): Likewise.
1009 [POSIX] (EPROTOTYPE): Likewise.
1010 [POSIX] (ESTALE): Likewise.
1011 [POSIX] (ETIME): Likewise.
1012 [POSIX] (ETXTBSY): Likewise.
1013 [POSIX] (EWOULDBLOCK): Likewise.
1014 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1015 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1016 [POSIX] (SEEK_CUR): Likewise.
1017 [POSIX] (SEEK_END): Likewise.
1018 [POSIX || UNIX98] (mode_t): Do not require.
1019 [POSIX] (off_t): Likewise.
1020 [POSIX] (pid_t): Likewise.
1021 [POSIX] (sys/stat.h): Do not allow header.
1022 [POSIX] (unistd.h): Likewise.
1023 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1024 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1025 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1026 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1027 require.
1028 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1029 sigevent): Specify elements.
1030 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1031 entry.
1032 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1033 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1034
a483863f
JM
1035 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1036 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1037 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1038 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1039 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1040 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1041 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1042 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1043 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1044 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1045 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1046 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1047 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1048 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1049 Likewise.
1050 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1051 Likewise.
1052 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1053 Likewise.
1054 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1055 Likewise.
1056 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1057 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1058 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1059 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1060 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1061 Specify lower bound on value.
1062 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1063 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1064 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1065 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1066 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1067 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1068 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1069 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1070 value.
1071 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1072 as optional.
1073 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1074 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1075 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1076 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1077 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1078 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1079 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1080 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1081 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1082 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1083 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1084 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1085 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1086 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1087 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1088 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1089 entry.
1090 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1091 optional.
1092 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1093 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1094 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1095 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1096 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1097 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1098 Likewise.
1099 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1100 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1101 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1102 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1103 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1104 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1105 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1106 as optional.
1107 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1108 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1109 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1110 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1111 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1112 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1113 specify as optional.
1114 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1115 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1116 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1117 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1118 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1119 [XPG3] (NL_LANGMAX): Likewise.
1120 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1121 [POSIX || XPG3] (NL_NMAX): Likewise.
1122 [POSIX || XPG3] (NL_SETMAX): Likewise.
1123 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1124 [XPG3] (NZERO): Likewise.
1125 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1126 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1127 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1128 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1129 (REG_ERANGE): Expect.
1130 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1131 optional-constant.
1132 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1133 Use (void) in prototype.
1134 [POSIX] (*_t): Allow.
1135 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1136 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1137 (WRDE_BADVAL): Expect.
1138
5ba924e3
JM
1139 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1140 expect.
1141 [XPG3 || XPG4] (O_RSYNC): Likewise.
1142 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1143 Likewise.
1144 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1145 [XPG3 || XPG4] (sigqueue): Likewise.
1146 [XPG3 || XPG4] (sigtimedwait): Likewise.
1147 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1148 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1149 [XPG3 || XPG4] (vsnprintf): Likewise.
1150 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1151 Likewise.
1152 [XPG3 || XPG4] (blksize_t): Likewise.
1153 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1154 Likewise.
1155 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1156 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1157 [XPG3 || XPG4] (struct itimerspec): Likewise.
1158 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1159 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1160 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1161 [XPG3 || XPG4] (clockid_t): Likewise.
1162 [XPG3 || XPG4] (timer_t): Likewise.
1163 [XPG3 || XPG4] (clock_getres): Likewise.
1164 [XPG3 || XPG4] (clock_gettime): Likewise.
1165 [XPG3 || XPG4] (clock_settime): Likewise.
1166 [XPG3 || XPG4] (nanosleep): Likewise.
1167 [XPG3 || XPG4] (timer_create): Likewise.
1168 [XPG3 || XPG4] (timer_delete): Likewise.
1169 [XPG3 || XPG4] (timer_gettime): Likewise.
1170 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1171 [XPG3 || XPG4] (timer_settime): Likewise.
1172 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1173 [XPG3 || XPG4] (getlogin_r): Likewise.
1174 [XPG3 || XPG4] (pread): Likewise.
1175 [XPG3 || XPG4] (pthread_atfork): Likewise.
1176 [XPG3 || XPG4] (pwrite): Likewise.
1177
ee663277
JM
1178 [BZ #14835]
1179 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1180 <bits/siginfo.h>.
1181
942caa16
PT
11822012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1183
e19af380
PT
1184 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1185 finalizing MALLSTREAM.
1186
942caa16
PT
1187 * sysdeps/mach/hurd/syncfs.c: New file.
1188
cfde9b46
SP
11892012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1190
1191 [BZ #14719]
1192 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1193 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1194 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1195 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1196 (_nss_dns_gethostbyname4_r): Likewise.
1197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1198 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1199
f6da27e5
PH
12002012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1201
1202 [BZ #13763]
1203 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1204
6665d4a2
SM
12052012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1206
1f51ee92
SM
1207 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1208 * elf/cache.c (print_entry): Print ",AArch64" for
1209 FLAG_AARCH64_LIB64
1210
6665d4a2
SM
1211 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1212 * elf/cache.c (print_entry): Print ",hard-float" for
1213 FLAG_ARM_LIBHF.
1214
05b227bd
DM
12152012-11-18 David S. Miller <davem@davemloft.net>
1216
1217 With help from Joseph Myers.
1218 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1219 cutoff to 2**-13.
1220 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1221 cutoff to 2**-25.
1222 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1223 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1224 small.
1225 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1226 * math/libm-test.inc (y0_test): New tests.
1227 (y1_test): New tests.
1228 * sysdeps/i386/fpu/libm-test-ulps: Update.
1229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1231
786b0b67
AS
12322012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1233
1234 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1235 64-bit targets.
1236 * configure: Regenerated.
1237
8e18b86d
DM
12382012-11-17 David S. Miller <davem@davemloft.net>
1239
1240 [BZ #14811]
1241 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1242 nonzero exponents with absolute value below 0x1p-128 to +/-
1243 0x1p-128.
1244
531f1ae0
JM
12452012-11-17 Joseph Myers <joseph@codesourcery.com>
1246
12df29e2
JM
1247 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1248
150dc1a0
JM
1249 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1250
531f1ae0
JM
1251 * posix/getconf-speclist.c: New file.
1252 * posix/posix-envs.def: Likewise.
1253 * posix/confstr.c (START_ENV_GROUP): New macro.
1254 (END_ENV_GROUP): Likewise.
1255 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1256 (KNOWN_PRESENT_ENV_STRING): Likewise.
1257 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1258 (UNKNOWN_ENVIRONMENT): Likewise.
1259 (confstr): Include posix-envs.def instead of handling
1260 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1261 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1262 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1263 (END_ENV_GROUP): Likewise.
1264 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1265 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1266 (UNKNOWN_ENVIRONMENT): Likewise.
1267 (__sysconf): Include posix-envs.def instead of handling associated
1268 cases directly here.
1269 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1270 preprocessing getconf-speclist.c rather than running getconf or
1271 generating empty file.
1272
a93f9cbc
PT
12732012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1274
1275 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1276
d64d9f87
AL
12772012-11-16 Andrej Lajovic <natrij@gmail.com>
1278
1279 [BZ #14672]
1280 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1281
447885eb
DM
12822012-11-16 David S. Miller <davem@davemloft.net>
1283
1284 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1285 smaller than LDBL_EPSILON/2.0L, just return xm1.
1286
bcbf9830
L
12872012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1288
1289 * elf/tst-array1.c (init): Set constructor priority to 1000.
1290 (fini): Set destructor priority to 1000.
1291 * elf/tst-array2dep.c: Likewise.
1292
2b766585
SP
12932012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1294
1295 [BZ #11741]
1296 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1297 (_IO_new_file_xsputn): Also return EOF if none of the input
1298 data was written when overflow failed.
1299 * libio/iopadn.c (_IO_padn): Likewise.
1300 * libio/iowpadn.c (_IO_wpadn): Likewise.
1301 * stdio-common/tst-put-error.c: Add copyright notice.
1302 (do_test): Add case for printing padded string.
1303 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1304 _IO_padn returned error.
1305 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1306 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1307 return EOF.
1308
b1848fde
SP
13092012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1310
1311 * libio/libioP.h: Add comment note that the references to C++
1312 bits are now obsolete.
1313
2fd89785
MS
13142012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1315
1316 * math/libm-test.inc (check_complex): Use asprintf.
1317
e3ea5409
JM
13182012-11-14 Joseph Myers <joseph@codesourcery.com>
1319
1320 * debug/pcprofiledump.c (print_version): Update copyright year.
1321 * malloc/memusagestat.c (print_version): Likewise.
1322
2e64d265
L
13232012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1324
1325 [BZ #14831]
1326 * elf/Makefile (tests): Add tst-audit8.
1327 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1328 ($(objpfx)tst-audit8.out): New target.
1329 (tst-audit8-ENV): New variable.
1330 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1331 audit if l_reloc_result is NULL.
1332 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1333 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1334 * elf/tst-audit8.c: New file.
1335
c485e4d2
MS
13362012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1337
1338 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1339 * misc/Makefile (CFLAGS-select.c): Define.
1340 * posix/Makefile (CFLAGS-pause.c): Define.
1341
3a0d900a
DM
13422012-11-13 David S. Miller <davem@davemloft.net>
1343
1344 * crypt/Makefile: Move test targets after toplevel Rules
1345 inclusion. Grab any necessary sysdep routines when linking.
1346 * crypt/md5.c (md5_process_block): Remove define, we will always
1347 name it __md5_process_block.
1348 (md5_finish_ctx): Update md5_process_block call.
1349 (md5_stream): Likewise.
1350 (md5_process_bytes): Likewise.
1351 (md5_process_block): Rename to __md5_process_block and move to ...
1352 * crypt/md5-block.c: ... here.
1353 * crypt/sha256.c (sha256_process_block): Move to ...
1354 * crypt/sha256-block.c: ... here.
1355 * crypt/sha512.c (sha512_process_block): Move to ...
1356 * crypt/sha512-block.c: ... here.
1357 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1358 path.
1359 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1360 * sysdeps/sparc/sparc64/multiarch/Makefile
1361 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1362 crypt subdir.
1363 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1364 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1365 multiarch changes.
1366 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1367 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1368 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1369 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1370 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1371 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1372 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1373 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1374 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1375 file.
1376 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1377 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1378 file.
1379 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1380
8ca89318
JM
13812012-11-13 Joseph Myers <joseph@codesourcery.com>
1382
e27d476a
JM
1383 * timezone/tzselect.ksh: Update from tzcode git revision
1384 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1385 * timezone/zdump.c: Likewise.
1386 * timezone/zic.c: Likewise.
1387 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1388 in TZVERSION setting, not $(PKGVERSION).
1389 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1390 REPORT_BUGS_TO settings.
1391
8ca89318
JM
1392 [BZ #14838]
1393 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1394 macro.
1395
47594329
MS
13962012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1397
1398 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1399 detection to immediately after _FP_ROUND().
1400 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1401 bits are 0.
1402
640ac3f1
DM
14032012-11-11 David S. Miller <davem@davemloft.net>
1404
1405 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1406 inttypes.h
1407 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1408 __close rather than their public counterparts.
1409
3d2577bb
JM
14102012-11-10 Joseph Myers <joseph@codesourcery.com>
1411
1412 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1413 file.
1414 [UNIX98] (sem_timedwait): Do not expect.
1415 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1416 [XPG4 || UNIX98] (sockatmark): Do not expect.
1417 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1418 (clock_getcpuclockid): Do not expect.
1419 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1420 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1421 Do not expect.
1422 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1423 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1424 [UNIX98] (vwscanf): Likewise.
1425 [UNIX98] (vswscanf): Likewise.
1426
fb1ae1ee
JM
14272012-11-09 Joseph Myers <joseph@codesourcery.com>
1428
9ec6f8bd
JM
1429 * timezone/version.h: Remove file.
1430 * timezone/README: Do not refer to version.h.
1431 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1432 $(objpfx)version.h.
1433 ($(objpfx)zdump.o): Likewise.
c3f81911 1434 ($(objpfx)version.h): New target.
9ec6f8bd 1435
0aa8f8a1
JM
1436 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1437 2012i.
1438 * timezone/README: Don't mention modification to tzselect.ksh.
1439 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1440 work on unmodified tzselect.ksh. Substitute version numbers in
1441 tzselect.ksh.
1442
4e87147f
JM
1443 * Makefile (format-me): Remove.
1444 (INSTALL): Adjust indentation. Use commands directly instead of
1445 using $(format-me).
1446
8b748aed
JM
1447 * aclocal.m4 (ACX_PKGVERSION): New macro.
1448 (ACX_BUGURL): Likewise.
1449 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1450 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1451 (REPORT_BUGS_TO): Likewise.
1452 * configure: Regenerated.
1453 * config.h.in (PKGVERSION): New macro.
1454 (REPORT_BUGS_TO): Likewise.
1455 * config.make.in (PKGVERSION): New variable.
1456 (PKGVERSION_TEXI): Likewise.
1457 (REPORT_BUGS_TO): Likewise.
1458 (REPORT_BUGS_TEXI): Likewise.
1459 * Makefile (format-me): Use -I$(common-objpfx)manual.
1460 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1461 ($(common-objpfx)manual/%): New target.
1462 (manual/%): Remove target.
1463 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1464 (print_version): Use PKGVERSION.
1465 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1466 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1467 and REPORT_BUGS_TO.
1468 ($(objpfx)xtrace): Likewise.
1469 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1470 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1471 (print_version): Use PKGVERSION.
1472 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1473 (do_version): Use PKGVERSION.
1474 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1475 REPORT_BUGS_TO.
1476 (common-ldd-rewrite): Likewise.
1477 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1478 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1479 (print_version): Use PKGVERSION.
1480 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1481 * elf/pldd.c (argp_program_bug_address): Remove variable.
1482 (more_help): New function.
1483 (argp): Use more_help.
1484 (print_version): Use PKGVERSION.
1485 * elf/sln.c (main): Use PKGVERSION.
1486 (usage): Use REPORT_BUGS_TO.
1487 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1488 (top level): Use PKGVERSION.
1489 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1490 (print_version): Use PKGVERSION.
1491 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1492 (print_version): Use PKGVERSION.
1493 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1494 (print_version): Use PKGVERSION.
1495 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1496 (print_version): Use PKGVERSION.
1497 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1498 (print_version): Use PKGVERSION.
1499 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1500 (print_version): Use PKGVERSION.
1501 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1502 and BUGURL.
1503 ($(objpfx)memusage): Likewise.
1504 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1505 (do_version): Use PKGVERSION.
1506 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1507 (print_version): Use PKGVERSION.
1508 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1509 ($PKGVERSION): New variable.
1510 ($REPORT_BUGS_TO): Likewise.
1511 (usage): Use $REPORT_BUGS_TO.
1512 (top level): Use $PKGVERSION.
1513 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1514 ($(objpfx)pkgvers.texi): New rule.
1515 ($(objpfx)stamp-pkgvers): Likewise.
1516 * manual/install.texi: Include pkgvers.texi.
1517 (--with-pkgversion): Document new configure option.
1518 (--with-bugurl): Likewise.
1519 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1520 than necessarily for this particular distribution. Use
1521 REPORT_BUGS_TO for where to report bugs.
1522 * INSTALL: Regenerated.
1523 * manual/libc.texinfo: Include pkgvers.texi.
1524 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1525 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1526 (print_version): Use PKGVERSION.
1527 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1528 (print_version): Use PKGVERSION.
1529 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1530 (print_version): Use PKGVERSION.
1531 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1532 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1533 macro.
1534 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1535 (print_version): Use PKGVERSION.
1536 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1537 (print_version): Use PKGVERSION.
1538 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1539 and PKGVERSION.
1540
92e4b6a9
JM
1541 * timezone/checktab.awk: Update from tzcode 2012i.
1542 * timezone/ialloc.c: Likewise.
1543 * timezone/private.h: Likewise.
1544 * timezone/scheck.c: Likewise.
1545 * timezone/tzfile.h: Likewise.
1546 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1547 (TZVERSION): Hardcode tzcode version number.
1548 * timezone/zdump.c: Update from tzcode 2012i.
1549 * timezone/zic.c: Likewise.
1550 * timezone/version.h: New file.
1551 * timezone/README: Describe version.h. Update upstream location.
1552
9bde902c
JM
1553 [BZ #14824]
1554 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1555 (mktemp): Enable declaration.
1556 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1557 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1558 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1559 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1560 Likewise.
1561 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1562 Likewise.
1563 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1564 Likewise.
1565 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1566 Likewise.
1567 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1568 Likewise.
1569 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1570 Likewise.
1571
fb1ae1ee
JM
1572 [BZ #14821]
1573 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1574 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1575 for copies of such integer values.
1576 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1577 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1578
2c1adbcb
AJ
15792012-11-09 Andreas Jaeger <aj@suse.de>
1580
1581 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1582 definitions and declarations that are provided by
1583 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1584
d0f8457e
AK
15852012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1586
1587 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1588 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1589 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1590 definition.
1591
57241e26
MS
15922012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1593
1594 * elf/elf.h: Update comment before AArch64 relocations.
1595
60e8270d
DM
15962012-11-07 David S. Miller <davem@davemloft.net>
1597
1598 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1599 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1600 (__start_context): Declare.
1601 (__makecontext_ret): Delete.
1602 (__makecontext): Hook up __start_context instead of
1603 __makecontext_ret.
1604 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1605 (sysdep_routines): Add __start_context when in stdlib.
1606
0fbb0fbc
JM
16072012-11-07 Joseph Myers <joseph@codesourcery.com>
1608
1609 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1610 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1611 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1612 hardcoded "nm".
1613 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1614 (READELF): New variable. Use it instead of hardcoded "readelf".
1615
eb48db7e
L
16162012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1617
1618 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1619 * sysdeps/x86/Makefile: Here.
1620 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1621 * sysdeps/x86/tst-xmmymm.sh: This.
1622
05bcf62a
JM
16232012-11-07 Joseph Myers <joseph@codesourcery.com>
1624
c4b6cf53
JM
1625 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1626 expectations.
1627 [UNIX98] (pthread_barrier_t): Do not expect.
1628 [UNIX98] (pthread_barrierattr_t): Likewise.
1629 [UNIX98] (pthread_spinlock_t): Likewise.
1630 [UNIX98] (pthread_barrier_destroy): Likewise.
1631 [UNIX98] (pthread_barrier_init): Likewise.
1632 [UNIX98] (pthread_barrier_wait): Likewise.
1633 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1634 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1635 [UNIX98] (pthread_barrierattr_init): Likewise.
1636 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1637 [UNIX98] (pthread_getcpuclockid): Likewise.
1638 [UNIX98] (pthread_mutex_timedlock): Likewise.
1639 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1640 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1641 [UNIX98] (pthread_sigmask): Likewise.
1642 [UNIX98] (pthread_spin_destroy): Likewise.
1643 [UNIX98] (pthread_spin_init): Likewise.
1644 [UNIX98] (pthread_spin_lock): Likewise.
1645 [UNIX98] (pthread_spin_trylock): Likewise.
1646 [UNIX98] (pthread_spin_unlock): Likewise.
1647 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1648 Do not expect.
1649 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1650 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1651 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1652 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1653 [XPG3 || XPG4] (pthread_key_t): Likewise.
1654 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1655 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1656 [XPG3 || XPG4] (pthread_once_t): Likewise.
1657 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1658 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1659 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1660 [XPG3 || XPG4] (pthread_t): Likewise.
1661
cbe6e120
JM
1662 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1663 not expect.
1664 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1665
1b126443
JM
1666 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1667 Change function return type to int.
1668
b961a573
JM
1669 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1670 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1671 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1672 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1673 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1674 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1675 [!POSIX] (posix_madvise): Likewise.
1676 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1677 && !UNIX98].
1678 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1679 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1680 (mode_t): Likewise.
1681 (posix_mem_offset): Likewise.
1682 (posix_typed_mem_get_info): Likewise.
1683 (posix_typed_mem_open): Likewise.
1684
9e188909
JM
1685 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1686 Change condition to [XOPEN2K8].
1687
05bcf62a
JM
1688 * conform/conformtest.pl: Preprocess allow-header data with -x c
1689 instead of from stdin.
1690 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1691 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1692 [C99-based standards] (cerfc): Likewise.
1693 [C99-based standards] (cexp2): Likewise.
1694 [C99-based standards] (cexpm1): Likewise.
1695 [C99-based standards] (clog10): Likewise.
1696 [C99-based standards] (clog1p): Likewise.
1697 [C99-based standards] (clog2): Likewise.
1698 [C99-based standards] (clgamma): Likewise.
1699 [C99-based standards] (ctgamma): Likewise.
1700 [C99-based standards] (cerff): Likewise.
1701 [C99-based standards] (cerfcf): Likewise.
1702 [C99-based standards] (cexp2f): Likewise.
1703 [C99-based standards] (cexpm1f): Likewise.
1704 [C99-based standards] (clog10f): Likewise.
1705 [C99-based standards] (clog1pf): Likewise.
1706 [C99-based standards] (clog2f): Likewise.
1707 [C99-based standards] (clgammaf): Likewise.
1708 [C99-based standards] (ctgammaf): Likewise.
1709 [C99-based standards] (cerfl): Likewise.
1710 [C99-based standards] (cerfcl): Likewise.
1711 [C99-based standards] (cexp2l): Likewise.
1712 [C99-based standards] (cexpm1l): Likewise.
1713 [C99-based standards] (clog10l): Likewise.
1714 [C99-based standards] (clog1pl): Likewise.
1715 [C99-based standards] (clog2l): Likewise.
1716 [C99-based standards] (clgammal): Likewise.
1717 [C99-based standards] (ctgammal): Likewise.
1718 * conform/data/inttypes.h-data [C99-based standards]: Include
1719 stdint.h-data. Remove all expectations for stdint.h contents.
1720 [C99-based standards] (PRI*): Do not allow.
1721 [C99-based standards] (SCN*): Likewise.
1722 [C99-based standards] (*_t): Likewise.
1723 [C99-based-standards] (PRId8): Expect macro.
1724 [C99-based-standards] (PRIi8): Likewise.
1725 [C99-based-standards] (PRIo8): Likewise.
1726 [C99-based-standards] (PRIu8): Likewise.
1727 [C99-based-standards] (PRIx8): Likewise.
1728 [C99-based-standards] (PRIX8): Likewise.
1729 [C99-based-standards] (SCNd8): Likewise.
1730 [C99-based-standards] (SCNi8): Likewise.
1731 [C99-based-standards] (SCNo8): Likewise.
1732 [C99-based-standards] (SCNu8): Likewise.
1733 [C99-based-standards] (SCNx8): Likewise.
1734 [C99-based-standards] (PRIdLEAST8): Likewise.
1735 [C99-based-standards] (PRIiLEAST8): Likewise.
1736 [C99-based-standards] (PRIoLEAST8): Likewise.
1737 [C99-based-standards] (PRIuLEAST8): Likewise.
1738 [C99-based-standards] (PRIxLEAST8): Likewise.
1739 [C99-based-standards] (PRIXLEAST8): Likewise.
1740 [C99-based-standards] (SCNdLEAST8): Likewise.
1741 [C99-based-standards] (SCNiLEAST8): Likewise.
1742 [C99-based-standards] (SCNoLEAST8): Likewise.
1743 [C99-based-standards] (SCNuLEAST8): Likewise.
1744 [C99-based-standards] (SCNxLEAST8): Likewise.
1745 [C99-based-standards] (PRIdFAST8): Likewise.
1746 [C99-based-standards] (PRIiFAST8): Likewise.
1747 [C99-based-standards] (PRIoFAST8): Likewise.
1748 [C99-based-standards] (PRIuFAST8): Likewise.
1749 [C99-based-standards] (PRIxFAST8): Likewise.
1750 [C99-based-standards] (PRIXFAST8): Likewise.
1751 [C99-based-standards] (SCNdFAST8): Likewise.
1752 [C99-based-standards] (SCNiFAST8): Likewise.
1753 [C99-based-standards] (SCNoFAST8): Likewise.
1754 [C99-based-standards] (SCNuFAST8): Likewise.
1755 [C99-based-standards] (SCNxFAST8): Likewise.
1756 [C99-based-standards] (PRId16): Likewise.
1757 [C99-based-standards] (PRIi16): Likewise.
1758 [C99-based-standards] (PRIo16): Likewise.
1759 [C99-based-standards] (PRIu16): Likewise.
1760 [C99-based-standards] (PRIx16): Likewise.
1761 [C99-based-standards] (PRIX16): Likewise.
1762 [C99-based-standards] (SCNd16): Likewise.
1763 [C99-based-standards] (SCNi16): Likewise.
1764 [C99-based-standards] (SCNo16): Likewise.
1765 [C99-based-standards] (SCNu16): Likewise.
1766 [C99-based-standards] (SCNx16): Likewise.
1767 [C99-based-standards] (PRIdLEAST16): Likewise.
1768 [C99-based-standards] (PRIiLEAST16): Likewise.
1769 [C99-based-standards] (PRIoLEAST16): Likewise.
1770 [C99-based-standards] (PRIuLEAST16): Likewise.
1771 [C99-based-standards] (PRIxLEAST16): Likewise.
1772 [C99-based-standards] (PRIXLEAST16): Likewise.
1773 [C99-based-standards] (SCNdLEAST16): Likewise.
1774 [C99-based-standards] (SCNiLEAST16): Likewise.
1775 [C99-based-standards] (SCNoLEAST16): Likewise.
1776 [C99-based-standards] (SCNuLEAST16): Likewise.
1777 [C99-based-standards] (SCNxLEAST16): Likewise.
1778 [C99-based-standards] (PRIdFAST16): Likewise.
1779 [C99-based-standards] (PRIiFAST16): Likewise.
1780 [C99-based-standards] (PRIoFAST16): Likewise.
1781 [C99-based-standards] (PRIuFAST16): Likewise.
1782 [C99-based-standards] (PRIxFAST16): Likewise.
1783 [C99-based-standards] (PRIXFAST16): Likewise.
1784 [C99-based-standards] (SCNdFAST16): Likewise.
1785 [C99-based-standards] (SCNiFAST16): Likewise.
1786 [C99-based-standards] (SCNoFAST16): Likewise.
1787 [C99-based-standards] (SCNuFAST16): Likewise.
1788 [C99-based-standards] (SCNxFAST16): Likewise.
1789 [C99-based-standards] (PRId32): Likewise.
1790 [C99-based-standards] (PRIi32): Likewise.
1791 [C99-based-standards] (PRIo32): Likewise.
1792 [C99-based-standards] (PRIu32): Likewise.
1793 [C99-based-standards] (PRIx32): Likewise.
1794 [C99-based-standards] (PRIX32): Likewise.
1795 [C99-based-standards] (SCNd32): Likewise.
1796 [C99-based-standards] (SCNi32): Likewise.
1797 [C99-based-standards] (SCNo32): Likewise.
1798 [C99-based-standards] (SCNu32): Likewise.
1799 [C99-based-standards] (SCNx32): Likewise.
1800 [C99-based-standards] (PRIdLEAST32): Likewise.
1801 [C99-based-standards] (PRIiLEAST32): Likewise.
1802 [C99-based-standards] (PRIoLEAST32): Likewise.
1803 [C99-based-standards] (PRIuLEAST32): Likewise.
1804 [C99-based-standards] (PRIxLEAST32): Likewise.
1805 [C99-based-standards] (PRIXLEAST32): Likewise.
1806 [C99-based-standards] (SCNdLEAST32): Likewise.
1807 [C99-based-standards] (SCNiLEAST32): Likewise.
1808 [C99-based-standards] (SCNoLEAST32): Likewise.
1809 [C99-based-standards] (SCNuLEAST32): Likewise.
1810 [C99-based-standards] (SCNxLEAST32): Likewise.
1811 [C99-based-standards] (PRIdFAST32): Likewise.
1812 [C99-based-standards] (PRIiFAST32): Likewise.
1813 [C99-based-standards] (PRIoFAST32): Likewise.
1814 [C99-based-standards] (PRIuFAST32): Likewise.
1815 [C99-based-standards] (PRIxFAST32): Likewise.
1816 [C99-based-standards] (PRIXFAST32): Likewise.
1817 [C99-based-standards] (SCNdFAST32): Likewise.
1818 [C99-based-standards] (SCNiFAST32): Likewise.
1819 [C99-based-standards] (SCNoFAST32): Likewise.
1820 [C99-based-standards] (SCNuFAST32): Likewise.
1821 [C99-based-standards] (SCNxFAST32): Likewise.
1822 [C99-based-standards] (PRId64): Likewise.
1823 [C99-based-standards] (PRIi64): Likewise.
1824 [C99-based-standards] (PRIo64): Likewise.
1825 [C99-based-standards] (PRIu64): Likewise.
1826 [C99-based-standards] (PRIx64): Likewise.
1827 [C99-based-standards] (PRIX64): Likewise.
1828 [C99-based-standards] (SCNd64): Likewise.
1829 [C99-based-standards] (SCNi64): Likewise.
1830 [C99-based-standards] (SCNo64): Likewise.
1831 [C99-based-standards] (SCNu64): Likewise.
1832 [C99-based-standards] (SCNx64): Likewise.
1833 [C99-based-standards] (PRIdLEAST64): Likewise.
1834 [C99-based-standards] (PRIiLEAST64): Likewise.
1835 [C99-based-standards] (PRIoLEAST64): Likewise.
1836 [C99-based-standards] (PRIuLEAST64): Likewise.
1837 [C99-based-standards] (PRIxLEAST64): Likewise.
1838 [C99-based-standards] (PRIXLEAST64): Likewise.
1839 [C99-based-standards] (SCNdLEAST64): Likewise.
1840 [C99-based-standards] (SCNiLEAST64): Likewise.
1841 [C99-based-standards] (SCNoLEAST64): Likewise.
1842 [C99-based-standards] (SCNuLEAST64): Likewise.
1843 [C99-based-standards] (SCNxLEAST64): Likewise.
1844 [C99-based-standards] (PRIdFAST64): Likewise.
1845 [C99-based-standards] (PRIiFAST64): Likewise.
1846 [C99-based-standards] (PRIoFAST64): Likewise.
1847 [C99-based-standards] (PRIuFAST64): Likewise.
1848 [C99-based-standards] (PRIxFAST64): Likewise.
1849 [C99-based-standards] (PRIXFAST64): Likewise.
1850 [C99-based-standards] (SCNdFAST64): Likewise.
1851 [C99-based-standards] (SCNiFAST64): Likewise.
1852 [C99-based-standards] (SCNoFAST64): Likewise.
1853 [C99-based-standards] (SCNuFAST64): Likewise.
1854 [C99-based-standards] (SCNxFAST64): Likewise.
1855 [C99-based-standards] (PRIdMAX): Likewise.
1856 [C99-based-standards] (PRIiMAX): Likewise.
1857 [C99-based-standards] (PRIoMAX): Likewise.
1858 [C99-based-standards] (PRIuMAX): Likewise.
1859 [C99-based-standards] (PRIxMAX): Likewise.
1860 [C99-based-standards] (PRIXMAX): Likewise.
1861 [C99-based-standards] (SCNdMAX): Likewise.
1862 [C99-based-standards] (SCNiMAX): Likewise.
1863 [C99-based-standards] (SCNoMAX): Likewise.
1864 [C99-based-standards] (SCNuMAX): Likewise.
1865 [C99-based-standards] (SCNxMAX): Likewise.
1866 [C99-based-standards] (PRIdPTR): Likewise.
1867 [C99-based-standards] (PRIiPTR): Likewise.
1868 [C99-based-standards] (PRIoPTR): Likewise.
1869 [C99-based-standards] (PRIuPTR): Likewise.
1870 [C99-based-standards] (PRIxPTR): Likewise.
1871 [C99-based-standards] (PRIXPTR): Likewise.
1872 [C99-based-standards] (SCNdPTR): Likewise.
1873 [C99-based-standards] (SCNiPTR): Likewise.
1874 [C99-based-standards] (SCNoPTR): Likewise.
1875 [C99-based-standards] (SCNuPTR): Likewise.
1876 [C99-based-standards] (SCNxPTR): Likewise.
1877 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1878 allow.
1879 * conform/data/stdint.h-data: Update comments to clarify
1880 requirements.
1881 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1882 type.
1883 [C99-based standards] (INT8_MAX): Likewise.
1884 [C99-based standards] (INT16_MIN): Likewise.
1885 [C99-based standards] (INT16_MAX): Likewise.
1886 [C99-based standards] (INT32_MIN): Likewise.
1887 [C99-based standards] (INT32_MAX): Likewise.
1888 [C99-based standards] (INT64_MIN): Likewise.
1889 [C99-based standards] (INT64_MAX): Likewise.
1890 [C99-based standards] (UINT8_MAX): Likewise.
1891 [C99-based standards] (UINT16_MAX): Likewise.
1892 [C99-based standards] (UINT32_MAX): Likewise.
1893 [C99-based standards] (UINT64_MAX): Likewise.
1894 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1895 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1896 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1897 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1898 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1899 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1900 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1901 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1902 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1903 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1904 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1905 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1906 [C99-based standards] (INT_FAST8_MIN): Likewise.
1907 [C99-based standards] (INT_FAST8_MAX): Likewise.
1908 [C99-based standards] (INT_FAST16_MIN): Likewise.
1909 [C99-based standards] (INT_FAST16_MAX): Likewise.
1910 [C99-based standards] (INT_FAST32_MIN): Likewise.
1911 [C99-based standards] (INT_FAST32_MAX): Likewise.
1912 [C99-based standards] (INT_FAST64_MIN): Likewise.
1913 [C99-based standards] (INT_FAST64_MAX): Likewise.
1914 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1915 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1916 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1917 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1918 [C99-based standards] (INTPTR_MIN): Likewise.
1919 [C99-based standards] (INTPTR_MAX): Likewise.
1920 [C99-based standards] (UINTPTR_MAX): Likewise.
1921 [C99-based standards] (INTMAX_MIN): Likewise.
1922 [C99-based standards] (INTMAX_MAX): Likewise.
1923 [C99-based standards] (UINTMAX_MAX): Likewise.
1924 [C99-based standards] (PTRDIFF_MIN): Likewise.
1925 [C99-based standards] (PTRDIFF_MAX): Likewise.
1926 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1927 [C99-based standards] (SIZE_MAX): Likewise.
1928 [C99-based standards] (WCHAR_MAX): Likewise.
1929 [C99-based standards] (WINT_MAX): Likewise.
1930 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1931 constraint on value.
1932 [C99-based standards] (WCHAR_MIN): Likewise.
1933 [C99-based standards] (WINT_MIN): Likewise.
1934 [C99-based standards] (*_t): Allow.
1935 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1936 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1937 Include math.h-data and complex.h-data. Remove all expectations
1938 of math.h and complex.h contents.
1939 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1940 at end of line.
1941 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1942 (struct tm): Expect tag.
1943 [C99-based-standards] (wcstof): Expect function.
1944 [C99-based-standards] (wcstold): Likewise.
1945 [C99-based-standards] (wcstoll): Likewise.
1946 [C99-based-standards] (wcstoull): Likewise.
1947 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1948 macro-int-constant. Specify type.
1949 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1950 constraint on value.
1951 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1952 Specify type.
1953 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1954 Specify value.
1955 [ISO C standards]: Do not allow headers.
1956 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1957 wcs[abcdefghijklmnopqrstuvwxyz]*.
1958 [ISO C standards] (*_t): Do not allow.
1959 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1960 Expect function.
1961 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1962 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1963 Specify type.
1964 [ISO C standards]: Do not allow headers.
1965 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1966 is[abcdefghijklmnopqrstuvwxyz]*.
1967 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1968 to[abcdefghijklmnopqrstuvwxyz]*.
1969 [ISO C standards] (*_t): Do not allow.
1970 * conform/data/stdalign.h-data: New file.
1971 * conform/data/stdbool.h-data: Likewise.
1972 * conform/data/stdnoreturn.h-data: Likewise.
1973
7514feb8
RM
19742012-11-07 Roland McGrath <roland@hack.frob.com>
1975
1976 [BZ #14815]
1977 * manual/filesys.texi (Directory Entries): Typo fix.
1978 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1979
19b2ecfc
MS
19802012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1981
1982 * elf/elf.h (EM_AARCH64): New macro.
1983 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1984 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1985 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1986 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1987 (R_AARCH64_TLSDESC): Likewise.
1988 (NT_ARM_TLS): Likewise.
1989 (NT_ARM_HW_BREAK): Likewise.
1990 (NT_ARM_HW_WATCH): Likewise.
1991
60e235ee
JM
19922012-11-07 Joseph Myers <joseph@codesourcery.com>
1993
1994 [BZ #14811]
1995 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1996 (__ieee754_powl): Saturate nonzero exponents with absolute value
1997 below 0x1p-79 to +/- 0x1p-79.
1998 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1999 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2000 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2001 nonzero exponents with absolute value below 0x1p-32 to +/-
2002 0x1p-32.
2003 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2004 (__ieee754_powl): Saturate nonzero exponents with absolute value
2005 below 0x1p-79 to +/- 0x1p-79.
2006 * math/libm-test.inc (pow_test): Add more tests.
2007
0ab234b7
AK
20082012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2009
2010 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2011 _dl_s390_cap_flags with kernel. Increase string length.
2012 (_dl_s390_platforms): Add z196 and zEC12.
2013
45832f74
JM
20142012-11-07 Joseph Myers <joseph@codesourcery.com>
2015
2016 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2017 Change XOPEN21K to XOPEN2K.
2018
19218757
MK
20192012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2020
2021 * string/memmove.c: Use memcpy when possible.
2022
c5f45721
AJ
20232012-11-06 Andreas Jaeger <aj@suse.de>
2024
2025 * po/eo.po: Update from translation team.
2026
82477c28
JM
20272012-11-06 Joseph Myers <joseph@codesourcery.com>
2028
2029 [BZ #14793]
2030 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2031 exponent and small x and y exponents, scale x or y up. Increase
2032 by 2 the exponent used in scaling up.
2033 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2034 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2035 * math/libm-test.inc (fma_test): Add more tests.
2036 (fma_test_towardzero): Likewise.
2037 (fma_test_downward): Likewise.
2038 (fma_test_upward): Likewise.
2039
99252c8c
JM
20402012-11-05 Joseph Myers <joseph@codesourcery.com>
2041
acfa885f
JM
2042 [BZ #14805]
2043 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2044 fenv_t *.
2045
99252c8c
JM
2046 [BZ #14801]
2047 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2048 namespace for names of struct fields.
2049 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2050 fenv_t fields.
2051 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2052 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2053
d6d98dea
ST
20542012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2055
2056 [BZ #3665]
2057 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2058
e10bb107
TS
20592012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2060
2061 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2062 PTR_DEMANGLE.
2063
2064 [BZ #5246]
2065 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2066 PTR_DEMANGLE.
2067
a0c2940d
JM
20682012-11-04 Joseph Myers <joseph@codesourcery.com>
2069
2070 [BZ #14797]
2071 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2072 definitely overflow as x * y not x * y + z.
2073 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2074 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2075 * math/libm-test.inc (fma_test): Add more tests.
2076 (fma_test_towardzero): Likewise.
2077 (fma_test_downward): Likewise.
2078 (fma_test_upward): Likewise.
2079
b830319d
TS
20802012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2081
2082 [BZ #157]
2083
2084 * include/stub-tag.h: Remove file.
2085 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2086 '#include' of it.
2087 * manual/maint.texi (Porting): Don't reference it.
2088 * Makerules ($(objpfx)stubs): Likewise.
2089 * dirent/closedir.c: Don't include <stub-tag.h>.
2090 * dirent/dirfd.c: Likewise.
2091 * dirent/fdopendir.c: Likewise.
2092 * dirent/getdents.c: Likewise.
2093 * dirent/getdents64.c: Likewise.
2094 * dirent/opendir.c: Likewise.
2095 * dirent/readdir.c: Likewise.
2096 * dirent/readdir64.c: Likewise.
2097 * dirent/readdir64_r.c: Likewise.
2098 * dirent/readdir_r.c: Likewise.
2099 * dirent/rewinddir.c: Likewise.
2100 * dirent/seekdir.c: Likewise.
2101 * dirent/telldir.c: Likewise.
2102 * gmon/profil.c: Likewise.
2103 * grp/setgroups.c: Likewise.
2104 * inet/if_index.c: Likewise.
2105 * io/access.c: Likewise.
2106 * io/chdir.c: Likewise.
2107 * io/chmod.c: Likewise.
2108 * io/chown.c: Likewise.
2109 * io/close.c: Likewise.
2110 * io/dup.c: Likewise.
2111 * io/dup2.c: Likewise.
2112 * io/dup3.c: Likewise.
2113 * io/euidaccess.c: Likewise.
2114 * io/faccessat.c: Likewise.
2115 * io/fchdir.c: Likewise.
2116 * io/fchmod.c: Likewise.
2117 * io/fchmodat.c: Likewise.
2118 * io/fchown.c: Likewise.
2119 * io/fchownat.c: Likewise.
2120 * io/fcntl.c: Likewise.
2121 * io/flock.c: Likewise.
2122 * io/fstatfs.c: Likewise.
2123 * io/fstatfs64.c: Likewise.
2124 * io/fstatvfs.c: Likewise.
2125 * io/fstatvfs64.c: Likewise.
2126 * io/futimens.c: Likewise.
2127 * io/fxstat.c: Likewise.
2128 * io/fxstat64.c: Likewise.
2129 * io/fxstatat.c: Likewise.
2130 * io/fxstatat64.c: Likewise.
2131 * io/getcwd.c: Likewise.
2132 * io/isatty.c: Likewise.
2133 * io/lchmod.c: Likewise.
2134 * io/lchown.c: Likewise.
2135 * io/link.c: Likewise.
2136 * io/linkat.c: Likewise.
2137 * io/lseek.c: Likewise.
2138 * io/lseek64.c: Likewise.
2139 * io/lxstat64.c: Likewise.
2140 * io/mkdir.c: Likewise.
2141 * io/mkdirat.c: Likewise.
2142 * io/mkfifo.c: Likewise.
2143 * io/mkfifoat.c: Likewise.
2144 * io/open.c: Likewise.
2145 * io/open64.c: Likewise.
2146 * io/openat.c: Likewise.
2147 * io/openat64.c: Likewise.
2148 * io/pipe.c: Likewise.
2149 * io/pipe2.c: Likewise.
2150 * io/poll.c: Likewise.
2151 * io/posix_fadvise.c: Likewise.
2152 * io/posix_fadvise64.c: Likewise.
2153 * io/posix_fallocate.c: Likewise.
2154 * io/posix_fallocate64.c: Likewise.
2155 * io/read.c: Likewise.
2156 * io/readlink.c: Likewise.
2157 * io/readlinkat.c: Likewise.
2158 * io/rmdir.c: Likewise.
2159 * io/sendfile.c: Likewise.
2160 * io/sendfile64.c: Likewise.
2161 * io/statfs.c: Likewise.
2162 * io/statfs64.c: Likewise.
2163 * io/statvfs.c: Likewise.
2164 * io/statvfs64.c: Likewise.
2165 * io/symlink.c: Likewise.
2166 * io/symlinkat.c: Likewise.
2167 * io/ttyname.c: Likewise.
2168 * io/ttyname_r.c: Likewise.
2169 * io/umask.c: Likewise.
2170 * io/unlink.c: Likewise.
2171 * io/unlinkat.c: Likewise.
2172 * io/utime.c: Likewise.
2173 * io/utimensat.c: Likewise.
2174 * io/write.c: Likewise.
2175 * io/xmknod.c: Likewise.
2176 * io/xmknodat.c: Likewise.
2177 * io/xstat.c: Likewise.
2178 * io/xstat64.c: Likewise.
2179 * login/getpt.c: Likewise.
2180 * login/grantpt.c: Likewise.
2181 * login/unlockpt.c: Likewise.
2182 * math/e_acoshl.c: Likewise.
2183 * math/e_acosl.c: Likewise.
2184 * math/e_asinl.c: Likewise.
2185 * math/e_atan2l.c: Likewise.
2186 * math/e_atanhl.c: Likewise.
2187 * math/e_coshl.c: Likewise.
2188 * math/e_expl.c: Likewise.
2189 * math/e_fmodl.c: Likewise.
2190 * math/e_gammal_r.c: Likewise.
2191 * math/e_hypotl.c: Likewise.
2192 * math/e_j0l.c: Likewise.
2193 * math/e_j1l.c: Likewise.
2194 * math/e_jnl.c: Likewise.
2195 * math/e_lgammal_r.c: Likewise.
2196 * math/e_log10l.c: Likewise.
2197 * math/e_log2l.c: Likewise.
2198 * math/e_logl.c: Likewise.
2199 * math/e_powl.c: Likewise.
2200 * math/e_rem_pio2l.c: Likewise.
2201 * math/e_sinhl.c: Likewise.
2202 * math/e_sqrtl.c: Likewise.
2203 * math/fclrexcpt.c: Likewise.
2204 * math/fedisblxcpt.c: Likewise.
2205 * math/feenablxcpt.c: Likewise.
2206 * math/fegetenv.c: Likewise.
2207 * math/fegetexcept.c: Likewise.
2208 * math/fegetround.c: Likewise.
2209 * math/feholdexcpt.c: Likewise.
2210 * math/fesetenv.c: Likewise.
2211 * math/fesetround.c: Likewise.
2212 * math/feupdateenv.c: Likewise.
2213 * math/fgetexcptflg.c: Likewise.
2214 * math/fraiseexcpt.c: Likewise.
2215 * math/fsetexcptflg.c: Likewise.
2216 * math/ftestexcept.c: Likewise.
2217 * math/k_cosl.c: Likewise.
2218 * math/k_rem_pio2l.c: Likewise.
2219 * math/k_sinl.c: Likewise.
2220 * math/k_tanl.c: Likewise.
2221 * math/s_asinhl.c: Likewise.
2222 * math/s_atanl.c: Likewise.
2223 * math/s_cbrtl.c: Likewise.
2224 * math/s_erfl.c: Likewise.
2225 * math/s_expm1l.c: Likewise.
2226 * math/s_log1pl.c: Likewise.
2227 * math/s_tanhl.c: Likewise.
2228 * misc/acct.c: Likewise.
2229 * misc/brk.c: Likewise.
2230 * misc/chflags.c: Likewise.
2231 * misc/chroot.c: Likewise.
2232 * misc/fchflags.c: Likewise.
2233 * misc/fgetxattr.c: Likewise.
2234 * misc/flistxattr.c: Likewise.
2235 * misc/fremovexattr.c: Likewise.
2236 * misc/fsetxattr.c: Likewise.
2237 * misc/fsync.c: Likewise.
2238 * misc/ftruncate.c: Likewise.
2239 * misc/futimes.c: Likewise.
2240 * misc/futimesat.c: Likewise.
2241 * misc/getdomain.c: Likewise.
2242 * misc/getdtsz.c: Likewise.
2243 * misc/gethostid.c: Likewise.
2244 * misc/gethostname.c: Likewise.
2245 * misc/getloadavg.c: Likewise.
2246 * misc/getpagesize.c: Likewise.
2247 * misc/getsysstats.c: Likewise.
2248 * misc/getxattr.c: Likewise.
2249 * misc/gtty.c: Likewise.
2250 * misc/ioctl.c: Likewise.
2251 * misc/lgetxattr.c: Likewise.
2252 * misc/listxattr.c: Likewise.
2253 * misc/llistxattr.c: Likewise.
2254 * misc/lremovexattr.c: Likewise.
2255 * misc/lsetxattr.c: Likewise.
2256 * misc/lutimes.c: Likewise.
2257 * misc/madvise.c: Likewise.
2258 * misc/mincore.c: Likewise.
2259 * misc/mlock.c: Likewise.
2260 * misc/mlockall.c: Likewise.
2261 * misc/mmap.c: Likewise.
2262 * misc/mprotect.c: Likewise.
2263 * misc/msync.c: Likewise.
2264 * misc/munlock.c: Likewise.
2265 * misc/munlockall.c: Likewise.
2266 * misc/munmap.c: Likewise.
2267 * misc/preadv.c: Likewise.
2268 * misc/preadv64.c: Likewise.
2269 * misc/ptrace.c: Likewise.
2270 * misc/pwritev.c: Likewise.
2271 * misc/pwritev64.c: Likewise.
2272 * misc/readv.c: Likewise.
2273 * misc/reboot.c: Likewise.
2274 * misc/remap_file_pages.c: Likewise.
2275 * misc/removexattr.c: Likewise.
2276 * misc/revoke.c: Likewise.
2277 * misc/select.c: Likewise.
2278 * misc/setdomain.c: Likewise.
2279 * misc/setegid.c: Likewise.
2280 * misc/seteuid.c: Likewise.
2281 * misc/sethostid.c: Likewise.
2282 * misc/sethostname.c: Likewise.
2283 * misc/setregid.c: Likewise.
2284 * misc/setreuid.c: Likewise.
2285 * misc/setxattr.c: Likewise.
2286 * misc/sstk.c: Likewise.
2287 * misc/stty.c: Likewise.
2288 * misc/swapoff.c: Likewise.
2289 * misc/swapon.c: Likewise.
2290 * misc/sync.c: Likewise.
2291 * misc/syncfs.c: Likewise.
2292 * misc/syscall.c: Likewise.
2293 * misc/truncate.c: Likewise.
2294 * misc/ualarm.c: Likewise.
2295 * misc/usleep.c: Likewise.
2296 * misc/ustat.c: Likewise.
2297 * misc/utimes.c: Likewise.
2298 * misc/vhangup.c: Likewise.
2299 * misc/writev.c: Likewise.
2300 * posix/_exit.c: Likewise.
2301 * posix/alarm.c: Likewise.
2302 * posix/execve.c: Likewise.
2303 * posix/fexecve.c: Likewise.
2304 * posix/fork.c: Likewise.
2305 * posix/fpathconf.c: Likewise.
2306 * posix/getaddrinfo.c: Likewise.
2307 * posix/getegid.c: Likewise.
2308 * posix/geteuid.c: Likewise.
2309 * posix/getgid.c: Likewise.
2310 * posix/getgroups.c: Likewise.
2311 * posix/getlogin.c: Likewise.
2312 * posix/getlogin_r.c: Likewise.
2313 * posix/getpgid.c: Likewise.
2314 * posix/getpid.c: Likewise.
2315 * posix/getppid.c: Likewise.
2316 * posix/getresgid.c: Likewise.
2317 * posix/getresuid.c: Likewise.
2318 * posix/getsid.c: Likewise.
2319 * posix/getuid.c: Likewise.
2320 * posix/glob64.c: Likewise.
2321 * posix/nanosleep.c: Likewise.
2322 * posix/pathconf.c: Likewise.
2323 * posix/pause.c: Likewise.
2324 * posix/posix_madvise.c: Likewise.
2325 * posix/pread.c: Likewise.
2326 * posix/pread64.c: Likewise.
2327 * posix/pwrite.c: Likewise.
2328 * posix/pwrite64.c: Likewise.
2329 * posix/sched_getaffinity.c: Likewise.
2330 * posix/sched_getp.c: Likewise.
2331 * posix/sched_gets.c: Likewise.
2332 * posix/sched_primax.c: Likewise.
2333 * posix/sched_primin.c: Likewise.
2334 * posix/sched_rr_gi.c: Likewise.
2335 * posix/sched_setaffinity.c: Likewise.
2336 * posix/sched_setp.c: Likewise.
2337 * posix/sched_sets.c: Likewise.
2338 * posix/sched_yield.c: Likewise.
2339 * posix/setgid.c: Likewise.
2340 * posix/setlogin.c: Likewise.
2341 * posix/setpgid.c: Likewise.
2342 * posix/setresgid.c: Likewise.
2343 * posix/setresuid.c: Likewise.
2344 * posix/setsid.c: Likewise.
2345 * posix/setuid.c: Likewise.
2346 * posix/sleep.c: Likewise.
2347 * posix/spawni.c: Likewise.
2348 * posix/sysconf.c: Likewise.
2349 * posix/times.c: Likewise.
2350 * posix/wait.c: Likewise.
2351 * posix/wait3.c: Likewise.
2352 * posix/wait4.c: Likewise.
2353 * posix/waitpid.c: Likewise.
2354 * resolv/gai_sigqueue.c: Likewise.
2355 * resource/getpriority.c: Likewise.
2356 * resource/getrlimit.c: Likewise.
2357 * resource/getrusage.c: Likewise.
2358 * resource/nice.c: Likewise.
2359 * resource/setpriority.c: Likewise.
2360 * resource/setrlimit.c: Likewise.
2361 * resource/ulimit.c: Likewise.
2362 * rt/aio_cancel.c: Likewise.
2363 * rt/aio_fsync.c: Likewise.
2364 * rt/aio_read.c: Likewise.
2365 * rt/aio_sigqueue.c: Likewise.
2366 * rt/aio_suspend.c: Likewise.
2367 * rt/aio_write.c: Likewise.
2368 * rt/clock_getres.c: Likewise.
2369 * rt/clock_gettime.c: Likewise.
2370 * rt/clock_nanosleep.c: Likewise.
2371 * rt/clock_settime.c: Likewise.
2372 * rt/lio_listio.c: Likewise.
2373 * rt/mq_close.c: Likewise.
2374 * rt/mq_getattr.c: Likewise.
2375 * rt/mq_notify.c: Likewise.
2376 * rt/mq_open.c: Likewise.
2377 * rt/mq_receive.c: Likewise.
2378 * rt/mq_send.c: Likewise.
2379 * rt/mq_setattr.c: Likewise.
2380 * rt/mq_timedreceive.c: Likewise.
2381 * rt/mq_timedsend.c: Likewise.
2382 * rt/mq_unlink.c: Likewise.
2383 * rt/shm_open.c: Likewise.
2384 * rt/shm_unlink.c: Likewise.
2385 * rt/timer_create.c: Likewise.
2386 * rt/timer_delete.c: Likewise.
2387 * rt/timer_getoverr.c: Likewise.
2388 * rt/timer_gettime.c: Likewise.
2389 * rt/timer_settime.c: Likewise.
2390 * setjmp/__longjmp.c: Likewise.
2391 * setjmp/setjmp.c: Likewise.
2392 * signal/kill.c: Likewise.
2393 * signal/killpg.c: Likewise.
2394 * signal/raise.c: Likewise.
2395 * signal/sigaction.c: Likewise.
2396 * signal/sigaltstack.c: Likewise.
2397 * signal/sigblock.c: Likewise.
2398 * signal/sigignore.c: Likewise.
2399 * signal/sigintr.c: Likewise.
2400 * signal/signal.c: Likewise.
2401 * signal/sigpause.c: Likewise.
2402 * signal/sigpending.c: Likewise.
2403 * signal/sigqueue.c: Likewise.
2404 * signal/sigreturn.c: Likewise.
2405 * signal/sigset.c: Likewise.
2406 * signal/sigsetmask.c: Likewise.
2407 * signal/sigstack.c: Likewise.
2408 * signal/sigsuspend.c: Likewise.
2409 * signal/sigtimedwait.c: Likewise.
2410 * signal/sigvec.c: Likewise.
2411 * signal/sigwait.c: Likewise.
2412 * signal/sigwaitinfo.c: Likewise.
2413 * signal/sysv_signal.c: Likewise.
2414 * socket/accept.c: Likewise.
2415 * socket/accept4.c: Likewise.
2416 * socket/bind.c: Likewise.
2417 * socket/connect.c: Likewise.
2418 * socket/getpeername.c: Likewise.
2419 * socket/getsockname.c: Likewise.
2420 * socket/getsockopt.c: Likewise.
2421 * socket/isfdtype.c: Likewise.
2422 * socket/listen.c: Likewise.
2423 * socket/recv.c: Likewise.
2424 * socket/recvfrom.c: Likewise.
2425 * socket/recvmsg.c: Likewise.
2426 * socket/send.c: Likewise.
2427 * socket/sendmsg.c: Likewise.
2428 * socket/sendto.c: Likewise.
2429 * socket/setsockopt.c: Likewise.
2430 * socket/shutdown.c: Likewise.
2431 * socket/sockatmark.c: Likewise.
2432 * socket/socket.c: Likewise.
2433 * socket/socketpair.c: Likewise.
2434 * stdio-common/ctermid.c: Likewise.
2435 * stdio-common/cuserid.c: Likewise.
2436 * stdio-common/remove.c: Likewise.
2437 * stdio-common/rename.c: Likewise.
2438 * stdio-common/renameat.c: Likewise.
2439 * stdio-common/tempname.c: Likewise.
2440 * stdlib/getcontext.c: Likewise.
2441 * stdlib/makecontext.c: Likewise.
2442 * stdlib/setcontext.c: Likewise.
2443 * stdlib/swapcontext.c: Likewise.
2444 * stdlib/system.c: Likewise.
2445 * streams/fattach.c: Likewise.
2446 * streams/fdetach.c: Likewise.
2447 * streams/getmsg.c: Likewise.
2448 * streams/getpmsg.c: Likewise.
2449 * streams/putmsg.c: Likewise.
2450 * streams/putpmsg.c: Likewise.
2451 * sysdeps/unix/bsd/getpt.c: Likewise.
2452 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2453 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2454 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2456 Likewise.
2457 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2458 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2459 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2460 * sysvipc/msgctl.c: Likewise.
2461 * sysvipc/msgget.c: Likewise.
2462 * sysvipc/msgrcv.c: Likewise.
2463 * sysvipc/msgsnd.c: Likewise.
2464 * sysvipc/semctl.c: Likewise.
2465 * sysvipc/semget.c: Likewise.
2466 * sysvipc/semop.c: Likewise.
2467 * sysvipc/semtimedop.c: Likewise.
2468 * sysvipc/shmat.c: Likewise.
2469 * sysvipc/shmctl.c: Likewise.
2470 * sysvipc/shmdt.c: Likewise.
2471 * sysvipc/shmget.c: Likewise.
2472 * termios/tcdrain.c: Likewise.
2473 * termios/tcflow.c: Likewise.
2474 * termios/tcflush.c: Likewise.
2475 * termios/tcgetattr.c: Likewise.
2476 * termios/tcgetpgrp.c: Likewise.
2477 * termios/tcsendbrk.c: Likewise.
2478 * termios/tcsetattr.c: Likewise.
2479 * termios/tcsetpgrp.c: Likewise.
2480 * time/adjtime.c: Likewise.
2481 * time/clock.c: Likewise.
2482 * time/getitimer.c: Likewise.
2483 * time/gettimeofday.c: Likewise.
2484 * time/setitimer.c: Likewise.
2485 * time/settimeofday.c: Likewise.
2486 * time/stime.c: Likewise.
2487 * time/time.c: Likewise.
2488
24892012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2490
a20492cf
PT
2491 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2492 /usr/old/bin.
2493
72e182e3
PT
2494 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2495 instead of spaces.
2496 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2497
fbeafede
JM
24982012-11-03 Joseph Myers <joseph@codesourcery.com>
2499
5b5b04d6
JM
2500 [BZ #14796]
2501 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2502 FE_TONEAREST before applying Dekker multiplication and Knuth
2503 addition. Clear inexact exceptions and check for exact zero
2504 results afterwards.
2505 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2506 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2507 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2508 * math/libm-test.inc (fma_test): Add more tests.
2509 (fma_test_towardzero): Likewise.
2510 (fma_test_downward): Likewise.
2511 (fma_test_upward): Likewise.
2512 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2513 function.
2514 (libc_fesetround): New macro.
2515 (libc_fesetroundf): Likewise.
2516 (libc_fesetroundl): Likewise.
2517 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2518 function.
2519 (libc_fesetround_387): Likewise.
2520 (libc_fesetroundf): New macro.
2521 (libc_fesetround): Likewise.
2522 (libc_fesetroundl): Likewise.
2523 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2524 function.
2525 (libc_fesetroundf): New macro.
2526 (libc_fesetround): Likewise.
2527 (libc_fesetroundl): Likewise.
2528 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2529 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2530 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2531 libm_hidden_ver.
2532 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2533 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2534 libm_hidden_def.
2535 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2536 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2537 libm_hidden_ver.
2538 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2539 libm_hidden_def.
2540
fbeafede
JM
2541 [BZ #3439]
2542 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2543 integer constant usable in #if and use that to give value to enum
2544 constant.
2545 (FE_DIVBYZERO): Likewise.
2546 (FE_UNDERFLOW): Likewise.
2547 (FE_OVERFLOW): Likewise.
2548 (FE_INVALID): Likewise.
2549 (FE_INVALID_SNAN): Likewise.
2550 (FE_INVALID_ISI): Likewise.
2551 (FE_INVALID_IDI): Likewise.
2552 (FE_INVALID_ZDZ): Likewise.
2553 (FE_INVALID_IMZ): Likewise.
2554 (FE_INVALID_COMPARE): Likewise.
2555 (FE_INVALID_SOFTWARE): Likewise.
2556 (FE_INVALID_SQRT): Likewise.
2557 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2558 (FE_TONEAREST): Likewise.
2559 (FE_TOWARDZERO): Likewise.
2560 (FE_UPWARD): Likewise.
2561 (FE_DOWNWARD): Likewise.
2562 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2563 (FE_DIVBYZERO): Likewise.
2564 (FE_OVERFLOW): Likewise.
2565 (FE_UNDERFLOW): Likewise.
2566 (FE_INEXACT): Likewise.
2567 (FE_TONEAREST): Likewise.
2568 (FE_DOWNWARD): Likewise.
2569 (FE_UPWARD): Likewise.
2570 (FE_TOWARDZERO): Likewise.
2571 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2572 (FE_UNDERFLOW): Likewise.
2573 (FE_OVERFLOW): Likewise.
2574 (FE_DIVBYZERO): Likewise.
2575 (FE_INVALID): Likewise.
2576 (FE_TONEAREST): Likewise.
2577 (FE_TOWARDZERO): Likewise.
2578 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2579 (FE_OVERFLOW): Likewise.
2580 (FE_UNDERFLOW): Likewise.
2581 (FE_DIVBYZERO): Likewise.
2582 (FE_INEXACT): Likewise.
2583 (FE_TONEAREST): Likewise.
2584 (FE_TOWARDZERO): Likewise.
2585 (FE_UPWARD): Likewise.
2586 (FE_DOWNWARD): Likewise.
2587 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2588 (FE_DIVBYZERO): Likewise.
2589 (FE_OVERFLOW): Likewise.
2590 (FE_UNDERFLOW): Likewise.
2591 (FE_INEXACT): Likewise.
2592 (FE_TONEAREST): Likewise.
2593 (FE_DOWNWARD): Likewise.
2594 (FE_UPWARD): Likewise.
2595 (FE_TOWARDZERO): Likewise.
2596
105ca950
CM
25972012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2598
2599 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2600
a542b389
AS
26012012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2602
2603 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2604 commands. Quote $PWD.
2605 (blacklist_exports): Don't use remove_newlines. Replace "declare
2606 -x" by "export".
2607 (remove_newlines): Remove.
2608
f62c8abc
L
26092012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2610
2611 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2612 * stdlib/stdlib.h (atof): Moved to ...
2613 * include/bits/stdlib-float.h: Here. New file.
2614 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2615 * stdlib/bits/stdlib-float.h: New file.
2616 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2617 -mno-sse -mno-mmx.
2618 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2619 <xmmintrin.h>.
2620
0155d5b2
JM
26212012-11-02 Joseph Myers <joseph@codesourcery.com>
2622
a68d0680
JM
2623 * conform/conformtest.pl (@headers): Add fenv.h.
2624 * conform/data/fenv.h-data: New file.
2625 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2626 include of <math/fenv.h>.
2627
caf7f573
JM
2628 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2629 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2630 && !UNIX98]. Enables tests for XOPEN2K8.
2631 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2632 POSIX2008]: Likewise.
2633
6c073ad6
JM
2634 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2635 (struct rusage): Do not expect type or its members.
2636
0155d5b2
JM
2637 [BZ #3439]
2638 * math/math.h (FP_NAN): Define macro to integer constant usable in
2639 #if and use that to give value to enum constant.
2640 (FP_INFINITE): Likewise.
2641 (FP_ZERO): Likewise.
2642 (FP_SUBNORMAL): Likewise.
2643 (FP_NORMAL): Likewise.
2644
b5dcacb4
AS
26452012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2646
2647 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2648 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2649 arguments.
2650
f7934be8
RM
26512012-11-02 Roland McGrath <roland@hack.frob.com>
2652
2653 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2654 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2655 autoconf-time if not.
2656 * configure.in: Remove AC_PREREQ.
2657
d7d08bde
TMQMF
26582012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2659
2660 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2661 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2662 of the internal implementation.
2663
dcdae19a
JM
26642012-11-02 Joseph Myers <joseph@codesourcery.com>
2665
2666 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2667 except include of <misc/sys/syslog.h>.
2668
d6cffd3e
AS
26692012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2670
2671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2672 function returns with a NULL context exit with zero.
2673
b3563932
TMQMF
26742012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2675
2676 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2677
b288a93d
L
26782012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2679
2680 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2681 (run_program_cmd): This.
2682 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2683 (tst_langinfo): New variable. Use it.
2684
a2421a68
SAS
26852012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2686
2687 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2688 floating point opcodes.
2689
6f796e1b
TS
26902012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2691
7402596b
TS
2692 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2693 variable.
2694
d0d4f868
TS
2695 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2696
6f796e1b
TS
2697 * sysdeps/mach/hurd/powerpc: Remove directory.
2698 * sysdeps/mach/powerpc: Likewise.
2699
4da224a2
AS
27002012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2701
2702 * scripts/check-local-headers.sh: Ignore c++ headers.
2703
341dd673
TS
27042012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2705
2706 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2707 __libc_cleanup_region_start argument.
2708
473611b2
JM
27092012-11-01 Joseph Myers <joseph@codesourcery.com>
2710
2711 [BZ #14784]
2712 [BZ #14785]
2713 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2714 x * y using scaling, not as x * y + z.
2715 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2716 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2717 * math/libm-test.inc (fma_test): Add more tests.
2718 (fma_test_towardzero): Likewise.
2719 (fma_test_downward): Likewise.
2720 (fma_test_upward): Likewise.
2721
4078da3d
TS
27222012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2723
2724 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2725
903252aa
JM
27262012-10-31 Joseph Myers <joseph@codesourcery.com>
2727
2728 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2729 New variable.
2730
cbc818d0
TS
27312012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2732
2733 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2734
5a03cb1e
AS
27352012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2736
2737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2738 Fix sort order.
2739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2740 Likewise.
2741
90aff2ff
TMQMF
27422012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2743
2744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2745 Fix the order of the list for glibc 2.17.
2746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2747 Likewise.
2748
1818fcb7
AS
27492012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2750
2751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2752
ef82f4da
JM
27532012-10-31 Joseph Myers <joseph@codesourcery.com>
2754
16a0e2ec
JM
2755 [BZ #14610]
2756 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2757 for low part of x being zero before using __atanl (y).
2758 * math/libm-test.inc (atan2_test): Add another test.
2759
0eb69512
JM
2760 * manual/install.texi (Configuring and compiling): Document
2761 general use of test-wrapper and test-wrapper-env.
2762 * INSTALL: Regenerated.
2763
ef82f4da
JM
2764 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2765 (__fma): Do not extract and scale down low bits on after-rounding
2766 systems when result rounded to normal precision would have normal
2767 exponent.
2768 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2769 (__fmal): Do not extract and scale down low bits on after-rounding
2770 systems when result rounded to normal precision would have normal
2771 exponent.
2772 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2773 (__fmal): Do not extract and scale down low bits on after-rounding
2774 systems when result rounded to normal precision would have normal
2775 exponent.
2776 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2777 macro.
2778 (fma_test): Add more tests.
2779 (fma_test_towardzero): Likewise.
2780 (fma_test_downward): Likewise.
2781 (fma_test_upward): Likewise.
2782
954ef0d9
L
27832012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2784
2785 * sysdeps/i386/tininess.h: Renamed to ...
2786 * sysdeps/x86/tininess.h: This.
2787 * sysdeps/x86_64/tininess.h: Removed.
2788
df61ffb2
JM
27892012-10-30 Joseph Myers <joseph@codesourcery.com>
2790
2791 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2792 input. Use $(build-program-cmd).
2793 ($(objpfx)tst-array1-static.out): Likewise.
2794 ($(objpfx)tst-array2.out): Likewise.
2795 ($(objpfx)tst-array3.out): Likewise.
2796 ($(objpfx)tst-array4.out): Likewise.
2797 ($(objpfx)tst-array5.out): Likewise.
2798 ($(objpfx)tst-array5-static.out): Likewise.
2799
01767843
CM
28002012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2801
47cc1490
CM
2802 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2803 if defined.
2804
01767843
CM
2805 * nss/nsswitch.h (nss_interface_function): Provide new
2806 macro for use with NSS functions.
2807 * grp/initgroups.c: Use new macro.
2808 * nss/getXXbyYY.c: Likewise.
2809 * nss/getXXbyYY_r.c: Likewise.
2810 * nss/getXXent.c: Likewise.
2811 * nss/getXXent_r.c: Likewise.
2812 * sysdeps/posix/getaddrinfo.c: Likewise.
2813
8321aa97
AJ
28142012-10-30 Andreas Jaeger <aj@suse.de>
2815
2816 * po/ru.po: Update Russion translation from translation project.
2817
2a27fd6d
JM
28182012-10-30 Joseph Myers <joseph@codesourcery.com>
2819
8627a232
JM
2820 [BZ #14152]
2821 [BZ #14783]
2822 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2823 result and shift together with sticky bit instead of replicating
2824 round-to-nearest rounding.
2825 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2826 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2827 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2828 missing underflow exceptions.
2829 (fma_test_towardzero): Add more tests.
2830 (fma_test_downward): Likewise.
2831 (fma_test_upward): Likewise.
2832
2a27fd6d
JM
2833 [BZ #14047]
2834 * sysdeps/generic/tininess.h: New file.
2835 * sysdeps/i386/tininess.h: Likewise.
2836 * sysdeps/sh/tininess.h: Likewise.
2837 * sysdeps/x86_64/tininess.h: Likewise.
2838 * stdlib/tst-strtod-underflow.c: Likewise.
2839 * stdlib/tst-tininess.c: Likewise.
2840 * stdlib/strtod_l.c: Include <tininess.h>.
2841 (round_and_return): Do not set errno for exact underflow cases.
2842 Force an underflow exception when setting errno for underflow.
2843 Determine underflow based on rounding to normal precision if
2844 TININESS_AFTER_ROUNDING.
2845 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2846 ERANGE for exact underflow cases.
2847 * stdlib/Makefile (tests): Add tst-tininess and
2848 tst-strtod-underflow.
2849 ($(objpfx)tst-tininess): Use $(link-libm).
2850 ($(objpfx)tst-strtod-underflow): Likewise.
2851
e7170363
AJ
28522012-10-30 Andreas Jaeger <aj@suse.de>
2853
e5088dc6
AJ
2854 [BZ#14767]
2855 * elf/Makefile (tests): Remove conditional for have-initfini-array
2856 since this is now always required and the variable does not exist
2857 anymore.
2858 (tests-static): Likewise.
2859 (modules-names): Likewise.
2860
e7170363 2861 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2862
2863 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2864 merged with constructor/destructor.
2865 (init_array): Likewise.
2866 * elf/tst-array2dep.c (fini_array): Likewise.
2867 (init_array): Likewise.
2868
60457d8a
MF
28692012-10-29 Mike Frysinger <vapier@gentoo.org>
2870
2871 * manual/message.texi: Delete @cartouche tags.
2872
8bece752
PT
28732012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2874
94ce799f
PT
2875 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2876 EOPNOTSUPP.
2877 * sysdeps/mach/hurd/fsync.c: Likewise.
2878
8bece752
PT
2879 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2880 [_POSIX_REALTIME_SIGNALS]: Change condition to
2881 [_POSIX_REALTIME_SIGNALS > 0].
2882
86ebe6b1
AJ
28832012-10-27 Andreas Jaeger <aj@suse.de>
2884
2885 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2886 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2887 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2888 [__WORDSIZE != 64]: Likewise.
2889
54399c08
L
28902012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2891
2892 * iconvdata/tst-table.sh: Remove ${SHELL}.
2893 * iconvdata/tst-tables.sh: Likewise.
2894
e2211bed
DM
28952012-10-25 David S. Miller <davem@davemloft.net>
2896
2897 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2898 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2899 of strtoull.
2900
f303f97c
DM
2901 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2902 ifunc-impl-list.c
2903 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2904 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2905 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2906 file.
2907
1e9d84cd
RM
29082012-10-25 Roland McGrath <roland@hack.frob.com>
2909
2910 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2911 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2912 __getdirentries.
2913
df381762
JM
29142012-10-25 Joseph Myers <joseph@codesourcery.com>
2915 Jim Blandy <jimb@codesourcery.com>
2916
2917 * scripts/cross-test-ssh.sh: New file.
2918 * manual/install.texi (Configuring and compiling): Document use of
2919 cross-test-ssh.sh.
2920 * INSTALL: Regenerated.
2921
bff64913
PT
29222012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2923
2924 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2925 EOPNOTSUPP.
2926
25fe8932
JM
29272012-10-25 Joseph Myers <joseph@codesourcery.com>
2928
2929 * Makeconfig (run-program-prefix): Fix comment.
2930
cc1290d0
JM
29312012-10-24 Joseph Myers <joseph@codesourcery.com>
2932 Jim Blandy <jimb@codesourcery.com>
2933
2934 * Makeconfig (test-wrapper): New variable,
2935 (test-wrapper-env): Likewise.
2936 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2937 (run-built-tests): Define to yes.
2938 (run-program-prefix): Use $(test-wrapper).
2939 (built-program-cmd): Likewise.
2940 * Rules (make-test-out): Use $(test-wrapper-env) and
2941 $(host-built-program-cmd).
2942 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2943 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2944 tst-pathopt.sh.
2945 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2946 $(test-wrapper-env) to tst-rtld-load-self.sh.
2947 ($(objpfx)order2.out): Use $(test-wrapper).
2948 ($(objpfx)tst-initorder.out): Likewise.
2949 ($(objpfx)tst-initorder2.out): Likewise.
2950 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2951 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2952 (test_wrapper_env): New variable. Use it to run ld.so.
2953 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2954 Use it to run ld.so.
2955 (test_wrapper_env): Likewise.
2956 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2957 $(test-wrapper) to run-iconv-test.sh.
2958 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2959 (ICONV): Use $test_wrapper.
2960 * posix/Makefile ($(objpfx)globtest.out): Pass
2961 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2962 globtest.sh, not $(run-program-prefix).
2963 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2964 (test_wrapper): Likewise.
2965 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2966 set together with run_via_rtld_prefix.
2967 (run_program_prefix): Define in terms of test_wrapper and
2968 run_via_rtld_prefix.
2969
6e6249d0
RM
29702012-10-24 Roland McGrath <roland@hack.frob.com>
2971
2972 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2973 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2974 Targets removed.
2975
2976 [BZ #14743]
2977 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2978 Declare __clock_getres, __clock_gettime, __clock_settime,
2979 __clock_nanosleep, and __clock_getcpuclockid.
2980 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2981 Remove librt_hidden_def (clock_gettime).
2982 * sysdeps/unix/clock_gettime.c: Likewise.
2983 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2984 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2985 * rt/clock_getres.c: Define __clock_getres as an alias.
2986 * sysdeps/posix/clock_getres.c: Likewise.
2987 * rt/clock_settime.c: Define __clock_settime as an alias.
2988 * sysdeps/unix/clock_settime.c: Likewise.
2989 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2990 * sysdeps/unix/clock_nanosleep.c: Likewise.
2991 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2992 * rt/clock-compat.c: New file.
2993 * rt/Makefile (librt-routines): Add clock-compat and move
2994 $(clock-routines) to ...
2995 (routines): ... here, new variable.
2996 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2997 Don't add get_clockfreq here.
2998 * rt/Versions (libc: GLIBC_2.17): New version set.
2999 Add clock_* symbols here.
3000 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3001 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3002 (GLIBC_2.17): Add clock_* symbols.
3003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3005 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3007 Likewise.
3008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3009 Likewise.
3010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3014 * NEWS: Mention the move.
3015
3016 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3017 Use __open, __read, __close rather than their public counterparts.
3018 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3019 (__get_clockfreq_via_cpuinfo): Likewise.
3020 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3021 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3022
3023 * config.h.in (HAVE_IFUNC): New #undef.
3024 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3025 was successful.
3026 * configure: Regenerated.
3027
0cae3f4b
MF
30282012-10-24 Mike Frysinger <vapier@gentoo.org>
3029
3030 * configure.in: Move READELF check to start of file.
3031 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3032 libc_cv_asm_gnu_indirect_function in the process.
3033 * configure: Regenerated.
3034
8175a253
MF
30352012-10-24 Mike Frysinger <vapier@gentoo.org>
3036
3037 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3038 send the output to /dev/null.
3039 (libc_cv_cc_with_libunwind): Likewise.
3040 (libc_cv_as_noexecstack): Likewise.
3041 * configure: Regenerate.
3042
0708a7d1
JM
30432012-10-24 Joseph Myers <joseph@codesourcery.com>
3044
10b40d85
JM
3045 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3046
0708a7d1
JM
3047 * posix/globtest.sh (TMPDIR): Do not set.
3048 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3049 (testout): Likewise.
3050
9fddec1a
AJ
30512012-10-24 Andreas Jaeger <aj@suse.de>
3052
3a8db22f
AJ
3053 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3054 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3055 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3056 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3057 posix_fadvise64, posix_fallocate64.
3058
9fddec1a
AJ
3059 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3060 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3061 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3062 Likewise.
3063 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3064 Likewise.
3065 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3066
3067 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3068 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3069 <bits/fcntl-linux.h>.
3070 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3071
3072 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3073 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3074 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3075 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3076 [__WORDSIZE != 64]: Likewise.
3077
ebfd1bbd
JM
30782012-10-23 Joseph Myers <joseph@codesourcery.com>
3079
03ac099f
JM
3080 * Makeconfig (run-built-tests): New variable.
3081 * Rules [$(cross-compiling) = yes]: Change condition to
3082 [$(run-built-tests) = no].
3083 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3084 to [$(run-built-tests) = yes].
3085 * elf/Makefile [$(cross-compiling) = no]: Likewise
3086 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3087 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3088 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3089 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3090 * io/Makefile [$(cross-compiling) = no]: Likewise.
3091 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3092 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3093 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3094 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3095 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3096 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3097 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3098 * string/Makefile [$(cross-compiling) = no]: Likewise.
3099
ebfd1bbd
JM
3100 * posix/Makefile ($(objpfx)globtest.out): Pass
3101 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3102 $(rtld-installed-name).
3103 * posix/globtest.sh (elf_objpfx): Remove variable.
3104 (rtld_installed_name): Likewise.
3105 (library_path): Likewise.
3106 (run_program_prefix): New variable. Use for running globtest
3107 binary.
3108
166bca24
JB
31092012-10-23 Jim Blandy <jimb@codesourcery.com>
3110 Joseph Myers <joseph@codesourcery.com>
3111
3112 * Makeconfig (host-built-program-cmd): New variable.
3113 * elf/Makefile (tst-stackguard1-ARGS): Use
3114 $(host-built-program-cmd).
3115 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3116 (tst-spawn-ARGS): Likewise.
3117 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3118
88866099
JM
31192012-10-23 Joseph Myers <joseph@codesourcery.com>
3120 Jim Blandy <jimb@codesourcery.com>
3121
3122 * Makeconfig (run-via-rtld-prefix): New variable.
3123 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3124 (built-program-cmd): Likewise.
3125
b4b4c296
AJ
31262012-10-22 Andreas Jaeger <aj@suse.de>
3127
3128 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3129 __O_RSYNC if it exists, otherwise to O_SYNC.
3130
6fb54a22
JB
31312012-10-22 Jim Blandy <jimb@codesourcery.com>
3132 Joseph Myers <joseph@codesourcery.com>
3133
3134 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3135 /dev/null.
3136 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3137 from /dev/null
3138 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3139 /dev/null.
3140
481b90b9
AJ
31412012-10-22 Andreas Jaeger <aj@suse.de>
3142
2a0e2669
AJ
3143 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3144 Define always.
3145 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3146
76e38f9a
AJ
3147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3148 bits/fcntl-linux.h.
3149
7cd37b43
AJ
3150 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3151 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3152
481b90b9
AJ
3153 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3154 to __O_LARGEFILE.
3155 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3156 to __O_LARGEFILE.
3157
aba75984
JB
31582012-10-21 Jim Blandy <jimb@codesourcery.com>
3159 Joseph Myers <joseph@codesourcery.com>
3160
3161 * config.make.in (NM): New variable.
3162
88d4247f
AJ
31632012-10-21 Andreas Jaeger <aj@suse.de>
3164
3165 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3166 definitions and declarations that are provided by
3167 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3168
f2eed205
L
31692012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3170
3171 [BZ #14683]
3172 * elf/Makefile (tests-static): Add tst-leaks1-static.
3173 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3174 ($(objpfx)tst-leaks1-static): New rule.
3175 ($(objpfx)tst-leaks1-static-mem): Likewise.
3176 (tst-leaks1-static-ENV): New macro.
3177 * elf/dl-open.c (dl_open_worker): Check the main application
3178 only if SHARED is defined.
3179 * elf/tst-leaks1-static.c: New file.
3180
335e6931
AJ
31812012-10-20 Andreas Jaeger <aj@suse.de>
3182
3183 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3184 generic values for Linux.
3185 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3186 and declarations that are provided by <bits/fcntl-linux.h> and
3187 include <bits/fcntl-linux.h>.
3188 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3189 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3190
ac5c94d3
RM
31912012-10-20 Roland McGrath <roland@hack.frob.com>
3192
3193 * io/fcntl.h: Move include of <bits/types.h> to the top and
3194 include it unconditionally.
3195
de54b33a
L
31962012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3197
228cfb01
L
3198 * wcsmbs/Makefile (tests-ifunc): New variable.
3199 (tests): Add $(tests-ifunc).
3200 * wcsmbs/test-wcschr-ifunc.c: New file.
3201 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3202 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3203 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3204 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3205 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3206
69f07e5f
L
3207 * string/Makefile (tests-ifunc): New variable.
3208 (tests): Add $(tests-ifunc).
3209 * string/test-memccpy.c (TEST_NAME): New macro.
3210 * string/test-memchr.c (TEST_NAME): Likewise.
3211 * string/test-memcmp.c (TEST_NAME): Likewise.
3212 * string/test-memcpy.c (TEST_NAME): Likewise.
3213 * string/test-memmem.c (TEST_NAME): Likewise.
3214 * string/test-memmove.c (TEST_NAME): Likewise.
3215 * string/test-memset.c (TEST_NAME): Likewise.
3216 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3217 * string/test-stpcpy.c (TEST_NAME): Likewise.
3218 * string/test-stpncpy.c (TEST_NAME): Likewise.
3219 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3220 * string/test-strcasestr.c (TEST_NAME): Likewise.
3221 * string/test-strcat.c (TEST_NAME): Likewise.
3222 * string/test-strchr.c (TEST_NAME): Likewise.
3223 * string/test-strcmp.c(TEST_NAME): Likewise.
3224 * string/test-strcpy.c (TEST_NAME): Likewise.
3225 * string/test-strcspn.c (TEST_NAME): Likewise.
3226 * string/test-strlen.c (TEST_NAME): Likewise.
3227 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3228 * string/test-strncmp.c (TEST_NAME): Likewise.
3229 * string/test-strncpy.c (TEST_NAME): Likewise.
3230 * string/test-strnlen.c (TEST_NAME): Likewise.
3231 * string/test-strpbrk.c (TEST_NAME): Likewise.
3232 * string/test-strrchr.c (TEST_NAME): Likewise.
3233 * string/test-strspn.c (TEST_NAME): Likewise.
3234 * string/test-strstr.c (TEST_NAME): Likewise.
3235 * string/test-bcopy-ifunc.c: New file.
3236 * string/test-bzero-ifunc.c: Likewise.
3237 * string/test-memccpy-ifunc.c: Likewise.
3238 * string/test-memchr-ifunc.c: Likewise.
3239 * string/test-memcmp-ifunc.c: Likewise.
3240 * string/test-memcpy-ifunc.c: Likewise.
3241 * string/test-memmem-ifunc.c: Likewise.
3242 * string/test-memmove-ifunc.c: Likewise.
3243 * string/test-mempcpy-ifunc.c: Likewise.
3244 * string/test-memset-ifunc.c: Likewise.
3245 * string/test-rawmemchr-ifunc.c: Likewise.
3246 * string/test-stpcpy-ifunc.c: Likewise.
3247 * string/test-stpncpy-ifunc.c: Likewise.
3248 * string/test-strcasecmp-ifunc.c: Likewise.
3249 * string/test-strcasestr-ifunc.c: Likewise.
3250 * string/test-strcat-ifunc.c: Likewise.
3251 * string/test-strchr-ifunc.c: Likewise.
3252 * string/test-strchrnul-ifunc.c: Likewise.
3253 * string/test-strcmp-ifunc.c: Likewise.
3254 * string/test-strcpy-ifunc.c: Likewise.
3255 * string/test-strcspn-ifunc.c: Likewise.
3256 * string/test-strlen-ifunc.c: Likewise.
3257 * string/test-strncasecmp-ifunc.c: Likewise.
3258 * string/test-strncat-ifunc.c: Likewise.
3259 * string/test-strncmp-ifunc.c: Likewise.
3260 * string/test-strncpy-ifunc.c: Likewise.
3261 * string/test-strnlen-ifunc.c: Likewise.
3262 * string/test-strpbrk-ifunc.c: Likewise.
3263 * string/test-strrchr-ifunc.c: Likewise.
3264 * string/test-strspn-ifunc.c: Likewise.
3265 * string/test-strstr-ifunc.c: Likewise.
3266
de54b33a
L
3267 * debug/Makefile (tests-ifunc): New variable.
3268 (tests): Add $(tests-ifunc).
3269 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3270 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3271 * debug/test-stpcpy_chk-ifunc.c: New file.
3272 * debug/test-strcpy_chk-ifunc.c: Likewise.
3273
88481c16
SP
32742012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3275
3276 [BZ #13601]
3277 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3278 header is not read in.
3279
135948bd
JM
32802012-10-19 Joseph Myers <joseph@codesourcery.com>
3281
89f1c388
JM
3282 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3283 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3284 directly. Pass built executable to script as
3285 $(built-program-cmd).
3286 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3287 $testprogram without using LD_LIBRARY_PATH and $ldso.
3288
e40a0d21
JM
3289 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3290 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3291 $(rtld-installed-name).
3292 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3293 (rtld_installed_name): Likewise.
3294 (library_path): Likewise.
3295 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3296 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3297 $(run-program-prefix) to tst-tables.sh.
3298 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3299 it to run tst-table-from and tst-table-to.
3300 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3301 Pass it to tst-table.sh.
3302 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3303 $(run-program-prefix) to tst-gettext.sh.
3304 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3305 tst-translit.sh.
3306 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3307 tst-gettext2.sh.
3308 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3309 to run tst-gettext.
3310 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3311 to run tst-gettext2.
3312 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3313 to run tst-translit.
3314 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3315 $(run-program-prefix) to tst-mtrace.sh.
3316 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3317 to run tst-mtrace.
3318 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3319 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3320 $(rtld-installed-name).
3321 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3322 (rtld_installed_name): Likewise.
3323 (run_program_prefix): New variable. Use it to run wordexp-test.
3324
728e272a
JM
3325 * Makeconfig (ARCH): Remove all definitions.
3326 (machine): Likewise.
3327 [ARCH]: Remove conditional code.
3328 [!objdir]: Give error.
3329 [!objdir] (objpfx): Remove.
3330 [!objdir] (common-objpfx): Likewise.
3331 [!objdir] (common-objdir): Likewise.
3332 * configure.in (config_makefile): Remove. Hardcode Makefile in
3333 AC_CONFIG_FILES call.
3334 * configure: Regenerated.
3335
d528cdcf
JM
3336 [BZ #13888]
3337 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3338 or TMPDIR.
3339 (testout): Likewise.
3340
135948bd
JM
3341 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3342 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3343 $(rtld-installed-name).
3344 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3345 (rtld_installed_name): Likwise.
3346 (runit): Remove function.
3347 (run_getconf): New variable, Use it for running getconf binary.
3348
38c78296
L
33492012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3350
3351 [BZ #14716]
3352 * string/test-memmem.c (check_result): New function.
3353 (do_one_test): Use it.
3354 (check1): New function.
3355 (test_main): Use it.
3356
d077f65f
MT
33572012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3358
3359 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3360
ced52c71
JM
33612012-10-18 Joseph Myers <joseph@codesourcery.com>
3362
3363 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3364 (_G_LSEEK64): Likewise.
3365 (_G_MMAP64): Likewise.
3366 (_G_FSTAT64): Likewise.
3367 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3368 (_G_LSEEK64): Likewise.
3369 (_G_MMAP64): Likewise.
3370 (_G_FSTAT64): Likewise.
3371 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3372 unconditional. Call __mmap64 directly.
3373 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3374 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3375 __lseek64 directly.
3376 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3377 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3378 __mmap64 directly.
3379 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3380 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3381 __lseek64 directly.
3382 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3383 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3384 __lseek64 directly.
3385 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3386 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3387 __lseek64 directly.
3388 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3389 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3390 __fxstat64 directly.
3391 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3392 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3393 unconditional.
3394 (freopen64) [!_G_OPEN64]: Remove conditional code.
3395 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3396 unconditional.
3397 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3398 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3399 unconditional.
3400 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3401 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3402 unconditional.
3403 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3404 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3405 unconditional.
3406 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3407 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3408 unconditional.
3409 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3410 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3411 unconditional.
3412 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3413 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3414 unconditional.
3415 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3416
b741de23
SP
34172012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3418
3419 [BZ #12140]
3420 * manual/memory.texi (Malloc Tunable Parameters): Add note
3421 about free list pointers overwriting some perturb bytes.
3422 Wording suggested by Roland McGrath.
3423
f9b9d9c9
JM
34242012-10-17 Joseph Myers <joseph@codesourcery.com>
3425
3426 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3427 (lgamma_test): Likewise.
3428 (tgamma_test): Likewise.
3429
172a631a
FW
34302012-10-16 Florian Weimer <fweimer@redhat.com>
3431
3432 [BZ #14700]
3433 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3434 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3435
e9f37252
MK
34362012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3437
3438 * NEWS: Mention BZ #14716.
3439 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3440 when removing AVAILABLE1_USES_J macro.
3441
d394eb74
L
34422012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3443
3444 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3445 (__bswap_64): __uint64_t for unsigned 64-bit int.
3446
ca38dc17
AS
34472012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3448
3449 * include/string.h (memmem): Declare libc hidden alias.
3450 * string/memmem.c (memmem): Define libc hidden alias.
3451 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3452 __read, __close instead of open, read, close.
3453
9a387d1f
L
34542012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3455
ac49ecaf
L
3456 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3457 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3458 global and hidden.
3459 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3460 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3461 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3462 Likewise.
3463 (__rawmemchr_sse2): Likewise.
3464 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3465 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3466 (__strchr_sse2): Likewise.
3467 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3468 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3469 (__strcasecmp_sse2): Likewise.
3470 (__strncasecmp_sse2): Likewise.
3471 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3472 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3473 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3474 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3475 (__strrchr_sse2): Likewise.
3476 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3477 ifunc-impl-list.c.
3478 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3479 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3480 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3481 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3482 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3483 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3484 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3485 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3486 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3487 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3488 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3489 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3490 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3491 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3492 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3493 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3494 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3495 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3496 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3497 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3498 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3499 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3500 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3501 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3502 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3503 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3504 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3505 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3506 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3507 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3508
b090e8ea
L
3509 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3510 global and hidden.
3511 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3512 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3513 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3514 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3515 Likewise.
3516 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3517 Likewise.
3518 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3519 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3520 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3521 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3522 ifunc-impl-list.c.
3523 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3524 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3525 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3526 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3527 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3528 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3529 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3530 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3531 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3532 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3533 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3534 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3535 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3536 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3537 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3538 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3539 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3540 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3541 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3542 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3543 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3544 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3545 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3546 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3547 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3548 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3549 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3550 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3551 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3552 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3553 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3554 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3555 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3556 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3557 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3558 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3559 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3560 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3561 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3562 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3563 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3564
11dd4af6
L
3565 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3566 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3567 * include/ifunc-impl-list.h: New file.
3568 * misc/ifunc-impl-list.c: Likewise.
3569 * misc/Makefile (routines): Add ifunc-impl-list.
3570 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3571 * string/test-string.h: Include <ifunc-impl-list.h>.
3572 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3573 impl_array): New variables.
3574 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3575 are defined.
3576 (test_init): Call __libc_ifunc_impl_list to initialize
3577 func_list if TEST_IFUNC and TEST_NAME are defined.
3578
9a387d1f
L
3579 * string/Makefile (strop-tests): Add bcopy and bzero.
3580 * string/test-bcopy.c: New file.
3581 * string/test-bzero.c: Likewise.
3582 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3583 defined.
3584 * string/test-memset.c: Support bzero test if TEST_BZERO is
3585 defined.
3586 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3587 __libc_memmove.
3588 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3589 __libc_memset.
3590 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3591 of memset.
3592
472371b9
JM
35932012-10-10 Joseph Myers <joseph@codesourcery.com>
3594
1e4a9536
JM
3595 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3596 * configure: Regenerated.
3597
d173d12e
JM
3598 * Makeconfig (+link-static-before-libc): Don't include
3599 $(link-static-libc).
3600
472371b9
JM
3601 * libio/libio.h (_IO_pos_t): Remove.
3602
89a3ad0b
AO
36032012-10-10 Alexandre Oliva <aoliva@redhat.com>
3604
3605 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3606 McGrath.
3607
e7451425
AO
36082012-10-10 Alexandre Oliva <aoliva@redhat.com>
3609
3610 * crypt/crypt-entry.c: Include fips-private.h.
3611 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3612 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3613 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3614 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3615
4ba74a35
AO
36162012-10-10 Alexandre Oliva <aoliva@redhat.com>
3617
3618 * crypt/crypt-private.h: Include stdbool.h.
3619 (_ufc_setup_salt_r): Return bool.
3620 * crypt/crypt-entry.c: Include errno.h.
3621 (__crypt_r): Return NULL with EINVAL for bad salt.
3622 * crypt/crypt_util.c (bad_for_salt): New.
3623 (_ufc_setup_salt_r): Check that salt is long enough and within
3624 the specified alphabet.
3625 * crypt/badsalttest.c: New file.
3626 * crypt/Makefile (tests): Add it.
3627 ($(objpfx)badsalttest): New.
3628
f96f1242
MK
36292012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3630
3631 * NEWS: Add entry for BZ #14602.
3632
0e8e0c1c
JM
36332012-10-09 Joseph Myers <joseph@codesourcery.com>
3634
3635 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3636 type-generic.
3637 * math/libm-test.inc: Update comment listing what functions and
3638 macros are tested.
3639 (isgreater_test): New function.
3640 (isgreaterequal_test): Likewise.
3641 (isless_test): Likewise.
3642 (islessequal_test): Likewise.
3643 (islessgreater_test): Likewise.
3644 (isunordered_test): Likewise.
3645 (main): Call the new functions.
3646
273edc5e
RM
36472012-10-09 Roland McGrath <roland@hack.frob.com>
3648
b8493de0
RM
3649 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3650 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3651 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3652 * sysdeps/i386/configure: Regenerated.
3653 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3654 * sysdeps/mach/configure: Regenerated.
3655 * sysdeps/mach/hurd/configure: Regenerated.
3656 * sysdeps/powerpc/configure: Regenerated.
3657 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3658 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3659 * sysdeps/s390/s390-32/configure: Regenerated.
3660 * sysdeps/s390/s390-64/configure: Regenerated.
3661 * sysdeps/sh/configure: Regenerated.
3662 * sysdeps/sparc/configure: Regenerated.
3663 * sysdeps/unix/sysv/linux/configure: Regenerated.
3664 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3665 * sysdeps/x86_64/configure: Regenerated.
3666
273edc5e
RM
3667 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3668 defined. Don't check if MAP is NULL.
3669
c8450f70
JM
36702012-10-09 Joseph Myers <joseph@codesourcery.com>
3671
3672 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3673 (_G_stat64): Likewise.
3674 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3675 (_G_stat64): Likewise.
3676 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3677 instead of struct _G_stat64.
3678 * libio/fileops.c (mmap_remap_check): Likewise.
3679 (decide_maybe_mmap): Likewise.
3680 (_IO_new_file_seekoff): Likewise.
3681 (_IO_file_stat): Likewise.
3682 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3683 _G_off64_t.
3684 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3685 instead of struct _G_stat64.
3686 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3687
57e605ba
MK
36882012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3689
3690 [BZ #14602]
3691 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3692 Replace with ...
3693 (CHECK_EOL): New macro.
3694 (two_way_short_needle): Check beginning of haystack for EOL. Use
3695 CHECK_EOL.
3696 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3697 Replace with CHECK_EOL.
3698 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3699 Replace with CHECK_EOL.
3700
ef1bb361
JM
37012012-10-08 Joseph Myers <joseph@codesourcery.com>
3702
3703 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3704 type-generic.
3705 * math/libm-test.inc: Update comment listing what functions and
3706 macros are tested.
3707 (finite_test): New function.
3708 (isinf_test): Likewise.
3709 (isnan_test): Likewise.
3710 (fpclassify_test): Test subnormal input.
3711 (isfinite_test): Likewise.
3712 (isnormal_test): Likewise.
3713 (main): Call the new functions.
3714
55f11534
JN
37152012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3716
3717 [BZ #14660]
3718 * Makerules (%.dynsym): Force C locale when running
3719 $(OBJDUMP) --dynamic-syms.
3720
1ab29350
AS
37212012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3722
3723 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3724 <stdint.h>.
3725
f1ecb7ef
DM
37262012-10-06 David S. Miller <davem@davemloft.net>
3727
3728 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3729 upper 32-bits of the length value in %o2 since we use branch-on-register
3730 tests which consider the entire 64-bit register.
3731
5d41d91a
L
37322012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3733
3734 * string/test-strstr.c (check2): Add a test for page boundary.
3735
3baddb72
DM
37362012-10-05 David S. Miller <davem@davemloft.net>
3737
3738 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3739 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3740 file.
3741 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3742 sysdep_routines.
3743 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3744 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3745 and bzero when HWCAP_SPARC_CRYPTO is present.
3746
9cee5585
L
37472012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3748
d7e0dab9
L
3749 [BZ #14602]
3750 * string/test-strstr.c (check2): New function.
3751 (test_main): Call check2.
3752
03759f47
L
3753 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3754 and bug-strchr1.
3755 * string/bug-strcasestr1.c (do_test): Moved to ...
3756 * string/test-strcasestr.c (check1): Here. New function.
3757 (do_one_test): Break out result checking code into ...
3758 (check_result): This. New function.
3759 (do_one_test): Call check_result.
3760 (test_main): Call check1.
3761 * string/bug-strchr1.c (do_test): Moved to ...
3762 * string/test-strchr.c (check1): Here. New function.
3763 (do_one_test): Break out result checking code into ...
3764 (check_result): This. New function.
3765 (do_one_test): Call check_result.
3766 (test_main): Call check1.
3767 * string/bug-strstr1.c (main): Moved to ...
3768 * string/test-strchr.c (check1): Here. New function.
3769 (do_one_test): Break out result checking code into ...
3770 (check_result): This. New function.
3771 (do_one_test): Call check_result.
3772 (test_main): Call check1.
3773 * string/bug-strcasestr1.c: Removed.
3774 * string/bug-strchr1.c: Likewise.
3775 * string/bug-strstr1.c: Likewise.
3776
53cea63e
L
3777 * elf/Makefile (dl-routines): Add hwcaps.
3778 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3779 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3780 (_dl_important_hwcaps): Moved to ...
3781 * elf/dl-hwcaps.c: Here. New file.
3782 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3783
9cee5585 3784 [BZ #14557]
bb859b06
L
3785 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3786 if IS_IN_rtld isn't defined.
3787
9cee5585
L
3788 * elf/dl-support.c (_dl_sysinfo_map): New.
3789 Include "get-dynamic-info.h" and "setup-vdso.h".
3790 (_dl_non_dynamic_init): Call setup_vdso.
3791 * elf/dynamic-link.h: Don't include <assert.h>.
3792 (elf_get_dynamic_info): Moved to ...
3793 * elf/get-dynamic-info.h: Here. New file.
3794 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3795 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3796 * elf/setup-vdso.h: Here. New file.
3797 * elf/rtld.c: Include "setup-vdso.h".
3798 (dl_main): Call setup_vdso.
3799
23c31b76
JM
38002012-10-05 Joseph Myers <joseph@codesourcery.com>
3801
28234b07
JM
3802 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3803 creal in comment listing functions tested. List finite, isinf,
3804 isnan, isless, islessequal, isgreater, isgreaterequal,
3805 islessgreater, isunordered, lgamma_r and pow10 as functions and
3806 macros not tested. Mention which functions not tested are aliases
3807 for other functions. Fix typo. Note that signs of NaNs are not
3808 tested.
3809
23c31b76
JM
3810 * scripts/config.guess: Update from config.git.
3811 * scripts/config.sub: Likewise.
3812
9043e228
RM
38132012-10-04 Roland McGrath <roland@hack.frob.com>
3814
3815 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3816 * misc/madvise.c (madvise): Renamed to __madvise.
3817 Make madvise a weak alias.
3818 * include/sys/mman.h: Declare __madvise.
3819 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3820 * sysdeps/unix/syscalls.list
3821 (madvise): Make __madvise the strong name, and madvise a weak alias.
3822 * sysdeps/unix/sysv/linux/syscalls.list
3823 (madvise, mmap): Remove redundant entries.
3824 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3825 * malloc/malloc.c (mtrim): Likewise.
3826 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3827
f57f8055
RM
38282012-10-03 Roland McGrath <roland@hack.frob.com>
3829
3830 * sysdeps/mach/hurd/dl-cache.c: File removed.
3831 * config.h.in (USE_LDCONFIG): New #undef.
3832 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3833 * configure: Regenerated.
3834 * elf/Makefile (dl-routines): Add dl-cache only under
3835 [$(use-ldconfig) = yes].
3836 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3837 cache on [USE_LDCONFIG].
3838 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3839 [USE_LDCONFIG].
3840 * elf/rtld.c (dl_main): Likewise.
3841
5bb0c10a
PT
38422012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3843
3844 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3845 _SC_LEVEL4_CACHE_LINESIZE.
3846
010188c6
RM
38472012-10-03 Roland McGrath <roland@hack.frob.com>
3848
3849 * sysdeps/unix/bsd/confstr.h: File removed.
3850
b6c5ec07
AO
38512012-10-02 Alexandre Oliva <aoliva@redhat.com>
3852
3853 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3854 sys/sdt-config.h.
3855
408223d4
RM
38562012-10-02 Roland McGrath <roland@hack.frob.com>
3857
3858 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3859 Make 'mapoff' field ElfW(Off) rather than off_t.
3860
bb9510dc
DL
38612012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3862
fc997c6e
DL
3863 * nscd/Makefile: Remove nscd-cflags and all its users.
3864 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3865 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3866
bb9510dc
DL
3867 [BZ #10631]
3868 * malloc.c (malloc_printerr): Clarify error message.
3869
05699367
L
38702012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3871
3872 [BZ #14648]
3873 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3874 Set bit_FMA_Usable if FMA is supported.
3875 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3876 macro.
3877 (bit_FMA4_Usable): Updated.
3878 (index_FMA_Usable): New macro.
3879 (CPUID_FMA): Likewise
3880 (HAS_FMA): Defined with bit_FMA_Usable.
3881
51367701
RM
38822012-10-01 Roland McGrath <roland@hack.frob.com>
3883
3884 * bits/types.h (__swblk_t): Type removed.
3885 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3886 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3887 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3888 (__SWBLK_T_TYPE): Likewise.
3889 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3890 (__SWBLK_T_TYPE): Likewise.
3891 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3892 (__SWBLK_T_TYPE): Likewise.
3893 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3894 (__SWBLK_T_TYPE): Likewise.
3895
4d57bf63 38962012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3897 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3898
3899 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3900 (xdr_mapname): Use YPMAXMAP as maxsize.
3901 (xdr_peername): Use YPMAXPEER as maxsize.
3902 (xdr_keydat): Use YPAXRECORD as maxsize.
3903 (xdr_valdat): Use YPMAXRECORD as maxsize.
3904
93c65d43
RM
39052012-10-01 Roland McGrath <roland@hack.frob.com>
3906
497a03d6
RM
3907 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3908
93c65d43
RM
3909 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3910 * csu/init-first.c: ... here.
3911 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3912 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3913 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3914 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3915 * sysdeps/i386/init-first.c: File removed.
3916 * sysdeps/sh/init-first.c: File removed.
3917
bec749fd
JM
39182012-10-01 Joseph Myers <joseph@codesourcery.com>
3919
3920 [BZ #14645]
3921 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3922 if x * y might underflow to zero and z is zero.
3923 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3924 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3925 * math/libm-test.inc (min_subnorm_value): New variable.
3926 (fma_test): Add more tests.
3927 (fma_test_towardzero): Likewise.
3928 (fma_test_downward): Likewise
3929 (fma_test_upward): Likewise.
3930 (initialize): Set min_subnorm_value.
3931
8ec5b013
JM
39322012-09-29 Joseph Myers <joseph@codesourcery.com>
3933
3934 [BZ #14638]
3935 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3936 0 + 0.
3937 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3938 mode for addition resulting in exact zero.
3939 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3940 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3941 exact 0 + 0.
3942 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3943 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3944 * math/libm-test.inc (fma_test): Add more tests.
3945 (fma_test_towardzero): New function.
3946 (fma_test_downward): Likewise.
3947 (fma_test_upward): Likewise.
3948 (main): Call the new functions.
3949
b1fa802e
DM
39502012-09-28 David S. Miller <davem@davemloft.net>
3951
3952 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3953
d3b9fd9e
RM
39542012-09-28 Roland McGrath <roland@hack.frob.com>
3955
ea4d37b3
RM
3956 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3957 instead of SIGALRM.
3958
ac51c949
RM
3959 * sysdeps/gnu/_G_config.h: Moved to ...
3960 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3961 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3962 * sysdeps/generic/_G_config.h: ... here.
3963
28c195f7
RM
3964 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3965
848917f9
RM
3966 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3967
6bacf05b
RM
3968 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3969 Conditionalize target on [libnss_test1.so-version].
3970
91363dbb
RM
3971 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3972
cc87f7d8
RM
3973 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3974 (elfobjdir): Move out of conditionals.
3975
b1c608fe
RM
3976 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3977 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3978 (__nss_lookup_function): Conditionalize label remove_from_tree on
3979 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3980
1d9a6d96
DM
39812012-09-28 David S. Miller <davem@davemloft.net>
3982
3983 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3984 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3985 file.
3986 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3987 sysdep_routines.
3988 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3989 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3990 when HWCAP_SPARC_CRYPTO is present.
3991
72581615
PT
39922012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3993
3994 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3995
715a900c
JL
39962012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3997
3998 [BZ #6530]
3999 * stdio-common/vfprintf.c (process_string_arg): Revert
4000 2000-07-22 change.
4001
40022011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4003
4004 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4005 for testcase.
4006 * stdio-common/tst-sprintf.c: Include <locale.h>
4007 (main): Test sprintf's handling of incomplete multibyte
4008 characters.
4009
9bac1d86
L
40102012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4011
4012 * elf/dl-runtime.c (VERSYMIDX): Removed.
4013 * elf/dl-version.c (VERSYMIDX): Likewise.
4014 * elf/do-rel.h (VERSYMIDX): Likewise.
4015 (VALIDX): Likewise.
4016 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4017 * elf/rtld.c (VALIDX): Likewise.
4018 (ADDRIDX): Likewise.
9bac1d86
L
4019 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4020 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4021 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
4022 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4023 (VALIDX): Likewise.
4024 (ADDRIDX): Likewise.
9bac1d86 4025
b31606c0
PT
40262012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4027
4028 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4029
11541177
JL
40302012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4031
4032 [BZ #11438]
4033 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4034 to global scope.
4035 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4036 addresses are in the same scope as 192.0.2/24.
4037 * posix/gai.conf: Document new scope table defaults.
4038
adb26fae
SP
40392012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4040
4041 [BZ #5298]
4042 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4043 for ftell. Compute offsets from write pointers instead.
4044 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4045
4573c6b0
SP
40462012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4047
4048 [BZ #14543]
4049 * libio/Makefile (tests): New test case tst-fseek.
4050 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4051 combination works in wide mode.
4052 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4053 state when the external buffer state changes.
4054
aa9bbfe6
DM
40552012-09-27 David S. Miller <davem@davemloft.net>
4056
4057 [BZ #14376]
4058 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4059 pass reloc->r_addend in as the 'high' argument to
4060 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4061
784421e7
DM
4062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4063
c39bc8b8
PT
40642012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4065
4066 * rt/tst-aio2.c: Include <pthread.h>.
4067 * rt/tst-aio3.c: Likewise.
4068
1ccc2399
SE
40692012-09-27 Steve Ellcey <sellcey@mips.com>
4070
4071 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4072
31ed4153
L
40732012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4074
25f5f885
L
4075 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4076 contents on [SHARED].
31ed4153 4077
b7bfe116
MP
40782012-09-26 Marek Polacek <polacek@redhat.com>
4079
4080 [BZ #14530]
4081 [BZ #13741]
4082 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4083 for C++ and GCC <4.3 as well as for non GCC compilers.
4084
43c4edba
MT
40852012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4086
4087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4088
6a1bf82f
RM
40892012-09-25 Roland McGrath <roland@hack.frob.com>
4090
4091 * Makefile.in (all, install): Declare with .PHONY.
4092 Reported by Michael Hope <michael.hope@linaro.org>.
4093
8ad11b9a
TMQMF
40942012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4095
4096 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4097 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4098 system header.
4099 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4100 Likewise.
4101 (sydep_routines): Add the new and the internal functions.
4102 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4103 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4105 (GLIBC_2.17): Add the new function.
4106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4107 (GLIBC_2.17): Likewise.
4108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4109 (GLIBC_2.17): Likewise.
4110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4111 (GLIBC_2.17): Likewise.
4112 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4113
7e2fca8d
AM
41142012-09-25 Alan Modra <amodra@gmail.com>
4115
4116 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4117 Add release barrier before setting once_control to say
4118 initialisation is done. Add hints on lwarx. Use macro in
4119 place of isync.
4120 (clear_once_control): Add release barrier.
4121
b87c4b24
JM
41222012-09-25 Joseph Myers <joseph@codesourcery.com>
4123
d032e0d2
JM
4124 [BZ #13629]
4125 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4126 specially.
4127 * math/s_clog10.c (__clog10): Likewise.
4128 * math/s_clog10f.c (__clog10f): Likewise.
4129 * math/s_clog10l.c (__clog10l): Likewise.
4130 * math/s_clogf.c (__clogf): Likewise.
4131 * math/s_clogl.c (__clogl): Likewise.
4132 * math/Makefile (libm-calls): Add x2y2m1.
4133 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4134 (__x2y2m1): Likewise.
4135 (__x2y2m1l): Likewise.
4136 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4137 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4138 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4139 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4140 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4141 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4142 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4143 * sysdeps/i386/fpu/libm-test-ulps: Update.
4144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4145
b87c4b24
JM
4146 [BZ #14621]
4147 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4148 int as type of variable DEPTH.
4149 (glob): Use size_t instead of int as type of variables NEWCOUNT
4150 and OLD_PATHC.
4151
6d3bf199
LD
41522012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4153
22bf5c17
LD
4154 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4155 Add s_sincosf-sse2.
4156 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4157 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4158 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4159 macros for using routine as __sincosf_ia32.
4160 Use macro for function declaration and weak_alias.
4161 * sysdeps/i386/fpu/libm-test-ulps: Update.
4162
4163 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4164 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4165
4166 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4167 subnormal argument.
4168 * math/s_cexpf.c (__cexpf): Likewise.
4169 * math/s_csinf.c (__csinf): Likewise.
4170 * math/s_csinhf.c (__csinhf): Likewise.
4171 * math/s_ctanf.c (__ctanf): Likewise.
4172 * math/s_ctanhf.c (__ctanhf): Likewise.
4173 * math/s_ccosh.c (__ccoshf): Likewise.
4174 * math/s_cexp.c (__cexpl): Likewise.
4175 * math/s_csin.c (__csin): Likewise.
4176 * math/s_csinh.c (__csinh): Likewise.
4177 * math/s_ctan.c (__ctan): Likewise.
4178 * math/s_ctanh.c (ctanh): Likewise.
4179 * math/s_ccoshl.c (__ccoshl): Likewise.
4180 * math/s_cexpl.c (__cexpl): Likewise.
4181 * math/s_csinl.c (__csinl): Likewise.
4182 * math/s_csinhl.c (__csinhl): Likewise.
4183 * math/s_ctanl.c (__ctanl): Likewise.
4184 * math/s_ctanhl.c (__ctanhl): Likewise.
4185
203e5603
JM
41862012-09-25 Joseph Myers <joseph@codesourcery.com>
4187
4188 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4189 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4190 (_IO_off_t): Define to __off_t, not _G_off_t.
4191 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4192 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4193 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4194 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4195 type of __dummy and __dummy2 fields.
4196 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4197 (_G_ssize_t): Likewise.
4198 (_G_off_t): Likewise.
4199 (_G_pid_t): Likewise.
4200 (_G_uid_t): Likewise.
4201 (_G_wchar_t): Likewise.
4202 (_G_wint_t): Likewise.
4203 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4204 (_G_ssize_t): Likewise.
4205 (_G_off_t): Likewise.
4206 (_G_pid_t): Likewise.
4207 (_G_uid_t): Likewise.
4208 (_G_wchar_t): Likewise.
4209 (_G_wint_t): Likewise.
4210 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4211 (_G_ssize_t): Likewise.
4212 (_G_off_t): Likewise.
4213 (_G_pid_t): Likewise.
4214 (_G_uid_t): Likewise.
4215 (_G_wchar_t): Likewise.
4216 (_G_wint_t): Likewise.
4217
9fab36eb
SP
42182012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4219
4220 * malloc/arena.c: Include malloc-sysdep.h.
4221 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4222 is sufficient to shrink the heap or an unmap is needed.
4223 * sysdeps/generic/malloc-sysdep.h: New file. Define
4224 new function check_may_shrink_heap.
4225 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4226 new function check_may_shrink_heap.
4227
2b4f00d1
SP
42282012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4229
4230 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4231 comments.
4232
9a9028b1
DL
42332012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4234
57c69bef
DL
4235 * catgets/test-gencat.sh: Add "set -e".
4236 * elf/tst-pathopt.sh: Likewise.
4237 * grp/tst_fgetgrent.sh: Likewise.
4238 * iconvdata/run-iconv-test.sh: Likewise.
4239 * intl/tst-gettext.sh: Likewise.
4240 * intl/tst-gettext2.sh: Likewise.
4241 * intl/tst-gettext4.sh: Likewise.
4242 * intl/tst-gettext6.sh: Likewise.
4243 * intl/tst-translit.sh: Likewise.
4244 * io/ftwtest-sh: Likewise.
4245 * libio/test-freopen.sh: Likewise.
4246 * malloc/tst-mtrace.sh: Likewise.
4247 * posix/globtest.sh: Likewise.
4248 * posix/tst-getconf.sh: Likewise.
4249 * posix/wordexp-tst.sh: Likewise.
4250 * stdio-common/tst-printf.sh: Likewise.
4251 * stdio-common/tst-unbputc.sh: Likewise.
4252 * stdlib/tst-fmtmsg.sh: Likewise.
4253 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4254 * catgets/Makefile: Do not specify -e option when running
4255 testsuite shell scripts.
4256 * elf/Makefile: Likewise.
4257 * grp/Makefile: Likewise.
4258 * iconvdata/Makefile: Likewise.
4259 * intl/Makefile: Likewise.
4260 * io/Makefile: Likewise.
4261 * libio/Makefile: Likewise.
4262 * malloc/Makefile: Likewise.
4263 * posix/Makefile: Likewise.
4264 * stdio-common/Makefile: Likewise.
4265 * stdlib/Makefile: Likewise.
4266 * sysdeps/x86_64/Makefile: Likewise.
4267
9a9028b1
DL
4268 * io/ftwtest-sh: Add copyright header.
4269 * posix/globtest.sh: Likewise.
4270 * posix/tst-getconf.sh: Likewise.
4271 * posix/wordexp-tst.sh: Likewise.
4272 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4273
ced6f16e
L
42742012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4275
94b32c39
L
4276 [BZ #13679]
4277 * Makeconfig (+link): Defined as $(+link-static) if
4278 $(build-shared) isn't yes.
4279 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4280 isn't yes.
4281 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4282
189e935b
L
4283 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4284
ced6f16e
L
4285 [BZ #14562]
4286 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4287 new chunk size with MALLOC_ALIGN_MASK.
4288
a9f8e53a
JM
42892012-09-24 Joseph Myers <joseph@codesourcery.com>
4290
4291 [BZ #5044]
4292 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4293 <rounding-mode.h>.
4294 (__printf_fphex): Determine rounding using get_rounding_mode and
4295 round_away.
4296 * stdio-common/tst-printf-round.c (struct hex_test): New
4297 structure.
4298 (hex_tests): New variable.
4299 (test_hex_in_one_mode): New function.
4300 (do_test): Also run tests for hex float output.
4301
43153109
JM
43022012-09-21 Joseph Myers <joseph@codesourcery.com>
4303
4304 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4305 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4306 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4307 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4308 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4309 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4310 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4311 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4312
8a26625d
JM
43132012-09-20 Joseph Myers <joseph@codesourcery.com>
4314
4315 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4316 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4317 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4318 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4319
f3fd569c
DL
43202012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4321
4322 [BZ #14579]
4323 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4324 mode only.
4325 * elf/tst-rtld-load-self.sh: New test.
4326 * elf/Makefile: Run it.
4327
63bbedd4
JM
43282012-09-18 Joseph Myers <joseph@codesourcery.com>
4329
4330 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4331 (tst-writev-ENV): Remove.
4332 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4333
626f8b6a
CM
43342012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4335
4336 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4337
b7aaa4d6
JM
43382012-09-17 Joseph Myers <joseph@codesourcery.com>
4339
4340 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4341 unconditional.
4342 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4343 Likewise.
4344 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4345 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4346 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4347 Likewise.
4348
65513990
L
43492012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4350
4351 [BZ #14587]
4352 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4353 * config.make.in (have-cpp-asm-debuginfo): Removed.
4354 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4355 * configure: Regenerated.
4356
784761be
JM
43572012-09-14 Joseph Myers <joseph@codesourcery.com>
4358
4359 [BZ #5044]
4360 * stdio-common/printf_fp.c: Include <stdbool.h> and
4361 <rounding-mode.h>.
4362 (___printf_fp): Determine rounding using get_rounding_mode and
4363 round_away.
4364 * stdio-common/tst-printf-round.c: New file.
4365 * stdio-common/Makefile (tests): Add tst-printf-round.
4366 (link-libm): New variable.
4367 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4368
9503345f
L
43692012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4370
4371 [BZ #14576]
4372 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4373 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4374 Likewise.
4375 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4376 Likewise.
4377
ad35fc00
JM
43782012-09-13 Joseph Myers <joseph@codesourcery.com>
4379
4380 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4381 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4382 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4383 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4384
6c9b0f68
JM
43852012-09-12 Joseph Myers <joseph@codesourcery.com>
4386
4387 [BZ #14518]
4388 * include/rounding-mode.h: New file.
4389 * sysdeps/generic/get-rounding-mode.h: Likewise.
4390 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4391 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4392 (MAX_VALUE): New macro.
4393 (MIN_VALUE): Likewise.
4394 (overflow_value): New function.
4395 (underflow_value): Likewise.
4396 (round_and_return): Use overflow_value and underflow_value to
4397 determine return values in overflow and underflow cases. Use
4398 round_away to determine rounding depending on rounding mode.
4399 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4400 determine return values in overflow and underflow cases.
4401 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4402 (struct test_results): New structure.
4403 (struct test): Use struct test_results to store expected results
4404 for all rounding modes.
4405 (TEST): Include expected results for all rounding modes.
4406 (test_in_one_mode): New function.
4407 (do_test): Use test_in_one_mode to compute and check results.
4408 Check results for all rounding modes.
4409 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4410 $(link-libm).
4411
19fcedd5
AM
44122012-12-09 Allan McRae <allan@archlinux.org>
4413
1e9d84cd 4414 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 4415
8bbfd2f1
JM
44162012-09-11 Joseph Myers <joseph@codesourcery.com>
4417
4418 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4419 (_G_int32_t): Likewise.
4420 (_G_uint16_t): Likewise.
4421 (_G_uint32_t): Likewise.
4422 (_G_HAVE_BOOL): Likewise.
4423 (_G_HAVE_ATEXIT): Likewise.
4424 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4425 (_G_HAVE_IO_FILE_OPEN): Likewise.
4426 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4427 (_G_int32_t): Likewise.
4428 (_G_uint16_t): Likewise.
4429 (_G_uint32_t): Likewise.
4430 (_G_HAVE_BOOL): Likewise.
4431 (_G_HAVE_ATEXIT): Likewise.
4432 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4433 (_G_HAVE_IO_FILE_OPEN): Likewise.
4434 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4435 (_G_int32_t): Likewise.
4436 (_G_uint16_t): Likewise.
4437 (_G_uint32_t): Likewise.
4438 (_G_HAVE_BOOL): Likewise.
4439 (_G_HAVE_ATEXIT): Likewise.
4440 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4441 (_G_HAVE_IO_FILE_OPEN): Likewise.
4442
b1dc5912
L
44432012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4444
4445 * csu/libc-tls.c: Update copyright years.
4446
0e886ef9
JM
44472012-09-10 Joseph Myers <joseph@codesourcery.com>
4448
28361c5e
JM
4449 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4450 [!_G_USING_THUNKS]: Remove conditional code.
4451 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4452 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4453
0e886ef9
JM
4454 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4455 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4456 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4457 (_G_VTABLE_LABEL_PREFIX): Likewise.
4458 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4459 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4460 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4461 (_G_VTABLE_LABEL_PREFIX): Likewise.
4462 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4463 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4464 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4465 (_G_VTABLE_LABEL_PREFIX): Likewise.
4466 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4467
bcba7aa2
L
44682012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4469
4470 * libio/Makefile: Include ../Makeconfig before tests.
4471 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4472 only if $(build-shared) is yes.
4473
06585ee8
L
4474 * iconv/gconv_db.c: Update copyright years.
4475
80ccd52c
LD
44762012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4477
4478 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4479 unwind info if defined PIC. Fix special cases description.
4480 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4481
4482 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4483 DP_HI_MASK entry.
4484 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4485
691bc9c1
L
44862012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4487
3d9b46b3
L
4488 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4489
de2139a9
L
4490 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4491 is NULL.
4492
5ca78dd0
L
4493 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4494 (LDLIBS-tst-chk4): This.
4495 (LDFLAGS-tst-chk5): Renamed to ...
4496 (LDLIBS-tst-chk5): This.
4497 (LDFLAGS-tst-chk6): Renamed to ...
4498 (LDLIBS-tst-chk6): This.
4499 (LDFLAGS-tst-lfschk4): Renamed to ...
4500 (LDLIBS-tst-lfschk4): This.
4501 (LDFLAGS-tst-lfschk5): Renamed to ...
4502 (LDLIBS-tst-lfschk5): This.
4503 (LDFLAGS-tst-lfschk6): Renamed to ...
4504 (LDLIBS-tst-lfschk6): This.
4505
691bc9c1
L
4506 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4507 on $(common-objpfx)soversions.mk.
4508
65cafb1c
JM
45092012-09-07 Joseph Myers <joseph@codesourcery.com>
4510
4511 [BZ #10014]
4512 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4513 example host name.
4514
c78ab094
SP
45152012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4516
4517 * malloc/arena.c (arena_get_retry): New function that gets
4518 another arena for the caller to try its request on.
4519 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4520 current arena cannot fulfill the request.
4521 (__libc_memalign): Likewise.
4522 (__libc_memalign): Likewise.
4523 (__libc_pvalloc): Likewise.
4524 (__libc_calloc): Likewise.
4525
01f49f59
JT
45262012-09-05 John Tobey <john.tobey@gmail.com>
4527
4528 [BZ #13542]
4529 * manual/arith.texi (Operations on Complex): Fix description
4530 of carg branch cut.
4531
4c23fed5
JM
45322012-09-06 Joseph Myers <joseph@codesourcery.com>
4533
1d3c8572
JM
4534 [BZ #10014]
4535 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4536 host name.
4537
4c23fed5
JM
4538 [BZ #10038]
4539 * manual/memory.texi (Memory): Make order of menu items match
4540 order of sections.
4541
04570aaa
L
45422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4543
4544 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4545 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4546 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4547
b80af2f4
L
45482012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4549
4550 * csu/libc-tls.c (static_dtv): Renamed to ...
4551 (_dl_static_dtv): This. Make it global.
4552 (_dl_initial_dtv): Removed.
4553 (__libc_setup_tls): Updated.
4554 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4555 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4556 DL_INITIAL_DTV.
4557
2abe9f15
PM
45582012-09-06 Petr Machata <pmachata@redhat.com>
4559
4560 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4561 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4562 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4563 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4564
0948c3af
L
45652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4566
4567 [BZ #14545]
4568 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4569 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4570 freeing dtv[-1].
4571
a5055ad1
L
45722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4573
4574 [BZ #14544]
4575 * Makeconfig (link-static-before-libc): Replace $(+prector)
4576 with $(+prectorT).
4577 (link-static-after-libc): Replace $(+postctor) with
4578 $(+postctorT).
4579 (link-bounded): Replace $(+prector)/$(+postctor) with
4580 $(+prectorT)/$(+postctorT).
4581 (+prectorT): New macro.
4582 (+postctorT): Likewise.
4583
ed8c2ecd
JM
45842012-09-06 Joseph Myers <joseph@codesourcery.com>
4585
4586 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4587 (round_str): Handle values above the maximum for IBM long double
4588 as inexact.
4589 * stdlib/tst-strtod-round.c (tests): Regenerated.
4590
14c996c8
AK
45912012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4592
4593 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4594 assembler flag.
4595 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4596 zarch_nohighgprs around the zarch optimized routines.
4597 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4598 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4599 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4600 for zarch.
4601
430d6ce6
DM
46022012-09-05 David S. Miller <davem@davemloft.net>
4603
4604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4605
ff04dda4
DM
4606 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4607 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4608 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4609 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4610 entries.
4611
24d4e01b
AO
46122012-09-05 Alexandre Oliva <aoliva@redhat.com>
4613
4614 * malloc/arena.c: Fold copyright years.
4615 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4616
61d58174
AO
46172012-09-05 Alexandre Oliva <aoliva@redhat.com>
4618
4619 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4620
20196a5e
AO
46212012-09-05 Alexandre Oliva <aoliva@redhat.com>
4622
4623 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4624
5c447383
AO
46252012-09-05 Alexandre Oliva <aoliva@redhat.com>
4626
4627 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4628 change internal state upon failure.
4629
fad64255
AO
46302012-09-05 Alexandre Oliva <aoliva@redhat.com>
4631
4632 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4633 * malloc/memusage.c (mmap): Likewise.
4634 (mmap64, mremap): Likewise. Adjust name in comment.
4635
1ffb8c90
SP
46362012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4637
4638 * libio/fileops.c: Fix typos in comments.
4639 * libio/oldfileops.c: Likewise.
4640 * libio/wfileops.c: Likewise.
4641
6ef9cc37
SP
46422012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4643
4644 [BZ #1349]
4645 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4646 (tst-malloc-usable-ENV): Set environment for test case.
4647 * malloc/hooks.c (malloc_check_get_size): New function to get
4648 requested size.
4649 * malloc/malloc.c (musable): Use malloc_check_get_size.
4650 * malloc/tst-malloc-usable.c: New test case.
4651
4d038ae3
AS
46522012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4653
4654 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4655
c4e85184
AM
46562012-09-05 Allan McRae <allan@archlinux.org>
4657
b9dafc56 4658 [BZ #13966]
c4e85184
AM
4659 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4660 determine header location.
4661 * configure: Regenerated.
4662
e1343020
AS
46632012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4664
4665 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4666 float format.
4667 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4668 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4669 format.
e1343020
AS
4670 (test): Regenerate.
4671
0a9f1987
DM
46722012-09-04 David S. Miller <davem@davemloft.net>
4673
4674 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4675 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4676 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4677
29237804
FW
46782012-09-04 Florian Weimer <fweimer@redhat.com>
4679
4680 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4681 failures.
4682
edb3cb88
FW
4683 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4684
60160d83
JM
46852012-09-04 Joseph Myers <joseph@codesourcery.com>
4686
4687 [BZ #9914]
4688 * libio/iogetdelim.c: Include <limits.h>.
4689 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4690 + len + 1 would overflow.
4691
bcd6c8dc
AJ
46922012-09-03 Andreas Jaeger <aj@suse.de>
4693
4694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4695 * sysdeps/i386/fpu/libm-test-ulps: Update.
4696
4ffffbd2
LD
46972012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4698
4699 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4700 Add s_sinf-sse2, s_conf-sse2.
4701
4702 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4703 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4704 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4705 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4706
4707 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4708 for using routine as __sinf_ia32.
4709 Use macro for function declaration and weak_alias.
4710 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4711 for using routine as __cosf_ia32.
4712 Use macro for function declaration and weak_alias.
4713
4714 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4715 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4716
4717 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4718 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4720
4721 * math/libm-test.inc (cos_test): Add more test cases.
4722 (sin_test): Likewise.
4723 (sincos_test): Likewise.
4724
511fa286
AK
47252012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4726
4727 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4728 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4729 hidden.
4730 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4731
5f30cfec
L
47322012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4733
4734 [BZ #14538]
4735 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4736 first element of the GOT.
4737 (elf_machine_load_address): Return the difference between
4738 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4739
0786794f
AM
47402012-09-01 Allan McRae <allan@archlinux.org>
4741
5f30cfec
L
4742 [BZ #13412]
4743 * configure.in (AWK): Require gawk version 3.0 or later.
4744 * configure: Regenerated.
0786794f 4745
26889eac
JM
47462012-09-01 Joseph Myers <joseph@codesourcery.com>
4747
4748 * sysdeps/unix/sysv/linux/kernel-features.h
4749 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4750 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4751 [__NR_clock_getres]: Make code unconditional.
4752 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4753 (clock_getcpuclockid): Remove code left unreachable by removal of
4754 conditionals.
4755 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4756 code unconditional.
4757 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4758 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4759 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4760 Make code unconditional.
4761 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4762 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4763 * sysdeps/unix/sysv/linux/clock_settime.c
4764 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4765 conditional code.
4766 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4767 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4768
d22e28b0
L
47692012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4770
4771 [BZ #14476]
4772 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4773 scripts/test-installation.pl.
4774
4775 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4776 and $ld_so_version if it is set.
4777
050af9c4
SP
47782012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4779
4780 [BZ #14516]
4781 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4782 failure if reading from procfs failed.
4783 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4784
ad845c0b
JM
47852012-08-27 Joseph Myers <joseph@codesourcery.com>
4786
4787 * sysdeps/unix/sysv/linux/kernel-features.h
4788 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4789 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4790 Remove conditional code.
4791 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4792 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4793 Remove conditional code.
4794 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4795 * sysdeps/unix/sysv/linux/i386/fxstat.c
4796 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4797 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4798 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4799 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4800 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4801 * sysdeps/unix/sysv/linux/i386/lxstat.c
4802 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4803 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4804 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4805 Remove conditional code.
4806 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4807 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4808 Remove conditional code.
4809 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4810 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4811 <kernel-features.h>.
4812 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4813 Remove.
4814 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4815 Remove conditional code.
4816 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4817 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4818 Remove conditional.
4819
5dbf56af
MF
48202012-08-27 Mike Frysinger <vapier@gentoo.org>
4821
4822 [BZ #5400]
4823 * NEWS: Add fixed bug number.
4824
d6e70f43
JM
48252012-08-27 Joseph Myers <joseph@codesourcery.com>
4826
7efb4737
JM
4827 [BZ #14519]
4828 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4829 underflowing exponent in case of negative sign.
4830 * stdlib/tst-strtod-round-data: Add more tests.
4831 * stdlib/tst-strtod-round.c (tests): Regenerated.
4832
af92131a
JM
4833 [BZ #3479]
4834 * stdlib/strtod_l.c (NDIG): Remove.
4835 (HEXNDIG): Likewise.
4836 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4837 smallest representable value.
4838 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4839 lie within an exact representation of 1/2 ulp of the result.
4840 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4841 unconditionally.
4842 (TENS_P9_IDX): Define unconditionally.
4843 (TENS_P9_SIZE): Likewise.
4844 (TENS_P10_IDX): Likewise.
4845 (TENS_P10_SIZE): Likewise.
4846 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4847 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4848 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4849 entries for 10^2^13 and 10^2^14.
4850 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4851 (TENS_P13_IDX): Define.
4852 (TENS_P13_SIZE): Likewise.
4853 (TENS_P14_IDX): Likewise.
4854 (TENS_P14_SIZE): Likewise.
4855 (_fpioconst_pow10): Change array size to
4856 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4857 unconditional.
4858 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4859 1024]: Add entries for 10^2^13 and 10^2^14.
4860 [LAST_POW10 > _LAST_POW10]: Remove #error.
4861 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4862 (_fpioconst_pow10): Change array size to
4863 FPIOCONST_POW10_ARRAY_SIZE.
4864 * stdlib/gen-fpioconst.c: New file.
4865 * stdlib/gen-tst-strtod-round.c: Likewise.
4866 * stdlib/tst-strtod-round-data: Likewise.
4867 * stdlib/tst-strtod-round.c: Likewise.
4868 * stdlib/Makefile (tests): Add tst-strtod-round.
4869
d6e70f43
JM
4870 [BZ #14459]
4871 * stdlib/strtod_l.c: Include <stdint.h>.
4872 (NDEBUG): Do not define.
4873 (round_and_return): Change EXPONENT parameter to type intmax_t.
4874 Rearrange calculations to avoid internal overflow possibilities.
4875 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4876 Rearrange calculations to avoid internal overflow possibilities.
4877 Assert that number fits inside MPNSIZE limbs.
4878 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4879 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4880 calculations and add assertions to avoid internal overflow
4881 possibilities. Add casts to avoid signed/unsigned operations.
4882 * stdlib/tst-strtod-overflow.c: New file.
4883 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4884
1f529f7d
MP
48852012-08-25 Marek Polacek <polacek@redhat.com>
4886
4887 * time/time.h: Fix some typos in comments.
4888
59a629f1
RM
48892012-08-23 Roland McGrath <roland@hack.frob.com>
4890
4891 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4892 * posix/tst-rfc3484-2.c: Likewise.
4893 * posix/tst-rfc3484-3.c: Likewise.
4894
d3bafbc9
SM
48952012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4896
4897 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4898 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4899
4efcc022
JM
49002012-08-23 Joseph Myers <joseph@codesourcery.com>
4901
4902 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4903 #include of fxstatat64.c.
4904
3cc3ef96
RM
49052012-08-22 Roland McGrath <roland@hack.frob.com>
4906
f04e2132
RM
4907 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4908 * shadow/getspent_r.c: Likewise.
4909 * shadow/getspnam.c: Likewise.
4910 * shadow/getspnam_r.c: Likewise.
4911 * gshadow/getsgent.c: Likewise.
4912 * gshadow/getsgent_r.c: Likewise.
4913 * gshadow/getsgnam.c: Likewise.
4914 * gshadow/getsgnam_r.c: Likewise.
4915 * inet/getnetbyad.c: Likewise.
4916 * inet/getnetbyad_r.c: Likewise.
4917 * inet/getnetbynm.c: Likewise.
4918 * inet/getnetbynm_r.c: Likewise.
4919 * inet/getnetent.c: Likewise.
4920 * inet/getnetent_r.c: Likewise.
4921 * inet/getproto.c: Likewise.
4922 * inet/getproto_r.c: Likewise.
4923 * inet/getprtent.c: Likewise.
4924 * inet/getprtent_r.c: Likewise.
4925 * inet/getprtname.c: Likewise.
4926 * inet/getprtname_r.c: Likewise.
4927 * inet/getrpcbyname.c: Likewise.
4928 * inet/getrpcbyname_r.c: Likewise.
4929 * inet/getrpcbynumber.c: Likewise.
4930 * inet/getrpcbynumber_r.c: Likewise.
4931 * inet/getrpcent.c: Likewise.
4932 * inet/getrpcent_r.c: Likewise.
4933 * inet/getaliasent.c: Likewise.
4934 * inet/getaliasent_r.c: Likewise.
4935 * inet/getaliasname.c: Likewise.
4936 * inet/getaliasname_r.c: Likewise.
4937 * nscd/getgrgid_r.c: Likewise.
4938 * nscd/getgrnam_r.c: Likewise.
4939 * nscd/gethstbyad_r.c: Likewise.
4940 * nscd/gethstbynm3_r.c: Likewise.
4941 * nscd/getpwnam_r.c: Likewise.
4942 * nscd/getpwuid_r.c: Likewise.
4943 * nscd/getsrvbynm_r.c: Likewise.
4944 * nscd/getsrvbypt_r.c: Likewise.
4945 * nscd/gai.c: Likewise.
4946
c53d909c
RM
4947 * configure.in (build_nscd): New substituted variable, set
4948 by --disable-build-nscd and defaults to $use_nscd.
4949 * configure: Regenerated.
4950 * config.make.in (build-nscd): New substituted variable.
4951 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4952 Change conditional to require [$(build-nscd) = yes] as well.
4953 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4954
3cc3ef96
RM
4955 [BZ# 13696]
4956 * configure.in (use_nscd): New substituted variable, set by
4957 --disable-nscd. If enabled, define USE_NSCD.
4958 * configure: Regenerated.
4959 * config.h.in: Add USE_NSCD.
4960 * config.make.in (use-nscd): New substituted variable.
4961 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4962 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4963 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4964 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4965 (CFLAGS-getgrnam_r.c): Likewise.
4966 (CFLAGS-initgroups.c): Likewise.
4967 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4968 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4969 Variables removed.
4970 * inet/getnetgrent_r.c
4971 (nscd_setnetgrent): New function, broken out of ...
4972 (setnetgrent): ... here. Call it.
4973 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4974 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4975 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4976 * nscd/Makefile (routines, aux): Move definitions after include of
4977 Makeconfig. Conditionalize on [$(use-nscd) != no].
4978 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4979 Conditionalize on [USE_NSCD].
4980 (is_nscd, nscd_init_cb): Likewise.
4981 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4982 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4983 * nss/nss_db/db-init.c: Likewise.
4984 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4985 [USE_NSCD].
4986 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4987 (make_request): Use it.
4988 (cache_valid_p): New function.
4989 (__check_pf): Use it.
4990 * NEWS: Add item for --disable-nscd.
4991
07e51550
DL
49922012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4993
4994 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4995 to support sed >= 4.2.1-20-ga9bf076.
4996 * configure: Regenerated.
4997
35a5b08b
RM
49982012-08-22 Roland McGrath <roland@hack.frob.com>
4999
5000 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5001 Conditionalize whole body on [IREL].
5002
8479f23a
JL
50032012-08-22 Jeff Law <law@redhat.com>
5004
5005 [BZ #14505]
5006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5007 if the family is PF_UNSPEC.
5008
48da0b21
MF
50092012-08-22 Mike Frysinger <vapier@gentoo.org>
5010
5011 * Makerules (lib-version): Rename from V.
5012 (install-lib-nosubdir): Change V to lib-version.
5013
15d0da8c
WS
50142012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5015
5016 [BZ #14252]
5017 * powerpc32/power6/wcschr.c: New file.
5018 * powerpc32/power6/wcscpy.c: New file.
5019 * powerpc32/power6/wcsrchr.c: New file.
5020 * powerpc64/power6/wcschr.c: New file.
5021 * powerpc64/power6/wcscpy.c: New file.
5022 * powerpc64/power6/wcsrchr.c: New file.
5023
bcca0895
MK
50242012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5025
5026 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5027 (two_way_short_needle): Use it.
5a4aaa33
RM
5028 * string/strstr.c (AVAILABLE1_USES_J): Define.
5029 * string/strcasestr.c: Likewise.
99677e57
MK
5030
5031 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5032 array references.
5033 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5034
400726de
MK
5035 [BZ #11607]
5036 * NEWS: Add an entry.
5037 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5038 define their defaults.
5039 (two_way_short_needle): Detect end-of-string on-the-fly.
5040 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5041 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5042 * string/bug-strcasestr1.c: New test.
5043 * string/Makefile: Run it.
5044
20a71f2c
MK
50452012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5046
5047 [BZ #11607]
5048 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5049 the first character.
5050
21ad0558
RM
50512012-08-21 Roland McGrath <roland@hack.frob.com>
5052
5053 * csu/elf-init.c (__libc_csu_irel): Function removed.
5054 * csu/libc-start.c (apply_irel): New function.
5055 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5056
0e1d9911
JM
50572012-08-21 Joseph Myers <joseph@codesourcery.com>
5058
5059 * sysdeps/unix/sysv/linux/kernel-features.h
5060 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5061 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5062 <kernel-features.h>.
5063 [__NR_fadvise64_64]: Make code unconditional.
5064 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5065 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5066 !__NR_fadvise64_64)]: Likewise.
5067 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5068 !__NR_fadvise64_64))]: Likewise.
5069 [__NR_fadvise64]: Make code unconditional.
5070 [!__NR_fadvise64]: Remove conditional code.
5071 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5072 <kernel-features.h>.
5073 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5074 unconditional.
5075 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5076 conditional code.
5077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5078 not include <kernel-features.h>.
5079 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5080 unconditional.
5081 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5082 conditional code.
5083 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5084 include <kernel-features.h>.
5085 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5086 unconditional.
5087 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5088 conditional code.
5089
14a50c9d
WS
50902012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5091
5092 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5093 slight instruction rearrangements per scrollpipe analysis.
5094 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5095
c0f4faf0
RM
50962012-08-20 Roland McGrath <roland@hack.frob.com>
5097
696da859
RM
5098 * manual/syslog.texi (syslog; vsyslog, closelog):
5099 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5100 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5101
c0f4faf0
RM
5102 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5103 DSOCAPS to match condition on defining it.
5104
348363b2
JM
51052012-08-20 Joseph Myers <joseph@codesourcery.com>
5106
a35cbf28
JM
5107 * sysdeps/unix/sysv/linux/kernel-features.h
5108 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5110 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5111 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5113 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5114 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5116 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5117 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5118
445f7ecd
JM
5119 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5120 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5121
348363b2
JM
5122 * sysdeps/unix/sysv/linux/kernel-features.h
5123 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5124 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5125 unconditional.
5126 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5127 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5128 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5129 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5130 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5131 Make code unconditional.
5132 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5133 (__mmap64) [!__NR_mmap2]: Likewise.
5134 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5135 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5136 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5137 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5138 [__NR_mmap2]: Make code unconditional.
5139 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5140 (__mmap64) [!__NR_mmap2]: Likewise.
5141
bc5bc0e5
AK
51422012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5143
5144 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5145
88d506de
AJ
51462012-08-18 Andreas Jaeger <aj@suse.de>
5147
5148 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5149
493387d2
MF
51502012-08-18 Mike Frysinger <vapier@gentoo.org>
5151
5152 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5153 * include/unistd.h (__have_sock_cloexec): Likewise.
5154 (__have_pipe2): Likewise.
5155 (__have_dup3): Likewise.
5156
a277af22
MF
51572012-08-18 Mike Frysinger <vapier@gentoo.org>
5158
5159 [BZ #9685]
5160 * include/unistd.h (__have_pipe2): Change define into an extern int.
5161 (__have_dup3): Likewise.
5162 * socket/have_sock_cloexec.c: Include fcntl.h.
5163 (__have_pipe2): New variable.
5164 (__have_dup3): Likewise.
5165
fdab8fd3
MF
51662012-08-17 Mike Frysinger <vapier@gentoo.org>
5167
5168 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5169
31035e80
MP
51702012-08-17 Marek Polacek <polacek@redhat.com>
5171
5172 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5173 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5174
3bd9e993
RM
51752012-08-17 Roland McGrath <roland@hack.frob.com>
5176
c91c505f
RM
5177 * configure.in: Add AC_SUBST for sysheaders.
5178 * configure: Regenerated.
5179 * config.make.in (sysheaders): New substituted variable.
5180
7c6f9d53
RM
5181 * sysdeps/unix/mkfifo.c: Moved ...
5182 * sysdeps/posix/mkfifo.c: ... here.
5183 * sysdeps/unix/mkfifoat.c: Moved ...
5184 * sysdeps/posix/mkfifoat.c: ... here.
5185
5186 * sysdeps/unix/utime.c: Moved ...
5187 * sysdeps/posix/utime.c: ... here.
5188
5189 * sysdeps/unix/time.c: Moved ...
5190 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
5191 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5192 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
5193
5194 * sysdeps/unix/nice.c: Moved ...
5195 * sysdeps/posix/nice.c: ... here.
5196
5197 * sysdeps/unix/alarm.c: Moved ...
5198 * sysdeps/posix/alarm.c: ... here.
5199
3bd9e993
RM
5200 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5201
d1f09384
JL
52022012-08-17 Jeff Law <law@redhat.com>
5203
5204 * intl/Makefile (codeset_mo): New variable.
5205 ($(codeset_mo)): New target.
5206 (tst-codeset.out): Depend on that. Remove explicit rule.
5207 (tst-gettext3.out, tst-gettext5.out): Likewise.
5208 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5209 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5210 * intl/tst-codeset.sh: Remove.
5211 * intl/tst-gettext3.sh: Likewise.
5212 * intl/tst-gettext5.sh: Likewise.
5213
2ae1ae5c
RM
52142012-08-17 Roland McGrath <roland@hack.frob.com>
5215
c31fdb83
RM
5216 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5217 * sysdeps/unix/syscalls.list: ... here.
5218
a0844057
RM
5219 * sysdeps/posix/getaddrinfo.c
5220 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5221 (gaiconf_init, gaiconf_reload): Use them.
5222 [!_STATBUF_ST_NSEC]
5223 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5224 Define using time_t rather than struct timespec.
5225
750c1f2a
RM
5226 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5227 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5228 Macros removed.
5229 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5230 [!NO_THREADS].
5231 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5232 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5233 Likewise.
5234
2ae1ae5c
RM
5235 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5236 __libc_cleanup_push argument.
5237
e66a42f5
RM
5238 * bits/param.h: New file.
5239 * misc/sys/param.h: New file.
5240 * include/sys/param.h: New file.
5241 * misc/Makefile (headers): Add bits/param.h.
5242 * sysdeps/generic/sys/param.h: File removed.
5243 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5244 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5245 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 5246 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 5247
b7c08a66
RM
5248 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5249 last change.
5250
b2e1c562
RM
5251 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5252 [_IO_MTSAFE_IO].
5253 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5254 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5255 New macros.
5256
c75ccd4c
RM
5257 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5258 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5259 rather than -D_IO_MTSAFE_IO conditionally.
5260 * stdio-common/Makefile (CPPFLAGS): Likewise.
5261 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5262 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5263 Use $(libio-mtsafe).
5264 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5265 of -D_IO_MTSAFE_IO.
5266 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5267 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5268 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5269 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5270 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5271 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5272 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5273 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5274 (CFLAGS-fread_u_chk.c): Likewise.
5275 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5276 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5277 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5278 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5279 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5280 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5281 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5282 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5283 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5284
5285 * libio/Makefile: Test [$(libc-reentrant) = yes]
5286 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5287
5288 * Makeconfig
5289 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5290 * sysdeps/pthread/configure: File removed.
5291 * sysdeps/pthread/Makeconfig: New file.
5292 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5293 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5294
d9195db8
GB
52952012-08-16 Gary Benson <gbenson@redhat.com>
5296
5297 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5298 unmapping the first object in a namespace.
5299
86466cd9
RM
53002012-08-16 Roland McGrath <roland@hack.frob.com>
5301
5302 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5303 (__internal_setnetgrent): ... this. Add internal_function to
5304 definition. Add libc_hidden_def.
5305 (setnetgrent): Update caller.
5306 (internal_endnetgrent): Renamed to ...
5307 (__internal_endnetgrent): ... this. Add internal_function to
5308 definition. Add libc_hidden_def.
5309 (endnetgrent): Update caller.
5310 (internal_getnetgrent_r): Renamed to ...
5311 (__internal_getnetgrent_r): ... this. Add internal_function to
5312 definition. Add libc_hidden_def.
5313 (__getnetgrent_r): Update caller.
5314 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5315
c3c8283c
JM
53162012-08-16 Joseph Myers <joseph@codesourcery.com>
5317
5318 * stdlib/longlong.h: Update from GCC.
5319
db1ee0a8
RM
53202012-08-16 Roland McGrath <roland@hack.frob.com>
5321
5322 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5323 on _QL, which is set by umul_ppmm but never used.
5324 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5325 variables, which are set by GMP macros but never used.
5326 * stdio-common/_itowa.c (_itowa): Likewise.
5327 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5328 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5329
30f69637
CD
53302012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5331
5332 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5333 struct La_sh_regs is not constant.
5334 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5335 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5336 and struct La_sparc64_regs are not constant.
5337
93a78ac4
JM
53382012-08-16 Joseph Myers <joseph@codesourcery.com>
5339
5340 * sysdeps/unix/sysv/linux/kernel-features.h
5341 (__ASSUME_POSIX_TIMERS): Remove.
5342 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5343 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5344 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5345 Make code unconditional.
5346 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5347 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5348 Make code unconditional.
5349 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5350 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5351 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5352 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5353 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5354 Make code unconditional.
5355 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5356 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5357 (__libc_missing_posix_timers): Remove.
5358
dd924cd7
RM
53592012-08-15 Roland McGrath <roland@hack.frob.com>
5360
4b4f2771
RM
5361 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5362 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5363
601c888b
RM
5364 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5365
176790a7
RM
5366 * elf/dl-sym.c: Include <stdlib.h>.
5367
329bc018
RM
5368 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5369 constants, which avoids warnings in 32-bit builds.
5370
e04e272d
RM
5371 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5372 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5373
952bf94a
RM
5374 * misc/lseek.c: File moved to ...
5375 * io/lseek.c: ... here.
5376
7c99b50a
RM
5377 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5378
dd924cd7
RM
5379 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5380 shifting LEN more than 31 bits at once.
5381
b3f479a8
LD
53822012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5383
5384 [BZ #14195]
8c4ae0d4
RM
5385 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5386 segmentation fault for a case of two empty input strings.
b3f479a8
LD
5387 * string/test-strncasecmp.c (check1): Renamed to...
5388 (bz12205): ...this.
5389 (bz14195): Add new testcase for two empty input strings and N > 0.
5390 (test_main): Call new testcase, adapt for renamed function.
5391
9c55864e
AJ
53922012-08-15 Andreas Jaeger <aj@suse.de>
5393
5394 [BZ #14090]
5395 * crypt/md5test2.c: New test, based on test supplied by Serge
5396 Belyshev <belyshev@depni.sinp.msu.ru>.
5397 * crypt/Makefile (xtests): Add md5test-giant..
5398 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5399
02dcb6c5
PE
54002012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5401
5402 [BZ #14090]
5403 * crypt/md5.c (md5_process_block): Don't assume the buffer
5404 length is less than 2**32.
5405 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5406 length is less than 2**64.
5407
a3f95dcc
RM
54082012-08-15 Roland McGrath <roland@hack.frob.com>
5409
be75d758
RM
5410 * string/str-two-way.h: Include <sys/param.h>.
5411 (MAX): Macro removed.
5412
7312ca90
RM
5413 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5414 Move #define and #undef of memmove to just before and after
5415 including <string.h>.
5416
9a0a5486
RM
5417 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5418 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5419 and after including <string.h>. Move declarations of
5420 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5421 to before #include "string/memmove.c".
5422
67cc348d
RM
5423 * include/dirent.h: Declare __getdirentries.
5424
a3f95dcc
RM
5425 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5426 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5427
ca98e171
MF
54282012-08-14 Mike Frysinger <vapier@gentoo.org>
5429
5430 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5431 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5432 * sysdeps/i386/configure: Regenerated.
5433 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5434 STABS_CURRENT_FILE, and STABS_FUN.
5435 (END): Remove call to STABS_FUN_END.
5436 (STABS_CURRENT_FILE1): Delete.
5437 (STABS_CURRENT_FILE): Likewise.
5438 (STABS_FUN): Likewise.
5439 (STABS_FUN_END): Likewise.
5440 (STABS_FUN2): Likewise.
5441 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5442 * sysdeps/x86_64/configure: Regenerated.
5443
5908bf46
RM
54442012-08-14 Roland McGrath <roland@hack.frob.com>
5445
5446 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 5447 * elf/dl-lookup.c: Likewise.
5908bf46 5448
f2c05b9e
JM
54492012-08-14 Joseph Myers <joseph@codesourcery.com>
5450
5451 * sysdeps/unix/sysv/linux/kernel-features.h
5452 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5453 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5454 unconditionally.
5455 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5456 unconditionally.
5457 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5458 condition on __ASSUME_CLONE_THREAD_FLAGS.
5459
e11f5155
AJ
54602012-08-14 Andreas Jaeger <aj@suse.de>
5461
5462 * sysdeps/i386/fpu/libm-test-ulps: Update.
5463
51a9ba86
MK
54642012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5465
2fdd4f78
AJ
5466 * include/atomic.h (atomic_exchange_and_add): Split into ...
5467 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5468 New atomic macros.
51a9ba86 5469
ba6cba9e
MT
54702012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5471
5472 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5473
42443a47
JL
54742012-08-13 Jeff Law <law@redhat.com>
5475
5476 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5477 null byte in the output string.
5478
121dce05
JM
54792012-08-10 Joseph Myers <joseph@codesourcery.com>
5480
5481 * sysdeps/unix/sysv/linux/kernel-features.h
5482 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5483 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5484 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5485 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5486 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5487 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5488 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5489
bf51f568
JL
54902012-08-09 Jeff Law <law@redhat.com>
5491
5492 [BZ #13939]
5493 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5494 When avoid_arena is set, don't retry in the that arena. Pick the
5495 next one, whatever it might be.
5496 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5497 (arena_lock): Pass in new parameter to arena_get2.
5498 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5499 arena_get2.
5500 (__libc_malloc): Unify retrying after main arena failure with
5501 __libc_memalign version.
5502 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5503
f85fa270
L
55042012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5505
5506 [BZ #14166]
5507 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5508 to __redirect_strstr.
5509 (__strstr_sse42): Use typeof __redirect_strstr.
5510 (__strstr_ia32): Likewise.
5511 (__libc_strstr): New prototype.
5512 (strstr): Renamed to ...
5513 (__libc_strstr): This.
5514 (strstr): New strong alias of __libc_strstr.
5515 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5516 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5517 __redirect_time.
5518 Include <time.h>.
5519 (__libc_time): New prototype.
5520 (time_ifunc): Replace time with __libc_time.
5521 (time): New strong alias and hidden definition of __libc_time.
5522 (__GI_time): Remove strong alias.
5523 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5524 Include <stddef.h>.
5525 (memmove): Redefined to __redirect_memmove.
5526 (__memmove_sse2): Use typeof __redirect_memmove.
5527 (__memmove_ssse3): Likewise.
5528 (__memmove_ssse3_back): Likewise.
5529 (__libc_memmove): New prototype.
5530 (memmove): Renamed to ...
5531 (__libc_memmove): This.
5532 (memmove): New strong alias of __libc_memmove.
5533
33b4a91e
MS
55342012-08-08 Mark Salter <msalter@redhat.com>
5535
5536 * elf/elf.h
5537 (R_MN10300_TLS_GD): Define.
5538 (R_MN10300_TLS_LD): Likewise.
5539 (R_MN10300_TLS_LDO): Likewise.
5540 (R_MN10300_TLS_GOTIE): Likewise.
5541 (R_MN10300_TLS_IE): Likewise.
5542 (R_MN10300_TLS_LE): Likewise.
5543 (R_MN10300_TLS_DTPMOD): Likewise.
5544 (R_MN10300_TLS_DTPOFF): Likewise.
5545 (R_MN10300_TLS_TPOFF): Likewise.
5546 (R_MN10300_SYM_DIFF): Likewise.
5547 (R_MN10300_ALIGN): Likewise.
5548 (R_MN10300_NUM): Update.
5549
b36137f1
JM
55502012-08-08 Joseph Myers <joseph@codesourcery.com>
5551
5552 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5553 Remove.
5554
cdd915fd
RM
55552012-08-08 Roland McGrath <roland@hack.frob.com>
5556
a2433aac
RM
5557 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5558
cdd915fd
RM
5559 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5560 sysdeps/unix -> sysdeps/posix move.
5561 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5562
bf9b740a
AM
55632012-08-07 Allan McRae <allan@archlinux.org>
5564
5565 [BZ #14303]
5566 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5567 (SUNOS_CPP): Likewise.
5568 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5569 not found.
5570 (open_input): Call CPP using execvp.
5571
93df14ee
JM
55722012-08-07 Joseph Myers <joseph@codesourcery.com>
5573
5574 * sysdeps/unix/sysv/linux/kernel-features.h
5575 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5576 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5577 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5578 (__ASSUME_WAITID_SYSCALL): Likewise.
5579 * sysdeps/unix/sysv/linux/dl-execstack.c
5580 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5581 code unconditional.
5582 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5583 conditional code.
5584 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5585 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5586 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5587 code.
5588 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5589 unconditional.
5590 [__ASSUME_WAITID_SYSCALL]: Likewise.
5591 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5592
d34689de
RM
55932012-08-07 Roland McGrath <roland@hack.frob.com>
5594
a281decc
RM
5595 * sysdeps/unix/closedir.c: Renamed to ...
5596 * sysdeps/posix/closedir.c: ... here.
5597 * sysdeps/unix/dirfd.c: Renamed to ...
5598 * sysdeps/posix/dirfd.c: ... here.
5599 * sysdeps/unix/dirstream.h: Renamed to ...
5600 * sysdeps/posix/dirstream.h: ... here.
5601 * sysdeps/unix/fdopendir.c: Renamed to ...
5602 * sysdeps/posix/fdopendir.c: ... here.
5603 * sysdeps/unix/opendir.c: Renamed to ...
5604 * sysdeps/posix/opendir.c: ... here.
5605 * sysdeps/unix/readdir.c: Renamed to ...
5606 * sysdeps/posix/readdir.c: ... here.
5607 * sysdeps/unix/readdir_r.c: Renamed to ...
5608 * sysdeps/posix/readdir_r.c: ... here.
5609 * sysdeps/unix/rewinddir.c: Renamed to ...
5610 * sysdeps/posix/rewinddir.c: ... here.
5611 * sysdeps/unix/seekdir.c: Renamed to ...
5612 * sysdeps/posix/seekdir.c: ... here.
5613 * sysdeps/unix/telldir.c: Renamed to ...
5614 * sysdeps/posix/telldir.c: ... here.
5615 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5616 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5617 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5618 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5619
22895b47
RM
5620 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5621 * bits/fcntl.h: ... here.
5622
707a53b6
RM
5623 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5624 not 0.
5625 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5626 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5627 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5628 (struct flock): Move l_start, l_len to the beginning.
5629 Use __pid_t for l_pid.
5630 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5631 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5632 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5633 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5634 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5635 [__USE_LARGEFILE64] (struct flock64): New type.
5636 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5637
f0bd3e25
RM
5638 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5639 * bits/dirent.h: ... here.
5640
d34689de
RM
5641 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5642 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5643
6dad2c06
JM
56442012-08-07 Joseph Myers <joseph@codesourcery.com>
5645
5646 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5647 Change from 2.6.0 to 2.6.16.
5648 * sysdeps/unix/sysv/linux/configure: Regenerated.
5649 * sysdeps/unix/sysv/linux/kernel-features.h
5650 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5651 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5652 version.
5653 (__ASSUME_UTIMES): Likewise.
5654 (__ASSUME_CLONE_STOPPED): Remove.
5655 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5656 architectures, not kernel version.
5657 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5658 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5659 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5660 (__ASSUME_WAITID_SYSCALL): Likewise.
5661 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5662 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5663 * README: State 2.6.16 as minimum Linux kernel version. Do not
5664 refer to older versions.
5665
03af9520
RM
56662012-08-06 Roland McGrath <roland@hack.frob.com>
5667
8e49df1d
RM
5668 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5669 Define alphasort64 as an alias.
5670 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5671 Define versionsort64 as an alias.
5672 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5673 Define scandir64 as an alias.
5674 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5675 Define scandirat64 as an alias.
5676 * dirent/alphasort64.c (alphasort64):
5677 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5678 * dirent/versionsort64.c: Likewise.
5679 * dirent/scandir64.c: Likewise.
5680 * dirent/scandirat64.c: Likewise.
5681 * sysdeps/wordsize-64/alphasort.c: File removed.
5682 * sysdeps/wordsize-64/alphasort64.c: File removed.
5683 * sysdeps/wordsize-64/scandir.c: File removed.
5684 * sysdeps/wordsize-64/scandir64.c: File removed.
5685 * sysdeps/wordsize-64/scandirat.c: File removed.
5686 * sysdeps/wordsize-64/scandirat64.c: File removed.
5687 * sysdeps/wordsize-64/versionsort.c: File removed.
5688 * sysdeps/wordsize-64/versionsort64.c: File removed.
5689 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5690 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5691 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5692 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5693 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5694 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5695 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5696 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5697
5698 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5699 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5700 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5701 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5702 [defined __arch64__ || defined __sparcv9]
5703 (__INO_T_MATCHES_INO64_T): New macro.
5704 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5705 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5706 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5707 * sysdeps/unix/sysv/linux/bits/dirent.h
5708 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5709 (_DIRENT_MATCHES_DIRENT64): New macro.
5710
03af9520
RM
5711 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5712 Define lockf64 as an alias.
5713 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5714 Define fseeko64 as an alias.
5715 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5716 Define ftello64 as an alias.
5717 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5718 Define _IO_fgetpos64 and fgetpos64 as aliases.
5719 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5720 Define _IO_fsetpos64 and fsetpos64 as aliases.
5721 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5722 Conditionalize body on this.
5723 * libio/fseeko64.c: Likewise.
5724 * libio/ftello64.c: Likewise.
5725 * libio/iofgetpos64.c: Likewise.
5726 * libio/iofsetpos64.c: Likewise.
5727 * sysdeps/wordsize-64/lockf.c: File removed.
5728 * sysdeps/wordsize-64/lockf64.c: File removed.
5729 * sysdeps/wordsize-64/fseeko.c: File removed.
5730 * sysdeps/wordsize-64/fseeko64.c: File removed.
5731 * sysdeps/wordsize-64/ftello.c: File removed.
5732 * sysdeps/wordsize-64/ftello64.c: File removed.
5733 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5734 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5735 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5736 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5737 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5738 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5739 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5740 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5741 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5742 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5743 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5744 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5745 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5746 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5747
5748 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5749 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5750 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5751 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5752 [defined __arch64__ || defined __sparcv9]
5753 (__OFF_T_MATCHES_OFF64_T): New macro.
5754 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5755 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5756 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5757 (__OFF_T_MATCHES_OFF64_T): New macro.
5758
c5757acd
L
57592012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5760
5761 * stdlib/secure-getenv.c (__secure_getenv): Replace
5762 GLIBC_2_16 with GLIBC_2_17.
5763
3a31811e
L
57642012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5765
5766 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5767 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5768
faa2bccb
DM
57692012-08-03 David S. Miller <davem@davemloft.net>
5770
5771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5772
85fe1997
JM
57732012-08-03 Joseph Myers <joseph@codesourcery.com>
5774
5775 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5776 Remove.
5777 (__ASSUME_CORRECT_SI_PID): Likewise.
5778 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5779 (__ASSUME_TMPFS_NAME): Likewise.
5780 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5781 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5782 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5783 (HAVE_AUX_SECURE): Make definition unconditional.
5784 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5785 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5786
4f75b7a0
RM
57872012-08-03 Roland McGrath <roland@hack.frob.com>
5788
5789 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5790 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5791 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5792 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5793 __eloop_threshold instead of SYMLOOP_MAX.
5794
5795 * sysdeps/generic/eloop-threshold.h: New file.
5796 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5797 of MAXSYMLINKS.
5798 * elf/chroot_canon.c (chroot_canon): Likewise.
5799
7aab07e4
JM
58002012-08-03 Joseph Myers <joseph@codesourcery.com>
5801
5802 [BZ #13717]
5803 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5804 Change to 2.6.0 everywhere.
5805 * sysdeps/unix/sysv/linux/configure: Regenerated.
5806 * sysdeps/unix/sysv/linux/kernel-features.h
5807 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5808 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5809 kernel versions.
5810 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5811 (__ASSUME_FUTEX_REQUEUE): Remove.
5812 (__ASSUME_STATFS64): Define unconditionally.
5813 (__ASSUME_AT_SECURE): Likewise.
5814 (__ASSUME_CORRECT_SI_PID): Likewise.
5815 (__ASSUME_TGKILL): Define without depending on kernel version for
5816 i386.
5817 (__ASSUME_UTIMES): Likewise.
5818 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5819 kernel version.
5820 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5821 (__ASSUME_TMPFS_NAME): Likewise.
5822 * README: Update reference to Linux kernel versions.
5823
b67e9372
MP
58242012-08-02 Marek Polacek <polacek@redhat.com>
5825
1f529f7d 5826 [BZ# 14150]
b67e9372
MP
5827 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5828 libc_cv_asm_type_prefix with %.
5829 * configure: Regenerated.
d2441631
RM
5830 * include/libc-symbols.h: Remove comment about
5831 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5832 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5833 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5834 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5835 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5836 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5837 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5838 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5839 * elf/tst-unique2mod1.c: Likewise.
5840 * elf/tst-unique1mod2.c: Likewise.
5841 * elf/tst-unique1mod1.c: Likewise.
5842 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5843 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5844 Replace ASM_TYPE_DIRECTIVE with .type.
5845 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5846 * sysdeps/i386/sysdep.h: Likewise.
5847 * sysdeps/x86_64/sysdep.h: Likewise.
5848 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5850 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5851 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5852 * sysdeps/powerpc/powerpc32/sysdep.h:
5853 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5854 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5855 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5856 * sysdeps/i386/fpu/e_powf.S: Likewise.
5857 * sysdeps/i386/fpu/e_expl.S: Likewise.
5858 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5859 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5860 * sysdeps/i386/fpu/e_pow.S: Likewise.
5861 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5862 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5863 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5864 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5865 * sysdeps/i386/fpu/e_log2.S: Likewise.
5866 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5867 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5868 * sysdeps/i386/fpu/e_powl.S: Likewise.
5869 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5870 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5871 * sysdeps/i386/fpu/e_logl.S: Likewise.
5872 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5873 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5874 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5875 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5876 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5877 * sysdeps/i386/fpu/e_log.S: Likewise.
5878 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5879 * sysdeps/i386/fpu/e_logf.S: Likewise.
5880 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5881 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5882 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5883 * sysdeps/i386/fpu/e_log10.S: Likewise.
5884 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5885 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5886 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5887 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5888 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5889 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5890 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5891 * sysdeps/i386/i686/strtok.S: Likewise.
5892 * sysdeps/i386/i386-mcount.S: Likewise.
5893 * sysdeps/i386/strtok.S: Likewise.
5894 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5895 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5896 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5897 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5898 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5899 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5900 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5901 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5902 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5903 * sysdeps/x86_64/_mcount.S: Likewise.
5904 * sysdeps/x86_64/strtok.S: Likewise.
5905 * sysdeps/sh/_mcount.S: Likewise.
5906
2747bf9a
RM
59072012-08-01 Roland McGrath <roland@hack.frob.com>
5908
5909 * libio/iofopen.c: Include <fcntl.h>.
5910 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5911 (_IO_fopen64, fopen64): Define as aliases.
5912 * libio/iofopen64.c: Include <fcntl.h>.
5913 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5914 Conditionalize body on this.
5915 * sysdeps/wordsize-64/iofopen.c: File removed.
5916 * sysdeps/wordsize-64/iofopen64.c: File removed.
5917
3fb791b8
MP
59182012-08-01 Marek Polacek <polacek@redhat.com>
5919
5920 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5921 Use dlfcn directly instead of a variable.
5922 (binfmt-subdir): Do not define.
5923 (dlfcn): Likewise.
5924
a9f1039f
JM
59252012-08-01 Joseph Myers <joseph@codesourcery.com>
5926
23bddc06
JM
5927 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5928 Remove all definitions.
5929 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5930 <kernel-features.h>.
5931 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5932 (miss_F_GETOWN_EX): Remove all definitions.
5933 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5934 macro definition.
5935 [!__ASSUME_FCNTL64]: Remove conditional code.
5936 [__ASSUME_FCNTL64]: Make code unconditional.
5937 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5938 <kernel-features.h>.
5939 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5940 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5941 (lockf64) [__NR_fcntl64]: Make code unconditional.
5942 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5943
a9f1039f
JM
5944 * sysdeps/unix/sysv/linux/kernel-features.h
5945 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5946 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5947 Make code unconditional.
5948 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5949 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5951 [__NR_vfork]: Make code unconditional.
5952 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5953 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5955 [__NR_vfork]: Make code unconditional.
5956 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5957 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5958
09c0ee5f
RM
59592012-08-01 Roland McGrath <roland@hack.frob.com>
5960
48aec5b9
RM
5961 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5962 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5963
cd97c966
RM
5964 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5965 Define mkstemp64 as an alias.
3f55550c
RM
5966 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5967 Define mkstemps64 as an alias.
cd97c966
RM
5968 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5969 Define mkostemp64 as an alias.
b8625cfc
RM
5970 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5971 Define mkostemps64 as an alias.
cd97c966
RM
5972 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5973 Conditionalize body on this.
5974 * misc/mkostemp64.c: Likewise.
b8625cfc 5975 * misc/mkostemps64.c: Likewise.
3f55550c 5976 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5977 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5978 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5979 * sysdeps/wordsize-64/mkostemp.c: File removed.
5980 * sysdeps/wordsize-64/mkstemp.c: File removed.
5981 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5982 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5983 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5984 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5985
09c0ee5f
RM
5986 [BZ #14138]
5987 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5988 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5989 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5990 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5991
5992 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5993 compat_symbol macros from <shlib-compat.h> rather than the underlying
5994 default_symbol_version and symbol_version macros, so that DEFAULT
5995 lines in shlib-versions are respected.
5996 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5997
7e66ee51
FW
59982012-08-01 Florian Weimer <fweimer@redhat.com>
5999
6000 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6001 Declare with warn_unused_result.
6002 (setgid, setregid, setegid, setresgid): Likewise.
6003 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6004 Likewise.
6005 * WUR-REPORT: Remove set*id functions.
6006
d2a54255
PT
60072012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6008
6009 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6010
7ecdb005
RM
60112012-07-31 Roland McGrath <roland@hack.frob.com>
6012
789bd351
RM
6013 * include/sys/socket.h (__libc_accept, __libc_accept4):
6014 Add attribute_hidden.
6015 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6016
40ce302d
RM
6017 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6018 use of PTR_MANGLE.
6019 * inet/getnetgrent_r.c (setup): Likewise.
6020
7ecdb005
RM
6021 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6022
e2eabb2c
DM
60232012-07-31 David S. Miller <davem@davemloft.net>
6024
6025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6026
d0419dbf
JM
60272012-07-31 Joseph Myers <joseph@codesourcery.com>
6028
6029 [BZ #13629]
6030 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6031 value between 1.0 and 2.0 and smaller part has absolute value less
6032 than 1.0.
6033 * math/s_clog10.c (__clog10): Likewise.
6034 * math/s_clog10f.c (__clog10f): Likewise.
6035 * math/s_clog10l.c (__clog10l): Likewise.
6036 * math/s_clogf.c (__clogf): Likewise.
6037 * math/s_clogl.c (__clogl): Likewise.
6038 * math/libm-test.inc (clog_test): Add more tests.
6039 (clog10_test): Likewise.
6040 * sysdeps/i386/fpu/libm-test-ulps: Update.
6041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6042
2bc13872
FW
60432012-07-31 Florian Weimer <fweimer@redhat.com>
6044
6045 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6046 Exit with zero in case no suitable GID is found, and write a
6047 message to standard error.
6048
bea9b193
RM
60492012-07-30 Roland McGrath <roland@hack.frob.com>
6050
6051 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6052 rather than to 1.
6053 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6054 (MAXPATHLEN): Removed.
6055 (NOGROUP, NODEV): New macros.
6056 (setbit, clrbit, isset, isclr): New macros.
6057 (howmany, roundup, powerof2): New macros.
6058 (DEV_BSIZE): New macro.
6059
6060 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6061 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6062
6063 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6064 definition on [!__NO_LONG_DOUBLE_MATH].
6065
6066 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6067 PTR_MANGLE and PTR_DEMANGLE.
6068
6069 * socket/accept4.c (accept4): Rename to __libc_accept4.
6070 Define accept4 as a weak alias.
6071
6072 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6073 on [_DIRENT_HAVE_D_TYPE].
6074 * io/ftw.c (ftw_dir): Likewise.
6075
6076 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6077
6078 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6079
6080 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6081 Use the BSD numbers rather than the arbitrary ones we had.
6082 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6083 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6084 (SIGXCPU, SIGXFSZ): New macros.
6085 (_NSIG): Now 32.
6086
6087 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6088 initializer on [_LIBC_REENTRANT].
6089
6090 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6091 definitions inside [_POSIX_MAPPED_FILES].
6092
6093 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6094
6095 * dirent/opendir.c: Include <fcntl.h>.
6096
6097 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6098 (__libc_getspecific): Likewise.
6099 (__libc_key_create): Likewise.
6100
6101 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6102 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6103 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6104 (tmpfile64): Define as alias.
6105 * sysdeps/wordsize-64/tmpfile.c: File removed.
6106 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6107 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6108 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6109
6110 * stdio-common/vfscanf.c: Include <stdbool.h>.
6111 * nss/makedb.c: Likewise.
6112 * stdio-common/_i18n_number.h: Likewise.
6113 * argp/argp-help.c: Likewise.
6114 * posix/wordexp.c: Likewise.
6115 * sysdeps/posix/spawni.c: Likewise.
6116 * nss/nss_files/files-initgroups.c: Likewise.
6117 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6118 * nss/nss_files/files-initgroups.c: Likewise.
6119 * nss/nss_db/db-netgrp.c: Likewise.
6120 * nss/nss_db/db-initgroups.c: Likewise.
6121 * io/fchmodat.c: Include <sys/stat.h>.
6122
6123 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6124 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6125
6126 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6127 [HAVE_MMAP].
6128
6129 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6130 Add multiple inclusion protection.
6131
e5abc686
DM
61322012-07-27 David S. Miller <davem@davemloft.net>
6133
6134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6135
815e6fa3
GB
61362012-07-27 Gary Benson <gbenson@redhat.com>
6137
6138 [BZ #14298]
6139 * elf/rtld.c: Include <stap-probe.h>.
6140 (dl_main): Added static probes "init_start" and "init_complete".
6141 * elf/dl-load.c: Include <stap-probe.h>.
6142 (lose): Take new parameter "nsid".
6143 Added static probe "map_failed".
6144 (_dl_map_object_from_fd): Pass namespace id to lose.
6145 Added static probe "map_start".
6146 (open_verify): Pass namespace id to lose.
6147 * elf/dl-open.c: Include <stap-probe.h>.
6148 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6149 and "reloc_complete".
6150 * elf/dl-close.c: Include <stap-probe.h>.
6151 (_dl_close_worker): Added static probes "unmap_start" and
6152 "unmap_complete".
6153 * elf/rtld-debugger-interface.txt: New file documenting the above.
6154
9f98c16c
RM
61552012-07-26 Roland McGrath <roland@hack.frob.com>
6156
6157 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6158 rather than a string variable.
6159 * sunrpc/rpc_main.c (h_output): Likewise.
6160 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6161
f3c22df3
PT
61622012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6163
6164 * inet/check_native.c: New file.
6165
3129cfc6
JM
61662012-07-26 Joseph Myers <joseph@codesourcery.com>
6167
da865e95
JM
6168 [BZ #13629]
6169 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6170 if larger part has absolute value 1.0.
6171 * math/s_clog10.c (__clog10): Likewise.
6172 * math/s_clog10f.c (__clog10f): Likewise.
6173 * math/s_clog10l.c (__clog10l): Likewise.
6174 * math/s_clogf.c (__clogf): Likewise.
6175 * math/s_clogl.c (__clogl): Likewise.
6176 * math/libm-test.inc (clog_test): Add more tests.
6177 (clog10_test): Likewise.
6178 * sysdeps/i386/fpu/libm-test-ulps: Update.
6179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6180
3129cfc6
JM
6181 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6182 (pltexit): Likewise.
6183 (La_regs): Likewise.
6184 (La_retval): Likewise.
6185 (int_retval): Likewise.
6186 Update #error for removed macros to refer only to definitions in
6187 tst-audit.h.
6188 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6189 macro.
6190 (pltexit): Likewise.
6191 (La_regs): Likewise.
6192 (La_retval): Likewise.
6193 (int_retval): Likewise.
6194 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6195 macro.
6196 (pltexit): Likewise.
6197 (La_regs): Likewise.
6198 (La_retval): Likewise.
6199 (int_retval): Likewise.
6200 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6201 macro.
6202 (pltexit): Likewise.
6203 (La_regs): Likewise.
6204 (La_retval): Likewise.
6205 (int_retval): Likewise.
6206 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6207 macro.
6208 (pltexit): Likewise.
6209 (La_regs): Likewise.
6210 (La_retval): Likewise.
6211 (int_retval): Likewise.
6212 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6213 macro.
6214 (pltexit): Likewise.
6215 (La_regs): Likewise.
6216 (La_retval): Likewise.
6217 (int_retval): Likewise.
6218 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6219 macro.
6220 (pltexit): Likewise.
6221 (La_regs): Likewise.
6222 (La_retval): Likewise.
6223 (int_retval): Likewise.
6224 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6225 macro definitions in tst-audit.h.
6226 * sysdeps/i386/tst-audit.h: New file.
6227 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6228 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6229 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6230 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6231 * sysdeps/sh/tst-audit.h: Likewise.
6232 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6233 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6234 * sysdeps/x86_64/tst-audit.h: Likewise.
6235
bfc07087
AJ
62362012-07-26 Andreas Jaeger <aj@suse.de>
6237
b1b2aaf8
AJ
6238 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6239 ptrace.
6240
6241 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6242 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6243 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6244 PTRACE_O_MASK.
6245 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6246 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6247 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6248
bfc07087
AJ
6249 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6250 value.
6251
6252 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6253 _sigsys.
6254 (si_call_addr, si_syscall, si_arch): Define new macro.
6255 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6256 _sigsys.
6257 (si_call_addr, si_syscall, si_arch): Define new marcro.
6258 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6259 _sigsys.
6260 (si_call_addr, si_syscall, si_arch): Define new macro.
6261 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6262 _sigsys.
6263 (si_call_addr, si_syscall, si_arch): Define new macro.
6264
89b4b02f
JM
62652012-07-25 Joseph Myers <joseph@codesourcery.com>
6266
6267 [BZ #13717]
6268 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6269 Change to 2.4.21 where previously 2.4.1.
6270 * sysdeps/unix/sysv/linux/configure: Regenerated.
6271 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6272 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6273 Linux kernel version.
6274 (__ASSUME_STD_AUXV): Remove.
6275 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6276 kernel version.
6277 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6278 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6279 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6280 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6281 (__ASSUME_NETLINK_SUPPORT): Likewise.
6282 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6283 (__no_netlink_support): Remove conditional definition.
6284 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6285 Remove.
6286 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6287 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6288 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6289 (if_nameindex_ioctl): Remove.
6290 (if_nameindex_netlink): Do not handle __no_netlink_support.
6291 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6292 code.
6293 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6294 Remove conditional code.
6295 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6296 code.
6297 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6298 unconditional.
6299 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6300 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6301 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6302 Remove.
6303 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6304 [!__ASSUME_STD_AUXV]: Remove conditional code.
6305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6306 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6307 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6309 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6310 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6311 code.
6312 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6314 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6315 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6316 conditional code.
6317 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6319 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6320 code.
6321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6322 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6323 conditional code.
6324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6325 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6326 code unconditional.
6327 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6328 conditional code.
6329 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6330 unconditional.
6331 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6332 conditional code.
6333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6334 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6335 unconditional.
6336 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6337 conditional code.
6338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6339 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6340 code unconditional.
6341 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6342 conditional code.
6343 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6344 unconditional.
6345 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6346 conditional code.
6347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6348 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6349 code unconditional.
6350 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6351 conditional code.
6352 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6353 unconditional.
6354 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6355 conditional code.
6356
842a39cd
AS
63572012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6358
6359 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6360 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6361 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6362 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6363 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6364 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6365 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6366 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6367 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6368 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6369 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6370 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6371 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6372 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6373 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6374 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6375 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6376 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6377 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6378 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6379 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6380 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6381 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6382
84b3fd84
FW
63832012-07-25 Florian Weimer <fweimer@redhat.com>
6384
6385 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
6386 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6387 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6388 Introduce __libc_secure_getenv.
0c7936d5
FW
6389 * stdlib/Versions (2.17): Add secure_getenv
6390 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6391 * stdlib/secure-getenv.c: Rename __secure_getenv to
6392 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6393 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
6394 * stdlib/tst-secure-getenv.c: New.
6395 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
6396 * manual/startup.texi (Environment Access): Document
6397 secure_getenv.
84b3fd84
FW
6398 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6399 __libc_secure_getenv.
6400 * inet/ruserpass.c (ruserpass): Likewise.
6401 * malloc/mtrace.c (mtrace): Likewise.
6402 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 6403 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
6404 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6405 * sysdeps/posix/tempname.c: Likewise. Evaluate
6406 HAVE_SECURE_GETENV.
6407 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 6408 __secure_getenv to __libc_secure_getenv.
84b3fd84 6409 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
6410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6411 Likewise.
6412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6413 Likewise.
6414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6416 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 6421
56e49b71
JM
64222012-07-25 Joseph Myers <joseph@codesourcery.com>
6423
6424 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6425 (struct La_i86_retval): Likewise.
6426 (struct La_x86_64_regs): Likewise.
6427 (struct La_x86_64_retval): Likewise.
6428 (struct La_x32_regs): Likewise.
6429 (struct La_x32_retval): Likewise.
6430 (struct La_ppc32_regs): Likewise.
6431 (struct La_ppc32_retval): Likewise.
6432 (struct La_ppc64_regs): Likewise.
6433 (struct La_ppc64_retval): Likewise.
6434 (struct La_sh_regs): Likewise.
6435 (struct La_sh_retval): Likewise.
6436 (struct La_s390_32_regs): Likewise.
6437 (struct La_s390_32_retval): Likewise.
6438 (struct La_s390_64_regs): Likewise.
6439 (struct La_s390_64_retval): Likewise.
6440 (struct La_sparc32_regs): Likewise.
6441 (struct La_sparc32_retval): Likewise.
6442 (struct La_sparc64_regs): Likewise.
6443 (struct La_sparc64_retval): Likewise.
6444 (struct audit_ifaces): Remove architecture-specific pltenter and
6445 pltexit members.
6446 * sysdeps/i386/ldsodefs.h: New file.
6447 * sysdeps/powerpc/ldsodefs.h: Likewise.
6448 * sysdeps/s390/ldsodefs.h: Likewise.
6449 * sysdeps/sh/ldsodefs.h: Likewise.
6450 * sysdeps/sparc/ldsodefs.h: Likewise.
6451 * sysdeps/x86_64/ldsodefs.h: Likewise.
6452
354691b7
MP
64532012-07-25 Marek Polacek <polacek@redhat.com>
6454
6455 [BZ #6808]
6456 * math/libm-test.inc (yn_test): Add another test.
6457 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6458 to ERANGE when the result is +-Inf.
6459 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6460 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6461 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6462 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6463
bf9e2071
JM
64642012-07-24 Joseph Myers <joseph@codesourcery.com>
6465
6466 * conform/data/time.h-data (NULL): Use macro-constant. Require
6467 equal to 0.
6468 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6469 clock_t.
6470 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6471
57633811
TS
64722012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6473
6474 * configure.in <sysdeps resolving>: Correct printing
6475 Implies_before.
6476 * configure: Regenerate.
6477
c23c33b0
TS
64782012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6479
6480 * math/w_ilogb.c: Include <limits.h>.
6481 * math/w_ilogbl.c: Likewise.
6482
b5982523
JM
64832012-07-20 Joseph Myers <joseph@codesourcery.com>
6484
6485 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6486 va_copy. Document allowing for unavailable va_copy only as
6487 pre-C99 compatibility.
6488 * manual/string.texi (Copying and Concatenation): Use va_copy
6489 instead of __va_copy in concat example.
6490
ac4ea442
PT
64912012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6492
6493 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6494 (__sendto): Use create_address_port. Initialize APORT and deallocate
6495 it if not null.
6496
f98eafbd
PT
6497 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6498 with O_NOLINK passed to __file_name_lookup.
6499
898c7aab
PT
6500 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6501 with O_NOLINK passed to __file_name_lookup.
6502
0ced335a
PT
6503 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6504 negative N or less than NGIDS.
6505
b3404dbd
PT
6506 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6507 type to string_t. Set ERANGE as errno and return it if NAME is not big
6508 enough. Use memcpy instead of strncpy.
6509
0f48659e
JM
65102012-07-20 Joseph Myers <joseph@codesourcery.com>
6511
6512 * elf/Makefile (check-data): Remove.
6513 (localplt.data): New vpath directive.
6514 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6515 instead of $(check-data).
6516 * scripts/data/localplt-generic.data: Move to ...
6517 * sysdeps/generic/localplt.data: ... here.
6518 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6519 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6520 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6522 ... here.
6523 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6525 ... here.
6526 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6528 ... here.
6529 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6531 ... here.
6532 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6534 ... here.
6535 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6537 ... here.
6538
d37cbdaa
AZ
65392012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6540
6541 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6542 PPC32 and PPC64 files.
6543 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6544 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6545
46f85fc2
AK
65462012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6547
6548 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6549 __makecontext_ret to ...
6550 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6551 ... here and call exit if uc_link is NULL. New file.
6552 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6553 __makecontext_ret.S.
6554 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6555 __makecontext_ret to ...
6556 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6557 ... here and call exit if uc_link is NULL. New file.
6558 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6559 __makecontext_ret.S.
6560
08f43f9b
AK
65612012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6562
6563 * elf/elf.h (R_390_IRELATIVE): New definition.
6564 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6565 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6566 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6567 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6568 (elf_machine_lazy_rel): Likewise.
6569 * sysdeps/s390/dl-irel.h: New file.
6570 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6571 * sysdeps/s390/s390-64/memset.S: New asm code.
6572 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6573 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6574 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6575 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6576 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6577 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6578 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6579 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6580 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6581 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6582 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6583 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6584 * sysdeps/s390/s390-32/memset.S: New asm code.
6585 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6586
3b05db33
MP
65872012-07-17 Marek Polacek <polacek@redhat.com>
6588
6589 [BZ #14349]
6590 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6591 * sysdeps/s390/s390-64/configure.in: Likewise.
6592 * sysdeps/sparc/configure.in: Likewise.
6593 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6594 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6595 * sysdeps/i386/configure.in: Likewise.
6596 * sysdeps/x86_64/configure.in: Likewise.
6597 * sysdeps/sh/configure.in: Likewise.
6598 * sysdeps/s390/s390-32/configure: Regenerated.
6599 * sysdeps/s390/s390-64/configure: Likewise.
6600 * sysdeps/x86_64/configure: Likewise.
6601 * sysdeps/sh/configure: Likewise.
6602 * sysdeps/powerpc/powerpc64/configure: Likewise.
6603 * sysdeps/powerpc/powerpc32/configure: Likewise.
6604 * sysdeps/sparc/configure: Likwise.
6605 * sysdeps/i386/configure: Likewise.
6606
a66877c6
MP
6607 * elf/dl-open.c: Comment fixes.
6608
cfc82fd8
JM
66092012-07-17 Joseph Myers <joseph@codesourcery.com>
6610
bd29910a
JM
6611 * Makefile [CXX] (check-data): Remove.
6612 [CXX] (c++-types.data): New vpath directive.
6613 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6614 vpath. Do not allow for C++ type data being missing.
6615 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6616 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6617 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6618 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6619 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6620 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6621 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6623 ... here.
6624 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6626 ... here.
6627 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6629 ... here.
6630 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6632 ... here.
6633 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6635 ... here.
6636 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6638 ... here.
6639 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6641 ... here.
6642 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6644
cfc82fd8
JM
6645 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6646 definitions to architecture-specific files.
6647 (TLS_IE): Likewise.
6648 (TLS_LD): Likewise.
6649 (TLS_GD): Likewise.
6650 * sysdeps/i386/tls-macros.h: New file.
6651 * sysdeps/powerpc/tls-macros.h: Likewise.
6652 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6653 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6654 * sysdeps/sh/tls-macros.h: Likewise.
6655 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6656 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6657 * sysdeps/x86_64/tls-macros.h: Likewise.
6658
f7db3170
TS
66592012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6660
07cbfc23
TS
6661 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6662 zero value for regular exit case.
6663
f7db3170
TS
6664 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6665 (__start_context): Preserve zero value for regular exit case.
6666
dc97c227
TS
66672012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6668 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6669
6670 * manual/setjmp.texi (setcontext): Clarify normal process
6671 termination when uc_link is the null pointer.
6672 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6673 exit call.
6674
d0cd7d02
AS
66752012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6676
6677 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6678 preprocessor. Test for each exception mask separately.
6679
dd318934
AJ
66802012-07-16 Andreas Jaeger <aj@suse.de>
6681
6682 * po/ru.po: Update from translation team.
6683
8048311a
JM
66842012-07-15 Joseph Myers <joseph@codesourcery.com>
6685
6686 * conform/data/string.h-data (NULL): Use macro-constant. Require
6687 equal to 0.
6688 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6689 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6690 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6691 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6692 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6693
b637d46e
AJ
66942012-07-13 Andreas Jaeger <aj@suse.de>
6695
6696 * po/fr.po: Update from translation team.
6697
541428fe
MP
66982012-07-12 Marek Polacek <polacek@redhat.com>
6699
6700 [BZ #14173]
6701 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6702 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6703 loop condition.
6704
ec332e94
JM
67052012-07-12 Joseph Myers <joseph@codesourcery.com>
6706
6707 [BZ #13717]
6708 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6709 Change to 2.4.1 where previously 2.4.0.
6710 * sysdeps/unix/sysv/linux/configure: Regenerated.
6711 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6712 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6713 version.
6714 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6715 (__ASSUME_AT_CLKTCK): Remove.
6716 (__ASSUME_AT_PAGESIZE): Likewise.
6717 (__ASSUME_AT_XID): Likewise.
6718 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6719 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6720 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6721 unconditionally.
6722 (HAVE_AUX_PAGESIZE): Likewise.
6723 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6724 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6725 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6726
7b6e99be
JB
67272012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6728
6729 [BZ #14307]
6730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6731 the temporary buffer used to invoke __gethostbyname2_r,
6732 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6733 host_data / struct gaih_addrtuple.
6734 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6735 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6736 header file nss/nsswitch.h.
6737 * nss/nsswitch.h (global scope): Add definition of implementation
6738 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6739 resolv/nss_dns/dns-host.c).
6740
608404eb
AJ
67412012-07-11 Andreas Jaeger <aj@suse.de>
6742
6743 * po/fr.po: Update from translation team.
6744
71220aca
AJ
6745 * po/sv.po: Update from translation team
6746 * po/fr.po: Another update from translation team.
6747
28cfe843
AZ
67482012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6749
6750 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6751 for subnormals or multiply small sinh result by itself.
6752 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6754
6b90f981
DM
67552012-07-11 David S. Miller <davem@davemloft.net>
6756
6757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6758
c6825772
AS
67592012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6760
6761 [BZ #14347]
6762 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6763 (INTERNAL_MARK): Shift it here.
6764
7b8e0d49
MP
67652012-07-10 Marek Polacek <polacek@redhat.com>
6766
6767 [BZ #14151]
6768 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6769 libc_cv_asm_global_directive with .globl.
6770 * configure: Regenerated.
6771 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6772 with .globl.
6773 * sysdeps/i386/configure: Regenerated.
6774 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6775 with .globl.
6776 * sysdeps/x86_64/configure: Regenerated.
6777 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6778 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6779 * elf/tst-unique2mod2.c: Likewise.
6780 * elf/tst-unique2mod1.c: Likewise.
6781 * elf/tst-unique1mod2.c: Likewise.
6782 * elf/tst-unique1mod1.c: Likewise.
6783 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6784 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6785 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6786 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6787 * sysdeps/mach/sysdep.h: Likewise.
6788 * sysdeps/i386/sysdep.h: Likewise.
6789 * sysdeps/i386/i386-mcount.S: Likewise.
6790 * sysdeps/x86_64/_mcount.S: Likewise.
6791 * sysdeps/x86_64/sysdep.h: Likewise.
6792 * sysdeps/sh/_mcount.S: Likewise.
6793 * sysdeps/sh/sysdep.h: Likewise.
6794 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6795 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6796 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6797 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6798 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6799 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6800 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6801 * locale/localeinfo.h: Likewise.
6802 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6803 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6804
6c55cda3
RM
68052012-07-09 Roland McGrath <roland@hack.frob.com>
6806
6807 [BZ #14336]
6808 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6809 system".
6810 * manual/message.texi (The Uniforum approach): Likewise.
6811 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6812 (glibc iconv Implementation): Likewise.
6813
638a572e
JM
68142012-07-09 Joseph Myers <joseph@codesourcery.com>
6815
6816 [BZ #14337]
6817 * math/s_clog.c (__clog): Avoid scaling a value down where that
6818 could result in underflow.
6819 * math/s_clog10.c (__clog10): Likewise.
6820 * math/s_clog10f.c (__clog10f): Likewise.
6821 * math/s_clog10l.c (__clog10l): Likewise.
6822 * math/s_clogf.c (__clogf): Likewise.
6823 * math/s_clogl.c (__clogl): Likewise.
6824 * math/libm-test.inc (clog_test): Add more tests.
6825 (clog10_test): Likewise.
6826 * sysdeps/i386/fpu/libm-test-ulps: Update.
6827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6828
261f4859
AS
68292012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6830
0abaf3e4
AS
6831 [BZ #14283]
6832 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6833 by 7 not 8 to examine high bit of fractional part.
6834
261f4859
AS
6835 [BZ #14042]
6836 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6837 for call to __mcount_internal.
6838 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6839 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6840 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6841
f17ac40d
JM
68422012-07-06 Joseph Myers <joseph@codesourcery.com>
6843
9ad63c23
JM
6844 [BZ #14154]
6845 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6846 approximation for values within 0x1p-13f of an odd multiple of
6847 pi/4.
6848 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6849 exception. Add more tests.
6850 * sysdeps/i386/fpu/libm-test-ulps: Update.
6851
f17ac40d
JM
6852 [BZ #6778]
6853 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6854 inputs and return -1 for them. Do not check for +Inf in case not
6855 reachable for +Inf.
6856 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6857 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6858 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6859 and return -1 for them. Do not check for +Inf in case not
6860 reachable for +Inf.
6861 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6862 define.
6863 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6864 and return -1 for them. Do not check for +Inf in case not
6865 reachable for +Inf.
6866 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6867 spurious underflow.
6868 * sysdeps/i386/fpu/libm-test-ulps: Update.
6869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6870
fb21f89b
MF
68712012-07-06 Mike Frysinger <vapier@gentoo.org>
6872
6873 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6874
cdfe2c5e
JM
68752012-07-05 Joseph Myers <joseph@codesourcery.com>
6876
6877 [BZ #14157]
6878 [BZ #14331]
6879 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6880 could result in spurious underflow. Scale down values above
6881 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6882 * math/s_csqrtf.c (__csqrtf): Likewise.
6883 * math/s_csqrtl.c (__csqrtl): Likewise.
6884 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6885 spurious underflow.
6886 * sysdeps/i386/fpu/libm-test-ulps: Update.
6887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6888
70d35b67
AS
68892012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6890
704bc459
AS
6891 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6892 xopen-msg.sed.
6893 * catgets/xopen-msg.awk: New file.
6894 * catgets/xopen-msg.sed: Removed.
6895
70d35b67
AS
6896 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6897 po2text.sed.
6898 * intl/po2test.awk: New file.
6899 * intl/po2test.sed: Removed.
6900
ca61cf32
JM
69012012-07-04 Joseph Myers <joseph@codesourcery.com>
6902
6903 [BZ #14328]
6904 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6905 or multiply small sinh result by itself.
6906 * math/s_ctanf.c (__ctanf): Likewise.
6907 * math/s_ctanh.c (__ctanh): Likewise.
6908 * math/s_ctanhf.c (__ctanhf): Likewise.
6909 * math/s_ctanhl.c (__ctanhl): Likewise.
6910 * math/s_ctanl.c (__ctanl): Likewise.
6911 * math/libm-test.inc (ctan_test_tonearest): New function.
6912 (ctan_test_towardzero): Likewise.
6913 (ctan_test_downward): Likewise.
6914 (ctan_test_upward): Likewise.
6915 (ctanh_test_tonearest): Likewise.
6916 (ctanh_test_towardzero): Likewise.
6917 (ctanh_test_downward): Likewise.
6918 (ctanh_test_upward): Likewise.
6919 (main): Call these new functions.
6920 * sysdeps/i386/fpu/libm-test-ulps: Update.
6921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6922
ca48a46a
MF
69232012-07-03 Mike Frysinger <vapier@gentoo.org>
6924
6925 * .gitignore: Delete /ports entry.
6926
9d63d37d
AJ
69272012-07-03 Andreas Jaeger <aj@suse.de>
6928
6929 * po/bg.po: Update from translation team.
6930 * po/cs.po: Likewise.
6931 * po/de.po: Likewise.
6932 * po/hr.po: Likewise.
6933 * po/nl.pl: Likewise.
6934 * po/pl.po: Likewise.
6935 * po/vi.po: Likewise.
6936
370ca3d2
JM
69372012-07-03 Joseph Myers <joseph@codesourcery.com>
6938
95f5a9a8
JM
6939 * Makeconfig [!+link] (+link-before-libc): New variable.
6940 [!+link] (+link-after-libc): Likewise.
6941 [!+link] (+link-tests): Likewise.
6942 [!+link] (+link): Define in terms of $(+link-before-libc) and
6943 $(+link-after-libc).
6944 [!+link-static] (+link-static-before-libc): New variable.
6945 [!+link-static] (+link-static-after-libc): Likewise.
6946 [!+link-static] (+link-static-tests): Likewise.
6947 [!+link-static] (+link-static): Define in terms of
6948 $(+link-static-before-libc) and $(+link-static-after-libc).
6949 [build-shared] (link-libc-before-gnulib): New variable.
6950 [build-shared] (link-libc-tests): Likewise.
6951 [build-shared] (link-libc): Define in terms of
6952 $(link-libc-before-gnulib).
6953 [!build-shared] (link-libc-tests): New variable.
6954 (link-libc-static-tests): New variable.
6955 [!gnulib] (gnulib-arch): New variable.
6956 [!gnulib] (gnulib-tests): Likewise.
6957 [!gnulib] (static-gnulib-arch): Likewise.
6958 [!gnulib] (static-gnulib-tests): Likewise.
6959 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6960 Define with "=" instead of ":=".
6961 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6962 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6963 * Rules (binaries-all-notests): New variable.
6964 (binaries-all-tests): Likewise.
6965 (binaries-static-notests): Likewise.
6966 (binaries-static-tests): Likewise.
6967 (binaries-all): Define using $(binaries-all-notests) and
6968 $(binaries-all-tests).
6969 (binaries-static): Define using $(binaries-static-notests) and
6970 $(binaries-static-tests).
6971 (binaries-shared-tests): New variable.
6972 (binaries-shared-notests): Likewise.
6973 (binaries-shared): Remove variable.
6974 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6975 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6976 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6977 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6978 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6979 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6980 * elf/Makefile (sln-modules): New variable.
6981 (extra-objs): Add $(sln-modules:=.o).
6982 (ldconfig-modules): Add static-stubs.
6983 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6984 * elf/static-stubs.c: New file.
6985
7a845b2c
JM
6986 [BZ #14283]
6987 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6988 by 7 not 8 to examine high bit of fractional part. Use volatile
6989 variables when splitting into final array of floats if
6990 __FLT_EVAL_METHOD__ != 0.
6991 * math/libm-test.inc (cos_test): Add another test.
6992 (sin_test): Likewise.
6993 * sysdeps/i386/fpu/libm-test-ulps: Update.
6994
e2283f38
JM
6995 [BZ #14273]
6996 * math/libm-test.inc (cosh_test): Add more tests.
6997
370ca3d2
JM
6998 * version.h (RELEASE): Set to "development".
6999 (VERSION): Set to "2.16.90".
7000
ee9247c3
CD
70012012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7002
7003 * NEWS: Update copyright. Remove last-updated date.
7004 Mention math library bug fixes and timezone data changes.
7005 * README: Mention GNU/Hurd, x32, and HPPA support status.
7006
4648c381
TS
70072012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7008
7009 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7010
aac78a43
AJ
70112012-06-27 Andreas Jaeger <aj@suse.de>
7012
7013 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7014
ed3dbfad
AJ
70152012-06-25 Andreas Jaeger <aj@suse.de>
7016
7017 * sysdeps/s390/fpu/libm-test-ulps: Update.
7018
4d0ee855
AS
70192012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7020 Thomas Schwinge <thomas@codesourcery.com>
7021
7022 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7023 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7024 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7025 fanotify_mark.
7026
af1bce34
TS
70272012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7028
a9fa33ba
TS
7029 * sysdeps/mach/start.c: Remove file.
7030 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7031 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7032 * sysdeps/sh/init-first.c: Likewise.
7033
58f902b8
TS
7034 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7035 registers for frame unwinding purposes, add CFI directives.
7036 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7037 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7038 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7039 Likewise.
7040
1518f58b
TS
7041 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7042 __fortify_fail returning.
7043 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7044
db9b5059
TS
7045 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7046 sysdeps/sh/____longjmp_chk.S.
7047 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7048 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7049 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7050 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7051
967705fe
TS
7052 * sysdeps/sh/abort-instr.h: New file.
7053 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7054 process in case exit returns.
7055
a9def8c4
TS
7056 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7057 initialize the GOT register before use.
7058
2a649725
TS
7059 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7060 calculation of ARGC > 4.
7061
af1bce34
TS
7062 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7063 meaningful names to some local labels.
7064
d230f50a
KK
70652012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7066 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7067
7068 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7069 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7070 (__arch_compare_and_exchange_val_16_acq): Likewise.
7071 (__arch_compare_and_exchange_val_32_acq): Likewise.
7072 (atomic_exchange_and_add): Fix gUSA sequence.
7073 (atomic_add): Likewise.
7074 (atomic_add_negative): Likewise.
7075 (atomic_add_zero): Likewise.
7076 (atomic_bit_test_set): Likewise.
7077
0479b305
AS
70782012-06-22 Andreas Schwab <schwab@redhat.com>
7079
7080 [BZ #13579]
7081 * include/link.h (struct link_map): Add l_free_initfini.
7082 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7083 l_initfini.
7084 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7085 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7086 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7087 set.
7088
0e3933b9
CD
70892012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7090
7091 * configure.in: Use AC_LANG_SOURCE.
7092 * configure: Regenerate.
7093
4248b1b1
RM
70942012-06-22 Roland McGrath <roland@hack.frob.com>
7095
7096 * configure.in (libc_cv_localstatedir): New substituted variable.
7097 * configure: Regenerated.
7098 * config.make.in (localstatedir): New variable, substituted from
7099 libc_cv_localstatedir.
7100 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7101 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7102 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7103 * sysdeps/gnu/configure: Regenerated.
7104
006dd861
JL
71052012-06-21 Jeff Law <law@redhat.com>
7106
7107 [BZ #14277]
7108 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7109 free. Simplify list management for _LIBC case.
7110
79662d42
JM
71112012-06-21 Joseph Myers <joseph@codesourcery.com>
7112
b7abb4bf
JM
7113 [BZ #14273]
7114 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7115 Clear sign bit of 64-bit integer value before comparing against
7116 overflow value.
7117
79662d42
JM
7118 * sysdeps/mach/configure: Regenerated.
7119
1f150908
L
71202012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7121
7122 [BZ #14278]
7123 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7124
28363bbf
JL
71252012-06-21 Jeff Law <law@redhat.com>
7126
7127 [BZ #13882]
7128 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7129 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 7130 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
7131 * elf/dl-open.c (dl_open_worker): Likewise.
7132
09615db4
CD
71332012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7134
7135 * scripts/list-sources.sh: Scan PORTS for translations.
7136 * po/libc.pot: Regenerated.
7137
2174c6dd
AJ
71382012-06-21 Andreas Jaeger <aj@suse.de>
7139
7140 [BZ #12194]
7141 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7142 warning.
7143 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7144 * bits/byteswap-16.h (__bswap_16): Likewise.
7145 * bits/byteswap.h (__bswap_constant_16): Likewise.
7146
3ee947b1
L
71472012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7148
7149 [BZ #14117]
a2f34833
L
7150 * sysdeps/i386/fpu_control.h: Removed.
7151 * sysdeps/x86_64/fpu_control.h: Moved to ...
7152 * sysdeps/x86/fpu_control.h: Here.
7153
3ee947b1
L
7154 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7155 (_FPU_SETCW): Likewise.
7156
ed1825f8
L
71572012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7158
25f1282a
L
7159 [BZ #14117]
7160 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7161 * sysdeps/x86/fpu/bits/mathinline.h: This.
7162 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7163
ed1825f8
L
7164 [BZ #14050]
7165 [BZ #14117]
7166 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7167 functions if __x86_64__ is defined.
7168
36d54b74
CLT
71692012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7170
7171 * string/endian.h: Add !__ASSEMBLER__ condition for including
7172 conversion interfaces.
7173
10285c21
JM
71742012-06-15 Joseph Myers <joseph@codesourcery.com>
7175
7176 [BZ #14241]
7177 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7178 of ABS(x) in calculating zero to negative powers other than odd
7179 integers.
7180 * math/libm-test.inc (pow_test): Add more tests.
7181
06c5abbd
AJ
71822012-06-15 Andreas Jaeger <aj@suse.de>
7183
7184 * manual/contrib.texi (Contributors): Update entry of Liubov
7185 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7186 Machado Filho.
7187
a3aeac40
CH
71882012-06-15 Cyril Hrubis <metan@ucw.cz>
7189
7190 * string/string.h: Add __wur to GNU version of strerror_r.
7191
49bdf4c1
L
71922012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7193
7194 [BZ #14229]
7195 * string/Makefile (tests): Add tst-strtok_r.
7196 * string/tst-strtok_r.c: New file.
7197 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7198 RAX_LP/RDX_LP on SAVE_PTR.
7199
834f9b8d
RM
72002012-06-14 Roland McGrath <roland@hack.frob.com>
7201
7202 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7203
75fa1921
JM
72042012-06-14 Joseph Myers <joseph@codesourcery.com>
7205
7206 * libm_test.inc (csqrt_test): Allow more spurious underflow
7207 exceptions.
7208 (j0_test): Likewise.
7209 (j1_test): Likewise.
7210 (y0_test): Likewise.
7211 (y1_test): Likewise.
7212
771766df
CD
72132012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7214
7215 * po/Makefile (libc.pot): Use UTF-8 charset.
7216
ceb9e56b
PP
72172012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7218
7219 [BZ #14210]
7220 Suppress sign-conversion warning from FD_SET.
7221 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7222 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7223 not unsigned long int.
7224 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7225
ddb28975
L
72262012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7227
7228 [BZ #14050]
7229 [BZ #14117]
7230 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7231 __extern_always_inline instead of __extern_inline.
7232 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7233 (__signbit): Likewise.
7234 (__signbitl): Support C++ namespace.
7235 (lrintf): New inline function.
7236 (lrint): Likewise.
7237 (llrintf): Likewise.
7238 (llrint): Likewise.
7239 (fmaxf): Likewise.
7240 (fmax): Likewise.
7241 (fminf): Likewise.
7242 (fmin): Likewise.
7243 (rint): Likewise.
7244 (rintf): Likewise.
7245 (ceil): Likewise.
7246 (ceilf): Likewise.
7247 (floor): Likewise.
7248 (floorf): Likewise.
7249 (nearbyint): Likewise.
7250 (nearbyintf): Likewise.
7251
d7b4fb26
TS
72522012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7253
7254 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7255 non-default versions.
7256
eb55f5c2
RM
72572012-06-11 Roland McGrath <roland@hack.frob.com>
7258
7259 [BZ #14218]
7260 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7261
366af02c
TS
72622012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7263
99ff6e5c
TS
7264 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7265 (FE_UPWARD, FE_DOWNWARD): Don't define.
7266 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7267 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7268
366af02c
TS
7269 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7270 reading it.
7271 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7272 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7273
793ea851
KK
72742012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7275
7276 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7277 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7278 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7279 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7280
a728a38f
L
72812012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7282
7283 [BZ #14117]
c08010c7
L
7284 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7285 * sysdeps/i386/fpu/Implies: New file.
7286 * sysdeps/x86_64/fpu/Implies: Likewise.
7287 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7288 * sysdeps/x86/fpu/bits/fenv.h: This.
7289
a728a38f
L
7290 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7291 __SSE_MATH__.
7292
6e230d11
SP
72932012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7294
7295 [BZ #14134]
7296 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7297 character 0xffff that matches the last element of the
7298 conversion table.
7299
1b671feb
AZ
73002012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7301
7302 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7303 fmodl commit.
7304
6043738b
AZ
73052012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7306
7307 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7308 values higher than 25.6283.
7309
34ae0b32
AZ
73102012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7311
7312 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7313 subnormal exponent extraction and add some __builtin_expect.
7314 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7315 Fix for subnormal mantissa calculation.
7316
1214ec8f
MF
73172012-06-04 Mike Frysinger <vapier@gentoo.org>
7318
7319 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7320 cpu2 is -1 and errno is not ENOSYS.
7321
f3d1f93c
L
73222012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7323
7324 [BZ #14117]
0e4a3cd7
L
7325 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7326 * sysdeps/x86/bits/string.h: This.
7327 * sysdeps/x86_64/bits/string.h: Removed.
7328
6704c645
L
7329 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7330 if not compiling for x86-64, but compiling for >= i486.
7331
48495318
L
7332 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7333 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7334
14adcbfc
L
7335 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7336 New macro from Linux kernel 3.4.0.
7337 (FP_XSTATE_MAGIC2): Likewise.
7338 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7339 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7340 (struct _fpx_sw_bytes): New struct.
7341 (struct _xsave_hdr): Likewise.
7342 (struct _ymmh_state): Likewise.
7343 (struct _xstate): Likewise.
7344
68e408ab
L
7345 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7346 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7347 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7348 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7349 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7350 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7351
f3d1f93c
L
7352 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7353 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7354 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7355 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7356 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7357 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7358
d9dc34cd
TMQMF
73592012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7360
7361 [BZ #13743]
7362 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7363 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7364 (sysdep_headers): Include sys/platform/ppc.h.
7365 * sysdeps/powerpc/test-gettimebase.c: Test for
7366 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7367 * manual/Makefile (appendices): Include platform.texi.
7368 * manual/contrib.texi (Contributors): Update @node pointers.
7369 * manual/maint.texi (Maintenance): Likewise.
7370 (Platform): New node.
7371 * manual/platform.texi: New file. Document the new features.
7372
4af3879c
SP
73732012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7374 Jakub Jelinek <jakub@redhat.com>
7375
7376 [BZ #14188]
7377 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7378 where __builtin_expect is unavailable.
7379
2fd6ff13
DM
73802012-06-03 David S. Miller <davem@davemloft.net>
7381
7382 * stdlib/longlong.h: Updated from GCC.
7383
173f7220
AS
73842012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7385
7386 [BZ #14042]
7387 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7388 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7389 __mcount_internal.
7390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7391 (GLIBC_2.16): Likewise.
7392
f34a1c6f
L
73932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7394
7395 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7396
88a4576f
JM
73972012-06-01 Joseph Myers <joseph@codesourcery.com>
7398
ea32bcdd
JM
7399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7400 (default-abi): New variable.
7401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7402 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7403 variable.
7404 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7405 Likewise.
7406 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7407 Likewise.
7408 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7409 Likewise.
7410
88a4576f
JM
7411 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7412 definition. Document in comment.
7413
402fe938
DM
74142012-06-01 David S. Miller <davem@davemloft.net>
7415
7416 * stdlib/longlong.h: Updated from GCC.
7417
3553723f
L
74182012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7419
7420 [BZ #14117]
3bd872c4
L
7421 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7422 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7423 sys/debugreg.h sys/io.h here.
7424 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7425 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7426 sys/io.h.
7427 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7428 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7429 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7430 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7431 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7432 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7433
3553723f
L
7434 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7435 Define only if __x86_64__ is defined.
7436
4842e4fe
JM
74372012-06-01 Joseph Myers <joseph@codesourcery.com>
7438
c5bfe3d5
JM
7439 [BZ #14048]
7440 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7441 Use int64_t for variable i.
7442 * math/libm-test.inc (fmod_test): Add more tests.
7443
4842e4fe
JM
7444 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7445 z computation is not scheduled after fetestexcept.
7446 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7447 Use math_force_eval instead of asm to ensure calculation scheduled
7448 before exception test.
7449 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7450 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7451
efb73488
AJ
74522012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7453
7454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7455 computation is not scheduled after fetestexcept.
7456
29bcce7c
L
74572012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7458
7459 [BZ #14117]
7460 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7461 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7462
73a68f94
AZ
74632012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7464
7465 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7466 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7467
67b6df78
L
74682012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7469
edf2933a 7470 [BZ #14117]
ebc64a18
L
7471 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7472 <bits/wordsize.h>.
7473 (__WCHAR_MIN): Support __WORDSIZE == 64.
7474 (__WCHAR_MAX): Likewise.
7475
edf2933a
L
7476 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7477 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7478
57c6cf40
L
7479 [BZ #14183]
7480 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7481 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7482
67b6df78 7483 [BZ #14117]
8eb6281e
L
7484 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7485 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7486
aac639f4
L
7487 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7488 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7489
67b6df78
L
7490 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7491 Defined to 1 if __x86_64__ isn't defined.
7492 (_STAT_VER_LINUX_OLD): New.
7493 (st_atime): Remove duplicate.
7494 (st_mtime): Likewise.
7495 (st_ctime): Likewise.
7496
1c2cfe81
DM
74972012-05-31 David S. Miller <davem@davemloft.net>
7498
7499 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7500 entries.
7501
5be8418c
AS
75022012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7503
e7725326
AS
7504 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7505 gen-libm-test.pl.
7506
5be8418c
AS
7507 [BZ #14132]
7508 * elf/dl-reloc.c: Include <_itoa.h>.
7509 (_dl_reloc_bad_type): Remove use of INTUSE.
7510 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7511 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7512 * stdio-common/psiginfo.c (psiginfo): Likewise.
7513 * stdio-common/psignal.c (psignal): Likewise.
7514 * string/strsignal.c (strsignal): Likewise.
7515 * include/signal.h (_sys_siglist): Declare hidden proto.
7516 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7517 INTVARDEF with libc_hidden_data_def.
7518 * stdio-common/itoa-udigits.c: Likewise.
7519 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7520 (_itoa_lower_digits_internal): Remove declaration.
7521 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7522 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7523 (_sys_sigabbrev_internal): Remove aliases.
7524 (_sys_siglist): Define hidden alias.
7525
507352f1
MT
75262012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7527
7528 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7529 bits/sysctl.h.
7530
42bbb1c3
L
75312012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7532
7533 [BZ #14117]
6bd784b6
L
7534 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7535 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7536
8bca20f0
L
7537 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7538 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7539 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7540 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7541 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7542 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7543
f9e890a9
L
7544 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7545 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7546 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7547
471101a1
L
7548 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7549 with __addr.
7550 (insw): Likewise.
7551 (insl): Likewise.
7552 (outsb): Likewise.
7553 (outsw): Likewise.
7554 (outsl): Likewise.
7555
6451c862
L
7556 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7557 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7558 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7559
a254b8c9
L
7560 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7561 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7562 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7563 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7564 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7565 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7566
b8dfdd92
L
7567 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7568 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7569
578cd270
L
7570 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7571 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7572
de662f5f
L
7573 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7574 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7575 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7576
25653439
L
7577 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7578 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7579 to ...
7580 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7581
6bad24a0
L
7582 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7583 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7584 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7585
42bbb1c3
L
7586 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7587 for x86-64.
7588 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7589
2d10d547
JM
75902012-05-31 Joseph Myers <joseph@codesourcery.com>
7591
7592 * math/math.h (M_El): Use two more decimal places.
7593 (M_LOG2El): Likewise.
7594 (M_LOG10El): Likewise.
7595 (M_LN2l): Likewise.
7596 (M_LN10l): Likewise.
7597 (M_PIl): Likewise.
7598 (M_PI_2l): Likewise.
7599 (M_PI_4l): Likewise.
7600 (M_1_PIl): Likewise.
7601 (M_2_PIl): Likewise.
7602 (M_2_SQRTPIl): Likewise.
7603 (M_SQRT2l): Likewise.
7604 (M_SQRT1_2l): Likewise.
7605
f230c29b
DM
76062012-05-31 David S. Miller <davem@davemloft.net>
7607
7608 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7609 values between float registers.
7610 * sysdeps/sparc/sparc64/memset.S: Likewise.
7611 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7612
fed806c3
MF
76132012-05-31 Mike Frysinger <vapier@gentoo.org>
7614
7615 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7616 -D_FORTIFY_SOURCE=1.
7617 (CPPFLAGS-tst-longjmp_chk.c): Define.
7618 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7619 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7620 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7621 CFLAGS-tst-wchar-h.c.
7622
30917259
MP
76232012-05-31 Marek Polacek <polacek@redhat.com>
7624
7625 [BZ #14132]
7626 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7627 __endmntent_internal): Remove declaration.
7628 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7629 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7630 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7631
1c58d5dc
DM
76322012-05-30 David S. Miller <davem@davemloft.net>
7633
7634 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7635 (___Q_simulate_exceptions): Use real FP ops rather than writing
7636 into the %fsr.
7637 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7638 Likewise.
7639
7dc00e0d
L
76402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7641
7642 [BZ #14117]
0bd53985
L
7643 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7644 * sysdeps/x86/bits/xtitypes.h: This.
7645
3a257e66
L
7646 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7647 * sysdeps/x86/bits/wordsize.h: This.
7648
62f62904
L
7649 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7650 * sysdeps/x86/bits/huge_vall.h: This.
7651
404fe9d9
L
7652 * sysdeps/i386/bits/select.h: Removed.
7653 * sysdeps/x86_64/bits/select.h: Renamed to ...
7654 * sysdeps/x86/bits/select.h: This.
7655
d48d0446
L
7656 * sysdeps/i386/bits/setjmp.h: Removed.
7657 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7658 * sysdeps/x86/bits/setjmp.h: This.
7659
7dc00e0d
L
7660 * sysdeps/i386/bits/mathdef.h: Removed.
7661 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7662 * sysdeps/x86/bits/mathdef.h: This.
7663
03277f8f
AS
76642012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7665
7666 [BZ #14132]
7667 * include/sys/socket.h (__connect_internal)
7668 (__libc_sa_len_internal): Remove declaration.
7669 (__connect, __libc_sa_len): Declare hidden_proto.
7670 (SA_LEN): Remove use of INTUSE.
7671 * socket/connect.c: Add libc_hidden_def.
7672 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7673 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7674 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7675 alias.
7676 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7677 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7678 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7679 of adding _internal alias.
7680
13764867
L
76812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7682
7683 [BZ #14117]
6bd97696
L
7684 * sysdeps/i386/bits/link.h: Removed.
7685 * sysdeps/i386/bits/linkmap.h: Likewise.
7686 * sysdeps/x86_64/bits/link.h: Renamed to ...
7687 * sysdeps/x86/bits/link.h: This.
7688 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7689 * sysdeps/x86/bits/linkmap.h: This.
7690
f726f0bb
L
7691 * sysdeps/i386/bits/endian.h: Removed.
7692 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7693 * sysdeps/x86/bits/endian.h: This.
7694
13764867
L
7695 * sysdeps/i386/bits/byteswap.h: Removed.
7696 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7697 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7698 * sysdeps/x86/bits/byteswap.h: This.
7699 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7700 * sysdeps/x86/bits/byteswap-16.h: This.
7701 * sysdeps/i386/Implies: Add x86.
7702 * sysdeps/x86_64/Implies: Likewise.
7703
ae251b0b
DM
77042012-05-30 David S. Miller <davem@davemloft.net>
7705
7706 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7707 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7708 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7709 (FP_TRAPPING_EXCEPTIONS): Define.
7710 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7711 (FP_TRAPPING_EXCEPTIONS): Define.
7712 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7713 subnormals only when inexact has been signalled or underflow
7714 exceptions are enabled.
7715 (_FP_PACK_CANONICAL): Likewise.
7716
d5c90867
L
77172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7718
7719 [BZ #14183]
7720 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7721 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7722
63f1549e
RH
77232012-05-30 Richard Henderson <rth@twiddle.net>
7724
8d8f2279
RH
7725 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7726 with #ifndef NOT_IN_libc.
7727
63f1549e
RH
7728 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7729 marked to avoid plt entry.
7730
0ab0291b
L
77312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7732
7733 [BZ #14112]
7734 * Makeconfig (default-abi): New macro.
7735 (abi-includes): Likewise.
7736 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7737 $(abi-$(default-abi)-lib-soname) for soname if defined.
7738 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7739 abi-variants.
7740 * Makefile (installed-stubs): Likewise.
7741 * include/stubs-biarch.h: Removed.
7742 * scripts/lib-names.awk: Only handle one library at a time.
7743 * scripts/soversions.awk: Remove WORDSIZE support.
7744 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7745 entries.
7746 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7747 Removed.
7748 (syscall-list-default-condition): Likewise.
7749 (syscall-list-default-condition): Likewise.
7750 (syscall-list-includes): Likewise.
7751 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7752 syscall-list-* with abi-*. Handle undefined abi-variants.
7753 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7754 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7755 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7756 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7757 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7758 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7759 Removed.
7760 (syscall-list-32-options): Likewise.
7761 (syscall-list-32-condition): Likewise.
7762 (syscall-list-64-options): Likewise.
7763 (syscall-list-64-condition): Likewise.
7764 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7765 macro.
7766 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7767 Renamed to ...
7768 (abi-*): This.
7769 (abi-64-ld-soname): New macro.
7770 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7771 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7772 Renamed to ...
7773 (abi-*): This.
7774 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7775 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7776
4da0431d
JM
77772012-05-30 Joseph Myers <joseph@codesourcery.com>
7778
3a85279c
JM
7779 * sysdeps/unix/sysv/linux/kernel-features.h
7780 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7781 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7782 include <kernel-features.h>.
7783 [!__NR_ftruncate64]: Remove conditional code.
7784 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7785 [__NR_ftruncate64]: Make code unconditional.
7786 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7787 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7788 include <kernel-features.h>.
7789 [!__NR_ftruncate64]: Remove conditional code.
7790 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7791 [__NR_ftruncate64]: Make code unconditional.
7792 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7794 include <kernel-features.h>.
7795 [!__NR_ftruncate64]: Remove conditional code.
7796 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7797 [__NR_ftruncate64]: Make code unconditional.
7798 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7800 include <kernel-features.h>.
7801 [!__NR_ftruncate64]: Remove conditional code.
7802 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7803 [__NR_ftruncate64]: Make code unconditional.
7804 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7805
4da0431d
JM
7806 * configure.in (libc_cv_fpie): Weaken to a compile test using
7807 LIBC_TRY_CC_OPTION.
7808 * configure: Regenerated.
7809
11ef492c
AK
78102012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7811
7812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7816 Refreshed.
7817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7823 Refreshed.
7824
d66ef399
DM
78252012-05-27 David S. Miller <davem@davemloft.net>
7826
7827 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7828 (___Q_zero): New.
7829 (__Q_simulate_exceptions): Return void. Change to simulate
7830 exceptions by writing into the %fsr.
7831 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7832 (__Qp_handle_exceptions): Likewise.
7833 (numbers): Delete.
7834 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7835 __Qp_handle_exceptions.
7836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7837 __Qp_handle_exceptions.
7838 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7839 as unused and give dummy FP_RND_NEAREST initializer.
7840 (FP_INHIBIT_RESULTS): Define.
7841 (___Q_simulate_exceptions): Update declaration.
7842 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7843 formatting.
7844 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7845 as unused and give dummy FP_RND_NEAREST initializer.
7846 (__Qp_handle_exceptions): Update declaration.
7847 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7848 formatting.
7849
04fb54b5
TS
78502012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7851
7852 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7853 the temporary FPU control word.
7854 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7855 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7856 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7857 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7858 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7859 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7860 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7861 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7862 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7863 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7864 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7865
3f99608f
KK
78662012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7867
7868 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7869 fields.
7870
65a4de4e
CLT
78712012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7872
7873 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7874 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7875 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7876 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7877 Likewise.
7878 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7879 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7880 Likewise.
7881
15749d40
UD
78822012-05-27 Ulrich Drepper <drepper@gmail.com>
7883
7884 * po/h.po: Update from translation team.
7885
25dbcb27
AS
78862012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7887
3d3f8e55
AS
7888 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7889
25dbcb27
AS
7890 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7891 handling of denormals.
7892 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7893 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7894 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7895 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7896 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7897 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7898 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7899 Likewise.
7900
7ad47a80 79012012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7902
7903 [BZ #14152]
7904 * math/libm-test.inc (fma_test): Don't always expect underflow
7905 exception.
7906
9c6ea9fa
SP
79072012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7908
7909 [BZ #12416]
7910 * elf/tst-execstack.c: Include stackinfo.h.
7911 (do_test): Adjust test case to ensure that pthread_getattr_np
7912 behaviour remains the same after marking stack executable.
7913
a8239222
JM
79142012-05-25 Joseph Myers <joseph@codesourcery.com>
7915
7916 * sysdeps/unix/sysv/linux/kernel-features.h
7917 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7918 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7919 kernel-features.h.
7920 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7921 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7922 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7923 kernel-features.h.
7924 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7925 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7926
918b5606
L
79272012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7928
7929 * configure.in: Define the default includes to being none.
7930 * configure: Regenerated.
7931
3a097cc7
RM
79322012-05-25 Roland McGrath <roland@hack.frob.com>
7933
8422c9a5
RM
7934 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7935 * sysdeps/x86_64/setjmp.S: Likewise.
7936 * sysdeps/i386/bsd-setjmp.S: Likewise.
7937 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7938 * sysdeps/i386/setjmp.S: Likewise.
7939 * sysdeps/i386/__longjmp.S: Likewise.
7940 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7941 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7942
3a097cc7
RM
7943 * include/stap-probe.h: New file.
7944 * configure.in: Handle --enable-systemtap.
7945 * configure: Regenerated.
7946 * config.h.in (USE_STAP_PROBE): New #undef.
7947 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7948 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7949 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7950
21708942
JM
79512012-05-25 Joseph Myers <joseph@codesourcery.com>
7952
7953 [BZ #13717]
7954 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7955 to 2.4.0 where earlier.
7956 * sysdeps/unix/sysv/linux/configure: Regenerated.
7957 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7958 <kernel-features.h>.
7959 [__ASSUME_32BITUIDS]: Make code unconditional.
7960 [!__ASSUME_32BITUIDS]: Remove conditional code.
7961 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7962 <kernel-features.h>.
7963 [__ASSUME_32BITUIDS]: Make code unconditional.
7964 [!__ASSUME_32BITUIDS]: Remove conditional code.
7965 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7966 [__ASSUME_32BITUIDS]: Make code unconditional.
7967 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7968 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7969 <kernel-features.h>.
7970 [__ASSUME_32BITUIDS]: Make code unconditional.
7971 [!__ASSUME_32BITUIDS]: Remove conditional code.
7972 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7973 <kernel-features.h>.
7974 [__ASSUME_32BITUIDS]: Make code unconditional.
7975 [!__ASSUME_32BITUIDS]: Remove conditional code.
7976 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7977 <kernel-features.h>.
7978 [__ASSUME_32BITUIDS]: Make code unconditional.
7979 [!__ASSUME_32BITUIDS]: Remove conditional code.
7980 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7981 <kernel-features.h>.
7982 [__ASSUME_32BITUIDS]: Make code unconditional.
7983 [!__ASSUME_32BITUIDS]: Remove conditional code.
7984 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7985 <kernel-features.h>.
7986 [__ASSUME_32BITUIDS]: Make code unconditional.
7987 [!__ASSUME_32BITUIDS]: Remove conditional code.
7988 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7989 <kernel-features.h>.
7990 [__ASSUME_32BITUIDS]: Make code unconditional.
7991 [!__ASSUME_32BITUIDS]: Remove conditional code.
7992 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7993 <kernel-features.h>.
7994 [__ASSUME_32BITUIDS]: Make code unconditional.
7995 [!__ASSUME_32BITUIDS]: Remove conditional code.
7996 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7997 <kernel-features.h>.
7998 [__ASSUME_32BITUIDS]: Make code unconditional.
7999 [!__ASSUME_32BITUIDS]: Remove conditional code.
8000 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8001 <kernel-features.h>.
8002 [__ASSUME_32BITUIDS]: Make code unconditional.
8003 [!__ASSUME_32BITUIDS]: Remove conditional code.
8004 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8005 <kernel-features.h>.
8006 [__ASSUME_32BITUIDS]: Make code unconditional.
8007 [!__ASSUME_32BITUIDS]: Remove conditional code.
8008 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8009 <kernel-features.h>.
8010 [__NR_setresgid] (__setresgid): Do not declare.
8011 [__ASSUME_32BITUIDS]: Make code unconditional.
8012 [!__ASSUME_32BITUIDS]: Remove conditional code.
8013 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8014 <kernel-features.h>.
8015 [__NR_setresuid] (__setresuid): Do not declare.
8016 [__ASSUME_32BITUIDS]: Make code unconditional.
8017 [!__ASSUME_32BITUIDS]: Remove conditional code.
8018 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8019 <kernel-features.h>.
8020 [__ASSUME_32BITUIDS]: Make code unconditional.
8021 [!__ASSUME_32BITUIDS]: Remove conditional code.
8022 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8023 <kernel-features.h>.
8024 [__ASSUME_32BITUIDS]: Make code unconditional.
8025 [!__ASSUME_32BITUIDS]: Remove conditional code.
8026 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8027 <kernel-features.h>.
8028 [__ASSUME_32BITUIDS]: Make code unconditional.
8029 [!__ASSUME_32BITUIDS]: Remove conditional code.
8030 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8031 <kernel-features.h>.
8032 [__ASSUME_32BITUIDS]: Make code unconditional.
8033 [!__ASSUME_32BITUIDS]: Remove conditional code.
8034 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8035 <kernel-features.h>.
8036 [__ASSUME_32BITUIDS]: Make code unconditional.
8037 [!__ASSUME_32BITUIDS]: Remove conditional code.
8038 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8039 <kernel-features.h>.
8040 [__ASSUME_32BITUIDS]: Make code unconditional.
8041 [!__ASSUME_32BITUIDS]: Remove conditional code.
8042 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8043 <kernel-features.h>.
8044 [__ASSUME_32BITUIDS]: Make code unconditional.
8045 [!__ASSUME_32BITUIDS]: Remove conditional code.
8046 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8047 <kernel-features.h>.
8048 [__ASSUME_32BITUIDS]: Make code unconditional.
8049 [!__ASSUME_32BITUIDS]: Remove conditional code.
8050 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8051 <kernel-features.h>.
8052 [__ASSUME_32BITUIDS]: Make code unconditional.
8053 [!__ASSUME_32BITUIDS]: Remove conditional code.
8054 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8055 <kernel-features.h>.
8056 [__ASSUME_32BITUIDS]: Make code unconditional.
8057 [!__ASSUME_32BITUIDS]: Remove conditional code.
8058 * sysdeps/unix/sysv/linux/kernel-features.h
8059 (__ASSUME_SETRESUID_SYSCALL): Remove.
8060 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8061 (__ASSUME_32BITUIDS): Likewise.
8062 (__ASSUME_LDT_WORKS): Likewise.
8063 (__ASSUME_O_DIRECTORY): Likewise.
8064 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8065 architecture but not kernel version.
8066 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8067 (__ASSUME_MMAP2_SYSCALL): Likewise.
8068 (__ASSUME_STAT64_SYSCALL): Likewise.
8069 (__ASSUME_IPC64): Likewise.
8070 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8071 <kernel-features.h>.
8072 [__ASSUME_32BITUIDS]: Make code unconditional.
8073 [!__ASSUME_32BITUIDS]: Remove conditional code.
8074 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8075 <kernel-features.h>.
8076 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8077 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8078 132096]: Remove conditional code.
8079 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8080 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8081 <kernel-features.h>.
8082 [__ASSUME_32BITUIDS]: Make code unconditional.
8083 [!__ASSUME_32BITUIDS]: Remove conditional code.
8084 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8085 <kernel-features.h>.
8086 [__ASSUME_32BITUIDS]: Make code unconditional.
8087 [!__ASSUME_32BITUIDS]: Remove conditional code.
8088 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8089 <kernel-features.h>.
8090 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8091 unconditional.
8092 (__setresgid): Do not declare.
8093 [__ASSUME_32BITUIDS]: Make code unconditional.
8094 [!__ASSUME_32BITUIDS]: Remove conditional code.
8095 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8096 <kernel-features.h>.
8097 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8098 unconditional.
8099 (__setresuid): Do not declare.
8100 [__ASSUME_32BITUIDS]: Make code unconditional.
8101 [!__ASSUME_32BITUIDS]: Remove conditional code.
8102 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8103 <kernel-features.h>.
8104 [__ASSUME_32BITUIDS]: Make code unconditional.
8105 [!__ASSUME_32BITUIDS]: Remove conditional code.
8106 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8107 <kernel-features.h>.
8108 [__ASSUME_32BITUIDS]: Make code unconditional.
8109 [!__ASSUME_32BITUIDS]: Remove conditional code.
8110
a386f1cc
RH
81112012-05-25 Richard Henderson <rth@twiddle.net>
8112
8113 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8114 dl_hwcap to ifunc resolver.
8115 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8116 elf_ifunc_invoke.
8117 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8118 dl_hwcap to ifunc resolver.
8119 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8120
b6550497
JM
81212012-05-24 Joseph Myers <joseph@codesourcery.com>
8122
8123 [BZ #14153]
8124 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8125 for |x| <= 2**-26, not 2**-57.
8126 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8127 exception.
8128
b0bc23a1
JL
81292012-05-24 Jeff Law <law@redhat.com>
8130
8131 * stdio-common/Makefile (tests): Add bug25.
8132 * stdio-common/bug25.c: New test.
8133
347c92e9
L
81342012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8135
8136 [BZ #13576]
8137 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8138 multiple of MALLOC_ALIGNMENT in size.
8139 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8140
6bcc8b3f
JM
81412012-05-24 Joseph Myers <joseph@codesourcery.com>
8142
8143 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8144 Require >= 256.
8145 (FILENAME_MAX): Use macro-int-constant.
8146 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8147 (_IOFBF): Use macro-int-constant.
8148 (_IOLBF): Likewise.
8149 (_IONBF): Likewise.
8150 (SEEK_CUR): Likewise.
8151 (SEEK_END): Likewise.
8152 (SEEK_SET): Likewise.
8153 (TMP_MAX): Likewise.
8154 (EOF): Use macro-int-constant. Require < 0.
8155 (NULL): Use macro-constant. Require == 0.
8156 (stdin): Require type to be FILE *.
8157 (stdout): Likewise.
8158 (stderr): Likewise.
8159 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8160 macro-int-constant.
8161 (EXIT_SUCCESS): Likewise.
8162 (NULL): Use macro-constant. Require == 0.
8163 (RAND_MAX): Use macro-int-constant.
8164 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8165 [C99-based standards] (strtof): Require function.
8166 [C99-based standards] (strtold): Likewise.
8167 [C99-based standards] (strtoll): Likewise.
8168 [C99-based standards] (strtoull): Likewise.
8169 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8170 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8171 [ISO || ISO99 || ISO11] (math.h): Likewise.
8172 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8173 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8174 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8175
d18ea0c5
AS
81762012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8177
8178 [BZ #14132]
56d25bb8
AS
8179 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8180 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8181 * intl/dgettext.c (DCGETTEXT): Likewise.
8182 * intl/gettext.c (DCGETTEXT): Likewise.
8183 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8184 * posix/regex_internal.h (gettext): Likewise.
8185 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8186 Remove declaration.
8187 * include/argz.h (__argz_count_internal)
8188 (__argz_stringify_internal): Remove declaration.
8189 (__argz_count, __argz_stringify): Declare hidden proto.
8190 * intl/dcgettext.c: Remove use of INTDEF.
8191 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8192 * string/argz-stringify.c: Likewise.
8193 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8194 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8195 Declare hidden proto.
d18ea0c5
AS
8196 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8197 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8198 Declare hidden proto.
8199 * include/stdio.h (__asprintf_internal): Don't declare.
8200 (__asprintf): Don't define as macro. Declare hidden proto.
8201 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8202 (__fsetlocking): Declare hidden proto.
8203 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8204 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8205 hidden proto.
8206 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8207 (_IO_setlinebuf): Remove use of INTUSE.
8208 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8209 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8210 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8211 Remove declaration.
8212 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8213 (_IO_do_flush): Remove use of INTUSE.
8214 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8215 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8216 (_IO_adjust_column, _IO_least_wmarker)
8217 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8218 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8219 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8220 (_IO_default_doallocate, _IO_wdefault_doallocate)
8221 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8222 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8223 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8224 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8225 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8226 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8227 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8228 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8229 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8230 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8231 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8232 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8233 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8234 proto.
8235 (_IO_flush_all_internal, _IO_adjust_column_internal)
8236 (_IO_default_uflow_internal, _IO_default_finish_internal)
8237 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8238 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8239 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8240 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8241 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8242 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8243 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8244 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8245 (_IO_file_close_internal, _IO_file_close_it_internal)
8246 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8247 (_IO_file_init_internal, _IO_file_attach_internal)
8248 (_IO_file_fopen_internal, _IO_file_read_internal)
8249 (_IO_file_sync_internal, _IO_file_seek_internal)
8250 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8251 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8252 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8253 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8254 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8255 (_IO_list_all_internal, _IO_link_in_internal)
8256 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8257 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8258 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8259 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8260 (_IO_do_write_internal, _IO_padn_internal)
8261 (_IO_getline_info_internal, _IO_getline_internal)
8262 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8263 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8264 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8265 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8266 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8267 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8268 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8269 with libc_hidden_ver, remove use of INTUSE.
8270 * libio/genops.c: Likewise.
8271 * libio/freopen.c: Likewise.
8272 * libio/freopen64.c: Likewise.
8273 * libio/iofclose.c: Likewise.
8274 * libio/iofdopen.c: Likewise.
8275 * libio/iofflush.c: Likewise.
8276 * libio/iofflush_u.c: Likewise.
8277 * libio/iofgets.c: Likewise.
8278 * libio/iofgets_u.c: Likewise.
8279 * libio/iofopen.c: Likewise.
8280 * libio/iofopncook.c: Likewise.
8281 * libio/iofread.c: Likewise.
8282 * libio/iofread_u.c: Likewise.
8283 * libio/ioftell.c: Likewise.
8284 * libio/iofwrite.c: Likewise.
8285 * libio/iogetline.c: Likewise.
8286 * libio/iogets.c: Likewise.
8287 * libio/iogetwline.c: Likewise.
8288 * libio/iopadn.c: Likewise.
8289 * libio/iopopen.c: Likewise.
8290 * libio/ioseekoff.c: Likewise.
8291 * libio/ioseekpos.c: Likewise.
8292 * libio/iosetbuffer.c: Likewise.
8293 * libio/iosetvbuf.c: Likewise.
8294 * libio/ioungetc.c: Likewise.
8295 * libio/ioungetwc.c: Likewise.
8296 * libio/iovdprintf.c: Likewise.
8297 * libio/iovsprintf.c: Likewise.
8298 * libio/iovsscanf.c: Likewise.
8299 * libio/memstream.c: Likewise.
8300 * libio/obprintf.c: Likewise.
8301 * libio/oldfileops.c: Likewise.
8302 * libio/oldiofclose.c: Likewise.
8303 * libio/oldiofdopen.c: Likewise.
8304 * libio/oldiofopen.c: Likewise.
8305 * libio/oldiopopen.c: Likewise.
8306 * libio/oldstdfiles.c: Likewise.
8307 * libio/putc.c: Likewise.
8308 * libio/setbuf.c: Likewise.
8309 * libio/setlinebuf.c: Likewise.
8310 * libio/stdfiles.c: Likewise.
8311 * libio/strops.c: Likewise.
8312 * libio/vasprintf.c: Likewise.
8313 * libio/vscanf.c: Likewise.
8314 * libio/vsnprintf.c: Likewise.
8315 * libio/vswprintf.c: Likewise.
8316 * libio/wfiledoalloc.c: Likewise.
8317 * libio/wfileops.c: Likewise.
8318 * libio/wgenops.c: Likewise.
8319 * libio/wmemstream.c: Likewise.
8320 * libio/wstrops.c: Likewise.
8321 * libio/__fpurge.c: Likewise.
8322 * libio/__fsetlocking.c: Likewise.
8323 * assert/assert.c: Likewise.
8324 * debug/fgets_chk.c: Likewise.
8325 * debug/fgets_u_chk.c: Likewise.
8326 * debug/fread_chk.c: Likewise.
8327 * debug/fread_u_chk.c: Likewise.
8328 * debug/gets_chk.c: Likewise.
8329 * debug/obprintf_chk.c: Likewise.
8330 * debug/vasprintf_chk.c: Likewise.
8331 * debug/vdprintf_chk.c: Likewise.
8332 * debug/vsnprintf_chk.c: Likewise.
8333 * debug/vsprintf_chk.c: Likewise.
8334 * malloc/mtrace.c: Likewise.
8335 * misc/error.c: Likewise.
8336 * misc/syslog.c: Likewise.
8337 * stdio-common/asprintf.c: Likewise.
8338 * stdio-common/fxprintf.c: Likewise.
8339 * stdio-common/getw.c: Likewise.
8340 * stdio-common/isoc99_fscanf.c: Likewise.
8341 * stdio-common/isoc99_scanf.c: Likewise.
8342 * stdio-common/isoc99_vfscanf.c: Likewise.
8343 * stdio-common/isoc99_vscanf.c: Likewise.
8344 * stdio-common/isoc99_vsscanf.c: Likewise.
8345 * stdio-common/printf-prs.c: Likewise.
8346 * stdio-common/printf_fp.c: Likewise.
8347 * stdio-common/printf_fphex.c: Likewise.
8348 * stdio-common/printf_size.c: Likewise.
8349 * stdio-common/putw.c: Likewise.
8350 * stdio-common/scanf.c: Likewise.
8351 * stdio-common/sprintf.c: Likewise.
8352 * stdio-common/tmpfile.c: Likewise.
8353 * stdio-common/vfprintf.c: Likewise.
8354 * stdio-common/vfscanf.c: Likewise.
8355 * stdlib/strfmon_l.c: Likewise.
8356 * sunrpc/openchild.c: Likewise.
8357 * sunrpc/xdr_stdio.c: Likewise.
8358 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8359 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8360
d6c33fda
RM
83612012-05-24 Roland McGrath <roland@hack.frob.com>
8362
c1487492
RM
8363 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8364
8365 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8366 in the third column, to generate for the shared library an IFUNC
8367 that uses _dl_vdso_vsym.
8368 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8369 * Makeconfig (object-suffixes-noshared): New variable.
8370
8371 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8372 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8373 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8374 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8375
d6c33fda
RM
8376 [BZ #14132]
8377 * include/sys/time.h (__gettimeofday): Remove macro.
8378 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8379 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8380 Remove INTDEF.
8381 (__gettimeofday): Add libc_hidden_def.
8382 (gettimeofday): Add libc_hidden_weak.
8383 * sysdeps/mach/gettimeofday.c: Likewise.
8384 * sysdeps/posix/gettimeofday.c: Likewise.
8385 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8386 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8387 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8388 (__gettimeofday_internal): Remove strong_alias.
8389 (__gettimeofday): Add libc_hidden_def.
8390 (gettimeofday): Add libc_hidden_weak.
8391 * sysdeps/unix/syscalls.list (gettimeofday):
8392 Remove __gettimeofday_internal alias.
8393
b5a2bbe6
L
83942012-05-24 Daniel Jacobowitz <drow@false.org>
8395 H.J. Lu <hongjiu.lu@intel.com>
8396
8397 [BZ #12495]
8398 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8399 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8400 (largebin_index_32_big): New.
8401 (largebin_index): Use it for 16-byte alignment.
8402 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8403 correction with front_misalign.
8404
cfba4fda
L
84052012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8406
7f907421
L
8407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8409 Likewise.
8410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8411 Likewise.
8412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8413 Likewise.
8414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8415 Likewise.
8416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8417 Likewise.
8418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8419 Likewise.
8420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8421 Likewise.
8422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8423 Likewise.
8424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8425 Likewise.
8426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8427 Likewise.
8428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8429 Likewise.
8430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8431 Likewise.
8432
cfba4fda
L
8433 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8434 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8435
80bad0cc
JM
84362012-05-24 Joseph Myers <joseph@codesourcery.com>
8437
7a25eb06
JM
8438 [BZ #10846]
8439 [BZ #14036]
8440 * math/libm-test.inc (exp_test): Add test from bug 14036.
8441 (pow_test): Add test from bug 10846.
8442
795405f9
JM
8443 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8444 and other flags.
8445 (special_function): Do not include flags in test name.
8446 (parse_args): Likewise.
8447 * sysdeps/i386/fpu/libm-test-ulps: Update.
8448 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8449 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8450 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8452
80bad0cc
JM
8453 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8454 exceptions.
8455 * math/libm-test.inc ("Philosophy"): Update comment about
8456 exception testing.
8457 (UNDERFLOW_EXCEPTION): New macro.
8458 (UNDERFLOW_EXCEPTION_OK): Likewise.
8459 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8460 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8461 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8462 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8463 (INVALID_EXCEPTION_OK): Update value.
8464 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8465 (OVERFLOW_EXCEPTION_OK): Likewise.
8466 (IGNORE_ZERO_INF_SIGN): Likewise.
8467 (test_exceptions): Handle underflow exceptions.
8468 (acos_test): Update for underflow exception expectations.
8469 (cexp_test): Likewise.
8470 (clog_test): Likewise.
8471 (clog10_test): Likewise.
8472 (csqrt_test): Likewise.
8473 (ctan_test): Likewise.
8474 (ctanh_test): Likewise.
8475 (exp_test): Likewise.
8476 (exp10_test): Likewise.
8477 (exp2_test): Likewise.
8478 (expm1_test): Likewise.
8479 (fma_test): Likewise.
8480 (j0_test): Likewise.
8481 (jn_test): Likewise.
8482 (nexttoward_test): Likewise.
8483 (pow_test): Likewise.
8484 (scalbn_test): Likewise.
8485 (scalbln_test): Likewise.
8486 (tan_test): Likewise.
8487 (y1_test): Likewise.
8488 * sysdeps/i386/fpu/libm-test-ulps: Update.
8489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8490
9e0e3d0b
DM
84912012-05-23 David S. Miller <davem@davemloft.net>
8492
8493 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8494 (__libc_sigaction): Remove unused local variables.
8495
ccd0a08f
L
84962012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8497
8498 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8499
62bdf9a6
PE
85002012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8501
f8591f80
PE
8502 mktime: avoid signed integer overflow
8503 * time/mktime.c (__mktime_internal): Do not mishandle the case
8504 where diff == INT_MIN.
8505
94c7d826
PE
8506 mktime: simplify computation of average
8507 * time/mktime.c (ranged_convert): Use new time_t_avg function
8508 instead of rolling our own (probably-slower) code.
8509
ce73d683
PE
8510 mktime: do not assume signed right shift propagates sign bit
8511 * time/mktime.c (isdst_differ): New static function.
8512 (__mktime_internal): No need to normalize tm_isdst now.
8513 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8514 tm_isdst values.
8515
72a22e59
PE
8516 mktime: merge another wrapv change from gnulib
8517 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8518 from some compilers.
8519
68605433
PE
8520 mktime: remove incorrect attempt at unusual arithmetics
8521 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8522 The code didn't really work on such machines anyway.
8523 (TYPE_MINIMUM): Assume two's complement.
8524 (twos_complement_arithmetic): Verify that long_int and time_t
8525 are two's complement (or unsigned, in the latter case).
8526
03cf7fe3
PE
8527 mktime: check signed shifts on long_int and time_t, too
8528 * time/mktime.c (SHR): Check that shifts work as desired
8529 on the types long_int and time_t too, as SHR is used on
8530 such types.
8531
f04dfbc2
PE
8532 mktime: do not assume 'long' is wide enough
8533 * time/mktime.c (verify): Move decl up.
8534 (long_int): New type.
8535 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8536 to remove assumption in the code that 'long' is wide enough to
8537 store year values. This assumption is not true on x32 and on
8538 some non-glibc platforms.
8539
62bdf9a6
PE
8540 mktime: merge wrapv change from gnulib
8541 * time/mktime.c (WRAPV): New macro.
8542 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8543 (guess_time_tm, __mktime_internal): Do not assume that signed
8544 integer overflow wraps around; modern compilers generate code
8545 where this assumption is no longer valid.
8546
5e292e4f
L
85472012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8548
8549 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8550 Replace "jmp L(pseudo_end)" with "ret".
8551 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8552 Likewise.
8553
8caf8c87
AJ
85542012-05-23 Andreas Jaeger <aj@suse.de>
8555
8556 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8557 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8558
1a09dc56
AJ
85592012-05-23 Andreas Jaeger <aj@suse.de>
8560 Maximilian Attems <max@stro.at>
8561
8562 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8563 New macros.
8564
1c87aba0
L
85652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8566
8567 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8568 code so that pseudo_end is just ret and the stack pointer is
8569 correct also for static library in error case.
8570
40e45bd5
JM
85712012-05-23 Joseph Myers <joseph@codesourcery.com>
8572
c2670533
JM
8573 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8574 move to syscalls.list.
8575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8579
40e45bd5
JM
8580 * manual/install.texi (Running make install): Do not mention Linux
8581 kernel version for which pt_chown is not needed.
8582 (Linux): Do not mention problems with nscd with 2.0 kernels.
8583 * INSTALL: Regenerated.
8584
be08eda5
AJ
85852012-05-23 Andreas Jaeger <aj@suse.de>
8586
8587 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8588 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8589 macro.
8590 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8591 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8592 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8593 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8594 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8595 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8596 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8597 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8598 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8599 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8600 * sysdeps/unix/sysv/linux/bits/in.h
8601 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8602
a6a056bb
RM
86032012-05-22 Roland McGrath <roland@hack.frob.com>
8604
8605 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8606 (PREPARE_VERSION): Just use assert instead, it will be elided
8607 under [NDEBUG] anyway.
8608
c9009328
L
86092012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8610
8611 * sysdeps/unix/sysv/linux/Makefile: Include
8612 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8613 (sysdep_routines): Remove sysctl.
c9009328
L
8614 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8615 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8616 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8617 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8618 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8619
73338355
AJ
86202012-05-22 Andreas Jaeger <aj@suse.de>
8621
8622 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8623 that pseudo_end is just ret and the stack pointer is correct also
8624 for static library in error case.
8625
d44638b0
PP
86262012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8627
8628 [BZ #14122]
8629 * nss/nsswitch.c (defconfig_entries): New variable.
8630 (__nss_database_lookup): Don't leak defconfig entries.
8631 (nss_parse_service_list): Don't leak on error paths.
8632 (free_database_entries): New function.
8633 (free_defconfig): New function.
8634 (free_mem): Move common code to free_database_entries.
8635
31a39bd8
L
86362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8637
da0331a8
L
8638 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8639 Add arch_prctl.
8640 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8641
31a39bd8
L
8642 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8643 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8644 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8645 New macro.
8646 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8647 (INTERNAL_SYSCALL_TYPES): Likewise.
8648 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8649 (LOAD_REGS_TYPES_[1-6]): Likewise.
8650 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8651 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8652
45470df3
AZ
86532012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8654
8655 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8656 copysignl for GLIBC_2_0.
8657 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8658 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8659 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8660 logbl for GLIBC_2_0.
8661 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8662 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8663
98a61bcb
L
86642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8665
a4f6e481
L
8666 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8667 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8668
f63d5db6
L
8669 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8670 Use "neg %eax".
8671
98a61bcb
L
8672 * time/mktime.c: Update copyright years.
8673
95770f14
PE
86742012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8675
6226efbd
PE
8676 mktime: merge comment-quoting-style change from gnulib
8677 * time/mktime.c: Quote 'like this' in comments.
8678 The GNU coding standards suggest that we no longer quote `like this',
8679 as "`" and "'" are typically rendered asymmetrically nowadays.
8680 The typical gnulib style is to quote 'like this' when quoting
8681 code, and "like this" when quoting English.
8682
b99e4f78
PE
8683 * time/mktime.c (compile-command): Add "-I.".
8684
643e01e6
PE
8685 mktime: merge mktime-internal.h change from gnulib
8686 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8687
2554247d
PE
8688 mktime: merge time_r change from gnulib
8689 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8690
826dd0ab
PE
8691 mktime: merge DEBUG change from gnulib
8692 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8693 case system <time.h> has a #define.
8694
bd83aabe
PE
8695 mktime: merge <sys/types.h> change from gnulib
8696 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8697 since <time.t> is now guaranteed to define time_t.
8698
95770f14
PE
8699 mktime: merge HAVE_CONFIG_H change from gnulib
8700 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8701
5e1a27a9
L
87022012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8703
0e44a77e
L
8704 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8705 Use "neg %eax".
8706
5e1a27a9
L
8707 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8708 __rlim_t cast.
8709 (struct rusage): Use anonymous union to pad each field to
8710 __syscall_slong_t.
8711
46259bec
DM
87122012-05-21 David S. Miller <davem@davemloft.net>
8713
8714 * Makefules (o-iterator): Remove .s cases.
8715 (compile-command.s): Delete.
8716 (COMPILE.s): Delete.
8717 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8718
59f0c22e
JM
87192012-05-21 Joseph Myers <joseph@codesourcery.com>
8720
8721 * configure.in (libc_cv_predef_stack_protector): Only consider
8722 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8723 * configure: Regenerated.
8724
20c07380
L
87252012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8726
bbb3154b
L
8727 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8728 New macro. Use R*LP on int and pointer.
8729 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8730 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8731 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8732 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8733
20c07380
L
8734 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8735 [__WORDSIZE_TIME64_COMPAT32] instead of
8736 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8737 (struct utmp): Likewise.
8738 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8739 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8740 Renamed to ...
8741 (__WORDSIZE_TIME64_COMPAT32): This.
8742 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8743 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8744 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8745 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8746 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8747 (__WORDSIZE_TIME64_COMPAT32): New macro.
8748
d8d1017e
AJ
87492012-05-21 Andreas Jaeger <aj@suse.de>
8750
8751 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8752 only if [SHARED]. Add prototype for __wcschr_ia32.
8753
6c7fb145
RM
87542012-05-21 Roland McGrath <roland@hack.frob.com>
8755
8756 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8757 of %rbp unmolested in the jmp_buf while mangling the low bits.
8758 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8759 unmolested high bits of %rbp while demangling the low bits.
8760 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8761
66274218
AJ
87622012-05-21 Andreas Jaeger <aj@suse.de>
8763
07c58f8f
AJ
8764 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8765 * sunrpc/svc_simple.c: Use it for registerrpc.
8766 * sunrpc/xcrypt.c: Use it for passwd2des.
8767
66274218
AJ
8768 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8769
61f65140
L
87702012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8771
8772 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8773 Don't define if [__SYSCALL_WORDSIZE != 32].
8774 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8775 New macro.
8776
5fefb436
AJ
87772012-05-21 Bruno Haible <bruno@clisp.org>
8778 Andreas Jaeger <aj@suse.de>
8779
8780 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8781 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8782 inptr and inend for must_buffer_ch.
8783 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8784 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8785 * stdio-common/Makefile (tests): Remove bug15.
8786 (bug15-ENV): Remove macro.
8787 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8788 anymore.
8789
d8e272ab
AJ
87902012-05-19 Andreas Jaeger <aj@suse.de>
8791 Roland McGrath <roland@hack.frob.com>
8792
8793 * manual/contrib.texi: Completely rewritten. It contains now an
8794 alphabetical list of contributors and their contributions.
8795
4a56a162
RH
87962012-05-21 Richard Henderson <rth@twiddle.net>
8797
8798 * misc/getauxval.c (__getauxval): Use unsigned long int.
8799 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8800 (getauxval): Use unsigned long int.
8801
d024d23c
L
88022012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8803
8804 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8805
cbc00a03
RM
88062012-05-21 Roland McGrath <roland@hack.frob.com>
8807
8808 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8809 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8810 __alignof__ (long double).
8811
478143fa
AZ
88122012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8813
8814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8815
c7683a6d
RH
88162012-05-20 Richard Henderson <rth@twiddle.net>
8817
8818 * misc/getauxval.c: New file.
8819 * misc/sys/auxv.h: New file.
8820 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8821 (routines): Add getauxval.
8822 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8823 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8824 * elf/dl-sysdep.c (_dl_auxv): Remove.
8825 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8826 * elf/dl-support.c (_dl_auxv): New variable.
8827 (_dl_aux_init): Initialize it.
8828 * manual/startup.texi (Auxiliary Vector): New node.
8829 * sysdeps/generic/bits/hwcap.h: New file.
8830 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8831 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8832 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8833 * sysdeps/sparc/sysdep.h: ... here. Include it.
8834 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8835 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8837 Update.
c7683a6d
RH
8838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8841 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8846
a6f1845d
AZ
88472012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8848
8849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8850
cbcbe830
DM
88512012-05-19 David S. Miller <davem@davemloft.net>
8852
8853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8854
e0b16cc2
JM
88552012-05-19 Joseph Myers <joseph@codesourcery.com>
8856
8857 [BZ #14123]
8858 * math/s_ccosh.c: Include <float.h>
8859 (__ccosh): Avoid internal overflow calculating sinh and cosh
8860 values before multiplying by sin and cos values.
8861 * math/s_ccoshf.c: Likewise.
8862 * math/s_ccoshl.c: Likewise.
8863 * math/s_csin.c: Likewise.
8864 * math/s_csinf.c: Likewise.
8865 * math/s_csinl.c: Likewise.
8866 * math/s_csinh.c: Likewise.
8867 * math/s_csinhf.c: Likewise.
8868 * math/s_csinhl.c: Likewise.
8869 * math/libm-test.inc (ccos_test): Add more tests.
8870 (ccosh_test): Likewise.
8871 (csin_test): Likewise.
8872 (csinh_test): Likewise.
8873 * sysdeps/i386/fpu/libm-test-ulps: Update.
8874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8875
6ad13e08
L
88762012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8877
f66f0ce8
L
8878 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8879 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8880
6ad13e08
L
8881 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8882
b1d072a7
JM
88832012-05-19 Joseph Myers <joseph@codesourcery.com>
8884
8885 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8886 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8887 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8888 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8889 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8890 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8891 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8892 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8893 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8894 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8895 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8896 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8897 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8898 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8899 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8900 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8901 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8902 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8903 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8904 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8905 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8906 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8907 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8908 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8909 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8910 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8911 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8912 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8913 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8914 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8915 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8916
9eae47cb
AJ
89172012-05-18 Andreas Jaeger <aj@suse.de>
8918
8919 * csu/.gitignore: Delete.
8920
bb07f69f
L
89212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8922
8923 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8924 (timex): Use __syscall_slong_t.
8925
e6bdb741
AJ
89262012-05-18 Andreas Jaeger <aj@suse.de>
8927 Carlos O'Donell <carlos_odonell@mentor.com>
8928
8929 * manual/install.texi (Configuring and compiling): Update
8930 description about files modified in the source directory.
d6c33fda 8931 * INSTALL: Regenerated.
e6bdb741 8932
1b74487e
L
89332012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8934
8935 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8936 value. Use "or" to set return value to -1.
8937 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8938 negate return value.
8939
a88b64b9
TMQMF
89402012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8941
8942 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8943 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8944 failure if the compiler has Graphite support disabled.
8945 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8946 Likewise.
8947 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8948 CFLAGS-memmove.c): Likewise.
8949 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8950 Likewise.
8951
3707636e
L
89522012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8953
610b8622
L
8954 * sysdeps/x86_64/x32/_itoa.h: New file.
8955
7cd195df
L
8956 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8957 getdents system call only if kernel and user dirents have the
8958 same d_ino and d_off.
8959
94b07d20
L
8960 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8961 LLONG_MAX != LONG_MAX.
8962 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8963 (_fitoa_word): Likewise.
8964
18298070
L
8965 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8966 years.
8967 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8968 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8969 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8970
553c7ea4
L
8971 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8972 include <bits/wordsize.h>. Check __x86_64__ instead of
8973 __WORDSIZE.
8974 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8975 if __x86_64__ is defined. Use anonymous union on fpstate.
8976
3707636e
L
8977 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8978 anonymous union.
8979
b53ef01a
AS
89802012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8981
37fb1dc0
AS
8982 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8983 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8984 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8985 Refer to _rtld_local_ro instead of _rtld_global_ro.
8986 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8987 Likewise.
8988 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8989 Likewise.
8990 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8991 Likewise.
8992 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8993 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8994 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8995
b53ef01a
AS
8996 * sysdeps/powerpc/powerpc32/dl-machine.c
8997 (__elf_machine_runtime_setup) [PROF]: Don't reference
8998 _dl_prof_resolve.
8999
7a185db2
AJ
90002012-05-18 Andreas Jaeger <aj@suse.de>
9001
9002 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9003 function only available for GCCs before 3.4 since GCC 3.4
9004 introduced a builtin.
9005 (lrint): Likewise.
9006 (llrintf): Likewise.
9007 (llrint): Likewise.
9008 (fmaxf): Likewise.
9009 (fmax): Likewise.
9010 (fminf): Likewise.
9011 (fmin): Likewise.
9012 (rint): Likewise.
9013 (rintf): Likewise.
9014 (nearbyint): Likewise.
9015 (nearbyintf): Likewise.
9016 (ceil): Likewise.
9017 (ceilf): Likewise.
9018 (floor): Likewise.
9019 (floorf): Likewise.
9020
3e5aef87
L
90212012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9022
428bd707
L
9023 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9024 on both fields and cast pointer to __syscall_ulong_t.
9025
3e5aef87
L
9026 * bits/types.h (__fsword_t): New type.
9027 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9028 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9029 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9030 (__FSWORD_T_TYPE): Likewise.
9031 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9032 (__FSWORD_T_TYPE): Likewise.
9033 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9034 (__FSWORD_T_TYPE): Likewise.
9035 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9036 (__FSWORD_T_TYPE): Likewise.
9037 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9038 __SWORD_TYPE with __fsword_t.
9039 (statfs64): Likewise.
9040
1ba7c3dc
DM
90412012-05-17 David S. Miller <davem@davemloft.net>
9042
9043 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9044
59910343
AJ
90452012-05-17 Andreas Jaeger <aj@suse.de>
9046
9047 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9048 warning.
9049
2e4c1e9e
L
90502012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9051
9052 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9053
de7f5ce7
AJ
90542012-05-17 Andreas Jaeger <aj@suse.de>
9055
9056 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9057 when it is used.
9058
286abc3d
CM
90592012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9060
9061 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9062
477cc68e
L
90632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9064
9065 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9066 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9067
1a0994f5
CD
90682012-05-17 Andreas Jaeger <aj@suse.de>
9069 Carlos O'Donell <carlos_odonell@mentor.com>
9070
9071 [BZ #14059]
9072 * sysdeps/x86_64/multiarch/init-arch.h
9073 (bit_YMM_Usable): Rename to...
9074 (bit_AVX_Usable): ... this.
9075 (bit_FMA4_Usable): New macro.
9076 (bit_XMM_state): New macro.
9077 (bit_YMM_state): New macro.
9078 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9079 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9080 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9081 (CPUID_OSXSAVE): New macro.
9082 (CPUID_AVX): New macro.
9083 (CPUID_FMA4): New macro.
9084 (index_YMM_Usable): Rename to...
9085 (index_AVX_Usable): ... this.
9086 (HAS_AVX): Use HAS_ARCH_FEATURE.
9087 (HAS_FMA4): Likewise.
9088 (HAS_YMM_USABLE): Remove.
9089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9090 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9091 are present.
9092 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9093 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9094 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9095 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9096 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9097
0af797de
CM
90982012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9099
9100 * math/libm-test.c: Support platforms without multiple rounding modes.
9101 * math/bug-nextafter.c: Support platforms without FP exceptions.
9102 * math/bug-nexttoward.c: Likewise.
9103 * math/test-fenv.c: Likewise.
9104 * math/test-misc.c: Likewise.
9105 * stdlib/bug-getcontext.c: Likewise.
9106
e39745ff
AJ
91072012-05-17 Andreas Jaeger <aj@suse.de>
9108
9109 * manual/examples/search.c (critter_cmp): Change signature to
9110 avoid warnings.
9111 * manual/string.texi (Collation Functions): Likewise.
9112
48970aba
L
91132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9114
9115 * bits/types.h: Fold copyright years.
9116 * bits/typesizes.h: Likewise.
9117 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9118 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9119 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9120 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9121 * time/time.h: Likewise.
9122
bedee953
PP
91232012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9124
9125 [BZ #208]
9126 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9127 in instead of returning them. Return void.
9128 (__libc_mallinfo): Accumulate over all arenas.
9129 (__malloc_stats): Adjust for change in int_mallinfo interface.
9130
61653dfb
RM
91312012-05-16 Roland McGrath <roland@hack.frob.com>
9132
30b99d79
RM
9133 [BZ #10375]
9134 * configure.in (NM): Add AC_CHECK_TOOL for it.
9135 (libc_extra_cflags): New substituted variable.
9136 Check for -fstack-protector being used implicitly.
9137 * configure: Regenerated.
9138 * config.make.in (config-extra-cflags): New variable,
9139 gets @libc_extra_cflags@.
9140 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9141
61653dfb
RM
9142 [BZ #10375]
9143 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9144 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9145 * configure: Regenerated.
9146 * config.make.in (CPPUNDEFS): New substituted variable.
9147 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9148 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9149 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9150
661768bb
L
91512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9152
9153 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9154 (mq_attr): Use __syscall_slong_t.
9155
d4261567
L
91562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9157
9158 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9159 Check __x86_64__ instead of __WORDSIZE.
9160 (_STAT_VER_LINUX): Likewise.
9161 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9162 __syscall_ulong_t and __syscall_slong_t.
9163 (stat64): Likewise.
9164
cf3ff365
L
91652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9166
9167 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9168
76cf3e4d
L
91692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9170
9171 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9172
a637753a
L
91732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9174
9175 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9176 __syscall_ulong_t.
9177
d5e05119
L
9178 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9179 include <bits/wordsize.h>. Check __x86_64__ instead of
9180 __WORDSIZE.
9181 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9182 defined.
9183 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9184
f62ee380
L
9185 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9186 include <bits/wordsize.h>. Check __x86_64__ instead of
9187 __WORDSIZE.
9188 (user_regs_struct): Use "__extension__ unsigned long long"
9189 instead of "unsigned long" if __x86_64__ is defined.
9190 (user): Likewise. Pad after pointer field if __ILP32__ is
9191 defined.
9192
4e124ced
JM
91932012-05-16 Joseph Myers <joseph@codesourcery.com>
9194
6a3951a0
JM
9195 * configure.in (makeinfo): Require version 4.5 or later. Allow
9196 versions 5 to 9.
9197 * configure: Regenerated.
9198 * manual/install.texi (texinfo): Increase version requirement to
9199 4.5 or later.
9200 * INSTALL: Regenerated.
9201
4e124ced
JM
9202 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9203
953ca31a
L
92042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9205
9206 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9207
617aca05
L
9208 * sysdeps/x86_64/x32/ffs.c: New file.
9209
5762f7ae
L
9210 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9211 __syscall_ulong_t.
9212 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9213 defined. Use __syscall_ulong_t.
9214 (shminfo): Use __syscall_ulong_t.
9215 (shm_info): Likewise.
9216
a26b6856
L
9217 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9218 __syscall_ulong_t.
9219
cb2b9ef7
L
9220 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9221 <bits/wordsize.h>.
9222 (msgqnum_t): Use __syscall_ulong_t.
9223 (msglen_t): Likewise.
9224 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9225 __syscall_ulong_t.
9226
34683bb0
L
9227 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9228 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9229
84a68786
L
9230 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9231
48baa5f1
L
9232 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9233 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9234
180be88b
L
9235 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9236 __syscall_slong_t.
9237
5e90c8ad
L
9238 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9239 include <bits/wordsize.h>. Check __x86_64__ instead of
9240 __WORDSIZE.
9241
23dfb58b
L
9242 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9243 "unsigned long long int" if __x86_64__ is defined.
9244 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9245
ce5d54b0
L
9246 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9247 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9248 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9249
13dc9eac
L
9250 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9251 <stdint.h>.
9252 (GET_PC): Cast to uintptr_t first.
9253 (GET_FRAME): Likewise.
9254 (GET_STACK): Likewise.
9255
a7895d15
L
9256 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9257 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9258 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9259 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9260 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9261 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9262 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9263 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9264 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9265 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9266 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9267 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9268 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9269 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9270 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9271 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9272 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9273 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9274 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9275 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9276 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9277 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9278 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9279 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9280 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9281 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9282 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9283 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9284 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9285
656416c9
AS
92862012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9287
5bd66283
AS
9288 * Makerules (+depfiles): Also collect depfiles from .oS in
9289 $(extra-objs).
9290 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9291 .oS, $(libnldbl-routines)).
9292
656416c9
AS
9293 * Makerules (native-compile-mkdep-flags): Define.
9294 * sunrpc/Makefile (extra-objs): Add $(addprefix
9295 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9296 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9297 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9298 calling $(make-target-directory).
9299
a46f2169
L
93002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9301
9302 * bits/types.h (__snseconds_t): Removed.
9303 * time/time.h (struct timespec): Replace __snseconds_t with
9304 __syscall_slong_t.
9305 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9306 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9307 Likewise.
9308 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9309 (__SNSECONDS_T_TYPE): Likewise.
9310 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9311 (__SNSECONDS_T_TYPE): Likewise.
9312 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9313 (__SNSECONDS_T_TYPE): Likewise.
9314
6af6528b
L
93152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9316
9317 * sysdeps/mach/hurd/bits/typesizes.h
9318 (__SYSCALL_SLONG_TYPE): New macro.
9319 (__SYSCALL_ULONG_TYPE): Likewise.
9320
de986b56
L
93212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9322
9323 * bits/types.h (__syscall_slong_t): New type.
9324 (__syscall_ulong_t): Likewise.
9325
9326 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9327 (__SYSCALL_ULONG_TYPE): Likewise.
9328 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9329 (__SYSCALL_SLONG_TYPE): Likewise.
9330 (__SYSCALL_ULONG_TYPE): Likewise.
9331 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9332 (__SYSCALL_SLONG_TYPE): Likewise.
9333 (__SYSCALL_ULONG_TYPE): Likewise.
9334 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9335 (__SYSCALL_SLONG_TYPE): Likewise.
9336 (__SYSCALL_ULONG_TYPE): Likewise.
9337
85736dc7
L
93382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9339
9340 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9341 Add sigaltstack-offsets.sym.
9342 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9343 <sigaltstack-offsets.h>.
9344 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9345 longjmp_msg pointer.
9346 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9347 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9348 signal stack.
9349 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9350
cc03b296
JM
93512012-05-15 Joseph Myers <joseph@codesourcery.com>
9352
a9538892
JM
9353 * elf/stackguard-macros.h: Remove file.
9354 * sysdeps/generic/stackguard-macros.h: New file.
9355 * sysdeps/i386/stackguard-macros.h: Likewise.
9356 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9357 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9358 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9359 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9360 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9361 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9362 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9363 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9364 <elf/stackguard-macros.h>.
9365
cc03b296
JM
9366 [BZ #14109]
9367 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9368 __aligned__ in attribute.
9369 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9370 (gregset_t): Likewise.
9371
93171016
L
93722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9373
9374 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9375 * sysdeps/x86_64/64/Implies-after: Here. New file.
9376 * sysdeps/x86_64/x32/Implies-after: New file.
9377
d86813a0
L
93782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9379
9380 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9381 and access return value for _dl_profile_fixup. Use R10_LP to
9382 load frame size.
9383
2953ec75
L
93842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9385
9386 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9387
3b550e9e
L
93882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9389
9390 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9391 * sysdeps/x86_64/x32/sysdep.h: New file.
9392
eda41706
L
93932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9394
9395 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9396 * sysdeps/x86_64/setjmp.S: Likewise.
9397
9ea01d93
AZ
93982012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9399
9400 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9401 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9402 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9403 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9404 remove unused global constant.
9405
02a91938
CM
94062012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9407
9408 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9409 include of <not-cancel.h>.
9410
6540185f
RM
94112012-05-15 Roland McGrath <roland@hack.frob.com>
9412
9413 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9414
509072a0
AJ
94152012-05-15 Jeff Law <law@redhat.com>
9416 Andreas Jaeger <aj@suse.de>
9417
9418 [BZ #13594]
9419 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9420 out from...
9421 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9422 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9423 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9424 code changing __hst_map_handle.map.
9425
ba75122d
RM
94262012-05-15 Roland McGrath <roland@hack.frob.com>
9427
9428 * configure.in (sysnames): Look for Implies-before and Implies-after
9429 files.
9430 * configure: Regenerated.
9431
890d8bd8
L
94322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9433
9434 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9435 8-byte data alignment with LP_SIZE alignment.
9436
f6ee6623
L
94372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9438
9439 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9440 into R10_LP.
9441
ea2626f6
L
94422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9443
9444 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9445
085f715e
L
94462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9447
9448 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9449 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9450 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9451 Likewise.
9452 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9453
be8498fc
L
94542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9455
9456 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9457 (stackinfo_sub_sp): Likewise.
9458
70bc83b9
L
94592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9460
9461 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9462 RAX_LP.
9463
9bc0b730
L
94642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9465
9466 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9467 into R*_LP.
9468
6d2850e7
L
94692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9470
9471 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9472 sizes into R*_LP.
9473
3cb84561
L
94742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9475
9476 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9477
54e2ed81
L
94782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9479
9480 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9481 into R11_LP and load __x86_64_shared_cache_size_half into
9482 R8_LP.
9483
8a17f349
L
94842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9485
9486 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9487 R8_LP.
9488
777b1eea
AZ
94892012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9490
9491 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9492 logb for POWER7.
9493 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9494 logbf for POWER7.
9495 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9496 logbl for POWER7.
9497 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9498 powerpc32/power7/fpu/s_logb.c via #include.
9499 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9500 powerpc32/power7/fpu/s_logbf.c via #include.
9501 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9502 powerpc32/power7/fpu/s_logbl.c via #include.
9503
d20d4ac2
JM
95042012-05-15 Joseph Myers <joseph@codesourcery.com>
9505
9506 * README.libm: Remove file.
9507
6cdef1ab
L
95082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9509
9510 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9511 count for x32. Use R*_LP and omit operand-size suffix.
9512
0b254d8f
L
95132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9514
9515 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9516 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9517 * sysdeps/x86_64/x32/shlib-versions: New file.
9518
ceb809dc
RM
95192012-05-14 Roland McGrath <roland@hack.frob.com>
9520
9521 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9522 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9523 Use _dl_fatal_printf instead.
9524
37f1abd4
JM
95252012-05-14 Joseph Myers <joseph@codesourcery.com>
9526
9527 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9528 set if not set by the user. Do not allow for being unset.
9529 * sysdeps/unix/sysv/linux/configure: Regenerated.
9530
11de3a33
L
95312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9532
9533 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9534 the `q' suffix from lea and replace .quad with ASM_ADDR.
9535
e02f153a
L
95362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9537
9538 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9539 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9540 instead of $17.
9541 (PTR_DEMANGLE): Likewise.
9542
520ae0fd
L
95432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9544
9545 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9546 (LP_OP): Likewise.
9547 (ASM_ADDR): Likewise.
9548 (RAX_LP): Likewise.
9549 (RBP_LP): Likewise.
9550 (RBX_LP): Likewise.
9551 (RCX_LP): Likewise.
9552 (RDI_LP): Likewise.
9553 (RSI_LP): Likewise.
9554 (RSP_LP): Likewise.
9555 (R8_LP): Likewise.
9556 (R9_LP): Likewise.
9557 (R10_LP): Likewise.
9558 (R10_LP): Likewise.
9559 (R11_LP): Likewise.
9560 (R12_LP): Likewise.
9561 (R13_LP): Likewise.
9562 (R14_LP): Likewise.
9563 (R15_LP): Likewise.
9564
b985be81
L
95652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9566
9567 * sysdeps/x86_64/x32/dl-machine.h: New file.
9568
6a4888ff
AJ
95692012-05-14 Andreas Jaeger <aj@suse.de>
9570
9571 * manual/Makefile (subdir): Remove export of subdir.
9572 (all): Remove target.
9573 (.PHONY): Remove all from list.
9574 (mkinstalldirs): Remove.
9575 (.PHONY): Remove installdirs from list.
9576 ($(inst_infodir)/libc.info): Use make-target-directory.
9577 (installdirs): Remove.
9578 (subdir_%): Remove.
9579 (glibc-targets): Remove.
9580 (lib): Remove.
9581 (stubs): Remove.
9582 ($(objpfx)stubs ../po/manual.pot): Remove.
9583 ($(objpfx)stamp%): Remove.
9584 (make-target-directory): Remove.
9585 (subdir_install): Remove.
9586 (routines): Remove.
9587 (aux): Remove.
9588 (sources): Remove.
9589 (objects): Remove.
9590 (headers): Remove.
9591
9592 [BZ #13750]
9593 * manual/.gitignore: Remove, it's not needed anymore.
9594 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9595 all files in it.
9596 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9597 directory.
9598 (texis): Renamed to $(objpfx)texis.
9599 (texis-path): New, contains path to generated files.
9600 (chapters.%): Use texis-path for complete path, add extra argument
9601 libc-texinfo.sh.
9602 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9603 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9604 (summary,texi, stamp-summary): Use complete path of
9605 files. Generate files in build dir.
9606 (dir-add.texi): Build in build dir.
9607 (libm-err.texi,stamp-libm-err): Likewise.
9608 (version.texi, stamp-version): Likewise.
9609 (.%c.texi): Likewise.
9610 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9611 (mostlyclean): Remove target.
9612 (realclean): Remove target.
9613 (generated): Add new variable with contents from mostlyclean and
9614 realclean, remove entries duplicated in common-mostlyclean, add
9615 stamp-libm-err and stamp-version.
9616 (generated-dirs): Add libc directory.
9617 ($(inst_infodir)/libc.info): Install files from build dir.
9618
9619 * manual/install.texi (Configuring and compiling): Adjust since
9620 the info files are not part of the tar ball anymore.
9621
7ac77294
AJ
96222012-05-14 Andreas Jaeger <aj@suse.de>
9623
9624 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9625 variable.
9626
ffb7875d
JM
96272012-05-14 Joseph Myers <joseph@codesourcery.com>
9628
9629 [BZ #13717]
9630 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9631 to 2.2.0 where earlier.
9632 * sysdeps/unix/sysv/linux/configure: Regenerated.
9633 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9634 Remove conditional code.
9635 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9636 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9637 Remove conditional code.
9638 [!__NR_lchown]: Likewise.
9639 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9640 [__NR_lchown]: Likewise.
9641 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9642 comment referencing __ASSUME_LCHOWN_SYSCALL.
9643 * sysdeps/unix/sysv/linux/i386/sigaction.c
9644 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9645 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9646 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9647 Remove conditional code.
9648 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9649 (__protocol_available): Remove #if 0 code.
9650 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9651 conditional code.
9652 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9653 * sysdeps/unix/sysv/linux/kernel-features.h
9654 (__ASSUME_GETCWD_SYSCALL): Don't define.
9655 (__ASSUME_REALTIME_SIGNALS): Likewise.
9656 (__ASSUME_PREAD_SYSCALL): Likewise.
9657 (__ASSUME_PWRITE_SYSCALL): Likewise.
9658 (__ASSUME_POLL_SYSCALL): Likewise.
9659 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9660 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9661 non-SPARC.
9662 (__ASSUME_SIOCGIFNAME): Don't define.
9663 (__ASSUME_MSG_NOSIGNAL): Likewise.
9664 (__ASSUME_SENDFILE): Define unconditionally.
9665 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9666 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9667 conditional code.
9668 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9669 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9670 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9671 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9672 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9673 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9674 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9676 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9677 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9679 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9680 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9682 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9683 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9685 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9686 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9688 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9689 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9691 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9692 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9694 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9697 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9698 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9699 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9700 Remove conditional code.
9701 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9702 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9703 Remove conditional code.
9704 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9705 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9706 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9707 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9708 Remove conditional code.
9709 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9710 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9711 Remove conditional code.
9712 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9713 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9714 Remove conditional code.
9715 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9716 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9717 Remove conditional code.
9718 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9719 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9720 Remove conditional code.
9721 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9722 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9723 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9724 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9725 * sysdeps/unix/sysv/linux/sigaction.c
9726 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9727 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9728 * sysdeps/unix/sysv/linux/sigpending.c
9729 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9730 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9731 * sysdeps/unix/sysv/linux/sigprocmask.c
9732 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9733 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9734 * sysdeps/unix/sysv/linux/sigsuspend.c
9735 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9736 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9737 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9738 (__libc_missing_rt_sigs): Remove.
9739 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9740 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9741 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9742 Remove conditional code.
9743 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9744 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9745 return 1.
9746 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9747 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9748 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9749 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9750
1bfb7291
AJ
97512012-05-14 Andreas Jaeger <aj@suse.de>
9752
caae5a81
AJ
9753 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9754 it's not used in glibc.
9755 (__coshm1): Likewise.
9756 (__acosh1p): Likewise.
9757 (__sgn): Likewise.
9758
1bfb7291
AJ
9759 * manual/string.texi (Copying and Concatenation): Add missing
9760 variable in concat example.
9761 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9762
c044d724
L
97632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9764
144c5467 9765 [BZ #14103]
c044d724
L
9766 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9767 __builtin_clzl with __builtin_clzll.
9768
2523c62b
L
97692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9770
9771 [BZ #14104]
9772 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9773 libc_freeres_ptr.
9774
d7bb4c42
LD
97752012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9776
9777 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9778 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9779 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9780 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9781
9dc4e1fb
MF
97822012-05-14 Mike Frysinger <vapier@gentoo.org>
9783
9784 * NEWS: Update ia64 info.
9785
c7df0112
AS
97862012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9787
9788 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9789 used as bcopy.
9790
dc70356c
TS
97912012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9792
9793 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9794 * sysdeps/unix/syscalls.list (dup3): Likewise.
9795 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9796 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9797
9fb1a21f
L
97982012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9799
9800 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9801 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9802
4822a2a5
L
98032012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9804
9805 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9806 thread pointer.
9807 (TLS_IE): Use mov/add instead of movq/addq to load thread
9808 pointer.
9809 (TLS_GD_PREFIX): New.
9810 (TLS_GD): Use it.
9811
842b81d6
DM
98122012-05-11 David S. Miller <davem@davemloft.net>
9813
9814 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9815 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9816 (_FPU_SETCW): Likewise.
9817
1cf463cd
L
98182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9819
9820 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9821 is 32-byte aligned.
9822
60cc4a18
AS
98232012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9824
9825 [BZ #11837]
9826 * iconvdata/gb18030.c: Update tables.
9827 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9828 characters specially.
9829 (BODY for TO_LOOP): Add encoding of missing ranges.
9830
febb44a4
TS
98312012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9832
9833 [BZ #13673]
9834 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9835 * sysdeps/mach/hurd/dup3.c: Likewise.
9836 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9837 * sysdeps/powerpc/memmove.c:: Likewise.
9838
0a10fb9e
L
98392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9840
9841 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9842 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9843
df8a552f
L
98442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9845
9846 * elf/elf.h (R_X86_64_RELATIVE64): New.
9847 (R_X86_64_NUM): Updated.
9848 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9849 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9850 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9851 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9852 tst-quad1pie tst-quad2pie
9853 (modules-names): Add tst-quadmod1 tst-quadmod2.
9854 ($(objpfx)tst-quad1): New dependency.
9855 ($(objpfx)tst-quad2): Likewise.
9856 ($(objpfx)tst-quad1pie): Likewise.
9857 ($(objpfx)tst-quad2pie): Likewise.
9858 * sysdeps/x86_64/tst-quad1.c: New file.
9859 * sysdeps/x86_64/tst-quad1pie.c: New file.
9860 * sysdeps/x86_64/tst-quad2.c: Likewise.
9861 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9862 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9863 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9864 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9865 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9866
f34d6f84
ST
98672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9868
f42d41d1
ST
9869 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9870 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9871 * streams/stropts.h (t_scalar_t): Define type.
9872
3c3571fc
ST
9873 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9874 (_PATH_PRESERVE): Set to "/var/lib".
9875 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9876
61f06bd3
ST
9877 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9878 instead of int.
9879
918d4d71
ST
9880 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9881 if __dir_mkfile succeeded.
9882
f34d6f84
ST
9883 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9884 checking for _hurd_dtablesize. Unlock it right after having
9885 finished _hurd_dtable allocation.
9886
10589b4a
TS
98872012-05-10 Thomas Schwinge <thomas@schwinge.name>
9888
674cdbc7
TS
9889 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9890 * sysdeps/mach/hurd/configure: Regenerated.
9891 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9892 special-casing to...
9893 * sysdeps/gnu/configure.in: ... this new file.
9894 * sysdeps/unix/sysv/linux/configure: Regenerated.
9895 * sysdeps/gnu/configure: New generated file.
9896
8e41b99f
TS
9897 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9898 for Linux: use nsec instead of usec, as well as:
9899 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9900 members of type struct timespec.
9901 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9902 New macros.
9903 (struct stat64): Likewise.
9904 (_STATBUF_ST_NSEC): New macro.
9905 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9906
10589b4a
TS
9907 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9908 __strtoul_internal rather than strtoul.
9909
63643c85
PT
99102012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9911
9912 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9913 and reject them.
9914
3faebe6a
ST
99152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9916
9917 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9918 which preserves existing values.
9919 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9920
c6474b07
PT
99212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9922
9923 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9924 TIMEOUT values. Return EINVAL for NFDS values either negative or
9925 greater than FD_SETSIZE.
9926
1043890b
ST
99272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9928
9929 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9930 allocated, call __vm_protect to finish enabling the existing space, and
9931 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9932 allocate the remainder.
9933
37ed8b9b
PT
99342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9935
9936 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9937 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9938
db653660
ST
99392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9940
37ed8b9b
PT
9941 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9942 sysdeps/mach/hurd/readlink.c.
b29d4053 9943
db653660
ST
9944 * posix/tst-sysconf.c (posix_options): Only use
9945 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9946 _POSIX_SYNCHRONIZED_IO when they are defined
9947 * sysdeps/mach/hurd/bits/posix_opt.h:
9948 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9949 (_XOPEN_REALTIME): Undefine macro.
9950 (_XOPEN_REALTIME_THREADS): Undefine macro.
9951 (_XOPEN_SHM): Undefine macro.
9952 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9953 macro to -1.
9954 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9955 macro to -1.
9956 (_POSIX_ASYNC_IO): Undefine macro.
9957 (_POSIX_PRIORITIZED_IO): Undefine macro.
9958 (_POSIX_SPIN_LOCKS): Define macro to -1.
9959
ee16e894
ST
9960 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9961 SA_NODEFER, SA_RESETHAND.
9962 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9963 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9964 F_DUPFD_CLOEXEC.
9965
6103ae3b
TS
99662012-05-10 Thomas Schwinge <thomas@schwinge.name>
9967
9968 * elf/Makefile (pldd-modules): Define unconditionally.
9969
80b4e5f3
TS
99702012-05-10 Thomas Schwinge <thomas@schwinge.name>
9971
9972 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9973
edadcbd6
ST
99742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9975
9976 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9977 Return ENOENT when name is empty.
9978 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9979
80694780
TS
99802012-05-10 Thomas Schwinge <thomas@schwinge.name>
9981
1792c087
TS
9982 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9983
80694780
TS
9984 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9985
6b645f0d
ST
99862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9987
80694780
TS
9988 Fix mlock in all cases except non-readable pages.
9989 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9990 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9991
6b645f0d
ST
9992 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9993 (__mkdir): When path is `/', just fail with EEXIST.
9994 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9995
e468f8a3
TS
99962012-05-10 Thomas Schwinge <thomas@schwinge.name>
9997
9998 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9999 <sys/uio.h> (for writev).
10000 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10001 and <sys/param.h> (for MIN).
10002
a4186cff
PT
100032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10004
10005 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10006 REQUESTED_TIME. Properly set the remaining time and return EINTR
10007 if interrupted.
10008
510bbf14
TS
100092012-05-10 Thomas Schwinge <thomas@schwinge.name>
10010
10011 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10012 Depend on against $(link-rpcuserlibs).
10013
5d5722e8
ST
100142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10015
a4186cff
PT
10016 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10017 (__libc_stack_end): Do not use attribute_relro.
10018 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10019 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 10020 to libthread-provided value.
a4186cff
PT
10021 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10022 attribute_relro.
5d5722e8 10023
37233df9
TS
100242012-05-10 Thomas Schwinge <thomas@schwinge.name>
10025
be971a2b
TS
10026 [BZ #3748]
10027 * bits/libc-lock.h (__libc_once_get): New macro.
10028 * sysdeps/mach/bits/libc-lock.h: Likewise.
10029 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10030 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10031 instead of using implementation details.
10032
37233df9
TS
10033 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10034 * libio/freopen.c: Likewise.
10035 * libio/freopen64.c: Likewise.
10036 * misc/syslog.c: Likewise.
10037 * nscd/connections.c: Likewise.
10038 * nscd/netgroupcache.c: Likewise.
10039 * sysdeps/posix/getcwd.c: Likewise.
10040
38de94a5
RM
100412012-05-10 Roland McGrath <roland@hack.frob.com>
10042
10043 * math/w_ilogbf.c: Add #include <limits.h>.
10044
67530489
ST
100452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10046
a4186cff 10047 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
10048 path instead of returning without unlocking.
10049
67530489
ST
10050 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10051 immediate-write ioctls.
10052 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10053
5aa3a74a
TS
100542012-05-10 Thomas Schwinge <thomas@schwinge.name>
10055
18bad2ae
TS
10056 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10057 __builtin_frame_address instead of making assumptions about the
10058 location of the return address relative to DATA. Force early load of
10059 the return address.
10060 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10061 __builtin_frame_address.
10062
5aa3a74a
TS
10063 dup3 for GNU Hurd.
10064 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10065 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10066 implement dup3 and do some further code clean-ups.
10067 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10068 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10069
ecd0de9a
ST
100702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10071
cd9fa985
ST
10072 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10073
a4186cff
PT
10074 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10075 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10076 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10077 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10078 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10079 d->port.lock.
802ca5a5 10080
a4186cff
PT
10081 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10082 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10083 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 10084
bcf55240
TS
100852012-05-10 Thomas Schwinge <thomas@schwinge.name>
10086
6960eb42
TS
10087 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10088 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10089 definitions.
10090
eb43375f
TS
10091 accept4 for GNU Hurd.
10092 * include/sys/socket.h (__libc_accept4): New prototype.
10093 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10094 to implement __libc_accept4.
10095 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10096 __libc_accept4.
10097 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10098
bcf55240
TS
10099 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10100 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10101 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10102 signal-defines.sym.
10103
6178c55b
ST
101042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10105
a4186cff 10106 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 10107
6f080c2f
TS
101082012-05-10 Thomas Schwinge <thomas@schwinge.name>
10109
10110 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10111 assertion on O_CLOEXEC flag.
10112 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10113 * hurd/intern-fd.c: Likewise.
10114 * hurd/port2fd.c: Likewise.
10115
bcfe3a54
ST
101162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10117
10118 [BZ #3906]
10119 * bits/in.h (IPV6_PKTINFO): Define new macro.
10120 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10121
89c9aa49
AZ
101222012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10123
10124 [BZ #13954]
10125 [BZ #13955]
10126 [BZ #13956]
10127 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10128 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10129 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10130 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10131 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10132 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10133 * math/libm-test.inc (logb_test) : Additional logb tests.
10134
021db4be
AJ
101352012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10136 Andreas Jaeger <aj@suse.de>
10137
10138 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10139 * configure: Regenerated.
10140 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10141 * config.make.in (link-obsolete-rpc): New substituted variable.
10142 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10143 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10144 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10145 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10146 so that libc.a contains the symbols.
10147 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10148 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10149 * sunrpc/auth_none.c: Likewise.
10150 * sunrpc/auth_unix.c: Likewise.
10151 * sunrpc/authdes_prot.c: Likewise.
10152 * sunrpc/authuxprot.c: Likewise.
10153 * sunrpc/clnt_gen.c: Likewise.
10154 * sunrpc/clnt_perr.c: Likewise.
10155 * sunrpc/clnt_raw.c: Likewise.
10156 * sunrpc/clnt_simp.c: Likewise.
10157 * sunrpc/clnt_tcp.c: Likewise.
10158 * sunrpc/clnt_udp.c: Likewise.
10159 * sunrpc/clnt_unix.c: Likewise.
10160 * sunrpc/des_crypt.c: Likewise.
10161 * sunrpc/des_soft.c: Likewise.
10162 * sunrpc/get_myaddr.c: Likewise.
10163 * sunrpc/key_call.c: Likewise.
10164 * sunrpc/key_prot.c: Likewise.
10165 * sunrpc/netname.c: Likewise.
10166 * sunrpc/pm_getmaps.c: Likewise.
10167 * sunrpc/pm_getport.c: Likewise.
10168 * sunrpc/pmap_clnt.c: Likewise.
10169 * sunrpc/pmap_prot.c: Likewise.
10170 * sunrpc/pmap_prot2.c: Likewise.
10171 * sunrpc/pmap_rmt.c: Likewise.
10172 * sunrpc/publickey.c: Likewise.
10173 * sunrpc/rpc_cmsg.c: Likewise.
10174 * sunrpc/rpc_common.c: Likewise.
10175 * sunrpc/rpc_dtable.c: Likewise.
10176 * sunrpc/rpc_prot.c: Likewise.
10177 * sunrpc/rpc_thread.c: Likewise.
10178 * sunrpc/rtime.c: Likewise.
10179 * sunrpc/svc.c: Likewise.
10180 * sunrpc/svc_auth.c: Likewise.
10181 * sunrpc/svc_raw.c: Likewise.
10182 * sunrpc/svc_run.c: Likewise.
10183 * sunrpc/svc_tcp.c: Likewise.
10184 * sunrpc/svc_udp.c: Likewise.
10185 * sunrpc/svc_unix.c: Likewise.
10186 * sunrpc/svcauth_des.c: Likewise.
10187 * sunrpc/xcrypt.c: Likewise.
10188 * sunrpc/xdr.c: Likewise.
10189 * sunrpc/xdr_array.c: Likewise.
10190 * sunrpc/xdr_float.c: Likewise.
10191 * sunrpc/xdr_intXX_t.c: Likewise.
10192 * sunrpc/xdr_mem.c: Likewise.
10193 * sunrpc/xdr_rec.c: Likewise.
10194 * sunrpc/xdr_ref.c: Likewise.
10195 * sunrpc/xdr_sizeof.c: Likewise.
10196 * sunrpc/xdr_stdio.c: Likewise.
10197
b5c086a2
RM
101982012-05-10 Roland McGrath <roland@hack.frob.com>
10199
10200 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10201 change. Update copyright years.
10202
6d74dd09
JM
102032012-05-10 Joseph Myers <joseph@codesourcery.com>
10204
10205 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10206
28e72501
MK
102072012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10208 Joseph Myers <joseph@codesourcery.com>
10209 Paul Pluzhnikov <ppluzhnikov@google.com>
10210
10211 [BZ #14012]
10212 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10213 requiring rpcgen.
10214 [cross-compiling] (extra-libs): Likewise.
10215 [cross-compiling] (extra-libs-others): Likewise.
10216 [cross-compiling] (librpcsvc-routines): Likewise.
10217 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10218 [cross-compiling] (omit-deps): Likewise.
10219 (sunrpc-CPPFLAGS): New variable.
10220 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10221 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10222 (cross-rpcgen-objs): New variable.
10223 (extra-objs): Append $(cross-rpcgen-objs).
10224 ($(cross-rpcgen-objs)): New rule.
10225 ($(objpfx)cross-rpcgen): Likewise.
10226 (rpcgen-cmd): Define to use $(built-program-file). Expand
10227 comment.
10228 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10229 ($(objpfx)x%.stmp): Likewise.
10230 * sunrpc/proto.h [IS_IN_build] (_): Define.
10231 [IS_IN_build] (_libc_intl_domainname): Likewise.
10232
c8c59454
L
102332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10234
10235 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10236 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10237 and R_X86_64_TPOFF64.
10238
6f27cd16
JM
102392012-05-10 Joseph Myers <joseph@codesourcery.com>
10240
10241 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10242 sysdeps/unix/sysv/syscalls.list.
10243 (stime): Likewise.
10244 (utime): Likewise.
10245 * sysdeps/unix/sysv/syscalls.list: Remove file.
10246
02467e1c
PE
102472012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10248
10249 [BZ #3440]
10250 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10251 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10252 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10253 (__LC_IDENTIFICATION): Make these macros useful in #if
10254 expressions, as required by C99.
10255
da392631
AS
102562012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10257
10258 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10259 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10260 after this.
10261
8115f29b
L
102622012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10263
10264 * stdlib/longlong.h: Updated from GCC.
10265
bdd74070
AJ
102662012-05-09 Andreas Jaeger <aj@suse.de>
10267
edfe0dbe
AJ
10268 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10269 default is first entry.
10270 (run_mode): Set type.
10271 (main): Remove informal message about syslog.
10272 (options): Fix typo.
10273
bcfe3a54
ST
10274 [BZ #14053]
10275 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 10276 to asm.
bcfe3a54
ST
10277 (lrint): Likewise.
10278 (llrintf): Likewise.
10279 (llrint): Likewise.
10280 (rint): Likewise.
10281 (rintf): Likewise.
10282 (nearbyint): Likewise.
10283 (nearbyintf): Likewise.
bdd74070 10284
91d8d69e
AJ
102852012-05-09 Andreas Jaeger <aj@suse.de>
10286 Pedro Alves <palves@redhat.com>
10287
10288 * nscd/nscd.c (run_mode): Use enum.
10289 (main): Cleanup coding style issue.
10290
bb90b80b
AJ
102912012-05-09 Alexandre Oliva <aoliva@redhat.com>
10292 Andreas Jaeger <aj@suse.de>
10293
bcfe3a54
ST
10294 * nscd/nscd.c (go_background): Replaced with...
10295 (run_mode): ... this.
bb90b80b 10296 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
10297 (options): Add -F --foreground.
10298 (main): Implement it.
10299 (parse_opt): Parse it.
bb90b80b 10300
1a4b75a1
AJ
103012012-05-09 Andreas Jaeger <aj@suse.de>
10302
10303 [BZ #14083]
10304 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10305 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10306 -Wconversion warning.
10307 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10308 Likewise.
10309
b1cc2472
JM
103102012-05-09 Joseph Myers <joseph@codesourcery.com>
10311
10312 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10313 == 0.
10314 (LC_ALL): Use macro-int-constant.
10315 (LC_COLLATE): Likewise.
10316 (LC_CTYPE): Likewise.
10317 (LC_MESSAGES): Likewise.
10318 (LC_MONETARY): Likewise.
10319 (LC_NUMERIC): Likewise.
10320 (LC_TIME): Likewise.
10321 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10322 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10323 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10324 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10325 Specify type.
10326 [C99-based standards] (float_t): Expect type.
10327 [C99-based standards] (double_t): Expect type.
10328 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10329 type.
10330 [C99-based standards] (HUGE_VALL): Likewise.
10331 [C99-based standards] (INFINITY): Likewise.
10332 [C99-based standards] (NAN): Likewise.
10333 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10334 [C99-based standards] (FP_NAN): Likewise.
10335 [C99-based standards] (FP_NORMAL): Likewise.
10336 [C99-based standards] (FP_SUBNORMAL): Likewise.
10337 [C99-based standards] (FP_ZERO): Likewise.
10338 [C99-based standards] (FP_FAST_FMA): Use
10339 optional-macro-int-constant. Specify type. Require == 1.
10340 [C99-based standards] (FP_FAST_FMAF): Likewise.
10341 [C99-based standards] (FP_FAST_FMAL): Likewise.
10342 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10343 [C99-based standards] (FP_ILOGBNAN): Likewise.
10344 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10345 Specify type.
10346 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10347 [C99-based standards] (math_errhandling): Specify type.
10348 [ISO99 || ISO11] (signgam): Do not allow.
10349 [non-C99-based standards] (copysignf): Do not allow.
10350 [non-C99-based standards] (exp2f): Likewise.
10351 [non-C99-based standards] (log2f): Likewise.
10352 [non-C99-based standards] (modff): Allow.
10353 [non-C99-based standards] (erff): Do not allow.
10354 [non-C99-based standards] (erfcf): Likewise.
10355 [non-C99-based standards] (gammaf): Likewise.
10356 [non-C99-based standards] (hypotf): Likewise.
10357 [non-C99-based standards] (j0f): Likewise.
10358 [non-C99-based standards] (j1f): Likewise.
10359 [non-C99-based standards] (jnf): Likewise.
10360 [non-C99-based standards] (lgammaf): Likewise.
10361 [non-C99-based standards] (tgammaf): Likewise.
10362 [non-C99-based standards] (y0f): Likewise.
10363 [non-C99-based standards] (y1f): Likewise.
10364 [non-C99-based standards] (ynf): Likewise.
10365 [non-C99-based standards] (isnanf): Likewise.
10366 [non-C99-based standards] (acoshf): Likewise.
10367 [non-C99-based standards] (asinhf): Likewise.
10368 [non-C99-based standards] (atanhf): Likewise.
10369 [non-C99-based standards] (cbrtf): Likewise.
10370 [non-C99-based standards] (expm1f): Likewise.
10371 [non-C99-based standards] (ilogbf): Likewise.
10372 [non-C99-based standards] (log1pf): Likewise.
10373 [non-C99-based standards] (logbf): Likewise.
10374 [non-C99-based standards] (nextafterf): Likewise.
10375 [non-C99-based standards] (remainderf): Likewise.
10376 [non-C99-based standards] (rintf): Likewise.
10377 [non-C99-based standards] (scalbf): Likewise.
10378 [non-C99-based standards] (copysignl): Likewise.
10379 [non-C99-based standards] (exp2l): Likewise.
10380 [non-C99-based standards] (log2l): Likewise.
10381 [non-C99-based standards] (modfl): Allow.
10382 [non-C99-based standards] (erfl): Do not allow.
10383 [non-C99-based standards] (erfcl): Likewise.
10384 [non-C99-based standards] (gammal): Likewise.
10385 [non-C99-based standards] (hypotl): Likewise.
10386 [non-C99-based standards] (j0l): Likewise.
10387 [non-C99-based standards] (j1l): Likewise.
10388 [non-C99-based standards] (jnl): Likewise.
10389 [non-C99-based standards] (lgammal): Likewise.
10390 [non-C99-based standards] (tgammal): Likewise.
10391 [non-C99-based standards] (y0l): Likewise.
10392 [non-C99-based standards] (y1l): Likewise.
10393 [non-C99-based standards] (ynl): Likewise.
10394 [non-C99-based standards] (isnanl): Likewise.
10395 [non-C99-based standards] (acoshl): Likewise.
10396 [non-C99-based standards] (asinhl): Likewise.
10397 [non-C99-based standards] (atanhl): Likewise.
10398 [non-C99-based standards] (cbrtl): Likewise.
10399 [non-C99-based standards] (expm1l): Likewise.
10400 [non-C99-based standards] (ilogbl): Likewise.
10401 [non-C99-based standards] (log1pl): Likewise.
10402 [non-C99-based standards] (logbl): Likewise.
10403 [non-C99-based standards] (nextafterl): Likewise.
10404 [non-C99-based standards] (remainderl): Likewise.
10405 [non-C99-based standards] (rintl): Likewise.
10406 [non-C99-based standards] (scalbl): Likewise.
10407 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10408 [non-C99-based standards] (FP_*): Do not allow.
10409 [C99-based standards] (FP_*): Change to
10410 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10411 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10412 allow.
10413 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10414 (SIG_ERR): Likewise.
10415 [X/Open-based standards] (SIG_HOLD): Likewise.
10416 (SIG_IGN): Likewise.
10417 (SIGABRT): Use macro-int-constant. Specify type. Require
10418 positive value.
10419 (SIGFPE): Likewise.
10420 (SIGILL): Likewise.
10421 (SIGINT): Likewise.
10422 (SIGSEGV): Likewise.
10423 (SIGTER): Likewise.
10424 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10425 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10426 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10427 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10428 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10429 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10430 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10431 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10432 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10433 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10434 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10435 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10436 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10437 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10438 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10439 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10440 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10441 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10442 [X/Open-based standards] (SIGTRAP): Likewise.
10443 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10444 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10445 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10446 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10447 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10448 allow.
10449
b9f1922d
IW
104502012-05-08 Ian Wienand <ianw@vmware.com>
10451
10452 [BZ #14080]
10453 * time/tzset.c (__tzset_parse_tz): Update default rules for
10454 daylight time changes in the Energy Policy Act of 2005.
10455
1db86e88
AJ
104562012-05-09 Andreas Jaeger <aj@suse.de>
10457
10458 [BZ #13983]
10459 * elf/ldconfig.c (parse_conf): Change string to make clear that
10460 ldconfig only issued a warning if ld.so.conf does not exist.
10461
dee4a4e3
DM
104622012-05-08 David S. Miller <davem@davemloft.net>
10463
ee0db190
DM
10464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10465 movxtod instead of popping the value on the stack.
10466
dee4a4e3
DM
10467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10468
6a43ec98
CD
104692012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10470
10471 * config.h.in: Add HAVE_ARM_PCS_VFP.
10472
05c2c961
RMG
104732012-05-08 Roland Mc Grath <roland@hack.frob.com>
10474
bcfe3a54
ST
10475 [BZ #13979]
10476 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10477 checking but the checks are disabled for any reason.
05c2c961 10478
4b30f61a
L
104792012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10480
10481 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10482 and ELF64_R_TYPE with ELFW(R_TYPE).
10483
eee2bc67
JM
104842012-05-08 Joseph Myers <joseph@codesourcery.com>
10485
7ea5391a
JM
10486 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10487 (ulimit): Likewise.
10488
eee2bc67
JM
10489 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10490 (settimeofday): Likewise.
10491
abb66a67
MF
104922012-05-08 Mike Frysinger <vapier@gentoo.org>
10493
10494 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10495 a struct th_u2 inside the union, and move tu_block/tu_code into
10496 a new th_u3 union of tu_block/tu_code inside of that. Move
10497 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10498 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10499 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10500 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10501 (th_stuff): Change to th_u1.tu_stuff.
10502 (th_data): Define.
10503 (th_msg): Change to th_u1.th_u2.tu_data.
10504
7f18b530
DM
105052012-05-07 David S. Miller <davem@davemloft.net>
10506
05760585
DM
10507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10508
7f18b530
DM
10509 [BZ #14074]
10510 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10511 (SETUP_PIC_REG): Use it.
10512 (SETUP_PIC_REG_LEAF): Use it.
10513
495fd99f
JM
105142012-05-07 Joseph Myers <joseph@codesourcery.com>
10515
10516 [BZ #13885]
10517 [BZ #13923]
10518 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10519 USE_AS_EXPM1L.
10520 (EXPL_FINITE): Likewise.
10521 (FLDLOG): Likewise.
10522 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10523 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10524 e_expl.S.
10525 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10526 USE_AS_EXPM1L.
10527 (EXPL_FINITE): Likewise.
10528 (FLDLOG): Likewise.
10529 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10530 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10531 e_expl.S.
10532 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10533 test of -max_value argument for long double.
10534 * sysdeps/i386/fpu/libm-test-ulps: Update.
10535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10536
6693d694
DM
105372012-05-06 David S. Miller <davem@davemloft.net>
10538
10539 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10540 quad soft-float symbols whose references which are compiler
10541 generated.
10542 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10543
6c23e11c
JM
105442012-05-06 Joseph Myers <joseph@codesourcery.com>
10545
d8b82cad
JM
10546 [BZ #13884]
10547 [BZ #13914]
10548 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10549 USE_AS_EXP10L.
10550 (EXPL_FINITE): Likewise.
10551 (FLDLOG): Likewise.
10552 (c0): Likewise.
10553 (c1): Likewise.
10554 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10555 Adjust comments for base varying.
10556 (__expl_finite): Change alias to EXPL_FINITE.
10557 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10558 e_expl.S.
10559 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10560 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10561 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10562 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10563 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10564 USE_AS_EXP10L.
10565 (EXPL_FINITE): Likewise.
10566 (FLDLOG): Likewise.
10567 (c0): Likewise.
10568 (c1): Likewise.
10569 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10570 Adjust comments for base varying.
10571 (__expl_finite): Change alias to EXPL_FINITE.
10572 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10573 tests for bugs.
10574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10575
6c23e11c
JM
10576 [BZ #14064]
10577 * math/libm-test.inc (check_float_internal): Correct ulp
10578 calculation for subnormal expected results.
10579
29ba805c
AJ
105802012-05-06 Andreas Jaeger <aj@suse.de>
10581
10582 * Makeconfig (+math-flags): New, set to -frounding-math.
10583 (+cflags): Add +math-flags so that all of glibc gets compiled with
10584 it.
10585
10586 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10587
7b17aeda
JM
105882012-05-05 Joseph Myers <joseph@codesourcery.com>
10589
5779f134
JM
10590 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10591 Disable one test.
10592
41498f4d
JM
10593 [BZ #13787]
10594 [BZ #13922]
10595 [BZ #14036]
10596 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10597 (__ieee754_expl): Allow for and saturate large arguments.
10598 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10599 (u_threshold): Likewise.
10600 (__exp): Call __ieee754_exp before checking for overflow and
10601 underflow.
10602 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10603 (u_threshold): Likewise.
10604 (__expf): Call __ieee754_expf before checking for overflow and
10605 underflow.
10606 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10607 (u_threshold): Likewise.
10608 (__expl): Call __ieee754_expl before checking for overflow and
10609 underflow.
10610 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10611 (__ieee754_expl): Allow for and saturate large arguments.
10612 * math/libm-test.inc (exp_test): Add another test. Do not allow
10613 missing overflow exception on overflow.
10614 (expm1_test): Do not allow missing overflow exception on overflow.
10615
6698b8bf
JM
10616 * sysdeps/i386/fpu/e_expl.c: Move to ...
10617 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10618 rather than using inline asm.
10619 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10620 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10621 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10622
7b17aeda
JM
10623 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10624 (nice): Likewise.
10625 (poll): Likewise.
10626 (signal): Likewise.
10627 (time): Likewise.
10628 (times): Likewise.
10629
f7c85819
JM
106302012-05-04 Joseph Myers <joseph@codesourcery.com>
10631
10632 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10633 sysdeps/unix/common/syscalls.list.
10634 (fchmod): Likewise.
10635 (fchown): Likewise.
10636 (ftruncate): Likewise.
10637 (getrusage): Likewise.
10638 (gettimeofday): Likewise.
10639 (setpgid): Likewise.
10640 (setregid): Likewise.
10641 (setreuid): Likewise.
10642 (sigaction): Likewise.
10643 (truncate): Likewise.
10644 (vhangup): Likewise.
10645 * sysdeps/unix/common/syscalls.list: Remove file.
10646 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10647 * sysdeps/unix/sysv/linux/Implies: Likewise.
10648
336270d0
L
106492012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10650
10651 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10653 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10654 Moved to ...
10655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10656 Here.
10657 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10658 to ...
10659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10660 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10661 to ...
10662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10663 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10664 to ...
10665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10666 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10667 to ...
10668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10669 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10670 to ...
10671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10672 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10673 to ...
10674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10675 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10676 to ...
10677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10678 Here.
10679 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10680 to ...
10681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10682 Here.
10683 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10684 to ...
10685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10686 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10687 Moved to ...
10688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10689 Here.
10690 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10691 to ...
10692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10693
d128e450
JM
106942012-05-04 Joseph Myers <joseph@codesourcery.com>
10695
fa8ee516
JM
10696 * sysdeps/unix/common/bits/dirent.h: Remove file.
10697 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10698
d128e450
JM
10699 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10700 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10701 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10702 * sysdeps/unix/bsd/isatty.c: Likewise.
10703 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10704 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10705 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10706
ff8faaf0 107072012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10708
62881be4 10709 [BZ #13563]
31dc8730
AZ
10710 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10711 long double comparison inaccuracies.
10712 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10714
6fef930c
AS
107152012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10716
10717 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10718 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10719
8f203e6c
JM
107202012-05-04 Joseph Myers <joseph@codesourcery.com>
10721
10722 [BZ #14049]
10723 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10724 nonzero digits before rounding a hex value.
10725 * stdlib/tst-strtod.c (tests): Add another test.
10726
5197d9c2
AK
107272012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10728
10729 * sysdeps/s390/fpu/libm-test-ulps: Update.
10730
f0c1dedf
AJ
107312012-05-03 Andreas Jaeger <aj@suse.de>
10732
10733 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10734 does not get optimized out.
10735 (malloc_opt_barrier): New.
10736
a65ef2ae 107372012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10738 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10739
2b942cb7 10740 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10741 intermediate file deletion.
2b942cb7 10742 (generated): Add .symlist files.
a65ef2ae 10743
54b71e02
JM
107442012-05-03 Joseph Myers <joseph@codesourcery.com>
10745
10746 [BZ #13775]
10747 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10748 Redirect under this condition.
10749 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10750 [__USE_GNU] (__dprintf_chk): Not under this condition.
10751 [__USE_GNU] (__vdprintf_chk): Likewise.
10752 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10753 under this condition.
10754 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10755 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10756 [__USE_XOPEN2K8] (vdprintf): Likewise.
10757 [__USE_GNU] (__dprintf_chk): Not under this condition.
10758 [__USE_GNU] (__vdprintf_chk): Likewise.
10759 [__USE_GNU] (dprintf): Likewise.
10760 [__USE_GNU] (vdprintf): Likewise.
10761
d3dfcc41
RM
107622012-05-03 Roland McGrath <roland@hack.frob.com>
10763
10764 * elf/Makefile (common-generated): Set this instead of generated for
10765 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10766 $(all-built-dso)-derived lists.
10767
7ac30cc5
AJ
107682012-05-03 Andreas Jaeger <aj@suse.de>
10769
0c51e550
AJ
10770 * sysdeps/i386/fpu/libm-test-ulps: Update.
10771
7ac30cc5
AJ
10772 * FAQ: Removed.
10773 * FAQ.in: Likewise.
10774 * scripts/gen-FAQ.pl: Likewise.
10775 * manual/install.texi (Installation): Point to online location of
10776 FAQ.
10777 * Makefile (files-for-dist): Remove FAQ.
10778 (FAQ): Remove.
10779
d4c2917f
AM
107802012-05-02 Allan McRae <allan@archlinux.org>
10781
10782 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10783 (LDFLAGS-reldepmod5.so): Likewise.
10784 (LDFLAGS-reldep6mod1.so): Likewise.
10785 (LDFLAGS-reldep6mod4.so): Likewise.
10786 (LDFLAGS-reldep8mod3.so): Likewise.
10787 (LDFLAGS-unload4mod1.so): Likewise.
10788 (LDFLAGS-unload4mod2.so): Likewise.
10789 (LDFLAGS-tst-initorder): Likewise.
10790 (LDFLAGS-tst-initordera2.so): Likewise.
10791 (LDFLAGS-tst-initordera3.so): Likewise.
10792 (LDFLAGS-tst-initordera4.so): Likewise.
10793 (LDFLAGS-tst-initorderb2.so): Likewise.
10794 (LDFLAGS-noload): Likewise.
10795 (LDFLAGS-next): Likewise.
10796 (LDFLAGS-order2mod1.so): Likewise.
10797 (LDFLAGS-order2mod2.so): Likewise.
10798 (LDFLAGS-tst-initorder2): Likewise.
10799 (LDFLAGS-tst-initorder2a.so): Likewise.
10800 (LDFLAGS-tst-initorder2b.so): Likewise.
10801 (LDFLAGS-tst-initorder2c.so): Likewise.
10802 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10803
d77f993f
DM
108042012-05-02 David S. Miller <davem@davemloft.net>
10805
10806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10807
171a70b4
PP
108082012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10809
10810 [BZ #14055]
10811 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10812
0be196ad
AJ
108132012-05-02 Andreas Jaeger <aj@suse.de>
10814
10815 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10816 since we manipulate rounding mode.
10817 (CPPFLAGS-test-idouble.c): Likewise.
10818 (CPPFLAGS-test-ifloat.c): Likewise.
10819 (CFLAGS-test-ldouble.c): Likewise.
10820 (CFLAGS-test-double.c): Likewise.
10821 (CFLAGS-test-float.c): Likewise.
10822 (CFLAGS-test-misc.c): Likewise.
10823 (CFLAGS-test-test-fenv.c): Likewise.
10824
4f9d04aa
AZ
108252012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10826
2b942cb7
RM
10827 [BZ #2550]
10828 [BZ #2570]
10829 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10830 comparisons to determine direction to adjust input.
4f9d04aa 10831
82a79e7d
RM
108322012-05-01 Roland McGrath <roland@hack.frob.com>
10833
f5a01ca9
RM
10834 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10835 output to the target.
10836
90fe4186
RM
10837 * scripts/localplt.awk: New file.
10838 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10839 (check-localplt-CFLAGS): Variable removed.
10840 ($(all-built-dso:=.jmprel)): New static pattern rule.
10841 (generated): Add those targets.
10842 (localplt-built-dso): New variable.
10843 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10844
10845 * elf/check-localplt.c: File removed.
10846
82397ed6
RM
10847 * scripts/check-execstack.awk: New file.
10848 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10849 (check-execstack-CFLAGS): Variable removed.
10850 ($(objpfx)check-execstack.h): Target removed.
10851 ($(objpfx)execstack-default): New target.
10852 (generated): Add that instead of check-execstack.h.
10853 ($(all-built-dso:=.phdr)): New static pattern rule.
10854 (generated): Add those targets.
10855 * elf/check-execstack.c: File removed.
10856
82a79e7d
RM
10857 * scripts/check-textrel.awk: New file.
10858 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10859 (check-textrel-CFLAGS): Variable removed.
10860 (all-built-dso): Use := to define.o
10861 ($(all-built-dso:=.dyn)): New static pattern rule.
10862 (generated): Add those targets.
10863 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10864 * config.make.in (READELF): New substituted variable.
10865 * elf/check-textrel.c: File removed.
10866
62fde54f 108672012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10868
615605c9
JM
10869 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10870 allow.
10871 * conform/data/ctype.h-data [C99-based standards] (isblank):
10872 Expect function.
10873 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10874 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10875 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10876 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10877 Specify type. Require positive value.
10878 (EILSEQ): Likewise.
10879 (ERANGE): Likewise.
10880 [ISO || POSIX] (EILSEQ): Do not expect.
10881 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10882 Specify type. Require positive value.
10883 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10884 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10885 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10886 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10887 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10888 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10889 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10890 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10891 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10892 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10893 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10894 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10895 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10896 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10897 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10898 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10899 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10900 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10901 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10902 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10903 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10904 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10905 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10906 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10907 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10908 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10909 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10910 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10911 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10912 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10913 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10914 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10915 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10916 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10917 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10918 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10919 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10920 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10921 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10922 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10923 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10924 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10925 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10926 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10927 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10928 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10929 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10930 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10931 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10932 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10933 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10934 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10935 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10936 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10937 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10938 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10939 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10940 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10941 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10942 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10943 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10944 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10945 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10946 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10947 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10948 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10949 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10950 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10951 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10952 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10953 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10954 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10955 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10956 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10957 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10958 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10959 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10960 Require >= 2.
10961 (FLT_ROUNDS): Expect as macro, not constant.
10962 (FLT_MANT_DIG): Use macro-int-constant.
10963 (DBL_MANT_DIG): Likewise.
10964 (LDBL_MANT_DIG): Likewise.
10965 (FLT_DIG): Likewise.
10966 (DBL_DIG): Likewise.
10967 (LDBL_DIG): Likewise.
10968 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10969 (DBL_MIN_EXP): Likewise.
10970 (LDBL_MIN_EXP): Likewise.
10971 (FLT_MAX_EXP): Use macro-int-constant.
10972 (DBL_MAX_EXP): Likewise.
10973 (LDBL_MAX_EXP): Likewise.
10974 (FLT_MAX_10_EXP): Likewise.
10975 (DBL_MAX_10_EXP): Likewise.
10976 (LDBL_MAX_10_EXP): Likewise.
10977 (FLT_MAX): Use macro-constant.
10978 (DBL_MAX): Likewise.
10979 (LDBL_MAX): Likewise.
10980 (FLT_EPSILON): Use macro-constant. Give upper bound.
10981 (DBL_EPSILON): Likewise.
10982 (LDBL_EPSILON): Likewise.
10983 (FLT_MIN): Likewise.
10984 (DBL_MIN): Likewise.
10985 (LDBL_MIN): Likewise.
10986 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10987 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10988 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10989 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10990 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10991 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10992 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10993 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10994 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10995 [ISO11] (FLT_TRUE_MIN): Likewise.
10996 [ISO11] (LDBL_TRUE_MIN): Likewise.
10997 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10998 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10999 (SCHAR_MIN): Use macro-int-constant. Specify type.
11000 (SCHAR_MAX): Likewise.
11001 (UCHAR_MAX): Likewise.
11002 (CHAR_MIN): Likewise.
11003 (CHAR_MAX): Likewise.
11004 (MB_LEN_MAX): Use macro-int-constant.
11005 (SHRT_MIN): Use macro-int-constant. Specify type.
11006 (SHRT_MAX): Likewise.
11007 (USHRT_MAX): Likewise.
11008 (INT_MAX): Likewise.
11009 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11010 bound negative.
11011 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11012 bound with "U".
11013 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11014 bound with "L".
11015 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11016 bound negative. Suffix upper bound with "L".
11017 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11018 bound with "UL".
11019 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11020 Specify type.
11021 [C99-based standards] (LLONG_MAX): Likewise.
11022 [C99-based standards] (ULLONG_MAX): Likewise.
11023 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11024 == 0.
11025 [ISO11] (max_align_t): Require type.
11026 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11027
c9140a62
JM
11028 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11029 from $CFLAGS, without defining away __attribute__ calls.
11030 (checknamespace): Use $CFLAGS_namespace.
11031
9af0bf29
JM
11032 * conform/conformtest.pl (@keywords): Only include C99 keywords
11033 for standards based on C99 or C11.
11034
343222a2
JM
11035 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11036 Disable tests.
11037 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11038 UNIX98]: Likewise.
11039
661f8cf0
JM
11040 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11041 usability of symbols in #if.
11042
ee74b9cb
JM
11043 * conform/conformtest.pl: If macro or constant types start
11044 "promoted:", expect the symbol to be of the following type
11045 promoted by the integer promotions.
62fde54f 11046
aafc49b3
JM
11047 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11048 in one place. Also handle "macro-constant".
11049
fefdf574
JM
11050 * conform/conformtest.pl: Only accept expected macro values with
11051 "==". Parse all "macro" lines in one place.
11052 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11053
f2d922fe
JM
11054 * conform/conformtest.pl: Handle braced types on "constant" lines
11055 instead of handling "typed-constant".
11056 * conform/data/signal.h-data: Use "constant" instead of
11057 "typed-constant".
11058
d22956c9
JM
11059 * conform/conformtest.pl: Handle "optional-" at start of lines in
11060 one place rather than duplicating several cases. Handle each
11061 format of "macro" line with initial "optional-".
11062
028e2e38
JM
11063 * conform/conformtest.pl: Only accept expected constant or
11064 optional-constant values with "==". Parse all "constant" lines in
11065 one place. Parse all "optional-constant" lines in one place.
11066 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11067 * conform/data/fmtmsg.h-data: Likewise.
11068 * conform/data/netinet/in.h-data: Likewise.
11069 * conform/data/tar.h-data: Likewise.
11070 * conform/data/limits.h-data: Use "==" form on "constant" and
11071 "optional-constant" lines.
11072
1b8f2850
JM
11073 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11074 Use -std=c99 for XOPEN2K.
11075 (@knownproblems): Remove.
11076 (newtoken): Don't check %isknown.
11077
a05a144b
JM
11078 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11079 Do not expect macro.
11080 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11081 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11082 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11083 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11084 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11085 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11086 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11087 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11088 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11089 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11090 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11091 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11092 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11093 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11094 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11095 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11096 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11097 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11098 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11099 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11100 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11101 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11102 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11103 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11104 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11105 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11106 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11107 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11108 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11109 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11110 [XPG3] (acosh): Likewise.
11111 [XPG3] (asinh): Likewise.
11112 [XPG3] (atanh): Likewise.
11113 [XPG3] (cbrt): Likewise.
11114 [XPG3] (expm1): Likewise.
11115 [XPG3] (ilogb): Likewise.
11116 [XPG3] (log1p): Likewise.
11117 [XPG3] (logb): Likewise.
11118 [XPG3] (nextafter): Likewise.
11119 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11120 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11121 [XPG3] (remainder): Likewise.
11122 [XPG3] (rint): Likewise.
11123 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11124 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11125 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11126 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11127 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11128 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11129 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11130 [UNIX98 || XOPEN2K] (scalb): Expect.
11131 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11132 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11133 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11134 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11135 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11136 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11137 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11138 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11139 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11140 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11141 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11142 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11143 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11144 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11145 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11146 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11147 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11148 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11149 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11150 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11151 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11152 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11153 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11154 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11155 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11156 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11157 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11158 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11159 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11160 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11161 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11162 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11163 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11164 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11165 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11166 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11167 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11168 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11169 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11170 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11171 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11172 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11173 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11174 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11175 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11176 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11177 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11178 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11179 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11180 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11181 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11182 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11183 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11184 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11185 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11186 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11187 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11188 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11189 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11190 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11191 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11192 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11193 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11194 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11195 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11196 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11197 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11198 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11199 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11200 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11201 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11202 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11203 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11204 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11205 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11206 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11207 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11208 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11209 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11210 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11211 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11212 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11213 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11214 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11215 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11216 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11217 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11218 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11219 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11220 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11221 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11222 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11223 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11224 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11225 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11226 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11227 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11228 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11229 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11230 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11231 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11232 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11233 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11234 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11235 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11236 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11237 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11238 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11239 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11240 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11241 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11242 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11243 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11244 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11245 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11246 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11247 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11248 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11249 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11250 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11251 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11252 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11253 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11254 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11255 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11256 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11257 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11258 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11259 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11260 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11261 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11262 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11263 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11264 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11265 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11266 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11267 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11268
73c5ebe3
JM
11269 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11270 _XOPEN_SOURCE_EXTENDED for XPG4.
11271
39c33b6c
JM
11272 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11273
62fde54f
JM
11274 * Makeconfig (localtime): Remove variable.
11275 (inst_localtime-file): Likewise.
11276
0741d64c
AS
112772012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11278
11279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11280 Update.
11281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11282 Update.
11283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11284 Update.
11285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11286 Update.
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11288 Update.
11289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11290 Update.
11291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11292 Update.
11293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11294 Update.
11295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11296 Update.
11297
7cb029ee
JM
112982012-05-01 Joseph Myers <joseph@codesourcery.com>
11299
11300 [BZ #2550]
11301 [BZ #2570]
11302 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11303 comparisons to determine direction to adjust input.
11304 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11305 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11306 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11307 Likewise.
11308 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11309 Likewise.
11310 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11311 Likewise.
11312 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11313 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11314 Likewise.
11315 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11316 Likewise.
11317 * math/libm-test.inc (nexttoward_test): Add more tests.
11318
412bd966
AS
113192012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11320
11321 [BZ #14040]
11322 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11323 in version GLIBC_2.1, not GLIBC_2.0.
11324 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11325 Likewise.
11326
9568c0c2
JM
113272012-04-30 Joseph Myers <joseph@codesourcery.com>
11328
adfbc8ac
JM
11329 [BZ #13942]
11330 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11331 (1 - x) * (1 + x).
11332 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11333 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11334 * math/libm-test.inc (acos_test): Add more tests.
11335 (asin_test): Likewise.
11336 * sysdeps/i386/fpu/libm-test-ulps: Update.
11337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11338
5ba3cc69
JM
11339 [BZ #14034]
11340 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11341 of square root.
11342 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11343 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11344 * math/libm-test.inc (acos_test_tonearest): New function.
11345 (acos_test_towardzero): Likewise.
11346 (acos_test_downward): Likewise.
11347 (acos_test_upward): Likewise.
11348 (asin_test_tonearest): Likewise.
11349 (asin_test_towardzero): Likewise.
11350 (asin_test_downward): Likewise.
11351 (asin_test_upward): Likewise.
11352 (main): Call the new functions.
11353 * sysdeps/i386/fpu/libm-test-ulps: Update.
11354 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11355
9568c0c2
JM
11356 [BZ #13884]
11357 [BZ #13924]
11358 * math/e_exp10.c: Include <float.h>.
11359 (__ieee754_exp10): Handle underflow here rather than multiplying
11360 large negative argument by M_LN10.
11361 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11362 of __ieee754_expf.
11363 * math/e_exp10l.c: Include <float.h>.
11364 (__ieee754_exp10l): Handle underflow here rather than multiplying
11365 large negative argument by M_LN10l.
11366 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11367 spurious overflow exception on underflow.
11368
5ac3ea17
MP
113692012-04-29 Marek Polacek <polacek@redhat.com>
11370
11371 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11372 (__fortify_function): New macro.
11373 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11374 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11375 __extern_always_inline.
11376 * libio/bits/stdio2.h: Likewise.
11377 * libio/bits/stdio.h: Likewise.
11378 * string/string.h: Likewise.
11379 * string/bits/string3.h: Likewise.
11380 * include/stdio.h: Likewise.
11381 * stdlib/bits/stdlib.h: Likewise.
11382 * stdlib/stdlib.h: Likewise.
11383 * rt/bits/mqueue2.h: Likewise.
11384 * rt/mqueue.h: Likewise.
11385 * posix/bits/unistd.h: Likewise.
11386 * posix/unistd.h: Likewise.
11387 * io/bits/poll2.h: Likewise.
11388 * io/bits/fcntl2.h: Likewise.
11389 * io/fcntl.h: Likewise.
11390 * io/sys/poll.h: Likewise.
11391 * misc/bits/syslog.h: Likewise.
11392 * misc/bits/syslog-ldbl.h: Likewise.
11393 * misc/sys/syslog.h: Likewise.
11394 * socket/bits/socket2.h: Likewise.
11395 * socket/sys/socket.h: Likewise.
11396 * debug/tst-chk1.c: Likewise.
11397 * wcsmbs/bits/wchar2.h: Likewise.
11398 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11399 * wcsmbs/wchar.h: Likewise.
11400
ecf0ebfb
AJ
114012012-04-29 Andreas Jaeger <aj@suse.de>
11402
11403 * Makerules (tests): Remove enable-check-abi protection.
11404 (check-abi-warn): Remove.
11405 (check-abi-%): Remove check-abi-warn usage.
11406
11407 * configure.in: Remove check-abi configure option.
11408 * configure: Regenerated.
11409 * config.make.in (enable-check-abi): Remove.
11410
6d5c57fa
AS
114112012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11412
24c5d07e 11413 [BZ #14033]
ded5180a
AS
11414 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11415 double functions to double *_finite functions.
11416
7e0d315d
AS
11417 [BZ #13941]
11418 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11419 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11420 LDBL_MIN_EXP.
11421 * stdio-common/Makefile (tests): Add tst-sprintf3.
11422 * stdio-common/tst-sprintf3.c: New file.
11423
6d5c57fa
AS
11424 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11425 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11426
0749ff8b
JM
114272012-04-28 Joseph Myers <joseph@codesourcery.com>
11428
11429 * conform/conformtest.pl: Remove duplicate typed-constant
11430 handling.
11431
8dbd5d7b
DM
114322012-04-28 David S. Miller <davem@davemloft.net>
11433
11434 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11435 (check-abi-%): Remove AWK script prerequisite and explicit
11436 abilist directory.
11437 (check-abi): Rewrite to just diff the symlist with the abilist.
11438 (config-tls, config-abi-config): Delete, no longer used.
11439 (update-abi-%): Remove AWK script and explicit abilist directory.
11440 (update-abi): Rewrite to simply compare and conditionally copy the
11441 symlist and the sysdep abilist file. Remove update-abi-config
11442 checks.
11443 * abilist/ld.abilist: Remove.
11444 * abilist/libBrokenLocale.abilist: Remove.
11445 * abilist/libanl.abilist: Remove.
11446 * abilist/libcrypt.abilist: Remove.
11447 * abilist/libdl.abilist: Remove.
11448 * abilist/librt.abilist: Remove.
11449 * abilist/libthread_db.abilist: Remove.
11450 * abilist/libutil.abilist: Remove.
11451 * scripts/extract-abilist.awk: Remove.
11452 * scripts/merge-abilist.awk: Remove.
11453 * sysdeps/generic/libcidn.abilist: New file.
11454 * sysdeps/generic/libnss_compat.abilist: New file.
11455 * sysdeps/generic/libnss_db.abilist: New file.
11456 * sysdeps/generic/libnss_dns.abilist: New file.
11457 * sysdeps/generic/libnss_files.abilist: New file.
11458 * sysdeps/generic/libnss_hesiod.abilist: New file.
11459 * sysdeps/generic/libnss_nis.abilist: New file.
11460 * sysdeps/generic/libnss_nisplus.abilist: New file.
11461 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11462 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11463 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11464 file.
11465 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11466 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11467 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11468 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11469 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11470 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11471 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11472 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11473 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11474 file.
11475 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11476 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11477 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11478 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11479 file.
11480 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11481 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11482 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11483 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11484 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11485 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11486 file.
11487 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11488 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11489 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11490 file.
11491 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11492 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11493 New file.
11494 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11495 New file.
11496 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11497 New file.
11498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11499 New file.
11500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11501 New file.
11502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11503 New file.
11504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11505 New file.
11506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11507 New file.
11508 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11509 New file.
11510 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11511 New file.
11512 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11513 New file.
11514 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11515 New file.
11516 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11517 New file.
11518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11519 file.
11520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11521 New file.
11522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11523 New file.
11524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11525 file.
11526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11527 New file.
11528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11529 New file.
11530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11531 file.
11532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11533 New file.
11534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11535 New file.
11536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11537 New file.
11538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11539 New file.
11540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11541 New file.
11542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11543 New file.
11544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11546 file.
11547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11548 New file.
11549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11550 file.
11551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11552 file.
11553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11554 file.
11555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11556 file.
11557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11558 file.
11559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11560 New file.
11561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11562 file.
11563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11564 file.
11565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11566 New file.
11567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11568 file.
11569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11571 file.
11572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11573 New file.
11574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11575 file.
11576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11577 file.
11578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11579 file.
11580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11581 file.
11582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11583 file.
11584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11585 New file.
11586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11587 file.
11588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11589 file.
11590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11591 New file.
11592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11593 file.
11594 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11595 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11596 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11597 file.
11598 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11599 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11600 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11601 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11602 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11603 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11604 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11605 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11606 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11607 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11610 file.
11611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11612 New file.
11613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11614 file.
11615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11616 file.
11617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11618 file.
11619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11620 file.
11621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11622 file.
11623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11624 New file.
11625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11626 New file.
11627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11628 file.
11629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11630 New file.
11631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11632 file.
11633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11635 file.
11636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11637 New file.
11638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11639 file.
11640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11641 file.
11642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11643 file.
11644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11645 file.
11646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11647 file.
11648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11649 New file.
11650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11651 New file.
11652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11653 file.
11654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11655 New file.
11656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11657 file.
11658
41d73a1b
JM
116592012-04-28 Joseph Myers <joseph@codesourcery.com>
11660
11661 * conform/conformtest.pl: Fix typo in handling typed-constant from
11662 allow-header.
11663
28aeeda4
JM
116642012-04-27 Joseph Myers <joseph@codesourcery.com>
11665
adae8f5e
JM
11666 * README: Cut down references to pre-2.6 Linux kernels and
11667 Linuxthreads. Update lists of configurations in libc and ports
11668 and sort alphabetically. Say "or newer" with Linux kernel version
11669 requirements.
11670
28aeeda4
JM
11671 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11672
a462cb63
RA
116732012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11674
11675 [BZ #887]
11676 * math/libm-test.inc (logb_test_downward): New test to expose
11677 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11678 rounding mode.
11679
6ad3493e
JM
116802012-04-27 Joseph Myers <joseph@codesourcery.com>
11681
11682 [BZ #14027]
11683 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11684 to be done.
11685 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11686 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11687
2ce4f015
JM
116882012-04-26 Joseph Myers <joseph@codesourcery.com>
11689
5aeb141a
JM
11690 * sysdeps/unix/i386/brk.S: Remove file.
11691 * sysdeps/unix/i386/dl-brk.S: Likewise.
11692 * sysdeps/unix/i386/pipe.S: Likewise.
11693 * sysdeps/unix/i386/sigreturn.S: Likewise.
11694 * sysdeps/unix/i386/syscall.S: Likewise.
11695 * sysdeps/unix/i386/vfork.S: Likewise.
11696 * sysdeps/unix/i386/wait.S: Likewise.
11697
7143acae
JM
11698 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11699 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11700
2ce4f015
JM
11701 * configure.in (arm*-none*): Do not allow without
11702 --enable-hacker-mode.
11703 (netbsd*): Remove case setting base_os.
11704 (386bsd*): Likewise.
11705 (freebsd*): Likewise.
11706 (bsdi*): Likewise.
11707 (osf*): Likewise.
11708 (sunos*): Likewise.
11709 (ultrix*): Likewise.
11710 (newsos*): Likewise.
11711 (dynix*): Likewise.
11712 (*bsd*): Likewise.
11713 (sysv*): Likewise.
11714 (isc*): Likewise.
11715 (esix*): Likewise.
11716 (sco*): Likewise.
11717 (minix*): Likewise.
11718 (irix4*): Likewise.
11719 (irix6*): Likewise.
11720 (solaris[2-9]*): Likewise.
11721 (none): Likewise.
11722 * configure: Regenerated.
11723
0ac229c8
AZ
117242012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11725
11726 [BZ #11521]
11727 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11728 overflow or cancellation in calculating denominator.
11729 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11730 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11731 down expression to avoid unexpected rounding in newer GCCs.
11732 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11733
33f244f4
DM
117342012-04-26 David S. Miller <davem@davemloft.net>
11735
11736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11737 long-double compat symbols.
11738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11751
cfa1f3e8
DM
117522012-04-25 David S. Miller <davem@davemloft.net>
11753
11754 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11755 HWCAP_* values only after the memory barriers have been defined.
11756 (atomic_full_barrier): Define.
11757 (atomic_read_barrier): Define.
11758 (atomic_write_barrier): Define.
11759
6e236b92
SP
117602012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11761
11762 * shlib-versions: Add libgcc_s version information.
11763 * sysdeps/generic/libgcc_s.h: Remove.
11764 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11765 libgcc_s.h.
11766 * sysdeps/gnu/unwind-resume.c: Likewise.
11767 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11768
aab39a09
DM
117692012-04-25 David S. Miller <davem@davemloft.net>
11770
11771 * sysdeps/unix/sparc/brk.S: Delete.
11772 * sysdeps/unix/sparc/dl-brk.S: Delete.
11773 * sysdeps/unix/sparc/pipe.S: Delete.
11774 * sysdeps/unix/sparc/sysdep.S: Delete.
11775 * sysdeps/unix/sparc/sysdep.h: Delete.
11776 * sysdeps/unix/sparc/vfork.S: Delete.
11777 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11778 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11779 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11780 ret_ERRVAL, r0, r1, MOVE): Define.
11781 (JUMPTARGET): Remove.
11782 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11783 sysdeps/unix/sparc/sysdep.h
11784 (ENTRY, END): Remove.
11785 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11786
a3cc4f48
JM
117872012-04-25 Joseph Myers <joseph@codesourcery.com>
11788
2ed8cda2
JM
11789 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11790 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11791 -DIS_IN_build.
11792
35d76d59
JM
11793 * timezone/README: Update upstream location and email address for
11794 tzcode and tzdata.
11795 * timezone/zdump.c: Update from tzcode 2012b.
11796 * timezone/zic.c: Likewise.
11797
a3cc4f48
JM
11798 * configure.in (libc_cv_as_needed): Remove test.
11799 * configure: Regenerated.
11800 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11801 conditional definition.
11802 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11803 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11804 * config.make.in (have-as-needed): Remove variable.
11805
ceab42c3
SP
118062012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11807 Paul Pluzhnikov <ppluzhnikov@google.com>
11808
11809 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11810 strings correctly.
11811
3ce2865f
CLT
118122012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11813
11814 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11815 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11816 * sysdeps/sh/strlen.S: Likewise.
11817
f37e0d68
JM
118182012-04-24 Joseph Myers <joseph@codesourcery.com>
11819
ae186e9a
JM
11820 * sysdeps/unix/fork.S: Remove file.
11821 * sysdeps/unix/i386/fork.S: Likewise.
11822 * sysdeps/unix/sparc/fork.S: Likewise.
11823
b96914af
JM
11824 * sysdeps/unix/system.c: Remove file.
11825 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11826
f37e0d68
JM
11827 * sysdeps/unix/getegid.S: Remove file.
11828 * sysdeps/unix/geteuid.S: Likewise.
11829
87ef29ca
RM
118302012-04-24 Roland McGrath <roland@hack.frob.com>
11831
83bcd236
RM
11832 * scripts/check-localplt.awk: New file.
11833 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11834 of diff.
11835 * scripts/data/localplt-generic.data: Add a comment.
11836
87ef29ca
RM
11837 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11838 NODE when __dir_mkfile failed.
11839 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11840 Reported by Ludovic Courtès <ludo@gnu.org>.
11841
e5a6e567
AJ
118422012-04-24 Andreas Jaeger <aj@suse.de>
11843
11844 * Makerules (common-clean): Also remove gen-as-const-headers
11845 files.
11846
c1820385
JM
118472012-04-24 Joseph Myers <joseph@codesourcery.com>
11848
11849 * Makerules (native-compile): Do not change working directory for
11850 build. Use $(OUTPUT_OPTION) in command.
11851 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11852
94e02fc4
AZ
118532012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11854
11855 [BZ #13886]
11856 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11857 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11858 * math/libm-test.inc (floor_test): Add more tests.
11859 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11860
3a533ca3
JM
118612012-04-24 Joseph Myers <joseph@codesourcery.com>
11862
940ab4b3
JM
11863 * sysdeps/unix/getdents.c: Remove file.
11864 * sysdeps/unix/sysv/getdents.c: Likewise.
11865 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11866
90e037bd
JM
11867 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11868 sysdeps/unix/mman/syscalls.list.
11869 (mmap): Likewise.
11870 (mprotect): Likewise.
11871 (msync): Likewise.
11872 (munmap): Likewise.
11873 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11874 * sysdeps/unix/mman/syscalls.list: Remove.
11875 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11876
3a533ca3
JM
11877 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11878 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11879 * configure: Regenerated.
11880 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11881 $(libgcc_s_suffix).
11882 * config.make.in (libgcc_s_suffix): Remove variable.
11883
1ad743de
JM
118842012-04-23 Joseph Myers <joseph@codesourcery.com>
11885
4ad451e2
JM
11886 * sysdeps/unix/sysv/gethostname.c: Move to ...
11887 * sysdeps/posix/gethostname.c: ... here.
11888
5e37ce39
JM
11889 * sysdeps/unix/execve.S: Remove file.
11890
1ad743de
JM
11891 * sysdeps/unix/_exit.S: Remove file.
11892
4e681b5b
AJ
118932012-04-23 Andreas Jaeger <aj@suse.de>
11894
11895 [BZ #13739]
11896 * manual/Makefile: Remove make dist support, there's no
11897 need for a stand-alone documentation tar ball.
11898 (TEXI2DVI): Define always, it's not in Makeconfig.
11899 (dist): Removed.
11900 (tar-it): Removed.
11901 (edition): Removed.
11902 (glibc-doc-$(edition).tar): Removed
11903 (%.Z): Removed.
11904 (%.gz): Removed.
11905 (%.uu): Removed.
11906 (ETAGS): Remove, it's in Makeconfig.
11907 (move-if-change): Remove, it's in Makeconfig.
11908
38686a03 119092012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
11910
11911 [BZ #13970]
11912 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11913 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11914 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11915 (strtod_l, strtof_l, strtold_l): Remove __wur.
11916 It is not necessarily an error to ignore strtol's return value.
11917 One can reliably look at the stored endptr to decide whether
11918 the number had valid syntax.
11919
7c0616fa
AJ
119202012-04-21 Andreas Jaeger <aj@suse.de>
11921
803cb6b7 11922 [BZ #13739]
7c0616fa
AJ
11923 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11924
b0fe253f
JM
119252012-04-21 Joseph Myers <joseph@codesourcery.com>
11926
11927 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11928 * sysdeps/unix/sysv/Versions: Remove file.
11929
8280f22d
MT
119302012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11931
11932 [BZ #13927]
11933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11934
75ce411f 119352012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11936
11937 [BZ #7064]
11938 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11939 version from __vm86.
11940
097d59fa
JM
119412012-04-20 Joseph Myers <joseph@codesourcery.com>
11942
a90f3bcb
JM
11943 * sysdeps/unix/common/lxstat.c: Remove file.
11944 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11945
edc7ea78
JM
11946 * sysdeps/unix/sysv/Makefile: Remove file.
11947
cb78c221
JM
11948 * sysdeps/unix/sysv/direct.h: Remove file.
11949
efa6a45f
JM
11950 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11951 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11952 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11953 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11954 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11955 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11956 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11957
9c9f2d0c
JM
11958 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11959
4541c83b
JM
11960 * sysdeps/unix/xmknod.c: Remove file.
11961 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11962
f5d153a0
JM
11963 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11964
aa746595
JM
11965 * sysdeps/unix/sysv/i386/time.S: Remove file.
11966
cce5905e
JM
11967 * sysdeps/unix/fxstat.c: Remove file.
11968 * sysdeps/unix/xstat.c: Likewise.
11969 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11970
37fa3841
JM
11971 * sysdeps/unix/sysv/sigaction.c: Remove file.
11972
ff1962a3
JM
11973 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11974 (sysdep_headers): Remove variable.
11975 [termio.h not in sysdep_headers] (generated): Likewise.
11976 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11977 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11978 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11979 * sysdeps/unix/sysv/tcflow.c: Likewise.
11980 * sysdeps/unix/sysv/tcflush.c: Likewise.
11981 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11982 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11983 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11984 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11985 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11986
e7740d31
JM
11987 * sysdeps/unix/siglist.c: Remove file.
11988
ee06f18b
JM
11989 * sysdeps/unix/getppid.S: Remove file.
11990
097d59fa
JM
11991 * sysdeps/unix/mkdir.c: Remove file.
11992 * sysdeps/unix/rmdir.c: Likewise.
11993
ff3d51ec
AS
119942012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11995
11996 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11997 ERR_MAX value.
11998 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11999 errlist-compat value.
12000
50f81fd7
DM
120012012-04-18 David S. Miller <davem@davemloft.net>
12002
12003 * sysdeps/generic/memcopy.h (reg_char): Delete.
12004 * debug/strcat_chk.c: Use char, not reg_char.
12005 * debug/strcpy_chk.c: Likewise.
12006 * debug/strncat_chk.c: Likewise.
12007 * debug/strncpy_chk.c: Likewise.
12008 * string/memchr.c: Likewise.
12009 * string/memrchr.c: Likewise.
12010 * string/rawmemchr.c: Likewise.
12011 * string/strcat.c: Likewise.
12012 * string/strchr.c: Likewise.
12013 * string/strchrnul.c: Likewise.
12014 * string/strcmp.c: Likewise.
12015 * string/strcpy.c: Likewise.
12016 * string/strncat.c: Likewise.
12017 * string/strncmp.c: Likewise.
12018 * string/strncpy.c: Likewise.
12019
8ff41c46
WS
120202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12021
12022 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12023 __builtin_memcopy is called when src and dest ranges are known to not
12024 overlap.
12025
6b652f46
WS
120262012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12027
12028 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12029 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12030 fwd_align_merge macro call.
12031 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12032 bwd_align_merge macro call.
12033 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12034
b282631e
WS
120352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12036
12037 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12038 bwd_align_merge macros.
12039 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12040 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12041 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12042
95aa737c
DM
120432012-04-18 David S. Miller <davem@davemloft.net>
12044
12045 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12046
7a99a614
AJ
120472012-04-18 Andreas Jaeger <aj@suse.de>
12048
12049 [BZ# 6794]
12050 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12051 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12052 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12053
12054 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12055 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12056 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12057
12058 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12059 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12060 Adjust for changed ldbl-128 files.
12061
12062 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12063 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12064 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12065
e5270c23
DM
120662012-04-17 David S. Miller <davem@davemloft.net>
12067
12068 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12069
fb5e92c9
AS
120702012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12071
12072 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12073 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12074 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12075 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12076 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12077 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12078
76da7265
AZ
120792012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12080
12081 [BZ #6794]
12082 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12083 * math/libm-test.inc: Add ilogb errno and exception tests.
12084 * math/w_ilogb.c: New file: ilogb wrapper.
12085 * math/w_ilogbf.c: New file: ilogbf wrapper.
12086 * math/w_ilogbl.c: New file: ilogbl wrapper.
12087 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12088 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12089 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12090 exception being thrown with 0.0 as argument.
12091 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12092 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12093 exception being thrown with 0.0 as argument.
12094 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12095 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12096 exception being thrown with 0.0 as argument.
12097 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12098 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12099 exception being thrown with 0.0 as argument.
12100 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12101 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 12102 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
12103 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12104 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12105 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12106 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12107 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12108 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12109
0396e69d
PB
121102012-04-17 Petr Baudis <pasky@ucw.cz>
12111
12112 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12113 with altivec.
12114
750b5926
MP
121152012-04-16 Marek Polacek <polacek@redhat.com>
12116
12117 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12118
751728a1
MP
121192012-04-16 Marek Polacek <polacek@redhat.com>
12120
12121 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12122 operands of fdivp instruction.
12123
34a27407
L
121242012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12125
12126 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12127 * elf/tst-auditmod3b.c: Likewise.
12128 * elf/tst-auditmod4b.c: Likewise.
12129 * elf/tst-auditmod5b.c: Likewise.
12130 * elf/tst-auditmod6b.c: Likewise.
12131 * elf/tst-auditmod6c.c: Likewise.
12132 * elf/tst-auditmod7b.c: Likewise.
12133 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12134 * sysdeps/x86_64/preconfigure.in: Likewise.
12135 * sysdeps/x86_64/preconfigure: Regenerated.
12136
7e73e17d
L
121372012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12138
12139 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12140 __ILP32__.
12141
c7a6ab72
AB
121422012-04-13 Antoine Balestrat <merkil33@gmail.com>
12143
12144 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12145 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12146
a9e8e0e0
CL
121472012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12148
12149 [BZ #13973]
12150 * locale/iso-639.def: Fix gl language name. Spotted by
12151 Yaron Shahrabani.
12152
ec98af7d
RM
121532012-04-12 Roland McGrath <roland@hack.frob.com>
12154
12155 [BZ #2074]
12156 * libio/libio.h (__io_write_fn): Update comment.
12157
247c3ede
PB
121582012-04-12 Petr Baudis <pasky@ucw.cz>
12159
12160 [BZ #2074]
12161 * stdio.texi (Hook Functions): The user provided writer function
12162 is not allowed to return -1.
12163
55939d6d
DM
121642012-04-11 David S. Miller <davem@davemloft.net>
12165
12166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12167
90020f5a
MF
121682012-04-11 Mike Frysinger <vapier@gentoo.org>
12169
12170 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12171 Add a leading slash to rtkaio.
12172
288f9098
JM
121732012-04-11 Jim Meyering <meyering@redhat.com>
12174
90020f5a
MF
12175 [BZ #11959]
12176 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12177 It is not necessarily an error to ignore fwrite's return
12178 value. One can reliably use ferror to test for errors after
12179 the fact.
288f9098 12180
4be2b570
L
121812012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12182
12183 * bits/types.h (__snseconds_t): New type.
12184 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12185
12186 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12187 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12188 (__SNSECONDS_T_TYPE): Likewise.
12189 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12190 (__SNSECONDS_T_TYPE): Likewise.
12191 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12192 (__SNSECONDS_T_TYPE): Likewise.
12193
288f9098 121942012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
12195
12196 [BZ #2636]
12197 * manual/time.texi (Processor Time): Return type of times is
12198 elapsed real time since an arbitrary point in the past.
12199 (CPU Time): Move CLK_TCK from here...
12200 (Processor Time): ...to here. Correct description.
12201 * manual/conf.texi (Constants for Sysconf): Correct description of
12202 _SC_CLK_TCK.
12203
d7dd4413
DM
122042012-04-10 David S. Miller <davem@davemloft.net>
12205
12206 [BZ #13967]
12207 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12208 where the is a gap between DT_REL(A) and DT_JMPREL.
12209
b46068fc
L
122102012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12211
12212 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12213 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12214 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12215
73d65cc3
SP
122162012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12217
12218 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12219 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12220 (dl_main): Handle --inhibit-cache.
12221 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12222 _dl_inhibit_cache.
12223 * elf/dl-load.c (_dl_map_object): Use it.
12224 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12225
bcc8d661
JM
122262012-04-09 Joseph Myers <joseph@codesourcery.com>
12227
8f9a2fae
JM
12228 [BZ #13872]
12229 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12230 (__ieee754_powl): Saturate large exponents rather than testing for
12231 overflow of y*log2(x).
12232 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12233 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12234 exceptions.
12235
bcc8d661
JM
12236 [BZ #11521]
12237 * math/s_ctan.c: Include <float.h>.
12238 (__ctan): Avoid internal overflow or cancellation in calculating
12239 denominator.
12240 * math/s_ctanf.c: Likewise.
12241 * math/s_ctanl.c: Likewise.
12242 * math/s_ctanh.c: Likewise.
12243 * math/s_ctanhf.c: Likewise.
12244 * math/s_ctanhl.c: Likewise.
12245 * math/libm-test.inc (ctan_test): Add more tests.
12246 (ctanh_test): Likewise.
12247 * sysdeps/i386/fpu/libm-test-ulps: Update.
12248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12249
823fbbb4
AJ
122502012-04-09 Andreas Jaeger <aj@suse.de>
12251
03879793
AJ
12252 [BZ #6894]
12253 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12254 is an optional BSD extension.
12255
823fbbb4
AJ
12256 [BZ #10254]
12257 * manual/stdio.texi (Opening Streams): Document additional fopen
12258 parameters.
12259
8de131cb
RM
122602012-04-09 Roland McGrath <roland@hack.frob.com>
12261
12262 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12263 %eax without telling the compiler.
12264
c0ed9d7d
CD
122652012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12266
12267 [BZ # 13963]
12268 * manual/install.texi: Use sourceware.org.
12269
c483f6b4
JM
122702012-04-09 Joseph Myers <joseph@codesourcery.com>
12271
d7dd9453
JM
12272 [BZ #13873]
12273 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12274 (__ieee754_pow): Generate overflow and underflow using huge*huge
12275 and tiny*tiny rather than just returning constant infinity or zero
12276 for large exponents.
12277 * math/libm-test.inc (pow_test): Require overflow exceptions for
12278 applicable cases of large exponents.
12279
c483f6b4
JM
12280 [BZ #706]
12281 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12282 (__ieee754_pow): Use iterative multiplication algorithm only for
12283 integer exponents with absolute value below 1024. Check for odd
12284 integer exponents when using algorithm for real exponents.
12285 * math/libm-test.inc (pow_test): Add more tests.
12286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12287
d2de7579
JM
122882012-04-08 Joseph Myers <joseph@codesourcery.com>
12289
12290 [BZ #13705]
12291 * math/libm-test.inc (exp_test): Do not allow overflow exception
12292 on underflow test.
12293
f77f1232
AJ
122942012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12295
12296 [BZ #13705]
12297 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12298 instead of __kernel_standard_f.
12299
3884932b
MF
123002012-04-08 Mike Frysinger <vapier@gentoo.org>
12301
12302 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12303 * sysdeps/x86_64/memset_chk.S: Likewise.
12304
54472e9c
AJ
123052012-04-08 Andreas Jaeger <aj@suse.de>
12306
6ab0fbfc
AJ
12307 [BZ #10153]
12308 * manual/startup.texi (Environment Access): Describe return value
12309 for putenv and setenv.
12310
61efba8c
AJ
12311 [BZ #6895]
12312 * manual/filesys.texi (Directory Entries): Add description for
12313 DT_LNK.
12314
95c3f29a
AJ
12315 [BZ #6890]
12316 * manual/filesys.texi (Directory Entries): Clarify that it's file
12317 system not operating system in the description of DT_UNKNOWN.
12318
54472e9c
AJ
12319 [BZ #6578]
12320 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12321
624254b1
SC
123222012-04-08 Stephen Compall <s11@member.fsf.org>
12323
12324 [BZ #6649]
12325 * manual/llio.texi (Opening and Closing Files): Add cross
12326 reference to explain mode argument.
12327
1e4920e0
MF
123282012-04-07 Mike Frysinger <vapier@gentoo.org>
12329
12330 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12331 * sysdeps/x86_64/memset_chk.S: Likewise.
12332
5ed848f3
DM
123332012-04-07 David S. Miller <davem@davemloft.net>
12334
12335 * elf/elf.h (R_SPARC_WDISP10): Define.
12336 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12337 R_SPARC_SIZE32.
12338 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12339 R_SPARC_SIZE64 and R_SPARC_H34.
12340
96154cd8
CD
123412012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12342
12343 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12344 conditions and remove no longer applicable assertion.
12345
9904dc47
L
123462012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12347
12348 * bits/byteswap.h: Include <features.h>.
12349 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12350 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12351
f8887d0a
L
123522012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12353
12354 * bits/byteswap.h (__bswap_16): Removed.
12355 Include <bits/byteswap-16.h> to get __bswap_16.
12356 * sysdeps/i386/bits/byteswap.h: Likewise.
12357 * sysdeps/s390/bits/byteswap.h: Likewise.
12358 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12359 * bits/byteswap-16.h: New file.
12360 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12361 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12362 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12363 * string/Makefile (headers): Add bits/byteswap-16.h.
12364
62470f60
PP
123652012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12366
12367 [BZ #13895]
12368 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12369 extra indirection.
12370 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12371 * nss/tst-nss-static.c: New.
12372
4dad7bab
RM
123732012-04-06 Robert Millan <rmh@gnu.org>
12374
12375 [BZ #6486]
12376 * manual/llio.texi (File Position Primitive): lseek
12377 refers to WHENCE when it really means OFFSET.
12378
e9142a17
AJ
123792012-04-06 Andreas Jaeger <aj@suse.de>
12380
2c040eff
AJ
12381 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12382 strncmp declarations.
12383
e9142a17
AJ
12384 * abilist/libc.abilist: Add __poll and __ppoll.
12385
ff9f1c5f
DM
123862012-04-05 David S. Miller <davem@davemloft.net>
12387
dcd2ae90
DM
12388 * scripts/check-local-headers.sh: Accept a host triplet in the
12389 path matched by the exclude regexp.
12390
993eb054
DM
12391 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12392 definition.
12393 * sysdeps/powerpc/powerpc32/dl-machine.h
12394 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12395 * sysdeps/s390/s390-32/dl-machine.h
12396 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12397 * sysdeps/sparc/sparc32/dl-machine.h
12398 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12399 * sysdeps/sparc/sparc64/dl-machine.h
12400 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12401
ff9f1c5f
DM
12402 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12403 lazy binding.
48e2e132 12404 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
12405 undefined symbol errors.
12406
48e2e132 12407 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
12408 DT_NEEDED entries.
12409
e80d6f94
MM
124102012-04-05 Michael Matz <matz@suse.de>
12411
12412 [BZ #13592]
12413 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12414
349fa79f
AJ
124152012-04-05 Andreas Jaeger <aj@suse.de>
12416
12417 [BZ #13908]
12418 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12419 comment.
12420
f402708f
KK
124212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12422
12423 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12424 which ROUND is no valid rounding mode.
12425
2ecccfc9
KK
124262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12427
12428 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12429 read again.
12430 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12431
8a53f50f
KK
124322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12433
12434 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12435 an exception using FPU order intentionally.
12436
124372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12438
12439 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12440 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12441 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12442 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12443
d653abb7
SJ
124442012-04-05 Simon Josefsson <simon@josefsson.org>
12445
12446 [BZ #12340]
12447 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12448 EINVAL when BUFLEN is too smal.
12449
c3b1bf7d
TS
124502012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12451
12452 [BZ #13553]
12453 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12454 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12455
b1aa60f3
AJ
124562012-04-03 Andreas Jaeger <aj@suse.de>
12457
c3b1bf7d 12458 [BZ #13938]
67f60a26
AJ
12459 * manual/setjmp.texi (System V contexts): Fix sentence.
12460
b1aa60f3
AJ
12461 [BZ #13926]
12462 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12463 New macro for this case.
12464 [!__GNUC__] (__bswap_64): New inline function for this case.
12465 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12466 * bits/byteswap.h: Likewise.
12467 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12468 ull, guard with __GLIBC_HAVE_LONG_LONG.
12469
12470 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12471 __GLIBC_HAVE_LONG_LONG.
12472
12473 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12474 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12475
39c59c35
TMQMF
124762012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12477
12478 [BZ #13691]
12479 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12480 inptr and inend, rather than using last_ch.
12481
135ffda8
DM
124822012-04-02 David S. Miller <davem@davemloft.net>
12483
12484 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12485 * stdio-common/printf-parse.h (read_int): Change return type to
12486 'int', return -1 on INT_MAX overflow.
12487 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12488 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12489 overflows INT_MAX. Check for overflow of in-format-string precision
12490 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12491 SIZE_MAX not INT_MAX for integer overflow test.
12492 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12493 skip the construct in the format string but do not record anything.
12494 * stdio-common/bug22.c: Adjust to test both width/prevision
12495 INT_MAX overflow as well as total length INT_MAX overflow. Check
12496 explicitly for proper errno values.
12497
228c019e
TS
124982012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12499
302cadd3
TS
12500 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12501 CHAR_MAX.
12502 * string/test-strcmp.c [! WIDE]: Likewise.
12503 * time/tst-mktime2.c: Likewise for INT_MAX.
12504 * string/test-string.h: #include <sys/param.h> for MIN.
12505
228c019e
TS
12506 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12507 * sysdeps/i386/init-first.c (init): Likewise.
12508 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12509 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12510 * sysdeps/sh/init-first.c (init): Likewise.
12511
cfa633f5
UD
125122012-04-01 Ulrich Drepper <drepper@gmail.com>
12513
12514 * po/ru.po: Update from translation team.
d1635ef8 12515 * po/vi.po: Likewise.
cfa633f5 12516
6cd0a5ea
SP
125172012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12518
12519 * resolv/nss_dns/dns-host.c: Merge copyright years.
12520
4b43400f
LD
125212012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12522
12523 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12524 Optimize memcpy with prefetch if
12525 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12526 src, dst pointers have unequal 16 byte alignments.
12527
48c41d04
SP
125282012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12529
12530 [BZ #13928]
12531 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12532 from a CNAME entry and return the minimum ttl for the query.
12533 (gaih_getanswer_slice): Likewise.
12534
b8dc394d
JL
125352012-03-30 Jeff Law <law@redhat.com>
12536
12537 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12538 due to long keys.
12539 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12540 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12541
2f5a5ed0
JL
12542 * resolv/nss_dns/dns-host.c: Update copyright year.
12543
1d39e359
UD
125442012-03-30 Ulrich Drepper <drepper@gmail.com>
12545
c030f70c 12546 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12547 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12548
1d39e359
UD
12549 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12550 comments for sendmmsg.
12551
125522012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12553
12554 [BZ #13691]
12555 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12556 with only 1 character between 0x0041 and 0x01b0.
12557 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12558 * wcsmbs/tst-mbsnrtowcs.c: New file.
12559
20fde227
DM
125602012-03-29 David S. Miller <davem@davemloft.net>
12561
12562 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12563 small copies by hand.
12564
984a4237
JL
125652012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12566
12567 [BZ #13761]
12568 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12569 _nss_compat_initgroups_dyn): Fall back to malloc/free
12570 for large group memberships.
12571
18c9d62b
DM
125722012-03-28 David S. Miller <davem@davemloft.net>
12573
88d85d4f
DM
12574 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12575 that branches into memcpy.
12576 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12577 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12578 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12579 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12580 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12581 bits.
12582 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12583 implementation too.
12584 * sysdeps/sparc/mempcpy.S: New file.
12585
e5aa83e1
DM
12586 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12587 the IFUNC routine in the libc case.
12588 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12589
88570753
DM
12590 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12591 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12592 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12593 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12594 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12595 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12596 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12597 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12598
249d7567
DM
12599 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12600 loop to 256 bytes instead of 64 bytes and fix test signedness.
12601
18c9d62b
DM
12602 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12603 * sysdeps/sparc/sparc32/Makefile: rather than here...
12604 * sysdeps/sparc/sparc64/Makefile: and here.
12605
05f3d1f6
UD
126062012-03-28 Ulrich Drepper <drepper@gmail.com>
12607
12608 * malloc/mallocbug.c: Avoid warnings about unused variables.
12609
86ae07a8
JL
126102012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12611
12612 [BZ #13760]
12613 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12614 in the right place. Discard and retry query if response is
12615 larger than input buffer size.
12616
41bf21a1
JM
126172012-03-28 Joseph Myers <joseph@codesourcery.com>
12618
d6270972
JM
12619 [BZ #369]
12620 [BZ #2678]
12621 [BZ #3866]
12622 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12623 x for large integer exponent.
12624 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12625 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12626 sign of result as needed afterwards.
12627 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12628 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12629 result for underflowing pow the same as for overflow.
12630 (__kernel_standard_l): Handle powl overflow and underflow here
12631 rather than calling __kernel_standard.
12632 * math/libm-test.inc (pow_test): Add more tests.
12633
414fca03 12634 [BZ #3868]
41bf21a1
JM
12635 [BZ #13879]
12636 [BZ #13910]
12637 [BZ #13911]
12638 [BZ #13912]
12639 [BZ #13913]
12640 [BZ #13915]
12641 [BZ #13916]
12642 [BZ #13917]
12643 [BZ #13918]
12644 [BZ #13919]
12645 [BZ #13920]
12646 [BZ #13921]
12647 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12648 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12649 (__kernel_standard_l): New function.
12650 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12651 __kernel_standard.
12652 * math/w_acosl.c (__acosl): Likewise.
12653 * math/w_asinl.c (__asinl): Likewise.
12654 * math/w_atan2l.c (__atan2l): Likewise.
12655 * math/w_atanhl.c (__atanhl): Likewise.
12656 * math/w_coshl.c (__coshl): Likewise.
12657 * math/w_exp10l.c (__exp10l): Likewise.
12658 * math/w_exp2l.c (__exp2l): Likewise.
12659 * math/w_fmodl.c (__fmodl): Likewise.
12660 * math/w_hypotl.c (__hypotl): Likewise.
12661 * math/w_j0l.c (__j0l, __y0l): Likewise.
12662 * math/w_j1l.c (__j1l, __y1l): Likewise.
12663 * math/w_jnl.c (__jnl, __ynl): Likewise.
12664 * math/w_lgammal.c (__lgammal): Likewise.
12665 * math/w_log10l.c (__log10l): Likewise.
12666 * math/w_log2l.c (__log2l): Likewise.
12667 * math/w_logl.c (__logl): Likewise.
12668 * math/w_powl.c (__powl): Likewise.
12669 * math/w_remainderl.c (__remainderl): Likewise.
12670 * math/w_scalbl.c (sysv_scalbl): Likewise.
12671 * math/w_sinhl.c (__sinhl): Likewise.
12672 * math/w_sqrtl.c (__sqrtl): Likewise.
12673 * math/w_tgammal.c (__tgammal): Likewise.
12674 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12675 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12676 * math/libm-test.inc (acos_test): Add more tests.
12677 (acosh_test): Likewise.
12678 (asin_test): Likewise.
12679 (atanh_test): Likewise.
12680 (exp_test): Likewise.
12681 (exp10_test): Likewise.
12682 (exp2_test): Likewise.
12683 (expm1_test): Likewise.
12684 (lgamma_test): Likewise.
12685 (log_test): Likewise.
12686 (log10_test): Likewise.
12687 (log1p_test): Likewise.
12688 (log2_test): Likewise.
12689 (pow_test): Do not allow some spurious overflow exceptions.
12690 (sqrt_test): Add more tests.
12691 (tgamma_test): Likewise.
12692 (y0_test): Likewise.
12693 (y1_test): Likewise.
12694 (yn_test): Likewise.
12695
dd62fda6
AB
126962012-03-27 Anton Blanchard <anton@samba.org>
12697
12698 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12699 MAP_HUGETLB.
12700 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12701 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12702 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12703
1e3cdfda
AJ
127042012-03-27 David S. Miller <davem@davemloft.net>
12705
b855ab85
DM
12706 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12707
1e3cdfda
AJ
12708 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12709 have-as-vis3 check.
12710
127112012-03-27 Andreas Jaeger <aj@suse.de>
12712
12713 * sysdeps/x86_64/elf/configure.in: Moved to ...
12714 * sysdeps/x86_64/configure.in: ... here.
12715 * sysdeps/x86_64/elf/start.S: Moved to ...
12716 * sysdeps/x86_64/start.S: ... here.
12717 * sysdeps/x86_64/elf/configure: Delete.
12718
12719 * sysdeps/x86_64/configure.in: Merge contents from
12720 sysdeps/i386/configure.in (without i686 check).
12721
12722 * sysdeps/i386/elf/Versions: Merge into ...
12723 * sysdeps/i386/Versions: ... this.
12724 * sysdeps/i386/elf/Versions: Delete file.
12725 * sysdeps/i386/elf/start.S: Moved to ...
12726 * sysdeps/i386/start.S: ...here.
12727 * sysdeps/i386/elf/configure.in: Merge into...
12728 * sysdeps/i386/configure.in: ...here.
12729 * sysdeps/i386/elf/configure.in: Delete file.
12730 * sysdeps/i386/elf/configure: Delete file.
12731
12732 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12733 * debug/backtracesyms.c: ... here.
12734 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12735 * debug/backtracesymsfd.c: ... here.
12736 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12737 * sysdeps/generic/ifunc-sel.h: ... here.
12738
12739 * sysdeps/unix/i386/start.c: Delete file.
12740 * sysdeps/unix/sparc/start.c: Delete file.
12741 * sysdeps/unix/start.c: Delete file.
12742
12743 * sysdeps/sh/elf/configure.in: Moved to ...
12744 * sysdeps/sh/configure.in: ... here.
12745 * sysdeps/sh/elf/start.S: Moved to ...
12746 * sysdeps/sh/start.S: ... here.
12747 * sysdeps/sh/elf/configure: Delete file.
12748
12749 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12750 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12751 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12752 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12753 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12754 * sysdeps/powerpc/powerpc64/start.S: here.
12755 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12756 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12757 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12758 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12759 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12760
12761 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12762 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12763 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12764 * sysdeps/powerpc/powerpc32/start.S: ... here.
12765 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12766 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12767 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12768
12769 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12770 * sysdeps/powerpc/ifunc-sel.h: ... here.
12771 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12772 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12773
12774 * sysdeps/sparc/elf/configure.in: Moved to ...
12775 * sysdeps/sparc/configure.in: ... here.
12776 * sysdeps/sparc/elf/configure: Delete file.
12777 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12778 * sysdeps/sparc/sparc32/start.S: ... here.
12779 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12780 * sysdeps/sparc/sparc64/start.S: ... here.
12781 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12782 * sysdeps/sparc/sparc32/Makefile: ... this.
12783 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12784 * sysdeps/sparc/sparc64/Makefile: ... this.
12785
12786 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12787 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12788 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12789 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12790 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12791 * sysdeps/s390/s390-32/setjmp.S: ... here.
12792 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12793 * sysdeps/s390/s390-32/configure.in: ... here.
12794 * sysdeps/s390/s390-32/elf/configure: Delete file.
12795 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12796 * sysdeps/s390/s390-32/start.S: ... here.
12797
12798 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12799 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12800 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12801 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12802 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12803 * sysdeps/s390/s390-64/setjmp.S: ... here.
12804 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12805 * sysdeps/s390/s390-64/configure.in: ... here
12806 * sysdeps/s390/s390-64/elf/configure: Delete file.
12807 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12808 * sysdeps/s390/s390-64/start.S: ... here.
12809 * sysdeps/s390/s390-64/elf/configure: Delete.
12810
12811 * configure.in: Remove support for elf directories in sysdeps.
12812
12813 * configure: Regenerated.
12814 * sysdeps/i386/configure: Regenerated.
12815 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12816 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12817 * sysdeps/s390/s390-32/configure: Regenerated.
12818 * sysdeps/s390/s390-64/configure: Regenerated.
12819 * sysdeps/sh/configure: Regenerated.
12820 * sysdeps/sparc/configure: Regenerated.
12821 * sysdeps/x86_64/configure: Regenerated.
12822
a3f61311
AS
128232012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12824
c876e002
AS
12825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12826
a3f61311
AS
12827 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12828 denormal result into account.
12829
ac4c54f0
RM
128302012-03-25 Roland McGrath <roland@hack.frob.com>
12831
12832 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12833 Reported by Allan McRae <allan@archlinux.org>.
12834
6a9b9c02
JL
128352012-03-23 Jeff Law <law@redhat.com>
12836
12837 * nss/getnssent.c (__nss_getent): Fix typo.
12838
4c42a0c1
DM
128392012-03-23 David S. Miller <davem@davemloft.net>
12840
12841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12842
1532c7ac
L
128432012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12844
12845 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12846 to pad to uint64_t for each field.
12847 (dl_tls_index): Replace unsigned long with uint64_t.
12848
3ff42526
PP
128492012-03-23 Daniel Jacobowitz <dmj@google.com>
12850 Paul Pluzhnikov <ppluzhnikov@google.com>
12851
12852 [BZ #6528]
12853 * grp/Makefile (otherlibs): Don't set it.
12854 * inet/Makefile (otherlibs): Likewise.
12855 * login/Makefile (otherlibs): Likewise.
12856 * nscd/Makefile (otherlibs): Likewise.
12857 * posix/Makefile (otherlibs): Likewise.
12858 * pwd/Makefile (otherlibs): Likewise.
12859 * rt/Makefile (otherlibs): Likewise.
12860 * sunrpc/Makefile (otherlibs): Likewise.
12861 * nss/Makefile (otherlibs): Likewise.
12862 Add libnss_files to routines and static-only-routines.
12863 ($(objpfx)getent): Remove rule.
12864 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12865 static-only-routines.
12866
7c69cd14
JM
128672012-03-22 Joseph Myers <joseph@codesourcery.com>
12868
12869 [BZ #13892]
12870 * math/s_cexp.c: Include <float.h>.
12871 (__cexp): Handle exp result overflowing not necessarily
12872 overflowing both real and imaginary parts of result.
12873 * math/s_cexpf.c: Likewise.
12874 * math/s_cexpl.c: Likewise.
12875 * math/libm-test.inc (cexp_test): Add more tests.
12876 * sysdeps/i386/fpu/libm-test-ulps: Update.
12877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12878
81b035fe
L
128792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12880
12881 * include/link.h (ELFW): New macro.
12882 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12883 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12884
1da7940c
L
128852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12886
12887 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12888 with uint64_t.
12889
b749dbb9
L
128902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12891
12892 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12893 declaration.
12894 (struct La_x32_retval): Likewise.
12895
2ff87f3f
L
128962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12897
12898 * sysdeps/x86_64/preconfigure.in: New file.
12899 * sysdeps/x86_64/preconfigure: New generated file.
12900
c0df8e69
JM
129012012-03-22 Joseph Myers <joseph@codesourcery.com>
12902
48e44791
JM
12903 [BZ #13824]
12904 * math/e_exp2l.c: Include <float.h>.
12905 (__ieee754_exp2l): Handle overflow and underflow cases
12906 separately. Only pass fractional part of argument to
12907 __ieee754_expl.
12908 * math/libm-test.inc (exp2_test): Add more tests.
12909
c0df8e69
JM
12910 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12911 negating x to take absolute value.
12912 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12913 Likewise.
12914 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12915 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12916 Likewise.
12917 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12918 computing low part if x was negated.
12919 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12920
c8e43ba7
L
129212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12922
12923 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12924 la_x32_gnu_pltexit.
12925 (pltexit): Cast int_retval to ptrdiff_t.
12926 * elf/tst-auditmod3b.c: Likewise.
12927 * elf/tst-auditmod4b.c: Likewise.
12928 * elf/tst-auditmod5b.c: Likewise.
12929 * elf/tst-auditmod6b.c: Likewise.
12930 * elf/tst-auditmod6c.c: Likewise.
12931 * elf/tst-auditmod7b.c: Likewise.
12932
12933 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12934 and x32_gnu_pltexit.
12935
12936 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12937 __ELF_NATIVE_CLASS.
12938 (La_x32_regs): New macro.
12939 (La_x32_retval): Likewise.
12940 (la_x32_gnu_pltenter): New function prototype.
12941 (la_x32_gnu_pltexit): Likewise.
12942
7998fa78
AS
129432012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12944
dcb33988
AS
12945 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12946 exponent.
12947
233fc563
AS
12948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12949
7998fa78
AS
12950 * configure.in (libc_cv_cc_nofma): Check for option to disable
12951 generation of FMA instructions.
12952 * configure: Regenerate.
12953 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12954 * sysdeps/ieee754/dbl-64/Makefile: New file.
12955 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12956 Remove brandred-fma4.
12957 (CFLAGS-brandred-fma4.c): Remove.
12958 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12959 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12960 define.
12961 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12962 define.
12963
8e95c99a
L
129642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12965
12966 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12967 LLONG_MAX != LONG_MAX.
12968 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12969 (_fitoa_word): Likewise.
12970 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12971 LLONG_MAX != LONG_MAX.
12972 * stdio-common/_itowa.h: Include <_itoa.h>.
12973 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12974 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12975 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12976 only if not defined.
12977 (_ITOA_WORD_TYPE): Likewise.
12978 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12979 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12980
6f4db457
DM
129812012-03-21 David S. Miller <davem@davemloft.net>
12982
12983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12984
7785fe5a
L
129852012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12986
12987 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12988 of x86_64 when setting libc_cv_slibdir, libdir and
12989 libc_cv_localedir.
12990 * sysdeps/unix/sysv/linux/configure: Regenerated.
12991
4535cd55
JM
129922012-03-21 Joseph Myers <joseph@codesourcery.com>
12993
12994 * manual/lang.texi (Old Varargs): Remove section.
12995 (How Variadic): Update menu.
12996 (va_start): Do not mention varargs.h.
12997
17228132
TS
129982012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12999 Joseph Myers <joseph@codesourcery.com>
13000
13001 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13002 link test.
13003 * configure: Regenerated.
13004
8149f976
TS
130052012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13006
05f3d1f6
UD
13007 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13008 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13009 conformtest.pl
8149f976 13010
1a4ac776
JM
130112012-03-21 Joseph Myers <joseph@codesourcery.com>
13012
be22ce65
JM
13013 * NOTES: Remove.
13014 * Makefile (files-for-dist): Remove NOTES.
13015 (NOTES): Remove rule.
13016 * README: Don't refer to NOTES.
13017 * manual/creature.texi: Don't include macros.texi.
13018 * manual/intro.texi (creature.texi): Remove comment referring to
13019 NOTES.
13020
40b601fb
JM
13021 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13022 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13023 * configure: Regenerated.
13024 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13025 LIBC_TRY_CC_OPTION.
13026 (libc_cv_as_i686): Likewise.
13027 (libc_cv_cc_avx): Likewise.
13028 (libc_cv_cc_sse2avx): Likewise.
13029 (libc_cv_cc_fma4): Likewise.
13030 (libc_cv_cc_novzeroupper): Likewise.
13031 * sysdeps/i386/configure: Regenerated.
13032
1a4ac776
JM
13033 [BZ #13883]
13034 * sysdeps/i386/fpu/s_cexp.S: Remove.
13035 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13036 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13037 * math/libm-test.inc (cexp_test): Add more tests.
13038 * sysdeps/i386/fpu/libm-test-ulps: Update.
13039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13040
a458e7fe
AM
130412012-03-21 Allan McRae <allan@archlinux.org>
13042
13043 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13044
0cb7efc5
JM
130452012-03-21 Joseph Myers <joseph@codesourcery.com>
13046
13047 [BZ #13871]
13048 * math/w_exp2.c: Do not include <float.h>.
13049 (o_threshold, u_threshold): Remove.
13050 (__exp2): Calculate result before checking finiteness and calling
13051 __kernel_standard.
13052 * math/w_exp2f.c: Likewise.
13053 * math/w_exp2l.c: Likewise.
13054 * math/libm-test.inc (exp2_test): Require overflow exception for
13055 1e6 input.
2460d3aa
JM
13056
13057 [BZ #3866]
13058 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13059 range of signed 64-bit integers before using fistpll. Remove
13060 checks for whether integers fit in mantissa bits.
13061 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13062 the range of signed 32-bit integers before using fistpl. Remove
13063 checks for whether integers fit in mantissa bits.
13064 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13065 (__ieee754_powl): Test for y outside the range of signed 64-bit
13066 integers before using fistpll. Reduce 64-bit values to 63-bit
13067 ones as needed.
13068 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13069 divide-by-zero is raised for zero to large negative powers.
13070 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13071 (__ieee754_powl): Test for y outside the range of signed 64-bit
13072 integers before using fistpll. Reduce 64-bit values to 63-bit
13073 ones as needed.
13074 * math/libm-test.inc (pow_test): Add more tests.
13075
eb96ffb0
L
130762012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13077
13078 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13079 <stdio-common/_itoa.h>.
13080 * debug/segfault.c: Likewise.
13081 * elf/dl-cache.c: Likewise.
13082 * elf/dl-minimal.c: Likewise.
13083 * elf/dl-misc.c: Likewise.
13084 * elf/dl-sysdep.c: Likewise.
13085 * elf/dl-version.c: Likewise.
13086 * elf/rtld.c: Likewise.
13087 * hurd/hurdsock.c: Likewise.
13088 * hurd/lookup-retry.c: Likewise.
13089 * malloc/malloc.c: Likewise.
13090 * malloc/mtrace.c: Likewise.
13091 * nscd/nscd_getgr_r.c: Likewise.
13092 * nscd/nscd_getpw_r.c: Likewise.
13093 * nscd/nscd_getserv_r.c: Likewise.
13094 * posix/getopt_init.c: Likewise.
13095 * posix/wordexp.c: Likewise.
13096 * stdio-common/_itoa.c: Likewise.
13097 * stdio-common/printf_fphex.c: Likewise.
13098 * stdio-common/vfprintf.c: Likewise.
13099 * string/_strerror.c: Likewise.
13100 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13101 * sysdeps/i386/i686/hp-timing.h: Likewise.
13102 * sysdeps/mach/_strerror.c: Likewise.
13103 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13104 * sysdeps/mach/hurd/sethostid.c: Likewise.
13105 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13106 * sysdeps/mach/xpg-strerror.c: Likewise.
13107 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13108 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13109 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13110 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13111 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13112 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13113 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13114 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13115 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13116 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13117 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13118 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13119 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13120 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13121 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13122 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13123 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13124 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13125 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13126 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13127 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13128
13129 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13130
13131 * stdio-common/_itoa.h: Moved to ...
13132 * sysdeps/generic/_itoa.h: Here.
13133
13134 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13135
13136 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13137 instead of "_itoa.h" and "_itowa.h".
13138 * stdio-common/vfprintf.: Likewise.
13139
d1af992d
L
131402012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13141
13142 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13143 <bits/wordsize.h>.
13144 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13145 (__signbit): Likwise.
13146 (llrintf): Likwise.
13147 (llrint): Likwise.
13148
114883e0
L
131492012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13150
13151 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13152 __WORDSIZE != 64.
13153
c135cc1b
JM
131542012-03-20 Joseph Myers <joseph@codesourcery.com>
13155
13156 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13157 OVERFLOW_EXCEPTION_OK.
13158 * math/libm-test.inc ("Philosophy"): Update comment about
13159 exception testing.
13160 (OVERFLOW_EXCEPTION): Define.
13161 (OVERFLOW_EXCEPTION_OK): Likewise.
13162 (INVALID_EXCEPTION_OK): Renumber.
13163 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13164 (IGNORE_ZERO_INF_SIGN): Likewise.
13165 (test_exceptions): Handle FE_OVERFLOW.
13166 (exp10_test): Expect overflow exceptions.
13167 (exp2_test): Likewise.
13168 (expm1_test): Likewise.
13169 (nextafter_test): Likewise.
13170 (pow_test): Likewise.
13171 (scalbn_test): Likewise.
13172 (scalbln_test): Likewise.
13173
95443d88
L
131742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13175
13176 * sysdeps/x86_64/bits/atomic.h
13177 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13178 64bit integer.
13179 (atomic_exchange_acq): Likewise.
13180 (__arch_exchange_and_add_body): Likewise.
13181 (__arch_add_body): Likewise.
13182 (atomic_add_negative): Likewise.
13183 (atomic_add_zero): Likewise.
13184
490df6c4
L
131852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13186
c2722551 13187 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
13188 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13189
5e52b189
L
131902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13191
13192 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13193 Check __x86_64__ instead of __WORDSIZE.
13194
a9879d4c
L
131952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13196
13197 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13198
5df98260
DM
131992012-03-19 David S. Miller <davem@davemloft.net>
13200
e1497744
DM
13201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13202
5df98260
DM
13203 * sysdeps/sparc/fpu/fenv_private.h: New file.
13204 * sysdeps/sparc/fpu/math_private.h: Use it.
13205 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13206 Remove.
13207 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13208 (libc_feholdexcept_setroundl): Remove.
13209 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13210 Remove.
13211 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13212 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13213
b4c35121
L
132142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13215
13216 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13217 int64_t instead of long int.
13218 (INSERT_WORDS64): Likwise.
13219
56965fd7
L
132202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13221
13222 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13223 _Unwind_GetCFA return to _Unwind_Ptr first.
13224
83d1aec8
JM
132252012-03-19 Joseph Myers <joseph@codesourcery.com>
13226
1897ad44
JM
13227 [BZ #13629]
13228 * math/s_clog.c: Include <float.h>.
13229 (__clog): Scale large or subnormal inputs.
13230 * math/s_clogf.c: Likewise.
13231 * math/s_clogl.c: Likewise.
13232 * math/s_clog10.c: Include <float.h>.
13233 (M_LOG10_2): Define.
13234 (__clog10): Scale large or subnormal inputs.
13235 * math/s_clog10f.c: Likewise.
13236 * math/s_clog10l.c: Likewise.
13237 * math/libm-test.inc (clog_test): Add more tests.
13238 (clog10_test): Likewise.
13239 * sysdeps/i386/fpu/libm-test-ulps: Update.
13240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13241
7726d6a9
JM
13242 [BZ #11451]
13243 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13244 x and y.
13245 * math/libm-test.inc (atan2_test): Add another test.
13246
83d1aec8
JM
13247 * Makerules (common-objdir-compile): Remove.
13248 * sysdeps/unix/Makefile (config-generated): Do not add
13249 $(unix-generated) to variable.
13250 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13251 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13252 Remove rule.
13253 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13254 Likewise.
13255 [generic bits/local_lim.h] (before-compile): Do not append to
13256 variable.
13257 [generic bits/local_lim.h] (common-generated): Likewise.
13258 [generic sys/param.h] (before-compile): Do not append to variable.
13259 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13260 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13261 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13262 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13263 include.
13264 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13265 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13266 [generic sys/param.h] ($(addprefix
13267 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13268 [generic sys/param.h] (common-generated): Do not append to
13269 variable.
13270 [generic sys/param.h] (sysdep_headers): Likewise.
13271 [generic bits/errno.h] (before-compile): Do not append to
13272 variable.
13273 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13274 rule.
13275 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13276 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13277 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13278 [generic bits/errno.h] (common-generated): Do not append to
13279 variable.
13280 [generic bits/ioctls.h] (before-compile): Do not append to
13281 variable.
13282 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13283 rule.
13284 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13285 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13286 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13287 rule.
13288 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13289 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13290 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13291 [generic bits/ioctls.h] (common-generated): Do not append to
13292 variable.
13293 [generic sys/syscall.h] (syscall.h): Remove variable.
13294 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13295 rule.
13296 [generic sys/syscall.h] (before-compile): Do not append to
13297 variable.
13298 [generic sys/syscall.h] (common-generated): Likewise.
13299 * sysdeps/unix/errnos-tmpl.c: Remove file.
13300 * sysdeps/unix/errnos.awk: Likewise.
13301 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13302 * sysdeps/unix/ioctls.awk: Likewise.
13303 * sysdeps/unix/mk-local_lim.c: Likewise.
13304 * sysdeps/unix/snarf-ioctls: Likewise.
13305
4851a949
RH
133062012-03-19 Richard Henderson <rth@twiddle.net>
13307
bd37f2ee
RH
13308 * sysdeps/i386/fpu/fenv_private.h: New file.
13309 * sysdeps/i386/fpu/math_private.h: Use it.
13310 (math_opt_barrier, math_force_eval): Remove.
13311 (libc_feholdexcept_setround_53bit): Remove.
13312 (libc_feupdateenv_53bit): Remove.
13313 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13314 (math_opt_barrier, math_force_eval): Remove.
13315 (libc_feholdexcept): Remove.
13316 (libc_feholdexcept_setround): Remove.
13317 (libc_fetestexcept, libc_fesetenv): Remove.
13318 (libc_feupdateenv_test): Remove.
13319 (libc_feupdateenv, libc_feholdsetround): Remove.
13320 (libc_feresetround): Remove.
13321
d0adc922
RH
13322 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13323 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13324
0fe0f1f8
RH
13325 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13326 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13327 (libc_feupdateenv_testl): New.
13328 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13329 (libc_feupdateenv_testf): New.
13330 (libc_feupdateenv): Use libc_feupdateenv_test.
13331 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13332 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13333
eb92c487
RH
13334 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13335 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13336 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13337 (libc_feresetround_noex): New.
13338 (libc_feresetround_noexf): New.
13339 (libc_feresetround_noexl): New.
13340 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13341 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13342 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13343 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13344 SET_RESTORE_ROUND.
13345 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13346 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13347 (__cos): Likewise.
13348 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13349 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13350 SET_RESTORE_ROUND_NOEX.
13351 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13352 SET_RESTORE_ROUND_NOEXF.
13353 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13354 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13355 (libc_feholdsetroundf): New.
13356 (libc_feresetround, libc_feresetroundf): New.
13357
7d2e8012
RH
13358 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13359 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13360 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13361
b4dabbb4
RH
13362 * sysdeps/generic/math_private.h: Include <fenv.h>.
13363 (default_libc_feholdexcept): New.
13364 (default_libc_feholdexcept_setround): New.
13365 (default_libc_fesetenv, default_libc_feupdateenv): New.
13366 (libc_feholdexcept): Only define if undefined.
13367 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13368 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13369 (libc_feholdexcept_setroundl): Likewise.
13370 (libc_feholdexcept_setround_53bit): Likewise.
13371 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13372 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13373 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13374 (libc_feupdateenv_53bit): Likewise.
13375 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13376 (libc_feholdexcept): Convert from macro to inline function.
13377 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13378 (libc_fesetenv, libc_feupdateenv): Likewise.
13379
4851a949
RH
13380 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13381 not previously defined.
13382 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13383 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13384 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13385 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13386 * sysdeps/ieee754/flt-32/math_private.h: New file.
13387 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13388 math_private.h below SET_FLOAT_WORD.
13389 (__isnan, __isinf_ns, __finite): Remove.
13390 (__isnanf, __isinf_nsf, __finitef): Remove.
13391
e79d442e
AS
133922012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13393
13394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13395
90b80344
DM
133962012-03-17 David S. Miller <davem@davemloft.net>
13397
13398 [BZ #6471]
13399 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13400 for 2.16.
13401
edc21804
DM
134022012-03-16 David S. Miller <davem@davemloft.net>
13403
77e927af
DM
13404 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13405 warnings.
13406
374976dd
DM
13407 [BZ #6471]
13408 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13409 properly.
13410 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13411 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13412 sysdep_routines when subdir is sysvipc.
13413 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13414 __getshmlba helper.
13415
edc21804
DM
13416 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13417
473c3ef3
L
134182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13419
13420 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13421 [__LP64__].
13422
eb0f39b6
L
134232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13424
13425 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13426 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13427 (__lround): Renamed to ...
13428 (__llround): This. Replace long int with long long int.
13429 Define lround functions as aliases of llround functions.
13430 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13431
6b6cd74b
L
134322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13433
13434 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13435 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13436 adresses to uintptr_t. Replace "long int" and "unsigned long
13437 int" with "greg_t" on va_arg.
13438
f1a77b01
L
134392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13440
13441 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13442 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13443
13444 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13445 Move e_machine check before EI_CLASS check. Handle x32
13446 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13447 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13448 SKIP_EM_IA_64 and include
13449 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13450
13451 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13452 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13453 (add_system_dir): New macro.
13454
13455 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13456 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13457
11b90b9f
JM
134582012-03-16 Joseph Myers <joseph@codesourcery.com>
13459
c36e1d23
JM
13460 [BZ #2551]
13461 [BZ #2552]
13462 [BZ #2553]
13463 [BZ #2554]
13464 [BZ #2562]
13465 [BZ #2563]
13466 [BZ #2565]
13467 [BZ #2566]
13468 [BZ #2576]
13469 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13470 (y0): Likewise.
13471 * math/w_j0f.c (j0f): Likewise.
13472 (y0f): Likewise.
13473 * math/w_j0l.c (__j0l): Likewise.
13474 (__y0l): Likewise.
13475 * math/w_j1.c (j1): Likewise.
13476 (y1): Likewise.
13477 * math/w_j1f.c (j1f): Likewise.
13478 (y1f): Likewise.
13479 * math/w_j1l.c (__j1l): Likewise.
13480 (__y1l): Likewise.
13481 * math/w_jn.c (jn): Likewise.
13482 (yn): Likewise.
13483 * math/w_jnf.c (jnf): Likewise.
13484 (ynf): Likewise.
13485 * math/w_jnl.c (__jnl): Likewise.
13486 (__ynl): Likewise.
13487 * math/libm-test.inc (j0_test): Add more tests.
13488 (j1_test): Likewise.
13489 (jn_test): Likewise. Add trailing semicolon to existing test.
13490 (y0_test): Likewise.
13491 (y1_test): Likewise.
13492 * sysdeps/i386/fpu/libm-test-ulps: Update.
13493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13494
11b90b9f
JM
13495 [BZ #13851]
13496 [BZ #13854]
13497 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13498 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13499 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13500 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13501 (__tanl): Set errno for infinite argument.
13502 * sysdeps/i386/fpu/mptan.c: Remove.
13503 * sysdeps/i386/fpu/s_tan.S: Likewise.
13504 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13505 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13506 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13507 * math/libm-test.inc (tan_test): Add more tests and enable more
13508 tests for double and long double.
13509 * sysdeps/i386/fpu/libm-test-ulps: Update.
13510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13511
6a1bd2a1
JK
135122012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13513
13514 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13515 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13516
10a803e0
RM
135172012-03-16 Roland McGrath <roland@hack.frob.com>
13518
13519 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13520 * configure.in: Use it for both main tree and add-ons.
13521 * configure: Regenerated.
13522
f196c7f7
L
135232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13524
13525 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13526
8848d99d
JM
135272012-03-16 Joseph Myers <joseph@codesourcery.com>
13528
96cbe7f4
JM
13529 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13530 in comment.
13531
8848d99d
JM
13532 [BZ #13851]
13533 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13534 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13535 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13536 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13537 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13538 infinite argument.
13539 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13540 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13541 != 0 for prec == 2.
13542 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13543 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13544 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13545 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13546 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13547 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13548 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13549 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13550 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13551 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13552 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13553 * math/libm-test.inc (cos_test): Add more tests and enable more
13554 tests for long double.
13555 (sin_test): Likewise.
13556 (sincos_test): Likewise.
13557 * sysdeps/i386/fpu/libm-test-ulps: Update.
13558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13559
dd7f4703
DM
135602012-03-16 David S. Miller <davem@davemloft.net>
13561
13562 * sysdeps/sparc/fpu/math_private.h: New file.
13563
006f1daa
DM
135642012-03-15 David S. Miller <davem@davemloft.net>
13565
c0c83bc8
DM
13566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13567 file.
e6a62e18 13568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13570 file.
e6a62e18
DM
13571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13576 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13577 sysdep routines.
13578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13579
88cb87d9
DM
13580 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13581 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13582
006f1daa 13583 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13585 sparc-ifunc.h
006f1daa 13586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13588 Likewise.
13589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13590 Likewise.
006f1daa
DM
13591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13595 Likewise.
006f1daa
DM
13596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13601 Likewise.
13602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13603 Likewise.
006f1daa
DM
13604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13608 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13609 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13610 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13611 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13612 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13616 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13619 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13620 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13622 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13623 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13624 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13625 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13626 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13627 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13628
11e0098e
AS
136292012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13630
13631 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13632 scaling.
13633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13634
e85b09d0
AJ
136352012-03-15 Andreas Jaeger <aj@suse.de>
13636
13637 [BZ #13852]
13638 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13639 ieee754/flt-32 implementation for sin, cos and sincos.
13640 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13641 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13642 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13643 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13644 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13645 ieee754/flt-32 implementation for tan.
13646
13647 * math/libm-test.inc (cos_test): Enable some large input tests for
13648 float as well
13649 (sin_test): Likewise.
13650 (sincos_test): Likewise.
13651 (tan_test): Add tests for large input.
13652
13653 * sysdeps/i386/fpu/libm-test-ulps: Update.
13654
81c64153
AJ
136552012-03-15 Andreas Jaeger <aj@suse.de>
13656
13657 [BZ #13658]
13658 * math/libm-test.inc (cos_test): Add more test cases.
13659 (sin_test): Likewise.
13660 (sincos_test): Likewise.
13661
7bbfa5c6
AJ
136622012-03-15 Andreas Jaeger <aj@suse.de>
13663
13664 [BZ #13837]
13665 * math/libm-test.inc (cos_test): Add a test case for large input
13666 value.
13667 (sin_test): Likewise.
13668 (sincos_test): Likewise.
13669
136702012-03-15 Andreas Jaeger <aj@suse.de>,
13671 Joseph Myers <joseph@codesourcery.com>
13672
13673 [BZ #13658]
0671f479 13674 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13675 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13676 * sysdeps/i386/fpu/branred.c: Likewise.
13677 * sysdeps/i386/fpu/dosincos.c: Likewise.
13678 * sysdeps/i386/fpu/mpa.c: Likewise.
13679 * sysdeps/i386/fpu/s_cos.S: Likewise.
13680 * sysdeps/i386/fpu/s_sin.S: Likewise.
13681 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13682 * sysdeps/i386/fpu/sincos32.c: Likewise.
13683
13684 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13685 Define.
13686 (libc_feupdateenv_53bit): Define.
13687 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13688 Define.
13689 (libc_feupdateenv_53bit): Define.
13690
13691 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13692 53 bit (without extend i386 double precision).
13693
13694 * math/libm-test.inc (sincos_test): Add tests for large input.
13695 (sin): Likewise.
13696 (cos): Likewise.
13697
13698 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13699
9cad04ea
AS
137002012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13701
13702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13703
f7062b9a
DM
137042012-03-15 David S. Miller <davem@davemloft.net>
13705
13706 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13707 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13708 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13709 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13722 file.
f7062b9a 13723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13725 file.
f7062b9a 13726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13728 file.
f7062b9a 13729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13731 file.
f7062b9a
DM
13732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13733 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13734 fmin/fmax sysdep routines.
13735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13736
7bd951ff
DM
137372012-03-14 David S. Miller <davem@davemloft.net>
13738
559398ab
DM
13739 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13740 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13741 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13742 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13743 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13744 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13745 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13746 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13747 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13748 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13749 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13750 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13756 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13757 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13759 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13760 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13761 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13762 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13763 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13764 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13765 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13766 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13767 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13768 routines.
13769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13770 file.
559398ab 13771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13773 file.
559398ab 13774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13776 file.
559398ab 13777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13779 file.
559398ab 13780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13782 file.
559398ab 13783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13785 file.
13786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13787 file.
13788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13789 file.
13790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13791 file.
13792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13793 New file.
13794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13795 file.
13796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13797 file.
559398ab 13798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13800 file.
559398ab 13801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13803 file.
559398ab 13804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13806 file.
559398ab 13807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13809 VIS3 routines.
559398ab
DM
13810
13811 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13812 New file.
13813
5a1c1e32
DM
13814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13815
eae47a36
DM
13816 * sysdeps/sparc/configure.in: New file.
13817 * sysdeps/sparc/configure: Generate.
13818 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13819 * configure: Regenerate.
13820 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13821 * config.make.in (have-as-vis3): New.
13822 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13823 available use -Av9d instead of -Av9a.
13824 * sysdeps/sparc/sparc64/Makefile: Likewise.
13825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13827 New file.
13828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13829 file.
13830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13831 New file.
13832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13833 file.
eae47a36
DM
13834 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13835 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13836 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13837 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13838 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13839
c0c83bc8
DM
13840 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13841 fzeros/fnegs to load 0x80000000 into a float register instead of
13842 using the stack.
7bd951ff
DM
13843 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13844
bd951ccb
JM
138452012-03-14 Joseph Myers <joseph@codesourcery.com>
13846
13847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13848 bits/syscall.h.
13849 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13850 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13851 ($(inst_includedir)/bits/syscall.h): Remove rule.
13852 ($(objpfx)bits/syscall.d): Include instead of
13853 $(objpfx)syscall-list.d.
13854 (generated): Change syscall-list.h and syscall-list.d to
13855 bits/syscall.h and bits/syscall.d.
13856
bb4e6db2
RM
138572012-03-14 Roland McGrath <roland@hack.frob.com>
13858
13859 [BZ #13846]
13860 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13861
aa4a2ae1
JM
138622012-03-14 Joseph Myers <joseph@codesourcery.com>
13863
e456826d
JM
13864 [BZ #13841]
13865 * math/s_csqrt.c: Include <float.h>.
13866 (__csqrt): Scale large or subnormal inputs.
13867 * math/s_csqrtf.c: Likewise.
13868 * math/s_csqrtl.c: Likewise.
13869 * math/libm-test.inc (csqrt_test): Add more tests.
13870 * sysdeps/i386/fpu/libm-test-ulps: Update.
13871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13872
aa4a2ae1
JM
13873 [BZ #13840]
13874 * math/libm-test.inc (hypot_test): Add more tests.
13875
7c10fd35
DM
138762012-03-13 David S. Miller <davem@davemloft.net>
13877
13878 [BZ #13840]
13879 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13880 double-precision for the calculation instead of scaling.
13881
f453b98b
JM
138822012-03-13 Joseph Myers <joseph@codesourcery.com>
13883
13884 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13885 manipulate bits before adding and subtracting TWO52[sx].
13886 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13887 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13888 Likewise.
13889 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13890
09a3453f
DM
138912012-03-13 David S. Miller <davem@davemloft.net>
13892
8e59da90
DM
13893 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13894 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13895 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13896 rtld-global-offsets.h
13897 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13898
2a8ab7f2
DM
13899 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13900 large parameters.
13901
10f62770
DM
13902 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13903
5f0bdb18
DM
13904 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13905 'err' in the ifdef scope in which it is actually used.
13906
09a3453f
DM
13907 * nss/nss_db/db-init.c: Include string.h
13908
b4b2eb5e
DM
139092012-03-12 David S. Miller <davem@davemloft.net>
13910
98bb2f1c
DM
13911 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13912 masking out of the most significant byte of random value used.
13913 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13914 Fix coding style in previous change.
13915
b4b2eb5e
DM
13916 * sysdeps/unix/sysv/linux/kernel-features.h
13917 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13918 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13919 expression.
13920 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13921 later.
13922
6e226b09
DM
139232012-03-11 David S. Miller <davem@davemloft.net>
13924
a1bcbd40
DM
13925 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13926 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13927 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13928 for 'resultvar' otherwise things get truncated on 64-bit.
13929
cb9d6174
DM
13930 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13931 Fix masking out of the most significant byte of random value used.
13932
6e226b09
DM
13933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13934
058c132d
AS
139352012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13936
13937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13938
2d2cd515
DM
139392012-03-09 David S. Miller <davem@davemloft.net>
13940
13941 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13942 variables with appropriate CPP guards.
13943 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13944 frame pointer, not the stack pointer. Correct layout comments. Fix test
13945 on resulting framesize and the management of the outregs buffer for pltexit.
13946 Preserve floating point return values across _dl_call_pltexit call.
13947 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13948 framesize and the management of the outregs buffer for pltexit.
13949 Preserve floating point return values across _dl_call_pltexit
13950 call.
13951 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13952 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13953 (print_exit): Fix format string for return register value.
13954
9a07f9d0
JM
139552012-03-10 Joseph Myers <joseph@codesourcery.com>
13956
13957 * sunrpc/Makefile (others): Add rpcgen.
13958 ($(objpfx)rpcgen): Remove special build rule and dependency on
13959 libc.
13960 * sunrpc/rpcgen.c: New file.
13961
547b5e30
PE
139622012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13963
c524201a
PE
13964 [BZ #13673]
13965 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13966 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13967 * sysdeps/i386/crti.S: Likewise.
13968 * sysdeps/i386/crtn.S: Likewise.
13969 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13970 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13971 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13972 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13973 * sysdeps/sh/crti.S: Likewise.
13974 * sysdeps/sh/crtn.S: Likewise.
13975 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13976
7b6235f2
PE
13977 [BZ #13673]
13978 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13979 with URL.
13980 * locale/programs/locfile-kw.gperf: Likewise.
13981 * locale/programs/charmap-kw.h: Regenerated.
13982 * locale/programs/locfile-kw.h: Likewise.
13983
547b5e30
PE
13984 [BZ #13673]
13985 * intl/plural.y: Replace FSF snail mail address with URL.
13986 * intl/plural.c: Regenerated.
13987
5f0a5dae
RH
139882012-03-09 Richard Henderson <rth@twiddle.net>
13989
13990 * include/math_private.h: Remove file.
13991 * math/math_private.h: Move file ...
13992 * sysdeps/generic/math_private.h: ... here.
13993
b8c03620
RH
13994 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13995 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13996 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13997
4e234f5d 13998 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13999 and <math_private.h>.
14000 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14001 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14002 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14003 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14004 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14005 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14006 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14007 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14008 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14009 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14011 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14012 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14013 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14014 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14015 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14016 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14017 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14018 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14019 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14020 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14021 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14022 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14023 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14024 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14025 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14026 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14027 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14028 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14029 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14030 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14031 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14032 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14033 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14034 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14035 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14036 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14037 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14038 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14039 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14040 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14041 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14042 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14043 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14044 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14045 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14046 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14047 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14048 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14049 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14050 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14051 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14052 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14053 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14054 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14055 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14056 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14057 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14058 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14059 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14060 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14061 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14062 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14063 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14064 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14065 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14066 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14067 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14068 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14069 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14070 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14071 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14072 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14073 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14074 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14075 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14076 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14077 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14078 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14079 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14080 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14081 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14082 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14083 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14084 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14085 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14086 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14087 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14088 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14089 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14090 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14091 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14092 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14093 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14094 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14095 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14096 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14097 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14098 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14099 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14100 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14101 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14102 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14103 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14104 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14105 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14106 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14107 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14108 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14109 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14110 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14111 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14112 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14113 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14114 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14115 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14116 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14117 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14118 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14119 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14120 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14121 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14122 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14123 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14124 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14125 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14126 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14127 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14128 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14129 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14130 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14131 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14132 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14133 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14134 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14135 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14136 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14137 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14138 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14139 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14140 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14141 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14142 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14143 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14144 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14145 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14146 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14147 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14148 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14149 * sysdeps/ieee754/k_standard.c: Likewise.
14150 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14151 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14152 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14153 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14154 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14155 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14156 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14157 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14158 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14159 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14160 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14161 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14162 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14163 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14164 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14165 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14166 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14167 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14168 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14169 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14170 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14171 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14172 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14173 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14174 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14175 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14176 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14177 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14178 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14179 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14180 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14181 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14182 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14183 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14184 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14185 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14186 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14187 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14188 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14189 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14190 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14191 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14192 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14193 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14194 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14195 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14196 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14197 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14198 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14199 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14200 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14201 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14202 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14203 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14204 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14205 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14206 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14207 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14208 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14209 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14210 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14211 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14212 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14213 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14214 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14215 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14216 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14217 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14218 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14219 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14220 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14221 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14222 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14223 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14224 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14225 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14226 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14227 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14228 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14229 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14230 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14231 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14232 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14233 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14234 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14235 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14236 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14237 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14238 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14239 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14240 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14241 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14242 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14243 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14244 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14245 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14246 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14247 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14248 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14249 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14250 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14251 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14252 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14253 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14254 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14255 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14256 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14257 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14258 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14259 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14260 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14261 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14262 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14263 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14264 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14265 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14266 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14267 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14268 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14269 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14270 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14271 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14272 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14273 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14274 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14275 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14276 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14277 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14278 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14279 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14280 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14281 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14282 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14283 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14284 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14285 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14286 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14287 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14288 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14289 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14290 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14291 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14292 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14293 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14294 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14295 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14296 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14297 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14298 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14299 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14300 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14301 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14302 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14303 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14304 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14305 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14306 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14307 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14308 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14309 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14310 * sysdeps/ieee754/s_lib_version.c: Likewise.
14311 * sysdeps/ieee754/s_matherr.c: Likewise.
14312 * sysdeps/ieee754/s_signgam.c: Likewise.
14313 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14314 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14315 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14316 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14317 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14318 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14319 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14320 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14321 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14322 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14323 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14324 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14325 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14326 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14327 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14328 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14329 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14330 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14331 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14332 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14333 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 14334
1991fa03
JM
143352012-03-09 Joseph Myers <joseph@codesourcery.com>
14336
14337 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14338 * sunrpc/rpc_main.c: Likewise.
14339 * sunrpc/rpc_svcout.c: Likewise.
14340
60d6f5a6
DM
143412012-03-09 David S. Miller <davem@davemloft.net>
14342
14343 * include/math_private.h: New file.
14344
4962050e
JM
143452012-03-09 Joseph Myers <joseph@codesourcery.com>
14346
02a6f887
JM
14347 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14348 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14349 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14350 from <bits/socket_type.h>.
14351 (enum __socket_type): Don't define here.
14352 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14353 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14354 bits/socket_type.h.
14355
c6e013c1
JM
14356 [BZ #13566]
14357 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14358 checking __USE_GNU.
14359
4962050e
JM
14360 * Makerules ($(inst_includedir)/%.h): New rule.
14361 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14362 (install-others): Remove variable setting.
14363 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14364
38842f45
RH
143652012-03-08 Richard Henderson <rth@twiddle.net>
14366
67bb6da6
RH
14367 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14368 from macro to inline function; merge with the
14369 !__LIBC_INTERNAL_MATH_INLINES version.
14370 (__ieee754_sqrtf): Likewise.
14371
15194b4b
RH
14372 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14373 to inline function.
14374 (__rintf, __floor, __floorf): Likewise.
14375
64e21ede
RH
14376 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14377 macro to inline function.
14378 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14379
38842f45
RH
14380 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14381 not <math/math_private.h>.
14382
c64bf5fe
DM
143832012-03-08 David S. Miller <davem@davemloft.net>
14384
14385 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14386 copyright year.
14387 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14388
82d86f28
TS
143892012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14390
14391 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14392 normalization.
14393 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14394 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14395
aea5d727
UD
143962012-03-08 Ulrich Drepper <drepper@gmail.com>
14397
14398 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14399 be defined individually, they must be defined as a block. Define
14400 S for printing a string instead of hidint the different by using a
14401 macro for adding the 'l'.
14402 * stdio-common/tst-fphex-wide.c: Adjust.
14403
70bca0a3
MP
144042012-03-07 Marek Polacek <polacek@redhat.com>
14405
14406 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14407
65b81130
MP
144082012-03-08 Marek Polacek <polacek@redhat.com>
14409
14410 [BZ #13806]
14411 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14412 * stdio-common/tst-fphex.c: Define a few macros to make the
14413 test reusable. Use them.
14414 * stdio-common/tst-fphex-wide.c: New file.
14415
07037eeb
JM
144162012-03-08 Joseph Myers <joseph@codesourcery.com>
14417
a7a93d50
JM
14418 [BZ #6911]
14419 * manual/macros.texi (gnusystems): New macro.
14420 (nongnusystems): Likewise.
14421 (gnulinuxhurdsystems): Likewise.
14422 (gnuhurdsystems): Likewise..
14423 (gnulinuxsystems): Likewise.
14424 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14425 variants of the GNU system, not "GNU system".
14426 * manual/conf.texi: Likewise.
14427 * manual/errno.texi: Likewise. Update example of errno macro
14428 expansion.
14429 * manual/filesys.texi: Likewise.
14430 (getumask): Document as specific to GNU/Hurd.
14431 * manual/install.texi: Likewise. Reword some references to
14432 GNU/Linux.
14433 * manual/intro.texi: Likewise.
14434 * manual/io.texi: Likewise.
14435 (File Name Portability): Detail which constraints are inapplicable
14436 to all GNU systems and which are only inapplicable to GNU/Hurd.
14437 * manual/job.texi: Likewise.
14438 * manual/llio.texi: Likewise.
14439 (O_NOCTTY): Document as present on GNU/Linux.
14440 * manual/maint.texi: Likewise.
14441 * manual/memory.texi: Likewise.
14442 * manual/pattern.texi: Likewise.
14443 * manual/pipe.texi: Likewise.
14444 * manual/process.texi: Likewise.
14445 * manual/resource.texi: Likewise.
14446 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14447 child on GNU/Hurd.
14448 * manual/setjmp.texi: Likewise.
14449 * manual/signal.texi: Likewise.
14450 * manual/startup.texi: Likewise.
14451 * manual/stdio.texi: Likewise.
14452 * manual/terminal.texi: Likewise.
14453 (ONLCR): Document as POSIX.
14454 (OXTABS): Document availability on GNU/Linux as XTABS.
14455 (ONOEOT): Document availability separately from other bits.
14456 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14457 * manual/time.texi: Likewise.
14458 * manual/users.texi: Likewise.
14459 * INSTALL: Regenerated.
14460 * sysdeps/gnu/errlist.c: Regenerated.
14461
07037eeb
JM
14462 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14463 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14464 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14465 puts.
14466 * configure: Regenerated.
14467
d1d3431a
JM
144682012-03-07 Joseph Myers <joseph@codesourcery.com>
14469
af6a1e37
JM
14470 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14471 default includes instead of AC_HEADER_CHECK.
14472 * sysdeps/i386/configure: Regenerated.
14473
d1d3431a
JM
14474 [BZ #10716]
14475 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14476 * math/s_cacoshf.c (__cacoshf): Likewise.
14477 * math/s_cacoshl.c (__cacoshl): Likewise.
14478 * math/s_casinh.c (__casinh): Set signs of result from argument.
14479 * math/s_casinhf.c (__casinhf): Likewise.
14480 * math/s_casinhl.c (__casinhl): Likewise.
14481 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14482 (casinh_test): Add more tests.
14483 * sysdeps/i386/fpu/libm-test-ulps: Update.
14484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14485
482ff4da
UD
144862012-03-07 Ulrich Drepper <drepper@gmail.com>
14487
872fda05
UD
14488 * po/zh_TW.po: Update from translation team.
14489
a4300c7a
UD
14490 * login/Makefile (distribute): Remove variable.
14491 * catgets/Makefile: Likewise.
14492 * mach/Makefile: Likewise.
14493 * malloc/Makefile: Likewise.
14494 * misc/Makefile: Likewise.
14495 * iconv/Makefile: Likewise.
14496 * nscd/Makefile: Likewise.
14497 * hurd/Makefile: Likewise.
14498 * manual/Makefile: Likewise.
14499 * locale/Makefile: Likewise.
14500 * intl/Makefile: Likewise.
14501 * conform/Makefile: Likewise.
14502 * nss/Makefile: Likewise.
14503 * time/Makefile: Likewise.
14504 * soft-fp/Makefile: Likewise.
14505 * dirent/Makefile: Likewise.
14506 * gmon/Makefile: Likewise.
14507 * po/Makefile: Likewise.
14508 * rt/Makefile: Likewise.
14509 * socket/Makefile: Likewise.
14510 * math/Makefile: Likewise.
14511 * signal/Makefile: Likewise.
14512 * debug/Makefile: Likewise.
14513 * elf/Makefile: Likewise.
14514 * timezone/Makefile: Likewise.
14515 * stdlib/Makefile: Likewise.
14516 * iconvdata/Makefile: Likewise.
14517 * sunrpc/Makefile: Likewise.
14518 * io/Makefile: Likewise.
14519 * argp/Makefile: Likewise.
14520 * inet/Makefile: Likewise.
14521 * hesiod/Makefile: Likewise.
14522 * grp/Makefile: Likewise.
14523 * csu/Makefile: Likewise.
14524 * wctype/Makefile: Likewise.
14525 * crypt/Makefile: Likewise.
14526 * libio/Makefile: Likewise.
14527 * string/Makefile: Likewise.
14528 * nis/Makefile: Likewise.
14529 * resolv/Makefile: Likewise.
14530 * stdio-common/Makefile: Likewise.
14531 * wcsmbs/Makefile: Likewise.
14532 * dlfcn/Makefile: Likewise.
14533 * posix/Makefile: Likewise.
14534
3b7c4e74 14535 [BZ #6959]
482ff4da
UD
14536 * timezone/Makefile: Don't install timezone files, just the programs
14537 and scripts.
14538
f72ed77d
UD
145392012-03-06 Ulrich Drepper <drepper@gmail.com>
14540
a000466f
UD
14541 * nss/databases.def: Add missing gshadow entry.
14542
f72ed77d
UD
14543 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14544
a53b7a4e
MP
145452012-03-06 Marek Polacek <polacek@redhat.com>
14546
14547 [BZ #13726]
14548 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14549 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14550 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14551 * stdio-common/tst-long-dbl-fphex.c: New file.
14552
e9258400
DM
145532012-03-06 David S. Miller <davem@davemloft.net>
14554
14555 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14556 (set_obp_int): New function.
14557 (get_obp_int): New function.
14558 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14559 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14560 Avoid unused variable warnings on 'val' and use builtin_expect.
14561 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14562 __builtin_expect.
e9258400
DM
14563 (INLINE_CLONE_SYSCALL): Likewise.
14564
3bd2c723
DM
145652012-03-05 David S. Miller <davem@davemloft.net>
14566
14567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14568
bbb78d03
AS
145692012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14570
884c5db4
AS
14571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14572
bbb78d03
AS
14573 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14574 only for |x| >= 40.
14575 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14576
1c9f702a 145772012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14578
14579 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14580 Replace gettimeofday with __vdso_gettimeofday.
14581
7be16f82
RM
14582 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14583 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14584 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14585
14586 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14587 time with __vdso_time.
14588
ed58a00f
JM
145892012-03-05 Joseph Myers <joseph@codesourcery.com>
14590
14591 * manual/lang.texi (size_t): Note types to which size_t may be
14592 equivalent with the GNU C Library, but do not describe when
14593 differences between them are significant.
14594
30ee4ced
AJ
145952012-03-05 Andreas Jaeger <aj@suse.de>
14596
14597 * sysdeps/i386/fpu/libm-test-ulps: Update.
14598
b7cd39e8
JM
145992012-03-05 Joseph Myers <joseph@codesourcery.com>
14600
14601 [BZ #3976]
14602 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14603 (__ieee754_pow): Save and restore rounding mode and use
14604 round-to-nearest for main computations.
14605 * math/libm-test.inc (pow_test_tonearest): New function.
14606 (pow_test_towardzero): Likewise.
14607 (pow_test_downward): Likewise.
14608 (pow_test_upward): Likewise.
14609 (main): Call the new functions.
14610 * sysdeps/i386/fpu/libm-test-ulps: Update.
14611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14612
14613 [BZ #3976]
14614 * math/libm-test.inc (cosh_test_tonearest): New function.
14615 (cosh_test_towardzero): Likewise.
14616 (cosh_test_downward): Likewise.
14617 (cosh_test_upward): Likewise.
14618 (sinh_test_tonearest): Likewise.
14619 (sinh_test_towardzero): Likewise.
14620 (sinh_test_downward): Likewise.
14621 (sinh_test_upward): Likewise.
14622 (main): Call the new functions.
14623 * sysdeps/i386/fpu/libm-test-ulps: Update.
14624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14625
6c6a98c9
TV
146262012-03-05 Tom de Vries <tom@codesourcery.com>
14627
14628 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14629 default stack guard is set in last bytes.
14630 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14631
21bb2d2e 146322012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14633
21bb2d2e 14634 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14635
21bb2d2e
AJ
14636 [BZ #13656]
14637 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14638 possibly allocate from heap instead of stack.
14639 * stdio-common/bug-vfprintf-nargs.c: New file.
14640 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14641
c6922934
AS
146422012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14643
14644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14645
bc957d53
MP
146462012-03-03 Marek Polacek <polacek@redhat.com>
14647
14648 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14649 * math/math_private.h: Likewise.
14650 * stdlib/tst-strtod.c: Likewise.
14651 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14652 * sysdeps/x86_64/bits/atomic.h: Likewise.
14653
6358490d
DM
146542012-03-02 David S. Miller <davem@davemloft.net>
14655
14656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14660 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14661 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14662 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14663 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14664
01ae168d
RM
146652012-03-02 Roland McGrath <roland@hack.frob.com>
14666
d9a17c07
RM
14667 [BZ #13792]
14668 * manual/examples/README: New file, says the example source files
14669 can be used under GPL>=2.
14670 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14671 line containing just "*/".
14672 * manual/examples/add.c: Add copyright header (GPL>=2).
14673 * manual/examples/argp-ex1.c: Likewise.
14674 * manual/examples/argp-ex2.c: Likewise.
14675 * manual/examples/argp-ex3.c: Likewise.
14676 * manual/examples/argp-ex4.c: Likewise.
14677 * manual/examples/atexit.c: Likewise.
14678 * manual/examples/db.c: Likewise.
14679 * manual/examples/dir.c: Likewise.
14680 * manual/examples/dir2.c: Likewise.
14681 * manual/examples/execinfo.c: Likewise.
14682 * manual/examples/filecli.c: Likewise.
14683 * manual/examples/filesrv.c: Likewise.
14684 * manual/examples/fmtmsgexpl.c: Likewise.
14685 * manual/examples/genpass.c: Likewise.
14686 * manual/examples/inetcli.c: Likewise.
14687 * manual/examples/inetsrv.c: Likewise.
14688 * manual/examples/isockad.c: Likewise.
14689 * manual/examples/longopt.c: Likewise.
14690 * manual/examples/memopen.c: Likewise.
14691 * manual/examples/memstrm.c: Likewise.
14692 * manual/examples/mkfsock.c: Likewise.
14693 * manual/examples/mkisock.c: Likewise.
14694 * manual/examples/mygetpass.c: Likewise.
14695 * manual/examples/pipe.c: Likewise.
14696 * manual/examples/popen.c: Likewise.
14697 * manual/examples/rprintf.c: Likewise.
14698 * manual/examples/search.c: Likewise.
14699 * manual/examples/select.c: Likewise.
14700 * manual/examples/setjmp.c: Likewise.
14701 * manual/examples/sigh1.c: Likewise.
14702 * manual/examples/sigusr.c: Likewise.
14703 * manual/examples/stpcpy.c: Likewise.
14704 * manual/examples/strdupa.c: Likewise.
14705 * manual/examples/strftim.c: Likewise.
14706 * manual/examples/strncat.c: Likewise.
14707 * manual/examples/subopt.c: Likewise.
14708 * manual/examples/swapcontext.c: Likewise.
14709 * manual/examples/termios.c: Likewise.
14710 * manual/examples/testopt.c: Likewise.
14711 * manual/examples/testpass.c: Likewise.
14712 * manual/examples/timeval_subtract.c: Likewise.
14713
01ae168d
RM
14714 [BZ #13792]
14715 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14716 function to ...
14717 * manual/timeval_subtract.c.texi: ... here, new file.
14718
49efa33d
DM
147192012-03-02 David S. Miller <davem@davemloft.net>
14720
14721 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14722
28afd92d
JM
147232012-03-02 Joseph Myers <joseph@codesourcery.com>
14724
804360ed
JM
14725 [BZ #3976]
14726 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14727 (__sin): Save and restore rounding mode and use round-to-nearest
14728 for all computations.
14729 (__cos): Save and restore rounding mode and use round-to-nearest
14730 for all computations.
14731 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14732 <fenv.h>.
14733 (tan): Save and restore rounding mode and use round-to-nearest for
14734 all computations.
14735 * math/libm-test.inc (cos_test_tonearest): New function.
14736 (cos_test_towardzero): Likewise.
14737 (cos_test_downward): Likewise.
14738 (cos_test_upward): Likewise.
14739 (sin_test_tonearest): Likewise.
14740 (sin_test_towardzero): Likewise.
14741 (sin_test_downward): Likewise.
14742 (sin_test_upward): Likewise.
14743 (tan_test_tonearest): Likewise.
14744 (tan_test_towardzero): Likewise.
14745 (tan_test_downward): Likewise.
14746 (tan_test_upward): Likewise.
14747 (main): Call the new functions.
14748 * sysdeps/i386/fpu/libm-test-ulps: Update.
14749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14750
a6d06d7b
JM
14751 [BZ #10135]
14752 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14753 small n, then large n, before computing and testing k+n.
14754 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14755 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14756 Likewise.
14757 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14758 Likewise.
14759 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14760 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14761 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14762 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14763 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14764 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14765 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14766 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14767 * math/libm-test.inc (scalbn_test): Add more tests.
14768 (scalbln_test): Likewise.
14769
07e12bb3
JM
14770 * manual/filesys.texi (mode_t): Describe constraints on size and
14771 signedness, not exact equivalence to a particular type.
14772 (ino_t): Likewise.
14773 (ino64_t): Likewise.
14774 (dev_t): Likewise.
14775 (nlink_t): Likewise.
14776 (blkcnt_t): Likewise.
14777 (blkcnt64_t): Likewise.
14778 * manual/llio.texi (off_t): Likewise.
14779
28afd92d
JM
14780 [BZ #3976]
14781 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14782 (__ieee754_exp): Save and restore rounding mode and use
14783 round-to-nearest for all computations.
14784 * math/libm-test.inc (exp_test_tonearest): New function.
14785 (exp_test_towardzero): Likewise.
14786 (exp_test_downward): Likewise.
14787 (exp_test_upward): Likewise.
14788 (main): Call the new functions.
14789 * sysdeps/i386/fpu/libm-test-ulps: Update.
14790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14791
b1eeb65d
CD
147922012-03-01 Chris Demetriou <cgd@google.com>
14793
14794 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14795 have predictable order.
14796
53362a4b
DM
147972012-03-01 David S. Miller <davem@davemloft.net>
14798
3c969083
DM
14799 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14800
759707de
DM
14801 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14802 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14803 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14804 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14805
dfdb8ff2
DM
14806 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14807 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14808 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14810 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14811 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14812 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14813 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14814 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14815
ead89f96
DM
14816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14817
7f66bd07
DM
14818 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14819 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14820 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14821
53362a4b
DM
14822 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14823 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14824 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14825 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14826 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14827 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14828 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14829 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14830 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14831 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14832 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14833 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14834 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14835 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14836 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14837 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14838 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14839 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14840 * sysdeps/sparc/elf/configure: Regenerated.
14841
7b1902cb
JM
148422012-03-01 Joseph Myers <joseph@codesourcery.com>
14843
bec039bc
JM
14844 * configure.in (AS, LD): Require binutils 2.20 or later.
14845 * configure: Regenerated.
14846 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14847 as required minimum version.
14848 * INSTALL: Regenerated.
14849
7b1902cb
JM
14850 [BZ #2541]
14851 [BZ #4108]
14852 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14853 before squaring exponent.
14854 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14855 bottom long double and 27 bits of top long double before squaring
14856 exponent.
14857 * math/libm-test.inc (erfc_test): Add more tests.
14858 * sysdeps/i386/fpu/libm-test-ulps: Update.
14859 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14861
f775c276
KT
148622012-03-01 Kai Tietz <ktietz@redhat.com>
14863
14864 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14865 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14866 containing bit-fields.
14867 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14868 * soft-fp/single.h (_FP_UNION_S): Likewise.
14869 * soft-fp/double.h (_FP_UNION_D): Likewise.
14870
5b8a4d4a
JM
148712012-02-29 Joseph Myers <joseph@codesourcery.com>
14872
0bab47b6
JM
14873 [BZ #13786]
14874 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14875 not include ../strcmp.S.
14876 [USE_AS_STRNCASECMP_L]: Likewise.
14877 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14878 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14879 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14880 (__strncasecmp_l_ia32): Define as alias to
14881 __strncasecmp_l_nonascii.
14882
0fcad3e2
JM
14883 [BZ #5794]
14884 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14885 * sysdeps/i386/fpu/libm-test-ulps: Update.
14886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14887
5b8a4d4a
JM
14888 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14890
8fdceb2e
JL
148912012-02-29 Jeff Law <law@redhat.com>
14892
14893 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14894 out of bounds read.
14895
1f393a11
MP
148962012-02-29 Marek Polacek <polacek@redhat.com>
14897
14898 [BZ #13706]
14899 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14900 * elf/Makefile: Add rules to run tst-unused-dep.out.
14901
8847f037
DM
149022012-02-28 David S. Miller <davem@davemloft.net>
14903
14904 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14905 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14906 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14907 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14908 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14909 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14910
169d7f11
JM
149112012-02-29 Joseph Myers <joseph@codesourcery.com>
14912
14913 * math/libm-test.inc (llround_test): Move one test from
14914 lround_test. Use TEST_f_L in moved test.
14915 (lround_test): Move misplaced test to llround_test. Add testcase
14916 from bug 2561.
14917
39adf059
UD
149182012-02-28 Ulrich Drepper <drepper@gmail.com>
14919
14920 * sysdeps/x86_64/fpu/e_expf.S: New file.
14921 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14922
71b5d1c5
SB
149232012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14924
14925 [BZ #13637]
14926 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14927 of remain_len that may cause incomplete multi-byte character and
14928 false match.
14929 * posix/bug-regex33.c: New file.
14930 * posix/Makefile (tests): Add bug-regex33.
14931
1f77f049
JM
149322012-02-28 Joseph Myers <joseph@codesourcery.com>
14933
14934 * manual/macros.texi: New file.
14935 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14936 * manual/libc.texinfo: Include macros.texi.
14937 * manual/creatute.texi: Likewise.
14938 * manual/install.texi: Likewise.
14939 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14940 @glibcadj{} in references to the GNU C Library.
14941 * manual/charset.texi: Likewise.
14942 * manual/conf.texi: Likewise.
14943 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14944 when not using those macros.
14945 * manual/creature.texi: Likewise.
14946 * manual/crypt.texi: Likewise.
14947 * manual/errno.texi: Likewise.
14948 * manual/filesys.texi: Likewise.
14949 * manual/header.texi: Likewise.
14950 * manual/install.texi: Likewise.
14951 * manual/intro.texi: Likewise.
14952 * manual/io.texi: Likewise.
14953 * manual/job.texi: Likewise.
14954 * manual/lang.texi: Likewise.
14955 * manual/libc.texiinfo: Likewise.
14956 * manual/llio.texi: Likewise.
14957 * manual/locale.texi: Likewise.
14958 * manual/maint.texi: Likewise.
14959 * manual/math.texi: Likewise.
14960 * manual/memory.texi: Likewise.
14961 * manual/message.texi: Likewise.
14962 * manual/nss.texi: Likewise.
14963 * manual/pattern.texi: Likewise.
14964 * manual/process.texi: Likewise.
14965 * manual/resource.texi: Likewise.
14966 * manual/search.texi: Likewise.
14967 * manual/setjmp.texi: Likewise.
14968 * manual/signal.texi: Likewise.
14969 * manual/socket.texi: Likewise.
14970 * manual/startup.texi: Likewise.
14971 * manual/stdio.texi: Likewise.
14972 * manual/string.texi: Likewise.
14973 * manual/sysinfo.texi: Likewise.
14974 * manual/syslog.texi: Likewise.
14975 * manual/terminal.texi: Likewise.
14976 * manual/time.texi: Likewise.
14977 * manual/users.texi: Likewise.
14978 * INSTALL: Regenerated.
14979 * NOTES: Regenerated.
d40c5d54 14980 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14981
450bf206
AS
149822012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14983
14984 * include/dirent.h: Include <dirstream.h> before
14985 <dirent/dirent.h>.
14986
741a235b
DM
149872012-02-28 David S. Miller <davem@davemloft.net>
14988
14989 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14990 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14991 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14992 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14993
d6b5aa58
DM
149942012-02-27 David S. Miller <davem@davemloft.net>
14995
1aff59a3
DM
14996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14998 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14999 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15000
d6b5aa58
DM
15001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15002 frame pointer instead of stack pointer relative arg slot.
15003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15004 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15005 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15006
433f48bf
CD
150072012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15008
15009 [BZ #3992]
15010 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15011
d674b76d
DM
150122012-02-27 David S. Miller <davem@davemloft.net>
15013
15014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15018 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15019 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15020 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15021 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15022
0e7727f7
JM
150232012-02-27 Joseph Myers <joseph@codesourcery.com>
15024
15025 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15026 later. Allow versions 5-9.
43be4ca2 15027 * configure: Regenerated.
0e7727f7
JM
15028 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15029 required minimum version and 4.6 as recommended version. Do not
15030 mention bugs in GCC 2.7 and 2.8.
43be4ca2 15031 * INSTALL: Regenerated.
0e7727f7 15032
a78bc654
DM
150332012-02-27 David S. Miller <davem@davemloft.net>
15034
428d5830
DM
15035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15039 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15040 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15041 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15042 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15043
a78bc654
DM
15044 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15045 manipulate bits before adding and subtracting TWO112[sx].
15046 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15047
4579f81c
RM
150482012-02-27 Roland McGrath <roland@hack.frob.com>
15049
36c8acb4
RM
15050 [BZ #13775]
15051 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15052 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15053 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15054 being in POSIX, because they are in 1003.1-2008.
15055
84ad622b
RM
15056 * rt/tst-aio.c: Include <fcntl.h>.
15057 * rt/tst-aio7.c: Likewise.
15058 * rt/tst-aio64.c: Likewise.
15059
4579f81c
RM
15060 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15061
abd923db
JM
150622012-02-27 Joseph Myers <joseph@codesourcery.com>
15063
15064 * manual/install.texi (--with-headers): Describe headers as
15065 interface headers, not private headers.
15066 (Specific advice for GNU/Linux systems): Describe use of headers
15067 from "make headers_install", not private headers from older
15068 kernels.
43be4ca2 15069 * INSTALL: Regenerated.
abd923db
JM
15070 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15071 Change to 2.6.19.
15072 * sysdeps/unix/sysv/linux/configure: Regenerated.
15073
6664049b
JM
15074 * manual/llio.texi (fclean): Remove documentation.
15075
bb8b6697
JM
15076 * manual/Makefile (libc-texi-generated): New variable. Include
15077 version.texi.
15078 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15079 $(libc-texi-generated), not duplicated list of files.
15080 (version.texi, stamp-version): New rules.
15081 (realclean): Remove $(libc-texi-generated), not individual files
15082 from that list. Do not remove dir-add.texinfo.
15083 * manual/libc.texinfo: Comment out uses of edition numbers and
15084 references to printed manual. Remove last-updated dates.
15085 (EDITION): Comment out.
15086 (ISBN): Likewise.
15087 (VERSION, UPDATED): Remove.
15088 (version.texi): Include.
15089
12e5c3b9
AS
150902012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15091
15092 * sysdeps/posix/spawni.c: Include <signal.h>.
15093 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15094 * sysdeps/pthread/aio_fsync.c: Likewise.
15095
4efeffc1 150962012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 15097
ba63ba08
UD
15098 * conform/Makefile (tests): Run only when not cross-compiling and
15099 when fast-check is not defined.
15100
d94a4670
UD
15101 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15102 * conform/data/limits.h-data: Fixes for POSIX2008.
15103 * conform/run-conformtest.sh: Run all tests.
15104 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15105 headers.
15106 * include/bits/dlfcn.h: Likewise.
15107 * include/langinfo.h: Likewise.
15108 * include/monetary.h: Likewise.
15109 * include/sys/poll.h: Likewise.
15110
15111 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15112 for __USE_GNU.
15113 * posix/spawn.h: Define __need_sigset_t.
15114 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15115 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15116 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15117 to get sigevent_t only.
15118 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15119 only for __USE_GNU.
15120 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15121 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15122 process_vm_writev only for __USE_GNU.
15123 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
15124
15125 * conform/Makefile: For now ignore errors from run-conformtest.
15126 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15127 POSIX to avoid namespace pollution. Don't prepend headers.
15128 * conform/data/aio.h-data: Fixes for POSIX testing.
15129 * conform/data/fcntl.h-data: Likewise.
15130 * conform/data/glob.h-data: Likewise.
15131 * conform/data/grp.h-data: Likewise.
15132 * conform/data/pthread.h-data: Likewise.
15133 * conform/data/pwd.h-data: Likewise.
15134 * conform/data/signal.h-data: Likewise.
15135 * conform/data/spawn.h-data: Likewise.
15136 * conform/data/stdio.h-data: Likewise.
15137 * conform/data/stdlib.h-data: Likewise.
15138 * conform/data/stropts.h-data: Likewise.
15139 * conform/data/sys/mman.h-data: Likewise.
15140 * conform/data/sys/stat.h-data: Likewise.
15141 * conform/data/sys/types.h-data: Likewise.
15142 * conform/data/sys/wait.h-data: Likewise.
15143 * conform/data/time.h-data: Likewise.
15144 * conform/data/unistd.h-data: Likewise.
15145 * conform/data/utime.h-data: Likewise.
15146
15147 * io/sys/stat.h: fchmod was always in POSIX.
15148 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15149 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15150 * rt/aio.h: Define __need_timespec before including <time.h>.
15151 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15152 struct. Add forward declaration of pthread_attr_t and use it in
15153 sigevent.
15154 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15155 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15156 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15157 always remove CLK_TCK definition.
15158
c20105c3
AS
151592012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15160
15161 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15162
7a270350
UD
151632012-02-25 Ulrich Drepper <drepper@gmail.com>
15164
31341567
UD
15165 * conform/run-conformtest.sh: New file.
15166 * conform/Makefile: Run run-conformtest for tests.
15167 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15168 support.
15169
15170 * conform/data/uchar.h-data: New file.
15171 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15172 * conform/data/arpa/inet.h-data: Likewise.
15173 * conform/data/assert.h-data: Likewise.
15174 * conform/data/complex.h-data: Likewise.
15175 * conform/data/cpio.h-data: Likewise.
15176 * conform/data/ctype.h-data: Likewise.
15177 * conform/data/dirent.h-data: Likewise.
15178 * conform/data/dlfcn.h-data: Likewise.
15179 * conform/data/errno.h-data: Likewise.
15180 * conform/data/fcntl.h-data: Likewise.
15181 * conform/data/float.h-data: Likewise.
15182 * conform/data/fmtmsg.h-data: Likewise.
15183 * conform/data/fnmatch.h-data: Likewise.
15184 * conform/data/ftw.h-data: Likewise.
15185 * conform/data/glob.h-data: Likewise.
15186 * conform/data/grp.h-data: Likewise.
15187 * conform/data/iconv.h-data: Likewise.
15188 * conform/data/inttypes.h-data: Likewise.
15189 * conform/data/langinfo.h-data: Likewise.
15190 * conform/data/libgen.h-data: Likewise.
15191 * conform/data/limits.h-data: Likewise.
15192 * conform/data/locale.h-data: Likewise.
15193 * conform/data/math.h-data: Likewise.
15194 * conform/data/monetary.h-data: Likewise.
15195 * conform/data/mqueue.h-data: Likewise.
15196 * conform/data/ndbm.h-data: Likewise.
15197 * conform/data/net/if.h-data: Likewise.
15198 * conform/data/netdb.h-data: Likewise.
15199 * conform/data/netinet/in.h-data: Likewise.
15200 * conform/data/nl_types.h-data: Likewise.
15201 * conform/data/poll.h-data: Likewise.
15202 * conform/data/pthread.h-data: Likewise.
15203 * conform/data/pwd.h-data: Likewise.
15204 * conform/data/regex.h-data: Likewise.
15205 * conform/data/sched.h-data: Likewise.
15206 * conform/data/search.h-data: Likewise.
15207 * conform/data/semaphore.h-data: Likewise.
15208 * conform/data/setjmp.h-data: Likewise.
15209 * conform/data/signal.h-data: Likewise.
15210 * conform/data/spawn.h-data: Likewise.
15211 * conform/data/stdarg.h-data: Likewise.
15212 * conform/data/stdio.h-data: Likewise.
15213 * conform/data/stdlib.h-data: Likewise.
15214 * conform/data/string.h-data: Likewise.
15215 * conform/data/strings.h-data: Likewise.
15216 * conform/data/stropts.h-data: Likewise.
15217 * conform/data/sys/ipc.h-data: Likewise.
15218 * conform/data/sys/mman.h-data: Likewise.
15219 * conform/data/sys/msg.h-data: Likewise.
15220 * conform/data/sys/resource.h-data: Likewise.
15221 * conform/data/sys/select.h-data: Likewise.
15222 * conform/data/sys/sem.h-data: Likewise.
15223 * conform/data/sys/shm.h-data: Likewise.
15224 * conform/data/sys/socket.h-data: Likewise.
15225 * conform/data/sys/stat.h-data: Likewise.
15226 * conform/data/sys/statvfs.h-data: Likewise.
15227 * conform/data/sys/time.h-data: Likewise.
15228 * conform/data/sys/timeb.h-data: Likewise.
15229 * conform/data/sys/times.h-data: Likewise.
15230 * conform/data/sys/types.h-data: Likewise.
15231 * conform/data/sys/uio.h-data: Likewise.
15232 * conform/data/sys/un.h-data: Likewise.
15233 * conform/data/sys/utsname.h-data: Likewise.
15234 * conform/data/sys/wait.h-data: Likewise.
15235 * conform/data/syslog.h-data: Likewise.
15236 * conform/data/tar.h-data: Likewise.
15237 * conform/data/termios.h-data: Likewise.
15238 * conform/data/utime.h-data: Likewise.
15239 * conform/data/utmpx.h-data: Likewise.
15240 * conform/data/varargs.h-data: Likewise.
15241 * conform/data/wchar.h-data: Likewise.
15242 * conform/data/wctype.h-data: Likewise.
15243 * conform/data/wordexp.h-data: Likewise.
15244
15245 * include/stropts.h: New file.
15246 * include/uchar.h: New file.
15247 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15248 * include/assert.h: Likewise.
15249 * include/ctype.h: Likewise.
15250 * include/dirent.h: Likewise.
15251 * include/dlfcn.h: Likewise.
15252 * include/fcntl.h: Likewise.
15253 * include/fnmatch.h: Likewise.
15254 * include/glob.h: Likewise.
15255 * include/grp.h: Likewise.
15256 * include/libio.h: Likewise.
15257 * include/locale.h: Likewise.
15258 * include/math.h: Likewise.
15259 * include/net/if.h: Likewise.
15260 * include/netdb.h: Likewise.
15261 * include/netinet/in.h: Likewise.
15262 * include/pthread.h: Likewise.
15263 * include/pwd.h: Likewise.
15264 * include/regex.h: Likewise.
15265 * include/sched.h: Likewise.
15266 * include/search.h: Likewise.
15267 * include/setjmp.h: Likewise.
15268 * include/signal.h: Likewise.
15269 * include/stdio.h: Likewise.
15270 * include/stdlib.h: Likewise.
15271 * include/string.h: Likewise.
15272 * include/sys/cdefs.h: Likewise.
15273 * include/sys/mman.h: Likewise.
15274 * include/sys/msg.h: Likewise.
15275 * include/sys/resource.h: Likewise.
15276 * include/sys/select.h: Likewise.
15277 * include/sys/socket.h: Likewise.
15278 * include/sys/stat.h: Likewise.
15279 * include/sys/statvfs.h: Likewise.
15280 * include/sys/time.h: Likewise.
15281 * include/sys/times.h: Likewise.
15282 * include/sys/uio.h: Likewise.
15283 * include/sys/utsname.h: Likewise.
15284 * include/sys/wait.h: Likewise.
15285 * include/termios.h: Likewise.
15286 * include/time.h: Likewise.
15287 * include/ulimit.h: Likewise.
15288 * include/unistd.h: Likewise.
15289 * include/utime.h: Likewise.
15290 * include/wchar.h: Likewise.
15291 * include/wctype.h: Likewise.
15292 * include/wordexp.h: Likewise.
15293
15294 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15295
7a270350
UD
15296 * time/time.h: TIME_UTC must be a macro.
15297 Make timespec_get available for ISO C11 only as well.
15298
7724defc
UD
152992012-02-24 Ulrich Drepper <drepper@gmail.com>
15300
15301 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15302 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15303
6b1d1d46
JM
153042012-02-24 Joseph Myers <joseph@codesourcery.com>
15305
15306 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 15307
0f8bbd69
JM
153082012-02-24 Joseph Myers <joseph@codesourcery.com>
15309
15310 * manual/texinfo.tex: Update to version 2012-01-19.16.
15311
66ab80bc
JM
153122012-02-24 Joseph Myers <joseph@codesourcery.com>
15313
15314 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15315
74981cc5
RM
153162012-02-24 Roland McGrath <roland@hack.frob.com>
15317
ee968201
RM
15318 [BZ #13738]
15319 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15320 * manual/fdl-1.3.texi: New file.
15321 * manual/fdl-1.1.texi: File removed.
15322
74981cc5
RM
15323 [BZ #13738]
15324 * manual/libc.texinfo (FDL_VERSION): New @set.
15325 Use it for mention of FDL in cover text.
15326 (Documentation License): Use it in @include file name.
15327
7bb764bc
JM
153282012-02-22 Joseph Myers <joseph@codesourcery.com>
15329 Roland McGrath <roland@hack.frob.com>
15330
15331 [BZ #5461]
15332 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15333 not LONG_LONG_MAX and LONG_LONG_MIN.
15334 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15335 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15336 name.
15337 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15338
6cbeae47
JM
153392012-02-22 Joseph Myers <joseph@codesourcery.com>
15340
15341 [BZ #2547]
15342 [BZ #11365]
15343 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15344 manipulate bits before adding and subtracting TWO23[sx].
15345 * math/libm-test.inc (nearbyint_test): Add more tests.
15346
fe45ce09
JM
153472012-02-22 Joseph Myers <joseph@codesourcery.com>
15348
15349 [BZ #2548]
15350 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15351 bits before adding and subtracting TWO23[sx].
15352 * math/libm-test.inc (rint_test): Add more tests.
15353 (rint_test_tonearest): Likewise.
15354 (rint_test_towardzero): Likewise.
15355 (rint_test_downward): Likewise.
15356 (rint_test_upward: Likewise.
15357
ff3b3d82
JM
153582012-02-22 Joseph Myers <joseph@codesourcery.com>
15359
15360 [BZ #10110]
15361 * include/stdc-predef.h: New file. Extracted from features.h.
15362 * include/features.h: Include stdc-predef.h.
15363 * Makefile (headers): Add stdc-predef.h.
15364 * CONFORMANCE (Compiler limitations): Update.
15365
ef0aab35
JM
153662012-02-22 Joseph Myers <joseph@codesourcery.com>
15367
15368 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15369
58639409
DM
153702012-02-21 David S. Miller <davem@davemloft.net>
15371
15372 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15373 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15374
c0e70b25
DM
153752012-02-20 David S. Miller <davem@davemloft.net>
15376
15377 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15378 using a normal save/restore sequence, rather than allocating a
15379 dummy stack frame just to store a frame pointer and restore.
15380 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15381
fb06851d
JM
153822012-02-21 Joseph Myers <joseph@codesourcery.com>
15383
15384 * manual/install.texi: Fix stray word in line-wrapped comment.
15385
7a8b71c3
DM
153862012-02-20 David S. Miller <davem@davemloft.net>
15387
d510c123
DM
15388 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15389 both binutils and gcc support GOTDATA.
15390
0722d7c2
DM
15391 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15392 "rd %pc" in the PIC register setup sequences.
15393
3d2b3019
DM
15394 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15395 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15396 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15397 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15398 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15399 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15400 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15401 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15402 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15403 (SYSCALL_ERROR_HANDLER): Likewise.
15404 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15405 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15406 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15407 (SYSCALL_ERROR_HANDLER): Likewise.
15408
c80098a9
DM
15409 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15410 (HAVE_GCC_GOTDATA): New.
15411 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15412 relocation support in both binutils and gcc.
15413 * sysdeps/sparc/elf/configure: Regenerate.
15414
3a2545a0
DM
15415 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15416 * sysdeps/sparc/sparc32/elf/configure: Delete.
15417 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15418 * sysdeps/sparc/sparc64/elf/configure: Delete.
15419 * sysdeps/sparc/elf/configure.in: New file.
15420 * sysdeps/sparc/elf/configure: Generate.
15421
7a8b71c3
DM
15422 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15423 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15424 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15425 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15426 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15427
f1e86fca
JM
154282012-02-21 Joseph Myers <joseph@codesourcery.com>
15429
15430 * manual/install.texi: Do not mention specific glibc version
15431 numbers.
15432 * manual/libc.texinfo (VERSION, UPDATED): Update.
15433 (@copying): Use @copyright{} and range of years.
15434
0e7dfaef
JM
154352012-02-21 Joseph Myers <joseph@codesourcery.com>
15436
15437 [BZ #13695]
15438 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15439 [crti.S not in sysdirs] (generated): Do not append.
15440 [crti.S not in sysdirs] (omit-deps): Likewise.
15441 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15442 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15443 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15444 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15445 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15446 Likewise.
15447 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15448 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15449 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15450 * csu/defs.awk: Remove file.
15451 * sysdeps/generic/initfini.c: Likewise.
15452 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15453 variable.
15454 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15455 Likewise.
15456
599af3ca
JM
154572012-02-20 Joseph Myers <joseph@codesourcery.com>
15458
15459 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15460 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15461 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15462 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15463 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15464 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15465 <bits/epoll.h>.
15466 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15467 (__EPOLL_PACKED): Define to empty if not defined by
15468 <bits/epoll.h>.
15469 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15470 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15471 bits/epoll.h.
15472
0e499750
JM
154732012-02-20 Joseph Myers <joseph@codesourcery.com>
15474
15475 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15476 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15477 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15478 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15479 <bits/timerfd.h>.
15480 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15481 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15482 bits/timerfd.h.
15483
5ad91f6e
JM
154842012-02-20 Joseph Myers <joseph@codesourcery.com>
15485
15486 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15487 in C locale.
15488 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15489 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15490 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15492
06b99b02
AJ
154932012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15494
15495 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15496 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15497
7638c0fd
AS
154982012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15499
15500 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15501 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15502 defined.
15503 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15504 Likewise.
15505 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15506 entry for 2.16.
15507
92221550
AJ
155082012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15509
15510 * math/w_acos.c: Use non-signaling floating-point comparisons.
15511 * math/w_acosf.c: Likewise.
15512 * math/w_acosh.c: Likewise.
15513 * math/w_acoshf.c: Likewise.
15514 * math/w_acoshl.c: Likewise.
15515 * math/w_acosl.c: Likewise.
15516 * math/w_asin.c: Likewise.
15517 * math/w_asinf.c: Likewise.
15518 * math/w_asinl.c: Likewise.
15519 * math/w_atanh.c: Likewise.
15520 * math/w_atanhf.c: Likewise.
15521 * math/w_atanhl.c: Likewise.
15522 * math/w_exp2.c: Likewise.
15523 * math/w_exp2f.c: Likewise.
15524 * math/w_exp2l.c: Likewise.
15525 * math/w_j0.c: Likewise.
15526 * math/w_j0f.c: Likewise.
15527 * math/w_j0l.c: Likewise.
15528 * math/w_j1.c: Likewise.
15529 * math/w_j1f.c: Likewise.
15530 * math/w_j1l.c: Likewise.
15531 * math/w_jn.c: Likewise.
15532 * math/w_jnf.c: Likewise.
15533 * math/w_log.c: Likewise.
15534 * math/w_log10.c: Likewise.
15535 * math/w_log10f.c: Likewise.
15536 * math/w_log10l.c: Likewise.
15537 * math/w_log2.c: Likewise.
15538 * math/w_log2f.c: Likewise.
15539 * math/w_log2l.c: Likewise.
15540 * math/w_logf.c: Likewise.
15541 * math/w_logl.c: Likewise.
15542 * math/w_sqrt.c: Likewise.
15543 * math/w_sqrtf.c: Likewise.
15544 * math/w_sqrtl.c: Likewise.
15545 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15546 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15547 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15548 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15549 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15550
ebaf36eb
JM
155512012-02-19 Joseph Myers <joseph@codesourcery.com>
15552
15553 [BZ #9739]
15554 * manual/string.texi (strnlen): Use correct parameter name in
15555 equivalent expression.
15556
71c254a6
JM
155572012-02-19 Joseph Myers <joseph@codesourcery.com>
15558
15559 [BZ #11174]
15560 * manual/users.texi (seteuid): Consistently use neweuid for
15561 argument name.
15562
16d2c631
JM
155632012-02-19 Joseph Myers <joseph@codesourcery.com>
15564
15565 [BZ #13704]
15566 * manual/nss.texi (Services in the NSS configuration): Correct
15567 list of services in example configuration file.
15568
cd837b09
NB
155692012-02-19 Nick Bowler <nbowler@draconx.ca>
15570
15571 [BZ #11322]
15572 * manual/arith.texi: Remove statements about negative zero
15573 behaving identically to zero.
15574
02c4bbad
JM
155752012-02-18 Joseph Myers <joseph@codesourcery.com>
15576
15577 [BZ #5993]
15578 * manual/install.texi: Do not document upgrading from libc5.
15579
366842e7
JM
155802012-02-18 Joseph Myers <joseph@codesourcery.com>
15581
15582 [BZ #4596]
15583 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15584
dd54084d
DM
155852012-02-18 David S. Miller <davem@davemloft.net>
15586
15587 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15588 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15589 %o7 across the call.
15590 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15591 instead.
15592 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15593 SETUP_PIC_REG_LEAF.
15594 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15595 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15596 * sysdeps/sparc/crtn.S: Likewise.
15597
2bcc53a3
UD
155982012-02-17 Ulrich Drepper <drepper@gmail.com>
15599
15600 * aout/Makefile: Remove.
15601
09c093b5
RK
156022012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15603
15604 [BZ #13058]
15605 * manual/examples/argp-ex1.c (main): Format definition in GNU
15606 style.
15607 * manual/examples/argp-ex2.c (main): Likewise.
15608 * manual/examples/argp-ex3.c (main): Likewise.
15609 * manual/examples/argp-ex4.c (main): Likewise.
15610 * manual/examples/longopt.c (main): Use new-style prototype
15611 definition.
15612 * manual/examples/strncat.c (main): Specify return type and use
15613 (void) for arguments.
15614 * manual/examples/subopt.c (main): Use char **argv argument.
15615
2ee633a2
JM
156162012-02-17 Joseph Myers <joseph@codesourcery.com>
15617
15618 [BZ #5077]
15619 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15620 rounding modes.
15621
0520adde
FB
156222012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15623
15624 [BZ #6907]
15625 * manual/string.texi (strchr): Change when strchrnul is
15626 recommended.
15627
3f4081cd
DGM
156282012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15629
15630 [BZ #174]
15631 * manual/locale.texi (setlocale): Document LOCPATH.
15632
d1b10e78
JM
156332012-02-17 Joseph Myers <joseph@codesourcery.com>
15634
15635 [BZ #10210]
15636 * manual/process.texi (execle): Move @dots{} before last argument.
15637
79c6869c
PB
156382012-02-17 Paul Bolle <pebolle@tiscali.nl>
15639
15640 [BZ #12047]
15641 * manual/charset.texi (Generic Charset Conversion): Fix typo
15642 (LC_TYPE -> LC_CTYPE).
15643
cc6e48bc
NB
156442012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15645
15646 [BZ #5805]
15647 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15648 (scalbnf): Likewise.
15649 (scalbnl): Likewise.
15650 (scalbln): Likewise.
15651 (scalblnf): Likewise.
15652 (scalblnl): Likewise.
15653 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15654 (vwarnx): Likewise.
15655 (verr): Likewise.
15656 (verrx): Likewise.
15657 * manual/filesys.texi (telldir): Use braces around return type.
15658 * manual/llio.texi (mmap): Add space after comma.
15659 (mmap64): Likewise.
15660 * manual/math.texi (jn): Use @var{} on parameter names.
15661 (jnf): Likewise.
15662 (jnl): Likewise.
15663 (yn): Likewise.
15664 (ynf): Likewise.
15665 (ynl): Likewise.
15666 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15667 line.
15668 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15669 "...".
15670 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15671 (sched_get_priority_max): Likewise.
15672 * manual/signal.texi (sigvec): Add space after comma.
15673 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15674 names.
15675 (if_indextoname): Likewise.
15676 (if_freenameindex): Likewise.
15677 (sendto): Use ',' instead of '.' in prototype.
15678 * manual/startup.texi (syscall): Use @dots{} instead of literal
15679 "...".
15680 * manual/stdio.texi (__fpending): Separate initial words of
15681 paragraph from @deftypefun line.
15682 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15683 "...".
15684 (vsyslog): Use @var{} on parameter names.
15685 * manual/terminal.texi (stty): Use @var{} on parameter names.
15686 * manual/users.texi (getutmp): Use @var{} on parameter names.
15687 (getutmpx): Likewise.
15688
5b23062f
JM
156892012-02-17 Joseph Myers <joseph@codesourcery.com>
15690
15691 [BZ #6884]
15692 * manual/stdio.texi (fopen): Fix typos in description of
15693 ",ccs=STRING".
15694
8dee4833
AJ
156952012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15696
15697 [BZ #4026]
15698 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15699 get clock_id definition.
15700
9078ce93
TS
157012012-02-17 Thomas Schwinge <thomas@schwinge.name>
15702
15703 [BZ #4822]
15704 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15705 (madvise): Cast every argument to void on its own.
15706
3835c55f
JM
157072012-02-17 Joseph Myers <joseph@codesourcery.com>
15708
15709 [BZ #9902]
15710 * manual/startup.texi (Exit Status): Fix typo.
15711
35c47e37
JM
157122012-02-17 Joseph Myers <joseph@codesourcery.com>
15713
15714 [BZ #10140]
15715 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15716 * manual/examples/argp-ex2.c: Likewise.
15717 * manual/examples/argp-ex3.c: Likewise.
15718
e3b69ca7
RH
157192012-02-16 Richard Henderson <rth@redhat.com>
15720
15721 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15722 * sysdeps/s390/s390-32/initfini.c: Remove.
15723 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15724 * sysdeps/s390/s390-64/initfini.c: Remove.
15725
df83af67
KK
157262012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15727
15728 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15729 compiler output for sysdeps/generic/initfini.c.
15730 * sysdeps/sh/elf/initfini.c: Remove file.
15731
f63f3380
DM
157322012-02-16 David S. Miller <davem@davemloft.net>
15733
fb59b3a4
DM
15734 [BZ #11494]
15735 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15736
f63f3380
DM
15737 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15738 * sysdeps/sparc/crti.S: New file.
15739 * sysdeps/sparc/crtn.S: New file.
15740 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15741 * sysdeps/sparc/sparc64/Makefile: Likewise.
15742
df6a4a4a
MF
157432012-02-15 Mike Frysinger <vapier@gentoo.org>
15744
6dd8f3dc 15745 [BZ #3335]
df6a4a4a
MF
15746 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15747
1cac7236
RM
157482012-02-15 Roland McGrath <roland@hack.frob.com>
15749
d2c736f8
RM
15750 [BZ #4822]
15751 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15752
1cac7236
RM
15753 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15754 (write, read, close): Likewise.
15755 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15756
8e475601
JM
157572012-02-15 Joseph Myers <joseph@codesourcery.com>
15758
15759 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15760 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15761 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15762 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15763 <bits/signalfd.h>.
15764 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15765 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15766 bits/signalfd.h.
15767
ed656b40
MP
157682012-02-14 Marek Polacek <polacek@redhat.com>
15769
15770 * sysdeps/x86_64/crti.S: New file.
15771 * sysdeps/x86_64/crtn.S: New file.
15772 * sysdeps/x86_64/elf/initfini.c: Remove file.
15773
2a979d3a
JM
157742012-02-13 Joseph Myers <joseph@codesourcery.com>
15775
15776 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15777 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15778 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15779 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15780 <bits/inotify.h>.
15781 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15782 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15783 bits/inotify.h.
15784
2a418ac3
JM
157852012-02-13 Joseph Myers <joseph@codesourcery.com>
15786
15787 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15788 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15789 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15790 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15791 <bits/eventfd.h>.
15792 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15794 bits/eventfd.h.
15795
fb779be7
TS
157962012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15797
e19e83c5
RM
15798 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15799 __feraiseexcept instead of feraiseexcept.
7c35ffed 15800
fb779be7
TS
15801 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15802 nanosleep invocations.
15803 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15804 strings, and add error checking for a nanosleep invocations.
15805
59ba27a6
PE
158062012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15807
15808 Replace FSF snail mail address with URLs, as per GNU coding standards.
15809 Most of the snail mail addresses were wrong anyway, and omitting
15810 them makes the source code easier to maintain. Almost all of the
15811 changes are to license notices and to locale LC_IDENTIFICATION
15812 addresses, except for this one:
15813 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15814 not its snail mail address.
15815
57b957eb
RH
158162012-02-09 Richard Henderson <rth@twiddle.net>
15817
af850b1c
RH
15818 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15819 of kernel-features.h.
15820
57b957eb
RH
15821 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15822
6b73181a
MP
158232012-02-08 Marek Polacek <polacek@redhat.com>
15824
15825 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15826 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15827 * sysdeps/gnu/_G_config.h: Likewise.
15828 * sysdeps/generic/_G_config.h: Likewise.
15829
26ecc33a
AS
158302012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15831
6c6dbc63
AS
15832 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15833 tests.
15834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15835
e216c012
AS
15836 * sysdeps/powerpc/powerpc32/crti.S: New file.
15837 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15838 * sysdeps/powerpc/powerpc64/crti.S: New file.
15839 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15840
26ecc33a
AS
15841 * Makeconfig (have-initfini): Don't set.
15842 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15843 * configure.in (nopic_initfini): Don't substitute.
15844 * config.h.in (HAVE_INITFINI): Don't #undef.
15845 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15846 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15847
3add8e13
JM
158482012-02-08 Joseph Myers <joseph@codesourcery.com>
15849
15850 Support crti.S and crtn.S provided directly by architectures.
15851 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15852 [crti.S in sysdirs] (omit-deps): Likewise.
15853 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15854 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15855 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15856 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15857 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15858 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15859 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15860 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15861 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15862 compiler output for sysdeps/generic/initfini.c.
15863 * sysdeps/i386/elf/Makefile: Remove file.
15864 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15865
a22f12b4
MP
158662012-02-07 Marek Polacek <polacek@redhat.com>
15867
15868 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15869 * sysdeps/gnu/_G_config.h: Likewise.
15870 * sysdeps/mach/hurd/_G_config.h: Likewise.
15871
148cf100
MP
158722012-02-07 Marek Polacek <polacek@redhat.com>
15873
15874 * math/Makefile (tests): Add tst-CMPLX2.
15875 * math/tst-CMPLX2.c: New file.
15876
cfdc0dd7
AS
158772012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15878
84ba42c4
AS
15879 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15880
cfdc0dd7
AS
15881 * math/libm-test.inc (jn_test): Add missing L suffix.
15882
622c86f4
MP
158832012-02-06 Marek Polacek <polacek@redhat.com>
15884
15885 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15886 * sysdeps/i386/fpu/e_powf.S: Likewise.
15887 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15888 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15889 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15890 * sysdeps/i386/fpu/e_pow.S: Likewise.
15891 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15892 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15893 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15894 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15895 * sysdeps/i386/fpu/e_log2.S: Likewise.
15896 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15897 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15898 * sysdeps/i386/fpu/e_powl.S: Likewise.
15899 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15900 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15901 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15902 * sysdeps/i386/fpu/e_logl.S: Likewise.
15903 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15904 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15905 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15906 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15907 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15908 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15909 * sysdeps/i386/fpu/e_log.S: Likewise.
15910 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15911 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15912 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15913 * sysdeps/i386/fpu/e_logf.S: Likewise.
15914 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15915 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15916 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15917 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15918 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15919 * sysdeps/i386/fpu/e_log10.S: Likewise.
15920 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15921 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15922 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15923 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15924 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15925 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15926 * sysdeps/i386/asm-syntax.h: Likewise.
15927 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15928 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15929 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15930 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15931 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15932 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15933 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15934 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15935 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15936 * sysdeps/powerpc/sysdep.h: Likewise.
15937 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15938 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15939
d4a54ac6
JM
159402012-02-06 Joseph Myers <joseph@codesourcery.com>
15941
15942 [BZ #411]
15943 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15944
314054ea
JM
159452012-02-06 Joseph Myers <joseph@codesourcery.com>
15946
15947 * sysdeps/i386/sysdep.h: Include <features.h>.
15948 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15949 version.
15950
d8e0ca50
JM
159512012-02-05 Joseph Myers <joseph@codesourcery.com>
15952
15953 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15954 Define.
15955 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15956 LOAD_PIC_REG_STR.
15957
b1da7dd9
JM
159582012-02-03 Joseph Myers <joseph@codesourcery.com>
15959
15960 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15961 (SETUP_PIC_REG): Use GET_PC_THUNK.
15962 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15963 macro.
15964
9a1d9254
JM
159652012-02-03 Joseph Myers <joseph@codesourcery.com>
15966
15967 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15968 for non-PIC compilation.
15969 (SETUP_PIC_REG): Add .p2align directive.
15970 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15971 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15972 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15973 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15974 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15975 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15976 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15977 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15978 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15979 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15980 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15981 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15982 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15983 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15984 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15985 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15986 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15987 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15988 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15989 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15990 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15991 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15992 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15993 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15994 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15995 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15996 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15997 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15998 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15999 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16000 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16001 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16002 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16003 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16004 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16005 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16006 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16007 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16008 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16009 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16010 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16011
65dc3b75
JM
160122012-02-03 Joseph Myers <joseph@codesourcery.com>
16013
16014 * math/tst-CMPLX.c: Include <stdio.h>.
16015
d55bf177
JM
160162012-01-31 Joseph Myers <joseph@codesourcery.com>
16017
16018 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16019 float.
16020 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16021 * sysdeps/sparc/bits/mathdef.h: Likewise.
16022
69db4f8f
MP
160232012-01-31 Marek Polacek <polacek@redhat.com>
16024
16025 * libio/libio.h: Don't define _PARAMS.
16026 * locale/programs/config.h: Don't define PARAMS.
16027 * stdlib/strtol_l.c: Likewise.
16028 (__strtol_l): Remove PARAMS from the prototype.
16029
41b81892
UD
160302012-01-31 Ulrich Drepper <drepper@gmail.com>
16031
3b49edc0
UD
16032 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16033 names. Just use the correct names. Remove unnecessary wrapper
16034 functions.
16035 * malloc/arena.c: Likewise.
16036 * malloc/hooks.c: Likewise.
16037
41b81892
UD
16038 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16039 ARENA_TEST says not to. Simplify test for creation of a new arena.
16040 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16041
27a25b6e
UD
160422012-01-30 Ulrich Drepper <drepper@gmail.com>
16043
16044 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16045 into tail calls.
16046 (update_get_addr): New function.
16047 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16048 GET_ADDR_MODULE parameter.
16049
c8a89e7d
JM
160502012-01-30 Joseph Myers <joseph@codesourcery.com>
16051
16052 * crypt/cert.c: Remove __STDC__ conditionals.
16053 * crypt/crypt-entry.c: Likewise.
16054 * crypt/crypt_util.c: Likewise.
16055 * libio/filedoalloc.c: Likewise.
16056 * libio/fileops.c: Likewise.
16057 * libio/genops.c: Likewise.
16058 * libio/iofclose.c: Likewise.
16059 * libio/iofdopen.c: Likewise.
16060 * libio/iofopen.c: Likewise.
16061 * libio/iofopen64.c: Likewise.
16062 * libio/iogetdelim.c: Likewise.
16063 * libio/iopopen.c: Likewise.
16064 * libio/obprintf.c: Likewise.
16065 * libio/oldfileops.c: Likewise.
16066 * libio/oldiofclose.c: Likewise.
16067 * libio/oldiofdopen.c: Likewise.
16068 * libio/oldiofopen.c: Likewise.
16069 * libio/oldiopopen.c: Likewise.
16070 * libio/wfiledoalloc.c: Likewise.
16071 * libio/wgenops.c: Likewise.
16072 * locale/programs/xmalloc.c: Likewise.
16073 * misc/syslog.c: Likewise.
16074 * stdio-common/xbug.c: Likewise.
16075 * string/memchr.c: Likewise.
16076 * string/memcmp.c: Likewise.
16077 * string/memrchr.c: Likewise.
16078 * string/rawmemchr.c: Likewise.
16079 * sysdeps/posix/getcwd.c: Likewise.
16080 * time/strftime_l.c: Likewise.
16081
3b100462
JM
160822012-01-30 Joseph Myers <joseph@codesourcery.com>
16083
16084 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
16085 * config.make.in (config-cflags-sse2avx): Define.
16086 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16087 Fix typo.
16088
607998af
CM
160892012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16090
16091 * scripts/config.guess: Update from upstream config git repository.
16092 * scripts/config.sub: Likewise.
16093
3601428f
CM
160942012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16095
3ac8b282
CM
16096 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16097 (EM_NUM): Update.
16098 (R_TILEPRO_*, R_TILEGX_*): New macros.
16099
e034841e
CM
16100 * scripts/firstversions.awk: Fix bug in version range handling.
16101
540d7568
CM
16102 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16103
3601428f
CM
16104 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16105
463de862
CM
16106 * include/sys/epoll.h: New file.
16107 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16108 libc_hidden_def.
16109
73139a76
UD
161102012-01-28 Ulrich Drepper <drepper@gmail.com>
16111
96bc5b45
UD
16112 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16113 Avoid unnecessary __WORDSIZE == 64 test.
16114 (fmaxf): Use VEX format if possible.
16115 (fmax): Likewise.
16116 (fminf): Likewise.
16117 (fmin): Likewise.
16118
56f6f6a2
UD
16119 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16120 * math/math_private.h: Remove libc_fegetround* and
16121 libc_fesetround*.
16122 * sysdeps/i386/configure.in: Check for -msse2avx.
16123 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16124 also if SSE2AVX is defined.
16125 Remove libc_fegetround* and libc_fesetround*.
16126 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16127 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16128 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16129 of HAS_YMM_USABLE.
16130 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16131 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16132 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16133 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16134 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16135
73139a76
UD
16136 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16137
d73f93a4
AZ
161382012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16139
16140 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16141 size is not set.
16142 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16143
6ee65ed6
UD
161442012-01-27 Ulrich Drepper <drepper@gmail.com>
16145
16146 [BZ #13618]
16147 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16148 relocation.
16149 * Makeconfig (libm): Define.
16150 * elf/Makefile: Add rules to build and run tst-relsort1.
16151 * elf/tst-relsort1.c: New file.
16152 * elf/tst-relsort1mod1.c: New file.
16153 * elf/tst-relsort1mod2.c: New file.
16154
8db21882
JM
161552012-01-27 Joseph Myers <joseph@codesourcery.com>
16156
16157 * math/s_ldexp.c: Remove __STDC__ conditionals.
16158 * math/s_ldexpf.c: Likewise.
16159 * math/s_ldexpl.c: Likewise.
16160 * math/s_nextafter.c: Likewise.
16161 * math/s_nexttowardf.c: Likewise.
16162 * math/s_significand.c: Likewise.
16163 * math/s_significandf.c: Likewise.
16164 * math/s_significandl.c: Likewise.
16165 * math/w_jnl.c: Likewise.
16166 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16167 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16168 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16169 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16170 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16171 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16172 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16173 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16174 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16175 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16176 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16177 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16178 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16179 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16180 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16181 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16182 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16183 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16184 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16185 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16186 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16187 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16188 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16189 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16190 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16191 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16192 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16193 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16194 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16195 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16196 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16197 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16198 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16199 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16200 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16201 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16202 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16203 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16204 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16205 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16206 * sysdeps/ieee754/k_standard.c: Likewise.
16207 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16208 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16209 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16210 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16211 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16212 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16213 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16214 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16215 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16216 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16217 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16218 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16219 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16220 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16221 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16222 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16223 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16224 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16225 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16226 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16227 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16228 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16229 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16230 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16231 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16232 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16233 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16234 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16235 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16236 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16237 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16238 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16239 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16240 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16241 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16242 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16243 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16244 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16245 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16246 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16247 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16248 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16249 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16250 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16251 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16252 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16253 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16254 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16255 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16256 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16257 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16258 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16259 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16260 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16261 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16262 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16263 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16264 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16265 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16266 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16267 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16268 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16269 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16270 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16271 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16272 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16273 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16274 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16275 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16276 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16277 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16278 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16279 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16280 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16281 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16282 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16283 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16284 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16285 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16286 * sysdeps/ieee754/s_matherr.c: Likewise.
16287 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16288 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16289 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16290 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16291
965a54a4
JM
162922012-01-26 Joseph Myers <joseph@codesourcery.com>
16293
16294 * crypt/md5.h: Remove __STDC__ conditionals.
16295 * libio/libioP.h: Likewise.
16296 * locale/programs/config.h: Likewise.
16297 * sysdeps/generic/sysdep.h: Likewise.
16298 * sysdeps/i386/asm-syntax.h: Likewise.
16299 * sysdeps/s390/asm-syntax.h: Likewise.
16300 * sysdeps/unix/sysdep.h: Likewise.
16301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16303
7071ad79
JM
163042012-01-26 Joseph Myers <joseph@codesourcery.com>
16305
16306 * libio/libio.h: Remove __STDC__ conditionals.
16307 * malloc/obstack.h: Likewise.
16308 * math/complex.h: Likewise.
16309 * math/math.h: Likewise.
16310 * sysdeps/generic/_G_config.h: Likewise.
16311 * sysdeps/gnu/_G_config.h: Likewise.
16312 * sysdeps/mach/hurd/_G_config.h: Likewise.
16313 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16314 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16315 * sysdeps/sparc/bits/mathdef.h: Likewise.
16316
afc5ed09
UD
163172012-01-26 Ulrich Drepper <drepper@gmail.com>
16318
16319 [BZ #13583]
16320 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 16321 Clean up HAS_* macros.
afc5ed09 16322 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
16323 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16324 possible.
16325 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16326 HAS_AVX.
16327 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16328 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16329 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16330 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16331 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 16332
bdb6de1d
JM
163332012-01-25 Joseph Myers <joseph@codesourcery.com>
16334
16335 * elf/tst-unique3.cc (gets): Remove declaration.
16336 * elf/tst-unique3lib.cc (gets): Likewise.
16337 * elf/tst-unique3lib2.cc (gets): Likewise.
16338 * elf/tst-unique4.cc (gets): Likewise.
16339
b15549e6
UD
163402012-01-24 Ulrich Drepper <drepper@gmail.com>
16341
16342 * include/stdio.h: Add C++ protection. Add gets declarations and
16343 definitions.
16344 * debug/tst-chk1.c: Don't declare gets here.
16345 * stdio-common/tst-gets.c: Likewise.
16346
a037381f
JM
163472012-01-24 Joseph Myers <joseph@codesourcery.com>
16348
16349 * posix/glob: Remove directory.
16350
f1d4aa75
JM
163512012-01-24 Joseph Myers <joseph@codesourcery.com>
16352
16353 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16354
81c0c964
PT
163552012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16356
16357 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16358 of the non-standard EPFNOSUPPORT.
16359
0ea698ae
ST
163602011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16361
16362 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16363 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16364 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16365
d220b117
UD
163662012-01-21 Ulrich Drepper <drepper@gmail.com>
16367
16368 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16369
3e1aa84e
UD
163702012-01-20 Ulrich Drepper <drepper@gmail.com>
16371
16372 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16373 transient errors.
16374 * nscd/grpcache.c (cache_addgr): Likewise.
16375 * nscd/hstcache.c (cache_addhst): Likewise.
16376 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16377 * nscd/pwdcache.c (cache_addpw): Likewise.
16378 * nscd/servicescache.c (cache_addserv): Likewise.
16379
400aa020
UD
163802012-01-16 Ulrich Drepper <drepper@gmail.com>
16381
d77e7869
UD
16382 * malloc/malloc.c: Various cleanups.
16383 * malloc/hooks.c: Likewise.
16384
400aa020
UD
16385 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16386 * stdlib/bug-fmtmsg1.c: New file.
16387
16388 * stdlib/fmtmsg.c (init): Add missing unlock.
16389 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16390
e0a309cf
MP
163912012-01-12 Marek Polacek <polacek@redhat.com>
16392
16393 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16394 and _GNU_SOURCE.
16395
929d11c7
WS
163962012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16397
16398 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16399 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16400 macro to ensure uniqueness of label name.
16401 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16402 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16403
41d0e869
UD
164042012-01-11 Ulrich Drepper <drepper@gmail.com>
16405
0cc5ed3b
UD
16406 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16407
41d0e869
UD
16408 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16409 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16410 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16411 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16412
a47a831a
UD
164132012-01-10 Ulrich Drepper <drepper@gmail.com>
16414
daa891c0
UD
16415 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16416
16417 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16418 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16419 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16420
e58ef0f2
UD
16421 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16422
a47a831a 16423 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
16424 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16425 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 16426 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
16427
16428 * math/bits/math-finite.h: Add ldexp support.
16429
a0bfc9c7
MP
164302012-01-10 Marek Polacek <polacek@redhat.com>
16431
16432 * locale/programs/localedef.h (show_archive_content): Add noreturn
16433 attribute.
16434
d6e97a1d
UD
164352012-01-09 Ulrich Drepper <drepper@gmail.com>
16436
16437 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16438
d5835c26
UD
164392012-01-08 Ulrich Drepper <drepper@gmail.com>
16440
e5f484c6
UD
16441 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16442
d5835c26
UD
16443 * io/Makefile (headers): Add bits/poll2.h.
16444
d1f741e9
WS
164452011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16446
16447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16448 typo #include statement.
16449
ec09c1c4
UD
164502012-01-08 Ulrich Drepper <drepper@gmail.com>
16451
16452 * include/sys/cdefs.h: Define __attribute_alloc_size.
16453 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16454 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16455 * elf/pldd.c: Likewise.
16456 * iconv/iconv_charmap.c: Likewise.
16457 * iconv/iconvconfig.c: Likewise.
16458 * iconv/strtab.c: Likewise.
16459 * locale/programs/locale.c: Likewise.
16460 * locale/programs/localedef.h: Likewise.
16461 * locale/programs/simple-hash.c: Likewise.
16462 * nscd/nscd.h: Likewise.
16463 * nss/makedb.c: Likewise.
16464 * sysdeps/generic/ldconfig.h: Likewise.
16465 * locale/programs/localedef.c: Remove xmalloc prototype.
16466 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16467
20b38e03
PP
164682012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16469
16470 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16471 appropriate.
16472
a0da5fe1
UD
164732012-01-08 Ulrich Drepper <drepper@gmail.com>
16474
1d5a644a 16475 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16476 * math/tst-CMPLX.c: New file.
1d5a644a 16477
8784a6db
UD
16478 * math/complex.h (CMPLXL): Fix typo.
16479
d9a216c0
UD
16480 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16481 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16482 GLIBC_2.16.
16483 * debug/tst-chk1.c: Add poll and ppoll tests.
16484 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16485 * include/sys/poll.h: Add hidden proto for ppoll.
16486 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16487 * sysdeps/mach/hurd/ppoll.c: Likewise.
16488 * io/ppoll.c: Likewise.
16489 * debug/poll_chk.c: New file.
16490 * debug/ppoll_chk.c: New file.
16491 * include/bits/poll2.h: New file.
16492 * io/bits/poll2.h: New file.
16493
ac097f5c
UD
16494 [BZ #1350]
16495 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16496
2119dcfa
UD
16497 * configure.in: static is always set to yes. Remove.
16498 * config.make.in: Don't set build-static.
16499 * Makeconfig: Remove use of build-static.
16500 * dlfcn/Makefile: Likewise.
16501 * elf/Makefile: Likewise.
16502 * math/Makefile: Likewise.
16503 * misc/Makefile: Likewise.
16504 * nptl/Makefile: Likewise.
16505 * sysdeps/mach/hurd/Makefile: Likewise.
16506
121766a9
UD
16507 * configure.in: PWD_P is not used anymore.
16508 * config.make.in: Remove PWD_P entry.
16509
51a1d39c 16510 * configure.in: Remove last remnants of RANLIB.
8720d066 16511 No need to check for signed size_t anymore.
215f4bdc
UD
16512 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16513 and IA-64.
3857022a 16514 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16515 * aclocal.m4: Likewise.
16516
d3ed7225
UD
16517 * wcsmbs/mbrtoc16.c: Implement using towc function.
16518 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16519 * wcsmbs/wcsmbsload.c: Likewise.
16520 * iconv/gconv_simple.c: Likewise.
16521 * iconv/gconv_int.h: Likewise.
16522 * iconv/gconv_builtin.h: Likewise.
16523 * iconv/iconv_prog.c: Remove CHAR16 handling.
16524
16525 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16526
16527 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16528
a0da5fe1
UD
16529 * configure.in: Remove --with-elf and --enable-bounded options.
16530 Dont set base_machine for ia64. More non-ELF conditions removed.
16531 Remove testing and setting of leading underscore information.
16532 * config.make.in (build-bounded): Set to no.
16533 * config.h.in: Remove NO_UNDERSCORES entry.
16534 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16535 them.
16536 * csu/start.c: Remove !NO_UNDERSCORE code.
16537 * locale/localeinfo.h: Likewise.
16538 * sysdeps/generic/machine-gmon.h: Likewise.
16539 * sysdeps/generic/sysdep.h: Likewise.
16540 * sysdeps/i386/sysdep.h: Likewise.
16541 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16542 * sysdeps/mach/sysdep.h: Likewise.
16543 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16544 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16545 * sysdeps/sh/sysdep.h: Likewise.
16546 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16547 * sysdeps/unix/i386/sysdep.S: Likewise.
16548 * sysdeps/unix/sparc/start.c: Likewise.
16549 * sysdeps/unix/sparc/sysdep.S: Likewise.
16550 * sysdeps/unix/sparc/sysdep.h: Likewise.
16551 * sysdeps/unix/start.c: Likewise.
16552 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16553 * sysdeps/x86_64/sysdep.h: Likewise.
16554
df78418a
UD
165552012-01-07 Ulrich Drepper <drepper@gmail.com>
16556
a784e502
UD
16557 [BZ #13553]
16558 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16559 for non-gcc.
16560 * argp/argp-fmtstream.h: Use const instead __const.
16561 * argp/argp.h: Likewise.
16562 * assert/assert.h: Likewise.
16563 * bits/fenv.h: Likewise.
16564 * bits/sched.h: Likewise.
16565 * bits/sigset.h: Likewise.
16566 * bits/sigthread.h: Likewise.
16567 * catgets/nl_types.h: Likewise.
16568 * conform/data/pthread.h-data: Likewise.
16569 * crypt/crypt-private.h: Likewise.
16570 * crypt/crypt.h: Likewise.
16571 * crypt/crypt_util.c: Likewise.
16572 * ctype/ctype.h: Likewise.
16573 * debug/execinfo.h: Likewise.
16574 * debug/mbsnrtowcs_chk.c: Likewise.
16575 * debug/mbsrtowcs_chk.c: Likewise.
16576 * debug/wcsnrtombs_chk.c: Likewise.
16577 * debug/wcsrtombs_chk.c: Likewise.
16578 * debug/wcstombs_chk.c: Likewise.
16579 * dirent/dirent.h: Likewise.
16580 * dlfcn/dlfcn.h: Likewise.
16581 * elf/neededtest4.c: Likewise.
16582 * grp/grp.h: Likewise.
16583 * gshadow/gshadow.h: Likewise.
16584 * iconv/gconv.h: Likewise.
16585 * iconv/gconv_int.h: Likewise.
16586 * iconv/gconv_simple.c: Likewise.
16587 * iconv/iconv.h: Likewise.
16588 * iconv/loop.c: Likewise.
16589 * iconv/skeleton.c: Likewise.
16590 * include/aio.h: Likewise.
16591 * include/aliases.h: Likewise.
16592 * include/argz.h: Likewise.
16593 * include/arpa/inet.h: Likewise.
16594 * include/assert.h: Likewise.
16595 * include/dirent.h: Likewise.
16596 * include/dlfcn.h: Likewise.
16597 * include/execinfo.h: Likewise.
16598 * include/fcntl.h: Likewise.
16599 * include/fenv.h: Likewise.
16600 * include/glob.h: Likewise.
16601 * include/grp.h: Likewise.
16602 * include/libintl.h: Likewise.
16603 * include/mntent.h: Likewise.
16604 * include/netdb.h: Likewise.
16605 * include/pwd.h: Likewise.
16606 * include/rpc/netdb.h: Likewise.
16607 * include/sched.h: Likewise.
16608 * include/search.h: Likewise.
16609 * include/shadow.h: Likewise.
16610 * include/signal.h: Likewise.
16611 * include/stdio.h: Likewise.
16612 * include/stdlib.h: Likewise.
16613 * include/string.h: Likewise.
16614 * include/sys/socket.h: Likewise.
16615 * include/sys/stat.h: Likewise.
16616 * include/sys/statfs.h: Likewise.
16617 * include/sys/statvfs.h: Likewise.
16618 * include/sys/syslog.h: Likewise.
16619 * include/sys/time.h: Likewise.
16620 * include/sys/uio.h: Likewise.
16621 * include/time.h: Likewise.
16622 * include/unistd.h: Likewise.
16623 * include/utmp.h: Likewise.
16624 * include/wchar.h: Likewise.
16625 * include/wctype.h: Likewise.
16626 * inet/aliases.h: Likewise.
16627 * inet/arpa/inet.h: Likewise.
16628 * inet/netinet/ether.h: Likewise.
16629 * inet/netinet/in.h: Likewise.
16630 * intl/libintl.h: Likewise.
16631 * io/bits/fcntl2.h: Likewise.
16632 * io/fcntl.h: Likewise.
16633 * io/ftw.h: Likewise.
16634 * io/sys/poll.h: Likewise.
16635 * io/sys/stat.h: Likewise.
16636 * io/sys/statfs.h: Likewise.
16637 * io/sys/statvfs.h: Likewise.
16638 * io/utime.h: Likewise.
16639 * libio/bits/stdio.h: Likewise.
16640 * libio/bits/stdio2.h: Likewise.
16641 * libio/libio.h: Likewise.
16642 * libio/libioP.h: Likewise.
16643 * libio/stdio.h: Likewise.
16644 * locale/lc-ctype.c: Likewise.
16645 * locale/locale.h: Likewise.
16646 * login/utmp.h: Likewise.
16647 * malloc/arena.c: Likewise.
16648 * malloc/malloc.c: Likewise.
16649 * malloc/malloc.h: Likewise.
16650 * malloc/mcheck.c: Likewise.
16651 * malloc/mtrace.c: Likewise.
16652 * math/bits/mathcalls.h: Likewise.
16653 * math/fenv.h: Likewise.
16654 * math/math_private.h: Likewise.
16655 * misc/bits/error.h: Likewise.
16656 * misc/bits/syslog.h: Likewise.
16657 * misc/err.h: Likewise.
16658 * misc/error.h: Likewise.
16659 * misc/fstab.h: Likewise.
16660 * misc/mntent.h: Likewise.
16661 * misc/regexp.h: Likewise.
16662 * misc/search.h: Likewise.
16663 * misc/sgtty.h: Likewise.
16664 * misc/sys/mman.h: Likewise.
16665 * misc/sys/syslog.h: Likewise.
16666 * misc/sys/uio.h: Likewise.
16667 * misc/sys/xattr.h: Likewise.
16668 * misc/ttyent.h: Likewise.
16669 * nis/rpcsvc/ypclnt.h: Likewise.
16670 * nss/nss.h: Likewise.
16671 * posix/bits/unistd.h: Likewise.
16672 * posix/fnmatch.h: Likewise.
16673 * posix/glob.h: Likewise.
16674 * posix/sched.h: Likewise.
16675 * posix/spawn.h: Likewise.
16676 * posix/sys/wait.h: Likewise.
16677 * posix/unistd.h: Likewise.
16678 * posix/wordexp.h: Likewise.
16679 * pwd/pwd.h: Likewise.
16680 * resolv/netdb.h: Likewise.
16681 * resource/sys/resource.h: Likewise.
16682 * rt/aio.h: Likewise.
16683 * rt/bits/mqueue2.h: Likewise.
16684 * rt/mqueue.h: Likewise.
16685 * shadow/shadow.h: Likewise.
16686 * signal/signal.h: Likewise.
16687 * socket/send.c: Likewise.
16688 * socket/sendto.c: Likewise.
16689 * socket/sys/socket.h: Likewise.
16690 * stdio-common/printf.h: Likewise.
16691 * stdlib/bits/stdlib.h: Likewise.
16692 * stdlib/fmtmsg.h: Likewise.
16693 * stdlib/monetary.h: Likewise.
16694 * stdlib/stdlib.h: Likewise.
16695 * stdlib/ucontext.h: Likewise.
16696 * streams/stropts.h: Likewise.
16697 * string/argz.h: Likewise.
16698 * string/bits/string2.h: Likewise.
16699 * string/string.h: Likewise.
16700 * string/strings.h: Likewise.
16701 * sunrpc/rpc/auth.h: Likewise.
16702 * sunrpc/rpc/auth_des.h: Likewise.
16703 * sunrpc/rpc/clnt.h: Likewise.
16704 * sunrpc/rpc/netdb.h: Likewise.
16705 * sunrpc/rpc/pmap_clnt.h: Likewise.
16706 * sunrpc/rpc/xdr.h: Likewise.
16707 * sysdeps/generic/inttypes.h: Likewise.
16708 * sysdeps/generic/net/if.h: Likewise.
16709 * sysdeps/generic/sys/swap.h: Likewise.
16710 * sysdeps/gnu/net/if.h: Likewise.
16711 * sysdeps/gnu/utmpx.h: Likewise.
16712 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16713 * sysdeps/i386/i486/bits/string.h: Likewise.
16714 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16715 * sysdeps/s390/bits/string.h: Likewise.
16716 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16717 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16718 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16719 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16720 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16721 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16722 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16723 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16724 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16725 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16726 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16727 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16728 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16729 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16730 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16731 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16732 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16733 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16734 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16735 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16736 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16737 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16738 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16739 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16740 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16741 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16742 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16743 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16744 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16745 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16746 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16747 * sysvipc/sys/ipc.h: Likewise.
16748 * sysvipc/sys/msg.h: Likewise.
16749 * sysvipc/sys/sem.h: Likewise.
16750 * sysvipc/sys/shm.h: Likewise.
16751 * termios/termios.h: Likewise.
16752 * time/sys/time.h: Likewise.
16753 * time/time.h: Likewise.
16754 * wcsmbs/bits/wchar2.h: Likewise.
16755 * wcsmbs/uchar.h: Likewise.
16756 * wcsmbs/wchar.h: Likewise.
16757 * wctype/wctype.h: Likewise.
16758
0269750c
UD
16759 [BZ #13551]
16760 * Makeconfig: Remove all but ELF support including AIX support.
16761 * Makerules: Likewise.
16762 * config.h.in: Likewise.
16763 * config.make.in: Likewise.
16764 * configure: Likewise.
16765 * configure.in: Likewise.
16766 * csu/Makefile: Likewise.
16767 * csu/version.c: Likewise.
16768 * debug/Makefile: Likewise.
16769 * dlfcn/Makefile: Likewise.
16770 * elf/Makefile: Likewise.
16771 * extra-lib.mk: Likewise.
16772 * iconv/Makefile: Likewise.
16773 * include/libc-symbols.h: Likewise.
16774 * include/shlib-compat.h: Likewise.
16775 * resolv/Makefile: Likewise.
16776 * resolv/res_libc.c: Likewise.
16777 * rt/Makefile: Likewise.
16778 * sysdeps/i386/asm-syntax.h: Likewise.
16779 * sysdeps/i386/sysdep.h: Likewise.
16780 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16781 * sysdeps/mach/sysdep.h: Likewise.
16782 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16783 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16784 * sysdeps/s390/asm-syntax.h: Likewise.
16785 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16786 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16787 * sysdeps/sh/sysdep.h: Likewise.
16788 * sysdeps/unix/sparc/sysdep.h: Likewise.
16789 * sysdeps/wordsize-32/divdi3.c: Likewise.
16790 * sysdeps/x86_64/sysdep.h: Likewise.
16791
00bbd29b
UD
16792 * argp/Versions: Remove _argp_unlock_xxx.
16793
16794 [BZ #13559]
16795 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16796 * abilist/libBrokenLocale.abilist: Likewise.
16797 * abilist/libanl.abilist: Likewise.
16798 * abilist/libc.abilist: Likewise.
16799 * abilist/libcrypt.abilist: Likewise.
16800 * abilist/libdl.abilist: Likewise.
16801 * abilist/libm.abilist: Likewise.
16802 * abilist/libnsl.abilist: Likewise.
16803 * abilist/libpthread.abilist: Likewise.
16804 * abilist/libresolv.abilist: Likewise.
16805 * abilist/librt.abilist: Likewise.
16806 * abilist/libthread_db.abilist: Likewise.
16807 * abilist/libutil.abilist: Likewise.
16808 * abilist/libnss_db.abilist: New file.
16809
16810 * scripts/abilist.awk: Add support for indirect functions.
16811
a2693a0e
UD
16812 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16813
3f05895f
UD
16814 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16815
ecb6fb48
UD
16816 * shlib-versions: Remove entries for ports architectures.
16817
664f8cb9
UD
16818 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16819 files in ports.
16820 * elf/stackguard-macros.h: Remove support for IA-64.
16821 * elf/tst-auditmod1.c: Likewise.
16822 * sysdeps/generic/ldsodefs.h: Likewise.
16823
7ae81d88
UD
16824 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16825 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16826 configure files.
16827
bdeba135
UD
16828 [BZ #13552]
16829 * configure.in: Remove --enable-omitfp support.
16830 * FAQ.in: Adjust.
16831 * config.make.in: Likewise.
16832 * Makeconfig: Likewise.
16833 * manual/install.texi: Likewise.
16834
d75a0a62
UD
16835 In case anyone cares, the IA-64 architecture could move to ports.
16836 * sysdeps/ia64/*: Removed.
16837 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16838 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16839
dcc9756b
UD
16840 [BZ #13555]
16841 * configure.in: Remove entries for unsupported architectures.
16842
d3761ebc 16843 [BZ #13533]
9954432e
UD
16844 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16845 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16846 routines.
16847 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16848 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16849 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16850 fall back to using wcrtomb.
16851 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16852 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16853 renaming.
16854 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16855 * wcsmbs/tst-c16c32-1.c: New file.
16856
16857 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16858 local variable.
16859
c3a87236
UD
16860 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16861
28926a1b
UD
16862 * elf/tst-unique3.cc: Add explicit declaration of gets.
16863 * elf/tst-unique3lib.cc: Likewise.
16864 * elf/tst-unique3lib2.cc: Likewise.
16865 * elf/tst-unique4.cc: Likewise.
16866
df78418a
UD
16867 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16868
8ecd6b2a
JM
168692012-01-06 Joseph Myers <joseph@codesourcery.com>
16870
16871 [BZ #13566]
16872 * assert/assert.h (static_assert): Don't define for C++.
16873 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16874 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16875
9f115170
UD
168762012-01-03 Ulrich Drepper <drepper@gmail.com>
16877
5e0d0300
UD
16878 * iconv/loop.c (single loop): Fix assertion in storing of
16879 remaining bytes.
16880
9f115170
UD
16881 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16882
81fb02b0
UD
168832012-01-01 Ulrich Drepper <drepper@gmail.com>
16884
16885 * posix/getconf.c: Update copyright year.
16886 * nss/getent.c: Likewise.
a316c1f6 16887 * nss/makedb.c: Likewise.
81fb02b0
UD
16888 * iconv/iconvconfig.c: Likewise.
16889 * iconv/iconv_prog.c: Likewise.
16890 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16891 * elf/pldd.c: Likewise.
16892 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16893 * catgets/gencat.c: Likewise.
16894 * csu/version.c: Likewise.
16895 * elf/ldd.bash.in: Likewise.
16896 * elf/sprof.c (print_version): Likewise.
16897 * locale/programs/locale.c: Likewise.
16898 * locale/programs/localedef.c: Likewise.
a316c1f6 16899 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16900 * nscd/nscd.c (print_version): Likewise.
16901 * debug/xtrace.sh: Likewise.
16902 * malloc/memusage.sh: Likewise.
16903 * malloc/mtrace.pl: Likewise.
16904 * debug/catchsegv.sh: Likewise.
16905
2ba92745
JJ
169062011-12-30 Jakub Jelinek <jakub@redhat.com>
16907
16908 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16909 pure attribute.
16910
dadebdae
UD
169112011-12-24 Ulrich Drepper <drepper@gmail.com>
16912
d3761ebc 16913 [BZ #13533]
db6af3eb
UD
16914 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16915 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16916 transformations.
16917 * iconv/gconv_int.h: Likewise.
16918 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16919 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16920 from libc for GLIBC_2.16.
16921 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16922 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16923 * wcsmbs/uchar.h: Really define mbstate_t.
16924 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16925 * wcsmbs/c16rtomb.c: New file.
16926 * wcsmbs/mbrtoc16.c: New file.
16927 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16928 for C/POSIX locale.
16929 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16930 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16931
dadebdae
UD
16932 * wcsmbs/wchar.h: Add missing __restrict.
16933
67371b56
UD
169342011-12-23 Ulrich Drepper <drepper@gmail.com>
16935
74033a25
UD
16936 [BZ #13532]
16937 * time/Makefile (routines): Add timespec_get.
16938 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16939 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16940 timespec for ISO C11.
16941 * time/timespec_get.c: New file.
16942 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16943 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16944
380d7e87
UD
16945 [BZ #13531]
16946 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16947 * stdlib/stdlib.h: Declare aligned_alloc.
16948 * Versions.def: Add GLIBC_2.16 for libc.
16949 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16950
4e9e7a35
UD
16951 [BZ 13527]
16952 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16953 ISO C11.
16954
380d7e87 16955 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16956 code.
16957
03a71829
UD
16958 [BZ #13528]
16959 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16960
839e283e
UD
16961 [BZ #13529]
16962 * assert/assert.h (static_assert): Define.
16963
ce5294e2 16964 * version.h: Update for 2.16 development version.
90fa7312 16965
8d44e150 16966 [BZ #13526]
d7809905
UD
16967 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16968 _ISOC11_SOURCE.
16969
c0da14cd
UD
16970 * version.h (RELEASE): Bump for 2.15 release.
16971 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16972
530a3249
MP
16973 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16974 Patch by Marek Polacek <mpolacek@redhat.com>.
16975
67371b56
UD
16976 * bits/byteswap.h: Protect long long constants with __extension__.
16977 * sysdeps/i386/bits/byteswap.h: Likewise.
16978 * sysdeps/ia64/bits/byteswap.h: Likewise.
16979 * sysdeps/s390/bits/byteswap.h: Likewise.
16980 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16981
15db4de1
LD
169822011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16983
16984 [BZ #13540]
bbe315ea
LD
16985 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16986 destination buffer.
15db4de1
LD
16987 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16988
2b2596b1
MP
169892011-12-23 Marek Polacek <polacek@redhat.com>
16990
16991 * elf/dl-addr.c (determine_info): Add inline keyword.
16992 * elf/tst-auditmod4b.c (check_avx): Likewise.
16993 * elf/tst-auditmod6b.c (check_avx): Likewise.
16994 * elf/tst-auditmod6c.c (check_avx): Likewise.
16995 * elf/tst-auditmod7b.c (check_avx): Likewise.
16996
70c6c246
UD
169972011-12-23 Ulrich Drepper <drepper@gmail.com>
16998
16999 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17000 !__SSE_MATH__.
17001
c044cf14
LD
170022011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17003
15db4de1 17004 [BZ #13540]
c044cf14
LD
17005 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17006 processing for last bytes.
17007
6b13d9d9
BH
170082011-08-06 Bruno Haible <bruno@clisp.org>
17009
d455f537
BH
17010 [BZ #13061]
17011 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17012 U+0385, not to U+1FEE.
17013
6b13d9d9
BH
17014 [BZ #13062]
17015 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17016 entry for U+00A5 U+0301.
17017
db910efd
UD
170182011-12-22 Ulrich Drepper <drepper@gmail.com>
17019
27deeafc
UD
17020 [BZ #13166]
17021 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17022 buffer for the output is too small.
17023
aed9d171
UD
17024 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17025 optimization.
17026
db910efd
UD
17027 [BZ #13185]
17028 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17029 SSE flags if possible.
17030
2bd779ae
LD
170312011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17032
e7f9dac3 17033 [BZ #13540]
2bd779ae
LD
17034 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17035 processing for last bytes.
17036
154bfc16
JM
170372011-12-22 Joseph Myers <joseph@codesourcery.com>
17038
17039 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17040 (syscall-list-default-options, syscall-list-default-condition)
17041 (syscall-list-includes): Define.
17042 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17043 list of ABIs and options and #if conditions for each ABI. Do not
17044 handle common syscalls between ABIs specially.
17045 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17046 Remove.
17047 (syscall-list-variants, syscall-list-32bit-options)
17048 (syscall-list-32bit-condition, syscall-list-64bit-options)
17049 (syscall-list-64bit-condition): Define.
17050 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17051 (syscall-list-variants, syscall-list-32bit-options)
17052 (syscall-list-32bit-condition, syscall-list-64bit-options)
17053 (syscall-list-64bit-condition): Define.
17054 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17055 Remove.
17056 (syscall-list-variants, syscall-list-32bit-options)
17057 (syscall-list-32bit-condition, syscall-list-64bit-options)
17058 (syscall-list-64bit-condition): Define.
17059 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17060 Remove.
17061 (syscall-list-variants, syscall-list-32bit-options)
17062 (syscall-list-32bit-condition, syscall-list-64bit-options)
17063 (syscall-list-64bit-condition): Define.
17064
21eaf3a5
UD
170652011-12-22 Ulrich Drepper <drepper@gmail.com>
17066
16c6f992
UD
17067 * locale/iso-639.def: Add brx entry.
17068
41043168
UD
17069 [BZ #13328]
17070 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17071 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17072
21eaf3a5
UD
17073 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17074 __feraiseexcept_renamed.
17075
e3a851a2
UD
170762011-12-21 Ulrich Drepper <drepper@gmail.com>
17077
4920765e
UD
17078 [BZ #13538]
17079 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17080 EPOLLET with unsigned values.
17081 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17082 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17083
e3a851a2
UD
17084 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17085 to large cancellation.
17086 * math/s_cacoshf.c: Likewise.
17087 * math/s_cacoshl.c: Likewise.
17088
b27e24b8
RK
170892011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17090
17091 [BZ #13305]
aebefeee 17092 [BZ #12786]
b27e24b8
RK
17093 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17094 * math/s_cacoshf.c: Likewise.
17095 * math/s_cacoshl.c: Likewise.
17096
ee190f67
UD
170972011-12-21 Ulrich Drepper <drepper@gmail.com>
17098
17099 [BZ #13439]
17100 * iconv/gconv.h: Define __GCONV_SWAP.
17101 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17102 * iconvdata/utf-16.c: Likewise.
17103 * iconvdata/utf-32.c: Likewise.
17104
707f25df
AS
171052011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17106
17107 [BZ #13524]
17108 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17109 numerator after shifting it by one limb.
17110
d2daaa1e
RÁE
171112011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17112
17113 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17114 under [__USE_EXTERN_INLINES].
17115
a4647e72
UD
171162011-12-17 Ulrich Drepper <drepper@gmail.com>
17117
17118 [BZ #13446]
17119 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17120
f0b264f1
AZ
171212011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17122
17123 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17124 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17125 optimized code.
17126 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17127 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17128 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17129 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17130 for strncasecmp/strncasecmp_l compilation.
17131 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17132 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17133
8ef4f244
MP
171342011-12-08 Marek Polacek <mpolacek@redhat.com>
17135
17136 [BZ #13484]
17137 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17138 of __asm__.
17139
97ac2654
UD
171402011-12-17 Ulrich Drepper <drepper@gmail.com>
17141
17142 [BZ #13506]
17143 * time/tzfile.c (__tzfile_read): Check values from file header.
17144
91d2a845
WS
171452011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17146
17147 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17148 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17149 * powerpc/powerpc32/dl-start.S: Likewise.
17150 * powerpc/powerpc32/elf/start.S: Likewise.
17151 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17152 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17153 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17154 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17155 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17156 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17157 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17158 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17159 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17160 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17161 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17162 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17163 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17164 * powerpc/powerpc32/memset.S: Likewise.
17165 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17166 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17167 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17168 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17169 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17170 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17171 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17172 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17173 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17174 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17175 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17176 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17177 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17178
a1267ba1
AZ
171792011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17180
17181 * math/libm-test.inc: Added more nearbyint tests.
17182 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17183 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17184 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17185 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17186
ad8ac1bd
RL
171872011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17188
17189 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17190 FD_CLOEXEC.
17191
1d3e4b61
UD
171922011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17193
17194 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17195 Add wcscpy-ssse3 wcscpy-c.
17196 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17197 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17198 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17199 * sysdeps/x86_64/wcschr.S: New file.
17200 * sysdeps/x86_64/wcsrchr.S: New file.
17201 * string/test-strcmp.c: Remove checking of wcscmp function for
17202 wrong alignments.
17203 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17204 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17205 wcsrchr-sse2 wcsrchr-c.
17206 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17207 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17208 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17209 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17210 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17211 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17212 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17213 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17214 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17215 * wcsmbc/wcschr.c (WCSCHR): New macro.
17216
5b330a2d
UD
172172011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17218
17219 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17220 * wcsmbs/test-wcsrchr.c: New file.
17221 * string/test-strrchr.c: Add wcsrchr support.
17222 (WIDE): New macro.
17223 * wcsmbs/test-wcscpy.c: New file.
17224 * string/test-strcpy.c: Add wcscpy support.
17225 (WIDE): New macro.
26428b7c 17226
f039c043
UD
172272011-12-10 Ulrich Drepper <drepper@gmail.com>
17228
17229 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17230 the inner loop.
17231
850fb039
AS
172322011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17233
17234 [BZ #13472]
17235 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17236
4efbd5cb
UD
172372011-12-04 Ulrich Drepper <drepper@gmail.com>
17238
52ff5dd0 17239 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 17240 Minor optimizations.
52ff5dd0 17241
4efbd5cb
UD
17242 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17243 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17244 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17245
8a426e12
UD
172462011-12-03 Ulrich Drepper <drepper@gmail.com>
17247
aff2453d
UD
17248 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17249 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17250 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17251 for gcc to avoid warnings.
17252 * inet/Makefile (tests): Add tst-checks.
17253 * inet/tst-checks.c: New file.
17254
17255 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17256 warning.
17257
17258 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17259 __wmemcmp_sse2.
17260
17261 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17262 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17263
8a426e12
UD
17264 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17265
9bea3473
UD
172662011-12-02 Ulrich Drepper <drepper@gmail.com>
17267
3a965496
UD
17268 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17269 problem.
17270
9bea3473
UD
17271 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17272
f101631b
UD
172732011-11-29 Joseph Myers <joseph@codesourcery.com>
17274
17275 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17276 conditional on GCC version.
17277 (__arch_compare_and_exchange_val_8_acq)
17278 (__arch_compare_and_exchange_val_16_acq)
17279 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17280 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17281 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17282
a98275aa
UD
172832011-12-02 Joseph Myers <joseph@codesourcery.com>
17284
17285 * sysdeps/sh/backtrace.c: New file.
17286
d4cc29a2
AS
172872011-12-02 Andreas Schwab <schwab@redhat.com>
17288
17289 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17290 parenthesis.
17291
6257af2d
AS
172922011-12-01 Andreas Schwab <schwab@redhat.com>
17293
17294 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17295 falling back to utime.
17296
b5f44c1a
AS
172972011-11-30 Andreas Schwab <schwab@redhat.com>
17298
17299 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17300 expectations for float.
17301
f3a6cc0a
AS
173022011-11-29 Andreas Schwab <schwab@redhat.com>
17303
17304 * locale/weight.h (findidx): Add parameter len.
17305 * locale/weightwc.h (findidx): Likewise.
17306 * posix/fnmatch_loop.c (FCT): Adjust caller.
17307 * posix/regcomp.c (build_equiv_class): Likewise.
17308 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17309 * posix/regexec.c (check_node_accept_bytes): Likewise.
17310 * string/strcoll_l.c (STRCOLL): Likewise.
17311 * string/strxfrm_l.c (STRXFRM): Likewise.
17312
9d65ea3a
UD
173132011-11-17 Ulrich Drepper <drepper@gmail.com>
17314
17315 * Makefile.in: Remove CVSOPT handling.
17316 * configure.in: Remove use of AC_REVISION.
17317 * iconvdata/Makefile (distribute): No need to filter out CVS.
17318 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17319 handling.
17320
5583a086
AS
173212011-11-16 Andreas Schwab <schwab@redhat.com>
17322
17323 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17324 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17325 [USE_AS_STRNCASECMP_L]: Likewise.
17326 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17327 NO_TLS_DIRECT_SEG_REFS.
17328 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17329 Fix argument offsets for non-PIC.
17330 [USE_AS_STRNCASECMP_L]: Likewise.
17331 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17332 NO_TLS_DIRECT_SEG_REFS.
17333
d62a8200
UD
173342011-11-15 Ulrich Drepper <drepper@gmail.com>
17335
9d65ea3a 17336 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
17337 O_CLOEXEC.
17338 * locale/loadlocale.c (_nl_load_locale): Likewise.
17339
09f93bd3
AS
173402011-11-15 Andreas Schwab <schwab@redhat.com>
17341
446514f9
AS
17342 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17343 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17344 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17345 (SYSCALL_GETTIME): Set errno on error.
17346
09f93bd3
AS
17347 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17348 count references to noai6ai_cached.
17349
312be3f9
UD
173502011-11-15 Ulrich Drepper <drepper@gmail.com>
17351
17352 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17353
17354 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17355 FD_CLOEXEC for /proc/self/maps.
17356
17357 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17358 FD_CLOEXEC for /proc/meminfo.
17359
17360 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17361 gai.conf.
17362
17363 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17364 FD_CLOEXEC for given file.
17365
17366 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17367
17368 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17369 FD_CLOEXEC for /etc/hosts.
17370 (_gethtent): Likewise.
17371
17372 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17373
17374 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17375 cancellation and set FD_CLOEXEC for /etc/netgroup.
17376
17377 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17378 reading /etc/publickey.
17379
17380 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17381 allow cancellation when reading /etc/group.
17382
17383 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17384 cancellation.
17385 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17386
17387 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17388 when using data file.
17389
17390 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17391
17392 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17393 (write_nis_obj): Use "c" and "e" in fopen.
17394
17395 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17396
17397 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17398
17399 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17400
17401 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17402
17403 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17404 locale.alias.
17405
17406 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17407
17408 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17409
17410 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17411
17412 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17413 file parsing and set FD_CLOEXEC.
17414
82af0fa8
UD
174152011-11-14 Ulrich Drepper <drepper@gmail.com>
17416
17417 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17418
a5fb313c
AS
174192011-11-14 Andreas Schwab <schwab@redhat.com>
17420
17421 * malloc/arena.c (arena_get2): Don't call reused_arena when
17422 _int_new_arena failed.
17423
6abf3465
UD
174242011-11-14 Ulrich Drepper <drepper@gmail.com>
17425
17426 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17427 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17428 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17429 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17430 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17431 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17432 to compile strcasecmp and strncasecmp.
17433 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17434 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17435
17436 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17437
76e3966e
UD
174382011-11-13 Ulrich Drepper <drepper@gmail.com>
17439
17440 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17441 locale-defines.sym to gen-as-const-headers.
17442 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17443 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17444 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17445 to compile strcasecmp and strncasecmp.
17446 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17447 strcasecmp_l and strncasecmp_l.
17448 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17449 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17450 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17451 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17452 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17453 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17454 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17455 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17456 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17457 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17458 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17459
ab26144e
UD
174602011-11-12 Ulrich Drepper <drepper@gmail.com>
17461
7edb22ef
UD
17462 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17463 result of SYSDEP_GETTIME_CPU to retval.
17464 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17465 parameter list to macro. Remove trailing semicolon. Adjust users.
17466
9694fc44
UD
17467 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17468 variable.
17469
8ad89ef8
UD
17470 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17471 mantissa words.
17472 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17473
0c822ef9
UD
17474 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17475 from unused variable.
17476
874e0564
UD
17477 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17478 DWARF definitions.
17479 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17480 for assembling.
17481
3a2edc79
UD
17482 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17483 over namespaces.
17484
f3c2577f
UD
17485 * sunrpc/rpc_prot.c (rejected): Fix case value.
17486
294ce126
UD
17487 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17488 unsigned long long int to avoid warnings in shift.
17489
5e2b63c6
UD
17490 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17491 of use of trans.
17492 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17493 variable tmp.
17494
e7f4b08e
UD
17495 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17496 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17497 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17498
ab26144e
UD
17499 * nis/nis_table.c (nis_list): Use variable of correct type for
17500 result of __follow_path call.
17501
8a6d5255
AZ
175022011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17503
17504 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17505 of math functions ceil, trunc, floor, round, and sqrt, when
17506 avaliable on the platform.
17507 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17508 name clash.
17509 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17510 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17511 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17512
aaddc98c
MP
175132011-10-30 Marek Polacek <mpolacek@redhat.com>
17514
17515 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17516 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17517
95b7042b
RM
175182011-11-11 Roland McGrath <roland@hack.frob.com>
17519
17520 * include/unistd.h: Fix __readlink return type.
17521 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17522
57769839
UD
175232011-11-11 Ulrich Drepper <drepper@gmail.com>
17524
17525 * stdlib/ucontext.h: Undo last change for makecontext.
17526
edc5984d
AS
175272011-11-11 Andreas Schwab <schwab@redhat.com>
17528
98591e58
AS
17529 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17530
edc5984d
AS
17531 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17532 * setjmp/setjmp.h: Mark functions as non-leaf.
17533 * setjmp/bits/setjmp2.h: Likewise.
17534 * stdlib/ucontext.h: Likewise.
17535
77cdc054
AS
175362011-11-10 Andreas Schwab <schwab@redhat.com>
17537
17538 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17539 (reused_arena): Don't check arena limit.
17540 (arena_get2): Atomically check arena limit.
17541
fe72eebd
UD
175422011-11-08 Ulrich Drepper <drepper@gmail.com>
17543
5f078c32
UD
17544 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17545 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17546
fe72eebd
UD
17547 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17548 instructions.
17549
ae1bc2fa
AS
175502011-11-07 Andreas Schwab <schwab@redhat.com>
17551
7583a88d
AS
17552 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17553 handler when locking.
17554
ae1bc2fa
AS
17555 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17556 Fix size of allocated buffer.
17557
10fb0bfa
AS
175582011-11-04 Andreas Schwab <schwab@redhat.com>
17559
998832a4
AS
17560 [BZ #10103]
17561 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17562 declarations for long double functions.
17563 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17564
10fb0bfa
AS
17565 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17566
3d7ba52b
AS
175672011-11-03 Andreas Schwab <schwab@redhat.com>
17568
a9ae54a1
AS
17569 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17570 installed.
17571
3d7ba52b
AS
17572 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17573 is disabled.
17574
bc8db248
ST
175752011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17576
17577 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17578
45b96dd6
AS
175792011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17580
647776f6
AS
17581 * include/alloca.h (stackinfo_alloca_round): Define.
17582 (extend_alloca): Use it.
17583 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17584 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17585 here.
17586
d91a8b93
AS
17587 * scripts/check-local-headers.sh: Ignore libaudit.h.
17588
45b96dd6
AS
17589 * nscd/Makefile (extra-objs): Make recursively expanded.
17590
432d41ce
UD
175912011-11-01 Ulrich Drepper <drepper@gmail.com>
17592
34372fc6
UD
17593 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17594 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17595
fadb59f8
UD
17596 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17597 * posix/tst-rfc3484-2.c: Likewise.
17598 * posix/tst-rfc3484-3.c: Likewise.
17599
78239589
UD
17600 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17601 process_vm_writev.
17602 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17603 process_vm_writev.
17604 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17605 process_vm_writev from libc using GLIBC_2.15 version.
17606
432d41ce
UD
17607 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17608
02f9c6cf
PP
176092011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17610
17611 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17612 stack usage.
17613
3a2c0242
UD
176142011-10-31 Ulrich Drepper <drepper@gmail.com>
17615
f4ec4833
UD
17616 [BZ #13367]
17617 * nss/getent.c (initgroups_keys): Show error message in case no group
17618 names are given.
17619
3a2c0242
UD
17620 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17621 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17622 __bump_nl_timestamp.
17623 * nscd/connections (nscd_init): When host database is served open
17624 netlink socket and request notification about configuration changes.
17625 (main_loop_poll): Track netlink file descriptor and bump timestamp
17626 in case data becomes available.
17627 (main_loop_epoll): Likewise.
17628 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17629 (database_pers_head): Add extra_data fileds.
17630 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17631 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17632 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17633 Adjust caller.
17634 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17635 in6ai data, call __free_in6ai.
17636 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17637 Add -DHAVE_NETLINK.
17638 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17639 interface information. Reuse previous data if netlink timestamp
17640 is not changed.
17641 (__bump_nl_timestamp): New function.
17642 (__free_in6ai): New function.
17643
636064eb
UD
176442011-10-30 Ulrich Drepper <drepper@gmail.com>
17645
17646 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17647 close_not_cancel_no_status here.
17648 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17649
9beb2334
UD
176502011-10-29 Ulrich Drepper <drepper@gmail.com>
17651
6ef76f3b
UD
17652 [BZ #13276]
17653 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17654 return value.
17655
0ffc4f3e 17656 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17657 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17658 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17659
cb95113e
UD
176602011-07-03 Andreas Jaeger <aj@suse.de>
17661
17662 [BZ #10709]
17663 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17664 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17665 * math/libm-test.inc (sin_test): Add test case.
17666
a1b560ff
UD
176672011-10-29 Ulrich Drepper <drepper@gmail.com>
17668
c9aaface
UD
17669 [BZ #13337]
17670 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17671 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17672
d272e7f1
UD
17673 * elf/chroot_canon.c (chroot_canon): Cleanups.
17674
1bc33071
UD
17675 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17676
1760874d
TJ
17677 [BZ #13335]
17678 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17679 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17680
51d91b18
UD
17681 * string/test-strchr.c: Make usable for strchrnul testing.
17682 * string/test-strchrnul.c: New file.
17683 * string/Makefile (strop-tests): Add strchrnul.
17684
a1b560ff 17685 * po/it.po: Update from translation team.
b611fb81 17686 * po/es.po: Likewise.
a1b560ff 17687
a5b81e1f
UD
176882011-10-28 Ulrich Drepper <drepper@gmail.com>
17689
fd52bc6d
UD
17690 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17691 the three constants needed as parameters. Drop the others.
17692 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17693 __m128i_strloadu_tolower.
52e4b9eb
UD
17694 Create and initialize variable zero and use it in all the places
17695 where _mm_setzero_si128 was used.
fd52bc6d 17696
a5b81e1f
UD
17697 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17698 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17699 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17700 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17701 anymore.
17702 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17703 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17704 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17705 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17706 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17707 __mpranred, __mptan.
17708 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17709 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17710 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17711 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17712 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17713 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17714 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17715 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17716 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17717
b4343346
AS
177182011-10-28 Andreas Schwab <schwab@redhat.com>
17719
0c92d8a8
AS
17720 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17721 redefine if SHARED.
17722 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17723
b4343346
AS
17724 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17725 wide char related routines to wcsmbs subdir.
17726
3871f58f
AS
177272011-10-27 Andreas Schwab <schwab@redhat.com>
17728
17729 [BZ #13344]
17730 * misc/sys/cdefs.h (__THROWNL): Define.
17731 * posix/unistd.h: Use __THREADNL instead of __THREAD
17732 for memory synchronization functions.
17733
94d44d9f
RM
177342011-10-26 Roland McGrath <roland@hack.frob.com>
17735
21b64b15 17736 [BZ #13349]
94d44d9f
RM
17737 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17738 doesn't exist.
17739 * manual/stdio.texi (Obstack Streams): Node removed.
17740
f6ce9294
AS
177412011-10-26 Andreas Schwab <schwab@redhat.com>
17742
80479147
AS
17743 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17744 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17745 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17746
f6ce9294
AS
17747 * math/math_private.h (math_force_eval): Allow non-addressable
17748 arguments.
17749 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17750
618280a1
UD
177512011-10-25 Ulrich Drepper <drepper@gmail.com>
17752
e0016b11
UD
17753 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17754 file is not needed.
17755
17756 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17757 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17758 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17759 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17760 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17761 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17762 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17763 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17764 Add AVX variants.
17765 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17766 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17767 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17768 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17769 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17770 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17771 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17772 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17773 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17774 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17775 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17776 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17777 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17778 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17779 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17780 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17781 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17782 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17783 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17784
17785 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17786 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17787
618280a1
UD
17788 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17789 place. Use VEX encoding when compiling for AVX.
17790
37822576
AS
177912011-10-25 Andreas Schwab <schwab@redhat.com>
17792
1f1e1947
AS
17793 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17794 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17795
37822576
AS
17796 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17797
31ea014d
UD
177982011-10-25 Ulrich Drepper <drepper@gmail.com>
17799
d7826aa1 17800 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17801 useless if() expression.
d7826aa1
UD
17802 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17803 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17804 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17805 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17806 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17807 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17808 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17809 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17810 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17811 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17812 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17813 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17814 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17815 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17816 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17817 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17818 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17819 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17820 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17821
31ea014d
UD
17822 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17823
16437fec
AS
178242011-10-25 Andreas Schwab <schwab@redhat.com>
17825
17826 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17827 condition.
17828 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17829
31d3cc00
UD
178302011-10-25 Ulrich Drepper <drepper@gmail.com>
17831
17832 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17833 .text section. Avoid duplicate constants.
17834 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17835 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17836 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17838 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17839 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17840 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17841 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17842 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17843 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17844 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17845 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17846 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17847 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17848 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17849 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17850 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17851 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17852 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17853 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17854 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17855 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17856 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17857 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17858 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17859 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17860 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17861 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17862 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17863 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17864 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17865 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17866 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17867 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17868 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17869 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17870 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17871 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17872 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17873 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17874 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17875 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17876 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17877 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17878 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17879
58985aa9
UD
178802011-10-24 Ulrich Drepper <drepper@gmail.com>
17881
202c9deb
UD
17882 * sysdeps/x86_64/dla.h: Move to ...
17883 * sysdeps/x86_64/fpu/dla.h: ...here.
17884 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17885 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17886
af968f62
UD
17887 * config.make.in: Add have-mfma4 entry.
17888 * configure.in: Substitute libc_cv_cc_fma4.
17889 * math/Makefile (dbl-only-routines): Add sincostab.
17890 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17891 Use __sincostab not sincos.
17892 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17893 name is a macro.
17894 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17895 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17896 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17897 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17898 using __copysign.
17899 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17900 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17901 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17902 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17903 and __inv.
17904 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17905 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17906 __copysign.
17907 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17908 define aliases when function name is a macro.
17909 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17910 sysdeps/ieee754/dbl-64/sincos.tbl.
17911 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17912 fma4-enabled routines.
17913 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17914 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17915 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17916 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17917 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17918 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17919 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17920 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17921 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17922 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17923 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17924 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17925 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17926 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17927 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17928 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17929 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17930 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17931 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17932 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17933 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17934 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17935 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17936 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17937 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17938 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17939 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17940 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17941 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17942 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17943
58985aa9
UD
17944 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17945 rename.
17946 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17947 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17948 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17949 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17950 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17951 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17952 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17953 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17954
a201fbcf
AS
179552011-10-24 Andreas Schwab <schwab@redhat.com>
17956
17957 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17958
fc2ee42a
LD
179592011-10-23 Ulrich Drepper <drepper@gmail.com>
17960
bb3129bd
UD
17961 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17962
0275fff8
UD
17963 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17964 prediction.
17965 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17966
2fa2ae85
UD
17967 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17968 Remove unused variable magic_bits.
17969 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17970
fc2ee42a
LD
17971 * string/strnlen.c: Define and use STRNLEN macro.
17972 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17973 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17974 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17975 * wcsmbs/wcslen.c: Define and use WCSLEN.
17976 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17977 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17978 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17979 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17980 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17981 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17982 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17983
ce7dd29f
LD
179842011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17985
17986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17987 strnlen-sse2-no-bsf.
17988 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17989 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17990 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17991 Add strnlen support.
17992 (USE_AS_STRNLEN): New macro.
17993 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17994 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17995 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17996 * sysdeps/x86_64/wcslen.S: New file.
17997
979c70a3
MZ
179982011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17999
18000 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18001 XMM-moves are used for copying on small sizes.
18002
2d09f82f
LD
180032011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18004
18005 * wcsmbs/Makefile (strop-tests): Add wcschr.
18006 * wcsmbs/test-wcschr.c: New file.
18007 * string/test-strchr.c: Update.
18008 Add wcschr support.
18009 (WIDE): New macro.
18010
619fccca
LD
180112011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18012
2d09f82f 18013 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
18014 * wcsmbs/test-wcslen.c: New file.
18015 * string/test-strlen.c: Update.
18016 Add wcslen support.
18017 (WIDE): New macro.
18018
09f699ea
UD
180192011-10-23 Ulrich Drepper <drepper@gmail.com>
18020
18021 * po/it.po: Update from translation team.
18022
95584d3b
LD
180232011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18024
18025 * sysdeps/x86_64/wcscmp.S: Update.
18026 Fix wrong comparison semantics.
18027 wcscmp shall use signed comparison not unsigned.
18028 Don't use substraction to avoid overflow bug.
18029 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18030 * wcsmbc/wcscmp.c: Likewise.
18031 * string/test-strcmp.c: Likewise.
18032 Add new tests to check cases with negative values.
18033
c8b3296b
UD
180342011-10-23 Ulrich Drepper <drepper@gmail.com>
18035
18036 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18037 * sysdeps/x86_64/dla.h: ...here. New file.
18038 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18039 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18040 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18041 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18042 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18043 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18044 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18045 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18046 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18047
246ad57a
AS
180482011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18049
18050 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18051 __ynl_finite aliases.
18052
a1a87169
UD
180532011-10-22 Ulrich Drepper <drepper@gmail.com>
18054
0d355eb7
UD
18055 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18056
a1a87169
UD
18057 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18058 define DLA_FMA.
18059 [DLA_FMA] (EMULV): Use DLA_FMA.
18060 [DLA_FMA] (MUL12): Use EMULV.
18061 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18062 that are not needed.
18063 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18064 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18065 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18066 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18067 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18068 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18069 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18070
ee2aafe0
AS
180712011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18072
18073 * math/s_nan.c: Undef __nan.
18074 * math/s_nanf.c: Undef __nanf.
18075 * math/s_nanl.c: Undef __nanl.
18076 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18077 "math_private.h".
18078
bc62c2fb
UD
180792011-10-22 Ulrich Drepper <drepper@gmail.com>
18080
77425c63
UD
18081 * math/s_catan.c: Add branch predictions.
18082 * math/s_catanf.c: Likewise.
18083 * math/s_catanh.c: Likewise.
18084 * math/s_catanhf.c: Likewise.
18085 * math/s_catanhl.c: Likewise.
18086 * math/s_catanl.c: Likewise.
18087 * math/s_cexp.c: Likewise.
18088 * math/s_cexpf.c: Likewise.
18089 * math/s_cexpl.c: Likewise.
18090 * math/s_clog.c: Likewise.
18091 * math/s_clog10.c: Likewise.
18092 * math/s_clog10f.c: Likewise.
18093 * math/s_clog10l.c: Likewise.
18094 * math/s_clogf.c: Likewise.
18095 * math/s_clogl.c: Likewise.
18096 * math/s_csqrt.c: Likewise.
18097 * math/s_csqrtf.c: Likewise.
18098 * math/s_csqrtl.c: Likewise.
18099 * math/s_ctanf.c: Likewise.
18100 * math/s_ctanh.c: Likewise.
18101 * math/s_ctanhf.c: Likewise.
18102 * math/s_ctanhl.c: Likewise.
18103 * math/s_ctanl.c: Likewise.
18104
bc62c2fb
UD
18105 * math/math_private.h: Define __nan, __nanf, __nanl.
18106 * math/s_cacosh.c: Include <math_private.h>.
18107 * math/s_cacoshl.c: Likewise.
18108 * math/s_casinh.c: Likewise.
18109 * math/s_casinhf.c: Likewise.
18110 * math/s_casinhl.c: Likewise.
18111 * math/s_ccos.c: Rely entire on ccosh.
18112 * math/s_ccosf.c: Rely entire on ccoshf.
18113 * math/s_ccosl.c: Rely entirely on ccoshl.
18114 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18115 Remove tests for FE_INVALID.
18116 * math/s_ccoshf.c: Likewise.
18117 * math/s_ccoshl.c: Likewise.
18118 * math/s_csin.c: Likewise.
18119 * math/s_csinf.c: Likewise.
18120 * math/s_csinh.c Likewise.
18121 * math/s_csinhf.c: Likewise.
18122 * math/s_csinhl.c: Likewise.
18123 * math/s_csinl.c: Likewise.
18124 * math/s_ctan.c: Likewise.
18125 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18126 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18127 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18128
8ec250a4
UD
181292011-10-21 Ulrich Drepper <drepper@gmail.com>
18130
c196fed8
UD
18131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18132 compilation problems.
18133
8ec250a4
UD
18134 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18135 __builtin_expect.
18136
8d4f46c6
UD
181372011-10-20 Ulrich Drepper <drepper@gmail.com>
18138
ed72b654
UD
18139 * sysdeps/i386/configure.in: Test for -mfma4 option.
18140 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18141 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18142 COMMON_CPUID_INDEX_80000001.
18143 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18144 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18145 use it if FMA3 is not supported.
18146 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18147
8d4f46c6
UD
18148 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18149 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18150
d45c60c2
AS
181512011-10-20 Andreas Schwab <schwab@redhat.com>
18152
18153 [BZ #12892]
18154 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18155 it would create a cycle with a link time dependency.
18156
d9a4d2ab
UD
181572011-10-19 Ulrich Drepper <drepper@gmail.com>
18158
855d1560
UD
18159 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18160 instruction.
18161 * string/Makefile (strop-tests): Add rawmemchr.
18162 * string/test-rawmemchr.c: New file.
18163
d9a4d2ab
UD
18164 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18165 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18166 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18167 when compiling str{,n}casecmp and when AVX is available. Hook up
18168 new optimized code in initializers.
18169
8f3b1ffe
AS
181702011-10-19 Andreas Schwab <schwab@redhat.com>
18171
18172 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18173 __feraiseexcept instead of feraiseexcept.
18174
d38f1dba
UD
181752011-10-18 Ulrich Drepper <drepper@gmail.com>
18176
d9a8d0ab
UD
18177 * math/math_private.h: Define defaults for libc_fetestexcept and
18178 libc_feupdateenv.
18179 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18180 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18181 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18182 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18183 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18184 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18185 libc_fetestexcept and libc_feupdateenv.
18186
4855e3dd
UD
18187 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18188 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18189 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18190 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18191 libc_feholdexcept_setround.
18192
581d30e3
UD
18193 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18194 Add s_nearbyint-c and s_nearbyintf-c.
18195 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18196 nearbyintf inlines.
18197 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18198 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18199 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18200 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18201
d38f1dba
UD
18202 * math/math_private.h: Define defaults for libc_fegetround,
18203 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18204 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18205 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18206 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18207 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18208 standard functions.
18209 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18210 Remove comments and hacks for old compiler versions.
18211 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18212 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18213 libc_feholdexceptl.
18214
caa6c9d8
AS
182152011-10-18 Andreas Schwab <schwab@redhat.com>
18216
18217 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
18218 (__feraiseexcept_renamed): Add __NTH.
18219 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
18220 namespace violations.
18221
97c066e6
UD
182222011-10-17 Ulrich Drepper <drepper@gmail.com>
18223
99ce7b04
UD
18224 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18225
1004d182
UD
18226 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18227
228a984d
UD
18228 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18229 recently added interfaces.
18230 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18231
c8553a6a
UD
18232 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18233 about macro parameter expansion.
18234
ed22dcf6
UD
18235 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18236 __NO_MATH_INLINES is defined. Cleanups.
18237
18238 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18239 and __floorf is target has SSE4.1.
18240 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18241 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18242 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18243 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18244
b171c137
UD
18245 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18246 name.
18247 (floorf): Likewise.
18248
97c066e6
UD
18249 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18250
629f62ef
AS
182512011-10-17 Andreas Schwab <schwab@redhat.com>
18252
49a43d80
AS
18253 * misc/sys/cdefs.h: Fix last change.
18254
629f62ef
AS
18255 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18256 database lookup.
18257
e453f6cd
UD
182582011-10-16 Ulrich Drepper <drepper@gmail.com>
18259
aa78043a
UD
18260 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18261
ad0f5cad
UD
18262 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18263 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18264 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18265 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18266 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18267 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18268 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18269 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18270 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18271 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18272 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18273 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18274 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18275 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18276 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18277 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18278 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18279 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18280 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18281 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18282 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18283 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18284
18285 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18286 ceil, ceilf, floor, floorf.
18287
18288 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18289 Perform IRELATIVE relocations last.
18290
e453f6cd
UD
18291 * elf/do-rel.h: Add another parameter nrelative, replacing the
18292 local variable with the same name. Change name of the function
18293 to end in Rel or Rela (uppercase).
18294 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18295 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18296 elf_dynamic_do_##reloc function.
18297
fd5bdc09
UD
182982011-10-15 Ulrich Drepper <drepper@gmail.com>
18299
79b195b5
UD
18300 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18301 is sufficient, at least on modern CPUs.
18302
d4a28569
UD
18303 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18304
b61099b5
UD
18305 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18306 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18307
bcf01e6d
UD
18308 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18309 __expl_finite.
18310 * math/bits/math-finite.h: Add entries for exp.
18311 * math/e_expl.c: Add __*_finite alias.
18312 * sysdeps/i386/fpu/e_exp.S: Likewise.
18313 * sysdeps/i386/fpu/e_expf.S: Likewise.
18314 * sysdeps/i386/fpu/e_expl.c: Likewise.
18315 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18316 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18317 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18318 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18319 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18320 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18321 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18322
ba1a0d59
UD
18323 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18324 is sufficient, at least on modern CPUs.
18325
fd5bdc09
UD
18326 * ctype/ctype-info.c (__ctype_init): Define.
18327 * include/ctype.h (__ctype_init): Declare.
18328 (__ctype_b_loc): The variable is always initialized.
18329 (__ctype_toupper_loc): Likewise.
18330 (__ctype_tolower_loc): Likewise.
18331 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18332 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18333
7872cfb0
AS
183342011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18335
b468825a
AS
18336 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18337
7872cfb0
AS
18338 * configure.in: Also look in $cxxmachine/include for C++ system
18339 headers.
18340
be13f7bf
LD
183412011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18342
18343 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18344 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18345 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18346 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18347 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18348 (USE_AS_WMEMCMP): New macro.
18349 Fixing indents.
18350 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18351 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18352 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18353 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18354 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18355 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18356 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18357 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18358 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18359 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18360 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18361 (USE_AS_WMEMCMP): New macro.
18362 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18363 * sysdeps/string/test-memcmp.c: Update.
18364 Fix simple_wmemcmp.
18365 Add new tests.
18366 * wcsmbs/wmemcmp.c: Update.
18367 (WMEMCMP): New macro.
18368 Fix overflow bug.
18369
556a2007
AJ
183702011-10-12 Andreas Jaeger <aj@suse.de>
18371
18372 [BZ #13268]
18373 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18374
538faaa7
UD
183752011-10-15 Ulrich Drepper <drepper@gmail.com>
18376
ab6737ff
UD
18377 * libio/iofwide.c (do_length): Avoid warning.
18378
538faaa7
UD
18379 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18380
396a21b1
UD
183812011-10-14 Ulrich Drepper <drepper@gmail.com>
18382
cdf2901f
UD
18383 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18384
38ad40ce
UD
18385 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18386 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18387 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18388 * sysdeps/i386/i686/fpu/e_log.S: New file.
18389 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18390 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18391
396a21b1
UD
18392 * ctype/ctype.h: Add support for inlined isXXX functions when
18393 compiling C++ code.
18394
6b1f68c9
AS
183952011-10-14 Andreas Schwab <schwab@redhat.com>
18396
349290c0
AS
18397 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18398
6b1f68c9
AS
18399 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18400
f2282d42
RM
184012011-10-13 Roland McGrath <roland@hack.frob.com>
18402
18403 [BZ #13291]
18404 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18405
5298ffa8
AS
184062011-10-13 Andreas Schwab <schwab@redhat.com>
18407
714fad23
AS
18408 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18409 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18410 feraiseexcept.
18411
81dcc7fb
AS
18412 * sysdeps/x86_64/memrchr.S: Check for zero size.
18413
5298ffa8
AS
18414 * string/stratcliff.c: Add memrchr tests.
18415
951fbcec
LD
184162011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18417
18418 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18419 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18420 rawmemchr-sse2 rawmemchr-sse2-bsf.
18421 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18422 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18423 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18424 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18425 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18426 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18427 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18428 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18429 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18430 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18431 * string/memrchr.c (MEMRCHR): New macro.
18432
0ac5ae23
UD
184332011-10-12 Ulrich Drepper <drepper@gmail.com>
18434
18435 Add integration with gcc's -ffinite-math-only and optimize wrapper
18436 functions in libm.
18437 * Versions.def: Define GLIBC_2.15 version for libm.
18438 * math/Makefile (headers): Add bits/math-finite.h.
18439 * math/bits/math-finite.h: New file.
18440 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18441 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18442 * math/e_acoshl.c: Add __*_finite alias.
18443 * math/e_acosl.c: Likewise.
18444 * math/e_asinl.c: Likewise.
18445 * math/e_atan2l.c: Likewise.
18446 * math/e_atanhl.c: Likewise.
18447 * math/e_coshl.c: Likewise.
18448 * math/e_exp10.c: Likewise.
18449 * math/e_exp10f.c: Likewise.
18450 * math/e_exp10l.c: Likewise.
18451 * math/e_exp2l.c: Likewise.
18452 * math/e_fmodl.c: Likewise.
18453 * math/e_gammal_r.c: Likewise.
18454 * math/e_hypotl.c: Likewise.
18455 * math/e_j0l.c: Likewise.
18456 * math/e_j1l.c: Likewise.
18457 * math/e_jnl.c: Likewise.
18458 * math/e_lgammal_r.c: Likewise.
18459 * math/e_log10l.c: Likewise.
18460 * math/e_log2l.c: Likewise.
18461 * math/e_logl.c: Likewise.
18462 * math/e_powl.c: Likewise.
18463 * math/e_sinhl.c: Likewise.
18464 * math/e_sqrtl.c: Likewise.
18465 * math/e_scalb.c: Completely rewritten and optimized.
18466 * math/e_scalbf.c: Likewise.
18467 * math/e_scalbl.c: Likewise.
18468 * math/w_acos.c: Likewise.
18469 * math/w_acosf.c: Likewise.
18470 * math/w_acosl.c: Likewise.
18471 * math/w_acosh.c: Likewise.
18472 * math/w_acoshf.c: Likewise.
18473 * math/w_acoshl.c: Likewise.
18474 * math/w_asin.c: Likewise.
18475 * math/w_asinf.c: Likewise.
18476 * math/w_asinl.c: Likewise.
18477 * math/w_atan2.c: Likewise.
18478 * math/w_atan2f.c: Likewise.
18479 * math/w_atan2l.c: Likewise.
18480 * math/w_atanh.c: Likewise.
18481 * math/w_atanhf.c: Likewise.
18482 * math/w_atanhl.c: Likewise.
18483 * math/w_exp10.c: Likewise.
18484 * math/w_exp10f.c: Likewise.
18485 * math/w_exp10l.c: Likewise.
18486 * math/w_fmod.c: Likewise.
18487 * math/w_fmodf.c: Likewise.
18488 * math/w_fmodl.c: Likewise.
18489 * math/w_j0.c: Likewise.
18490 * math/w_j0f.c: Likewise.
18491 * math/w_j0l.c: Likewise.
18492 * math/w_j1.c: Likewise.
18493 * math/w_j1f.c: Likewise.
18494 * math/w_j1l.c: Likewise.
18495 * math/w_jn.c: Likewise.
18496 * math/w_jnf.c: Likewise.
18497 * math/w_log.c: Likewise.
18498 * math/w_logf.c: Likewise.
18499 * math/w_logl.c: Likewise.
18500 * math/w_log10.c: Likewise.
18501 * math/w_log10f.c: Likewise.
18502 * math/w_log10l.c: Likewise.
18503 * math/w_log2.c: Likewise.
18504 * math/w_log2f.c: Likewise.
18505 * math/w_log2l.c: Likewise.
18506 * math/w_pow.c: Likewise.
18507 * math/w_powf.c: Likewise.
18508 * math/w_powl.c: Likewise.
18509 * math/w_remainder.c: Likewise.
18510 * math/w_remainderf.c: Likewise.
18511 * math/w_remainderl.c: Likewise.
18512 * math/w_scalb.c: Likewise.
18513 * math/w_scalbf.c: Likewise.
18514 * math/w_scalbl.c: Likewise.
18515 * math/w_sqrt.c: Likewise.
18516 * math/w_sqrtf.c: Likewise.
18517 * math/w_sqrtl.c: Likewise.
18518 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18519 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18520 used.
18521 * math/math_private.h: Declare __kernel_standard_f.
18522 * math/w_cosh.c: Remove cruft and optimize a bit.
18523 * math/w_coshf.c: Likewise.
18524 * math/w_coshl.c: Likewise.
18525 * math/w_exp2.c: Likewise.
18526 * math/w_exp2f.c: Likewise.
18527 * math/w_exp2l.c: Likewise.
18528 * math/w_hypot.c: Likewise.
18529 * math/w_hypotf.c: Likewise.
18530 * math/w_hypotl.c: Likewise.
18531 * math/w_lgamma.c: Likewise.
18532 * math/w_lgamma_r.c: Likewise.
18533 * math/w_lgammaf.c: Likewise.
18534 * math/w_lgammaf_r.c: Likewise.
18535 * math/w_lgammal.c: Likewise.
18536 * math/w_lgammal_r.c: Likewise.
18537 * math/w_sinh.c: Likewise.
18538 * math/w_sinhf.c: Likewise.
18539 * math/w_sinhl.c: Likewise.
18540 * math/w_tgamma.c: Likewise.
18541 * math/w_tgammaf.c: Likewise.
18542 * math/w_tgammal.c: Likewise.
18543 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18544 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18545 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18546 Minor optimizations. Pretty printing. Remove cruft.
18547 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18548 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18549 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18550 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18551 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18552 * sysdeps/i386/fpu/e_asin.S: Likewise.
18553 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18554 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18555 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18556 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18557 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18558 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18559 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18560 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18561 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18562 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18563 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18564 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18565 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18566 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18567 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18568 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18569 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18570 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18571 * sysdeps/i386/fpu/e_log.S: Likewise.
18572 * sysdeps/i386/fpu/e_log10.S: Likewise.
18573 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18574 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18575 * sysdeps/i386/fpu/e_log2.S: Likewise.
18576 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18577 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18578 * sysdeps/i386/fpu/e_logf.S: Likewise.
18579 * sysdeps/i386/fpu/e_logl.S: Likewise.
18580 * sysdeps/i386/fpu/e_pow.S: Likewise.
18581 * sysdeps/i386/fpu/e_powf.S: Likewise.
18582 * sysdeps/i386/fpu/e_powl.S: Likewise.
18583 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18584 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18585 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18586 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18587 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18588 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18589 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18590 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18591 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18592 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18593 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18594 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18595 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18596 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18597 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18598 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18599 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18600 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18601 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18602 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18603 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18604 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18605 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18606 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18607 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18608 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18609 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18610 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18611 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18612 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18613 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18614 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18615 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18616 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18617 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18618 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18619 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18620 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18621 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18622 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18623 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18624 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18625 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18626 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18627 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18628 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18629 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18630 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18631 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18632 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18633 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18634 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18635 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18636 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18637 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18638 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18639 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18640 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18641 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18642 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18643 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18644 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18645 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18646 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18647 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18648 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18649 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18650 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18651 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18652 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18653 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18654 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18655 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18656 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18657 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18658 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18659 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18660 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18661 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18662 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18663 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18664 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18665 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18666 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18667 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18668 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18669 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18670 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18671 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18672 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18673 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18674 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18675 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18676 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18677 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18678 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18679 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18680 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18681 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18682 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18683 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18684 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18685 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18686 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18687 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18688 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18689 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18690 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18691 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18692 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18693 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18694 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18695 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18696 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18697 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18698 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18699 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18700 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18701 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18702 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18703 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18704 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18705 (__isnanf): Likewise.
18706 (__isinf_ns): Likewise.
18707 (__isinf_nsf): Likewise.
18708 (__finite): Likewise.
18709 (__finitef): Likewise.
18710 (__ieee754_sqrt): Define as macro.
18711 (__ieee754_sqrtf): Define as macro.
18712 (__ieee754_sqrtl): Define as macro.
18713 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18714 inlined copy.
18715 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18716 __FINITE_MATH_ONLY__ consistent.
18717 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18718
12cc2fcd
AS
187192011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18720
a843a204
AS
18721 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18722 of rawmemchr.
18723
12cc2fcd
AS
18724 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18725
c853acd5
UD
187262011-10-09 Ulrich Drepper <drepper@gmail.com>
18727
18728 * po/ja.po: Update from translation team.
18729
c658d255
RM
187302011-10-08 Roland McGrath <roland@hack.frob.com>
18731
110946e4
RM
18732 * locale/programs/locarchive.c (prepare_address_space): New function.
18733 (create_archive, enlarge_archive, open_archive): Use it.
18734
50604220
RM
18735 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18736 inside [SHARED], where it is used.
18737
c658d255
RM
18738 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18739
18740 * nss/getent.c (netgroup_keys): Remove unused variable.
18741 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18742
6a621eb7
UD
187432011-10-08 Ulrich Drepper <drepper@gmail.com>
18744
7edb55ce
UD
18745 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18746 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18747 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18748 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18749 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18750 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18751 * math/Makefile (libm-calls): Add s_isinf_ns.
18752 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18753 * math/multc3.c: Likewise.
18754 * math/s_casin.c: Likewise.
18755 * math/s_casinf.c: Likewise.
18756 * math/s_casinl.c: Likewise.
18757 * math/s_ccos.c: Likewise.
18758 * math/s_ccosf.c: Likewise.
18759 * math/s_ccosl.c: Likewise.
18760 * math/s_ctan.c: Likewise.
18761 * math/s_ctanf.c: Likewise.
18762 * math/s_ctanh.c: Likewise.
18763 * math/s_ctanhf.c: Likewise.
18764 * math/s_ctanhl.c: Likewise.
18765 * math/s_ctanl.c: Likewise.
18766 * math/w_fmod.c: Likewise.
18767 * math/w_fmodf.c: Likewise.
18768 * math/w_fmodl.c: Likewise.
18769 * math/w_remainder.c: Likewise.
18770 * math/w_remainderf.c: Likewise.
18771 * math/w_remainderl.c: Likewise.
18772 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18773 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18774 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18775 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18776 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18777 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18778 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18779 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18780
187da0ae
UD
18781 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18782 of the number.
18783 * stdio-common/printf_fphex.c: Likewise.
18784 * stdio-common/printf_size.c: Likewise.
18785
9277c064
UD
18786 * math/e_exp10.c: Include math_private.h using <...> not "...".
18787 * math/e_exp10f.c: Likewise.
18788 * math/e_exp10l.c: Likewise.
18789 * math/e_exp2l.c: Likewise.
18790 * math/e_j0l.c: Likewise.
18791 * math/e_j1l.c: Likewise.
18792 * math/e_jnl.c: Likewise.
18793 * math/e_lgammal_r.c: Likewise.
18794 * math/e_rem_pio2l.c: Likewise.
18795 * math/e_scalb.c: Likewise.
18796 * math/e_scalbf.c: Likewise.
18797 * math/e_scalbl.c: Likewise.
18798 * math/k_cosl.c: Likewise.
18799 * math/k_sinl.c: Likewise.
18800 * math/k_tanl.c: Likewise.
18801 * math/s_cacoshf.c: Likewise.
18802 * math/s_catan.c: Likewise.
18803 * math/s_catanf.c: Likewise.
18804 * math/s_catanh.c: Likewise.
18805 * math/s_catanhf.c: Likewise.
18806 * math/s_catanhl.c: Likewise.
18807 * math/s_catanl.c: Likewise.
18808 * math/s_ccosh.c: Likewise.
18809 * math/s_ccoshf.c: Likewise.
18810 * math/s_ccoshl.c: Likewise.
18811 * math/s_cexp.c: Likewise.
18812 * math/s_cexpf.c: Likewise.
18813 * math/s_cexpl.c: Likewise.
18814 * math/s_clog.c: Likewise.
18815 * math/s_clog10.c: Likewise.
18816 * math/s_clog10f.c: Likewise.
18817 * math/s_clog10l.c: Likewise.
18818 * math/s_clogf.c: Likewise.
18819 * math/s_clogl.c: Likewise.
18820 * math/s_csin.c: Likewise.
18821 * math/s_csinf.c: Likewise.
18822 * math/s_csinh.c: Likewise.
18823 * math/s_csinhf.c: Likewise.
18824 * math/s_csinhl.c: Likewise.
18825 * math/s_csinl.c: Likewise.
18826 * math/s_csqrt.c: Likewise.
18827 * math/s_csqrtf.c: Likewise.
18828 * math/s_csqrtl.c: Likewise.
18829 * math/s_ctan.c: Likewise.
18830 * math/s_ctanf.c: Likewise.
18831 * math/s_ctanh.c: Likewise.
18832 * math/s_ctanhf.c: Likewise.
18833 * math/s_ctanhl.c: Likewise.
18834 * math/s_ctanl.c: Likewise.
18835 * math/s_ldexp.c: Likewise.
18836 * math/s_ldexpf.c: Likewise.
18837 * math/s_ldexpl.c: Likewise.
18838 * math/s_significand.c: Likewise.
18839 * math/s_significandf.c: Likewise.
18840 * math/s_significandl.c: Likewise.
18841 * math/w_acos.c: Likewise.
18842 * math/w_acosf.c: Likewise.
18843 * math/w_acosh.c: Likewise.
18844 * math/w_acoshf.c: Likewise.
18845 * math/w_acoshl.c: Likewise.
18846 * math/w_acosl.c: Likewise.
18847 * math/w_asin.c: Likewise.
18848 * math/w_asinf.c: Likewise.
18849 * math/w_asinl.c: Likewise.
18850 * math/w_atan2.c: Likewise.
18851 * math/w_atan2f.c: Likewise.
18852 * math/w_atan2l.c: Likewise.
18853 * math/w_atanh.c: Likewise.
18854 * math/w_atanhf.c: Likewise.
18855 * math/w_atanhl.c: Likewise.
18856 * math/w_cosh.c: Likewise.
18857 * math/w_coshf.c: Likewise.
18858 * math/w_coshl.c: Likewise.
18859 * math/w_dremf.c: Likewise.
18860 * math/w_exp10.c: Likewise.
18861 * math/w_exp10f.c: Likewise.
18862 * math/w_exp10l.c: Likewise.
18863 * math/w_exp2.c: Likewise.
18864 * math/w_exp2f.c: Likewise.
18865 * math/w_fmod.c: Likewise.
18866 * math/w_fmodf.c: Likewise.
18867 * math/w_fmodl.c: Likewise.
18868 * math/w_hypot.c: Likewise.
18869 * math/w_hypotf.c: Likewise.
18870 * math/w_hypotl.c: Likewise.
18871 * math/w_j0.c: Likewise.
18872 * math/w_j0f.c: Likewise.
18873 * math/w_j0l.c: Likewise.
18874 * math/w_j1.c: Likewise.
18875 * math/w_j1f.c: Likewise.
18876 * math/w_j1l.c: Likewise.
18877 * math/w_jn.c: Likewise.
18878 * math/w_jnf.c: Likewise.
18879 * math/w_jnl.c: Likewise.
18880 * math/w_lgamma.c: Likewise.
18881 * math/w_lgamma_r.c: Likewise.
18882 * math/w_lgammaf.c: Likewise.
18883 * math/w_lgammaf_r.c: Likewise.
18884 * math/w_lgammal.c: Likewise.
18885 * math/w_lgammal_r.c: Likewise.
18886 * math/w_log.c: Likewise.
18887 * math/w_log10.c: Likewise.
18888 * math/w_log10f.c: Likewise.
18889 * math/w_log10l.c: Likewise.
18890 * math/w_log2.c: Likewise.
18891 * math/w_log2f.c: Likewise.
18892 * math/w_log2l.c: Likewise.
18893 * math/w_logf.c: Likewise.
18894 * math/w_logl.c: Likewise.
18895 * math/w_pow.c: Likewise.
18896 * math/w_powf.c: Likewise.
18897 * math/w_powl.c: Likewise.
18898 * math/w_remainder.c: Likewise.
18899 * math/w_remainderf.c: Likewise.
18900 * math/w_remainderl.c: Likewise.
18901 * math/w_scalb.c: Likewise.
18902 * math/w_scalbf.c: Likewise.
18903 * math/w_scalbl.c: Likewise.
18904 * math/w_sinh.c: Likewise.
18905 * math/w_sinhf.c: Likewise.
18906 * math/w_sinhl.c: Likewise.
18907 * math/w_sqrt.c: Likewise.
18908 * math/w_sqrtf.c: Likewise.
18909 * math/w_sqrtl.c: Likewise.
18910 * math/w_tgamma.c: Likewise.
18911 * math/w_tgammaf.c: Likewise.
18912 * math/w_tgammal.c: Likewise.
18913
6a621eb7
UD
18914 * po/ja.po: Update from translation team.
18915
bf582445
AJ
189162011-09-29 Andreas Jaeger <aj@suse.de>
18917
f9efbf3a
AJ
18918 [BZ #13179]
18919 * sunrpc/netname.c (netname2host): Fix logic.
18920
bf582445
AJ
18921 [BZ #6779]
18922 [BZ #6783]
18923 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18924 correctly.
18925 * math/w_remainder.c (__remainder): Likewise.
18926 * math/w_remainderf.c (__remainderf): Likewise.
18927 * math/libm-test.inc (remainder_test): Add test cases.
18928
48693bea
AK
189292011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18930
18931 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18932 sdiv_qrnnd.
18933
42622229
LD
189342011-10-07 Ulrich Drepper <drepper@gmail.com>
18935
18936 * string/test-memcmp.c: Avoid unncessary #defines.
18937 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18938
093ecf92
LD
189392011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18940
18941 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18942 Use new sse2 version for core i3 - i7 as it's faster
18943 than sse42 version.
18944 (bit_Prefer_PMINUB_for_stringop): New.
18945 * sysdeps/x86_64/rawmemchr.S: Update.
18946 Replace with faster SSE2 version.
18947 * sysdeps/x86_64/memrchr.S: New file.
18948 * sysdeps/x86_64/memchr.S: Update.
18949 Replace with faster SSE2 version.
18950
fde56e5c
MP
189512011-09-12 Marek Polacek <mpolacek@redhat.com>
18952
18953 * elf/dl-load.c (lose): Add cast to avoid warning.
18954
21fd49a9
UD
189552011-10-07 Ulrich Drepper <drepper@gmail.com>
18956
5a06e643
UD
18957 * po/ca.po: Update from translation team.
18958
684ae515
UD
18959 * inet/getnetgrent_r.c: Hook up nscd.
18960 * nscd/Makefile (routines): Add nscd_netgroup.
18961 (nscd-modules): Add netgroupcache.
18962 (CFLAGS-netgroupcache.c): Define.
18963 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18964 (cache_search): Add const to second parameter.
18965 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18966 INNETGR.
18967 (dbs): Add netgrdb entry.
18968 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18969 (verify_persistent_db): Handle netgrdb.
18970 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18971 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18972 GETFDNETGR.
18973 (netgroup_response_header): Define.
18974 (innetgroup_response_header): Define.
18975 (datahead): Add netgroup_response_header and innetgroup_response_header
18976 elements.
18977 * nscd/nscd.conf: Add entries for netgroup cache.
18978 * nscd/nscd.h (dbtype): Add netgrdb.
18979 (_PATH_NSCD_NETGROUP_DB): Define.
18980 (netgroup_iov_disabled): Declare.
18981 (xmalloc, xcalloc, xrealloc): Move declarations here.
18982 (cache_search): Adjust prototype.
18983 Add netgroup-related prototypes.
18984 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18985 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18986 (__nscd_innetgr): Declare.
18987 * nscd/selinux.c (perms): Use access_vector_t as element type and
18988 add netgroup-related initializers.
18989 * nscd/netgroupcache.c: New file.
18990 * nscd/nscd_netgroup.c: New file.
18991 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18992 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18993 For four parameters use innetgr.
18994 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18995 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18996 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18997 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18998
21fd49a9
UD
18999 * nscd/connections.c (register_traced_file): Don't register file
19000 for disabled databases.
19001
054c0457
UD
190022011-10-06 Ulrich Drepper <drepper@gmail.com>
19003
32b63198
UD
19004 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19005
054c0457
UD
19006 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19007 from tree and freeing node.
19008
64031225
JO
190092011-09-25 Jiri Olsa <jolsa@redhat.com>
19010
19011 * nss/nsswitch.c (__nss_database_lookup): Handle
19012 nss_parse_service_list out of memory case.
19013
0490345c
JO
190142011-09-15 Jiri Olsa <jolsa@redhat.com>
19015
19016 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19017 out of memory case.
19018
3a62d00d
AS
190192011-10-04 Andreas Schwab <schwab@redhat.com>
19020
19021 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19022 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19023 pass it down.
19024 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19025 elf_machine_rela, elf_machine_lazy_rel.
19026 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19027 (ELF_DYNAMIC_DO_REL): Likewise.
19028 (ELF_DYNAMIC_DO_RELA): Likewise.
19029 (ELF_DYNAMIC_RELOCATE): Likewise.
19030 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19031 to ELF_DYNAMIC_DO_REL.
19032 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19033 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19034 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19035 elf_machine_rela.
19036 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19037 skip_ifunc, don't call ifunc function if non-zero.
19038 (elf_machine_rela): Likewise.
19039 (elf_machine_lazy_rel): Likewise.
19040 (elf_machine_lazy_rela): Likewise.
19041 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19042 (elf_machine_lazy_rel): Likewise.
19043 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19044 Likewise.
19045 (elf_machine_lazy_rel): Likewise.
19046 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19047 Likewise.
19048 (elf_machine_lazy_rel): Likewise.
19049 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19050 (elf_machine_lazy_rel): Likewise.
19051 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19052 (elf_machine_lazy_rel): Likewise.
19053 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19054 (elf_machine_lazy_rel): Likewise.
19055 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19056 (elf_machine_lazy_rel): Likewise.
19057 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19058 (elf_machine_lazy_rel): Likewise.
19059 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19060 (elf_machine_lazy_rel): Likewise.
19061
68577918
UD
190622011-09-28 Ulrich Drepper <drepper@gmail.com>
19063
19064 * nss/nss_files/files-init.c (_nss_files_init): Use static
19065 initialization for all the *_traced_file variables.
19066
68822d74
AS
190672011-09-28 Andreas Schwab <schwab@redhat.com>
19068
19069 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19070
2056100b
RM
190712011-09-27 Roland McGrath <roland@hack.frob.com>
19072
19073 [BZ #13226]
19074 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19075
32c76b63
AS
190762011-09-27 Andreas Schwab <schwab@redhat.com>
19077
19078 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19079 Reread the line before reparsing it.
19080
bf972c9d
AS
190812011-09-26 Andreas Schwab <schwab@redhat.com>
19082
19083 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19084
e057a1b5
JM
190852011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19086 Maxim Kuvyrkov <maxim@codesourcery.com>
19087 Joseph Myers <joseph@codesourcery.com>
19088
19089 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19090 if needed for __stack_chk_guard.
19091
bc7e1c36
RM
190922011-09-19 Roland McGrath <roland@hack.frob.com>
19093
ecb1482f
RM
19094 * sysdeps/posix/spawni.c (script_execute): Always define it.
19095 It will be optimized away if unused.
19096 (maybe_script_execute): New function.
19097 (__spawni): Call it.
19098
bc7e1c36
RM
19099 * Makerules: Don't include tls.make.
19100 (config-tls): Always set to thread.
19101 * tls.make.c: File removed.
19102
1c3b002b
MF
191032011-09-19 Mike Frysinger <vapier@gentoo.org>
19104
19105 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19106 * config.make.in (CPPFLAGS-config): New substituted variable.
19107
2840865d
UD
191082011-09-15 Ulrich Drepper <drepper@gmail.com>
19109
88738eb6
UD
19110 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19111
cbf645a6 19112 [BZ #13192]
2840865d
UD
19113 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19114 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19115
b402e91a
RM
191162011-09-15 Roland McGrath <roland@hack.frob.com>
19117
19118 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19119 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19120 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19121 (CALL_FAIL): Likewise.
19122 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19123 (CALL_FAIL): Macro removed.
19124 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19125
4c1a1f71
UD
191262011-09-15 Ulrich Drepper <drepper@gmail.com>
19127
19128 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19129 for __FINITE_MATH_ONLY__ == 1.
19130
edc121be
AS
191312011-09-15 Andreas Schwab <schwab@redhat.com>
19132
19133 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19134 __ieee754_sqrt instead of sqrt.
19135 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19136 __ieee754_sqrtf instead of sqrtf.
19137 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19138 __floorf instead of floorf.
19139 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19140 __floorf, __truncf instead of floorf, truncf.
19141
cd205654
UD
191422011-09-14 Ulrich Drepper <drepper@gmail.com>
19143
ee4d0315
UD
19144 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19145
cd205654
UD
19146 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19147 __extern_always_inline.
19148 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19149 32-bit.
19150
48b67d71
AS
191512011-09-14 Andreas Schwab <schwab@redhat.com>
19152
19153 * elf/rtld.c (dl_main): Also relocate in dependency order when
19154 doing symbol dependency testing.
19155
1ae12c75
AS
191562011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19157
19158 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19159 Always define `refsym'.
19160
995a80df
AS
191612011-09-13 Andreas Schwab <schwab@redhat.com>
19162
e529793b
AS
19163 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19164 (__FD_ELT): Renamed from __FDELT.
19165 * misc/bits/select2.h (__FD_ELT): Likewise.
19166 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19167 __FD_MASK instead of __FDELT, __FDMASK.
19168 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19169 Likewise.
19170 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19171 Likewise.
19172
52d4fef8
AS
19173 * elf/Makefile (gen-ldd): Fix pattern.
19174
995a80df
AS
19175 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19176 (init_tls): Likewise.
19177
8682f8b0
UD
191782011-09-12 Ulrich Drepper <drepper@gmail.com>
19179
19180 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19181
de82006d
AS
191822011-09-12 Andreas Schwab <schwab@redhat.com>
19183
a7c8e6a1
AS
19184 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19185 `struct cmsghdr *' instead of `void *'.
19186 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19187 Likewise.
19188
0f31fe77
AS
191892011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19190
19191 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19192 if non-absolute.
19193 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19194 ldd_rewrite_script.
0f31fe77 19195
32b4c839
UD
191962011-09-11 Ulrich Drepper <drepper@gmail.com>
19197
83cd1420
UD
19198 * configure.in: Remove --with-tls option.
19199 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19200 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19201 out in case it is missing.
19202 * sysdeps/ia64/elf/configure.in: Likewise.
19203 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19204 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19205 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19206 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19207 * sysdeps/sh/elf/configure.in: Likewise.
19208 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19209 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19210 * sysdeps/x86_64/elf/configure.in: Likewise.
19211 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19212 * sysdeps/mach/hurd/tls.h: Likewise.
19213
633f745d
UD
19214 [BZ #13067]
19215 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19216
f318beb8
UD
19217 [BZ #13090]
19218 * configure.in: Fix use of AC_INIT.
19219
32b4c839
UD
19220 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19221
3ce1f295
UD
192222011-09-10 Ulrich Drepper <drepper@gmail.com>
19223
bb016596
UD
19224 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19225 __set_errno.
8e58439c
UD
19226 * malloc/hooks.c: Likewise.
19227
aebae053 19228 [BZ #11929]
02d46fc4
UD
19229 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19230 variables statically.
19231 (narenas): Initialize.
19232 (list_lock): Initialize.
bb016596
UD
19233 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19234 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
19235 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19236 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19237 Add initializers to main_arena and mp_.
19238 (malloc_state): Remove pagesize member. Change all users to use
19239 GLRO(dl_pagesize).
19240
19241 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19242 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19243 is always initialized.
19244
22a89187
UD
19245 * malloc/malloc.c: Removed unused configurations and dead code.
19246 * malloc/arena.c: Likewise.
19247 * malloc/hooks.c: Likewise.
02d46fc4 19248 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 19249
d063d164
UD
19250 * include/tls.h: Removed. USE___THREAD must always be defined.
19251 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19252 * elf/dl-libc.c: Likewise.
19253 * elf/dl-tsd.c: Likewise.
19254 * include/errno.h: Likewise.
19255 * include/netdb.h: Likewise.
19256 * include/resolv.h: Likewise.
19257 * inet/herrno-loc.c: Likewise.
19258 * inet/herrno.c: Likewise.
19259 * malloc/arena.c: Likewise.
19260 * malloc/hooks.c: Likewise.
19261 * malloc/malloc.c: Likewise.
19262 * resolv/res-state.c: Likewise.
19263 * resolv/res_libc.c: Likewise.
19264 * sysdeps/i386/dl-machine.h: Likewise.
19265 * sysdeps/ia64/dl-machine.h: Likewise.
19266 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19267 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19268 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19269 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19270 * sysdeps/sh/dl-machine.h: Likewise.
19271 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19272 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19273 * sysdeps/unix/i386/sysdep.S: Likewise.
19274 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19275 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19276 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19277 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19278 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19279 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19280 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19281 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19283 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19284 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19285 * sysdeps/x86_64/dl-machine.h: Likewise.
19286 * tls.make.c: Likewise.
19287
3ce1f295
UD
19288 * configure.in: Remove --with-__thread option. Make tests for
19289 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19290 tls_model attribute fail if no support is available. Remove
19291 USE_IN_LIBIO.
19292 * Makeconfig: Adjust for dropped configure option. All features are
19293 now mandatory.
19294 * Makerules: Likewise.
19295 * Versions.def: Likewise.
19296 * argp/argp-fmtstream.c: Likewise.
19297 * argp/argp-fmtstream.h: Likewise.
19298 * argp/argp-help.c: Likewise.
19299 * assert/assert.c: Likewise.
19300 * config.h.in: Likewise.
19301 * config.make.in: Likewise.
19302 * configure: Likewise.
19303 * configure.in: Likewise.
19304 * csu/Versions: Likewise.
19305 * csu/init.c: Likewise.
19306 * elf/tst-audit2.c: Likewise.
19307 * elf/tst-tls10.c: Likewise.
19308 * elf/tst-tls10.h: Likewise.
19309 * elf/tst-tls11.c: Likewise.
19310 * elf/tst-tls12.c: Likewise.
19311 * elf/tst-tls14.c: Likewise.
19312 * elf/tst-tlsmod11.c: Likewise.
19313 * elf/tst-tlsmod12.c: Likewise.
19314 * elf/tst-tlsmod13.c: Likewise.
19315 * elf/tst-tlsmod13a.c: Likewise.
19316 * elf/tst-tlsmod14a.c: Likewise.
19317 * elf/tst-tlsmod15b.c: Likewise.
19318 * elf/tst-tlsmod16a.c: Likewise.
19319 * elf/tst-tlsmod16b.c: Likewise.
19320 * elf/tst-tlsmod7.c: Likewise.
19321 * elf/tst-tlsmod8.c: Likewise.
19322 * elf/tst-tlsmod9.c: Likewise.
19323 * gmon/gmon.c: Likewise.
19324 * grp/fgetgrent_r.c: Likewise.
19325 * grp/putgrent.c: Likewise.
19326 * hurd/fopenport.c: Likewise.
19327 * include/libc-symbols.h: Likewise.
19328 * include/tls.h: Likewise.
19329 * intl/gettextP.h: Likewise.
19330 * intl/loadinfo.h: Likewise.
19331 * locale/global-locale.c: Likewise.
19332 * locale/localeinfo.h: Likewise.
19333 * mach/devstream.c: Likewise.
19334 * malloc/arena.c: Likewise.
19335 * malloc/set-freeres.c: Likewise.
19336 * misc/err.c: Likewise.
19337 * misc/getttyent.c: Likewise.
19338 * misc/mntent_r.c: Likewise.
19339 * posix/getopt.c: Likewise.
19340 * posix/wordexp.c: Likewise.
19341 * pwd/fgetpwent_r.c: Likewise.
19342 * resolv/Versions: Likewise.
19343 * resolv/res_hconf.c: Likewise.
19344 * shadow/fgetspent_r.c: Likewise.
19345 * shadow/putspent.c: Likewise.
19346 * stdio-common/printf_fphex.c: Likewise.
19347 * stdio-common/tmpfile.c: Likewise.
19348 * stdlib/abort.c: Likewise.
19349 * stdlib/fmtmsg.c: Likewise.
19350 * sunrpc/auth_unix.c: Likewise.
19351 * sunrpc/clnt_perr.c: Likewise.
19352 * sunrpc/clnt_tcp.c: Likewise.
19353 * sunrpc/clnt_udp.c: Likewise.
19354 * sunrpc/clnt_unix.c: Likewise.
19355 * sunrpc/openchild.c: Likewise.
19356 * sunrpc/svc_simple.c: Likewise.
19357 * sunrpc/svc_tcp.c: Likewise.
19358 * sunrpc/svc_udp.c: Likewise.
19359 * sunrpc/svc_unix.c: Likewise.
19360 * sunrpc/xdr.c: Likewise.
19361 * sunrpc/xdr_array.c: Likewise.
19362 * sunrpc/xdr_rec.c: Likewise.
19363 * sunrpc/xdr_ref.c: Likewise.
19364 * sunrpc/xdr_stdio.c: Likewise.
19365
1248c1c4
PB
193662011-09-09 Ulrich Drepper <drepper@gmail.com>
19367
19368 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19369
193702011-07-03 Andreas Jaeger <aj@suse.de>
19371
19372 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19373 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19374 regenerate with gen-libm-tests.pl.
19375
193762010-05-12 Petr Baudis <pasky@suse.cz>
19377
19378 [BZ #11589]
19379 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19380 around j0() zero points by switching to j1().
19381 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19382 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19383 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19384 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19385
f22e1074
UD
193862011-09-09 Ulrich Drepper <drepper@gmail.com>
19387
f19009c1
UD
19388 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19389 instead of 0.
19390 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19391 instead of 0. .
19392 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19393 Patch in part by Pavel Roskin <proski@gnu.org>.
19394
3f8cc204
UD
19395 [BZ #13138]
19396 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19397 realloc.
19398 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19399 Free memory block if necessary.
19400
f22e1074
UD
19401 [BZ #12847]
19402 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19403 be NULL. Don't lock in this case.
19404
0a2349f9
RM
194052011-09-09 Roland McGrath <roland@hack.frob.com>
19406
19407 * elf/elf.h (ELFOSABI_GNU): New macro.
19408 (ELFOSABI_LINUX): Define to that.
19409
f3cdd467
DZ
194102011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19411
19412 * string/strncat.c (strncat): Undef the symbol in case it has been
19413 defined in bits/string.h.
19414
74718d13
UD
194152011-09-09 Ulrich Drepper <drepper@gmail.com>
19416
633e9e0f
UD
19417 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19418
0a2349f9 19419 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
19420 link map.
19421
f9924780
AJ
194222011-08-17 Andreas Jaeger <aj@suse.de>
19423
19424 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19425
7f5517aa
PP
194262011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19427 Ian Lance Taylor <iant@google.com>
19428
19429 * math/libm-test.inc (lround_test): New testcase.
19430 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19431
762011fe
UD
194322011-09-08 Ulrich Drepper <drepper@gmail.com>
19433
92963737
UD
19434 * Makefile: Remove support for automatic cvs check-ins.
19435 * Makerules: Likewise.
19436 * config.make.in: Likewise.
19437 * configure.in: Likewise.
19438 * intl/Makefile: Likewise.
19439 * locale/Makefile: Likewise.
19440 * po/Makefile: Likewise.
19441 * posix/Makefile: Likewise.
19442 * sysdeps/gnu/Makefile: Likewise.
19443 * sysdeps/mach/hurd/Makefile: Likewise.
19444 * sysdeps/sparc/sparc32/Makefile: Likewise.
19445
b0727fd8
JS
19446 [BZ #13118]
19447 * posix/Makefile (bug-regex32-ENV): Define.
19448 Patch by John Stanley <jpsinthemix@verizon.net>.
19449
a0f33f99
UD
19450 * misc/Makefile (headers): Add bits/select2.h.
19451 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19452 * misc/bits/select2.h: New file.
19453 * include/bits/select2.h: New file.
19454 * debug/Makefile (routines): Add fdelt_chk.
19455 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19456 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19457 FD_ISSET.
19458 * debug/fdelt_chk.c: New file.
19459
762011fe
UD
19460 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19461 * wcsmbs/test-wmemcmp.c: Likewise.
19462 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19463 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19464
194652011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19466
19467 * string/Makefile (strop-tests): Add memcmp.
19468 * string/test-wmemcmp.c: New file.
19469 * string/test-memcmp.c: Add wmemcmp support.
19470
7f513ec8
RM
194712011-09-08 Roland McGrath <roland@hack.frob.com>
19472
0442afb4
RM
19473 [BZ #13153]
19474 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19475 2011-07-19 change.
19476
7f513ec8
RM
19477 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19478 garbage value in a __mach_port_mod_refs call in the cases of the
19479 task-self and thread-self ports.
19480
a12b2239
ST
194812011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19482
19483 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19484
610f9ab4
AS
194852011-09-08 Andreas Schwab <schwab@redhat.com>
19486
7f513ec8 19487 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19488
48882a1a
LD
194892011-09-07 Ulrich Drepper <drepper@gmail.com>
19490
b49865be
UD
19491 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19492
fdc86bc9
UD
19493 * elf/dl-libc.c (dlerror_run): Pass back error code from
19494 dl_catch_error.
19495
c966526a
UD
19496 [BZ #13123]
19497 * elf/dl-load.c (lose): Free l_origin if it is valid.
19498
48882a1a
LD
19499 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19500 names.
19501 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19502 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19503 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19504 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19505 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19506 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19507
77a2a8b4
AZ
195082011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19509
19510 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19511 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19512 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19513 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19514 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19515 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19516 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19517 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19518 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19519 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19520
24f579d8
AM
195212011-08-15 Alan Modra <amodra@gmail.com>
19522
19523 [BZ #13092]
19524 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19525 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19526 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19527 ppc_mcount to static-only-routines.
19528 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19529 __mcount_internal.
19530 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19531 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19532
3d4837df
UD
195332011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19534
19535 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19536 for finite and infinity parameters.
19537
22700377
WS
195382011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19539
19540 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19541 and add nop instructions for throughput optimization.
19542 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19543
5025581e
WS
195442011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19545
19546 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19547 aligned copy for power7 with vector-scalar instructions.
19548 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19549
08a300c9
L
195502011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19551
19552 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19553 AVX check.
19554
59178ef9
AS
195552011-09-07 Andreas Schwab <schwab@redhat.com>
19556
19557 [BZ #13144]
19558 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19559 last change.
19560
e38ba7ab
UD
195612011-09-07 Ulrich Drepper <drepper@gmail.com>
19562
19563 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19564 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19565 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19566 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19567 clock_gettime.
19568
d53a73ac
UD
195692011-09-06 Ulrich Drepper <drepper@gmail.com>
19570
fc8bffcc
UD
19571 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19572 Forgot to demangle the pointer.
19573
ceaa0c5d
UD
19574 * sysdeps/i386/sysdep.h: Define atom_text_section.
19575 * sysdeps/x86_64/sysdep.h: Likewise.
19576 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19577 section with atom_text_section.
19578 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19579 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19580 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19581 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19582 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19583
a77d3c17
UD
19584 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19585 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19586 already be defined. Change to take two parameters and don't assign
19587 result to variable. Adjust all users.
19588 Define INTERNAL_GETTIME if not already defined.
19589 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19590 call.
19591 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19592 HAVE_CLOCK_GETTIME_VSYSCALL.
19593 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19594
d53a73ac
UD
19595 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19596 gettimeofday vsyscall, just use time.
19597
a8f84144
AS
195982011-09-06 Andreas Schwab <schwab@redhat.com>
19599
19600 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19601 <errno.h>.
19602
ef606249
UD
196032011-09-06 Ulrich Drepper <drepper@gmail.com>
19604
19605 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19606 syscall on x86-64.
19607 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19608 syscall.
19609 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19610 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19611 syscall if possible.
19612
6585cb60
UD
196132011-09-05 Ulrich Drepper <drepper@gmail.com>
19614
19615 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19616 e_ident. Don't pass to find_mapsXX.
19617 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19618
a5f524e4
LD
196192011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19620
19621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19622 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19623 * sysdeps/x86_64/multiarch/strchr.S: Update.
19624 Check bit_slow_BSF bit.
19625 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19626 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19627 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19628
554881ef
UD
196292011-09-05 Ulrich Drepper <drepper@gmail.com>
19630
d96de963
UD
19631 [BZ #13134]
19632 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19633 before glibc 2.15.
19634 (tryshell): Define.
19635 (__spawni): Change last parameter to be flag. Test
19636 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19637 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19638 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19639 * posix/spawni.c: Likewise.
19640 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19641 * posix/spawnp.c: Likewise. Change normal version to use
19642 SPAWN_XFLAGS_USE_PATH.
19643 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19644 SPAWN_XFLAGS_TRY_SHELL.
19645
d48e5868
UD
19646 [BZ #13150]
19647 * posix/glob.h: Remove gcc 1.x support.
19648
554881ef
UD
19649 [BZ #13068]
19650 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19651
693fb948
LD
196522011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19653
19654 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19655 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19656 strrchr-sse2-bsf
19657 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19658 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19659 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19660 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19661 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19662 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19663
1b48c537
UD
196642011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19665
49d42c37
UD
19666 * sysdeps/x86_64/wcscmp.S: New file.
19667
1b48c537
UD
19668 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19669 wcscmp-c wcscmp-sse2
19670 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19671 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19672 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19673 * wcsmbs/wcscmp.c: Allow renaming.
19674
15c95c5d
DM
196752011-09-05 David S. Miller <davem@davemloft.net>
19676
19677 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19678 stack slot, rather than the struct return pointer slot.
19679 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19680 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19682 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19683
2f0ad8f3
UD
196842011-09-05 Ulrich Drepper <drepper@gmail.com>
19685
d88ae418
UD
19686 * po/ja.po: Update from translation team.
19687
2f0ad8f3
UD
19688 [BZ #13144]
19689 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19690 kernel in 64-bit binaries.
19691
5f4318d1
DM
196922011-09-01 David S. Miller <davem@davemloft.net>
19693
19694 * elf/elf.h (HWCAP_SPARC_*): Move to..
19695 * sysdeps/sparc/sysdep.h: this new file and add new values.
19696 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19697 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19698 _DL_HWCAP_COUNT to 24.
19699 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19700 entries.
19701 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19702 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19703 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19704 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19705 instead of magic constants.
19706 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19707
3ba57516
DM
197082011-08-31 David S. Miller <davem@davemloft.net>
19709
19710 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19711 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19712 Reimplement to do errno handling inline.
19713 (SYSCALL_ERROR_HANDLER): New macro.
19714 (__SYSCALL_STRING): Do not do errno handling in asm.
19715 (__CLONE_SYSCALL_STRING): Delete.
19716 (__INTERNAL_SYSCALL_STRING): Delete.
19717 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19718 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19719 (PSEUDO): Reimplement to do errno handling inline.
19720 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19721 (SYSCALL_ERROR_HANDLER): New macro.
19722 (__SYSCALL_STRING): Do not do errno handling in asm.
19723 (__CLONE_SYSCALL_STRING): Delete.
19724 (__INTERNAL_SYSCALL_STRING): Delete.
19725 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19726 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19727 i386.
19728 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19729 (inline_syscall*): Add 'err' argument.
19730 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19731 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19732 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19733 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19734
19735 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19736 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19737
2bc17433
AS
197382011-08-30 Andreas Schwab <schwab@redhat.com>
19739
19740 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19741
fbeb5f4d
JO
197422011-08-29 Jiri Olsa <jolsa@redhat.com>
19743
19744 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19745 directive.
19746
ad69cc26
DM
197472011-08-24 David S. Miller <davem@davemloft.net>
19748
19749 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19750
39dd69df
AS
197512011-08-24 Andreas Schwab <schwab@redhat.com>
19752
19753 * elf/Makefile: Add rules to build and run unload8 test.
19754 * elf/unload8.c: New file.
19755 * elf/unload8mod1.c: New file.
19756 * elf/unload8mod1x.c: New file.
19757 * elf/unload8mod2.c: New file.
19758 * elf/unload8mod3.c: New file.
19759
19760 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19761 it wasn't used.
19762
2c0b250a
DM
197632011-08-23 David S. Miller <davem@davemloft.net>
19764
19765 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19766 subtract stack bias.
19767 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19768 %sp not %fp in calculations.
19769 (_JMPBUF_UNWINDS_ADJ): Likewise.
19770
22044b48
DM
19771 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19772 (aio_suspend): Call it to force an exception region around the
19773 AIO_MISC_WAIT() invocation.
19774
2cae4995
AS
197752011-08-23 Andreas Schwab <schwab@redhat.com>
19776
19777 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19778 backslash.
19779
873a772e
AJ
197802011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19781
19782 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19783 protection macro.
19784 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19785 and <dl-machine.h>.
19786 (Elf64_FuncDesc): Remove.
19787
25ad0df1
DM
197882011-08-22 David S. Miller <davem@davemloft.net>
19789
19790 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19791 sigaltstack check, add missing cfi directives.
19792 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19793 missing cfi directives, and sigaltstack handling.
19794
e888bcbe
AS
197952011-08-16 Andreas Schwab <schwab@redhat.com>
19796
19797 [BZ #11724]
19798 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19799 object is seen twice.
19800 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19801
19802 * elf/Makefile (distribute): Add tst-initorder2.c.
19803 (tests): Add tst-initorder2.
19804 (modules-names): Add tst-initorder2a tst-initorder2b
19805 tst-initorder2c tst-initorder2d. Add rules to build them.
19806 ($(objpfx)tst-initorder2.out): New rule.
19807 * elf/tst-initorder2.c: New file.
19808 * elf/tst-initorder2.exp: New file.
19809
87162f46
AS
198102011-08-22 Andreas Schwab <schwab@redhat.com>
19811
70538b7f
AS
19812 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19813
f55ffe58
AS
19814 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19815 dependencies back to end of function.
19816
87162f46
AS
19817 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19818 $(elfobjdir)/ld.so.
19819
91b392a4
UD
198202011-08-21 Ulrich Drepper <drepper@gmail.com>
19821
19822 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19823 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19824 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19825 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19826 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19827 of __vdso_gettimeofday.
19828 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19829 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19830 attribute_hidden.
19831 (_libc_vdso_platform_setup): Remove initialization of
19832 __vdso_gettimeofday and __vdso_time.
19833
5c43483f
UD
198342011-08-20 Ulrich Drepper <drepper@gmail.com>
19835
775a77e7
UD
19836 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19837 and fgetc_unlocked.
19838 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19839 getc_unlocked.
89f447ed 19840
49c74ba9
UD
19841 * elf/dl-open.c (add_to_global): Report additions to the global scope
19842 for LD_DEBUG=scopes.
19843 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19844 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19845
5c43483f
UD
19846 [BZ #13114]
19847 * stdio-common/Makefile (tests): Add bug24.
19848 * stdio-common/bug24.c: New file.
19849
a101b025
AJ
198502011-08-19 Andreas Jaeger <aj@suse.de>
19851
19852 [BZ #13114]
19853 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19854 non-existant file when using close-on-exec mode.
19855
c88f1766
UD
198562011-08-20 Ulrich Drepper <drepper@gmail.com>
19857
0276a718
UD
19858 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19859 the very first instruction.
19860
c88f1766
UD
19861 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19862 the CFI state in the end.
19863 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19864 inclusion of dl-trampoline.h.
19865 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19866
51ccffa0
AS
198672011-08-19 Andreas Schwab <schwab@redhat.com>
19868
94d7165f
AS
19869 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19870 expectations for long double.
19871
51ccffa0
AS
19872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19873 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19874
fd708658 198752011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19876
19877 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19878 artificual limit depends upon the system page size.
19879
44f0a71e
UD
198802011-08-17 Ulrich Drepper <drepper@gmail.com>
19881
19882 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19883 * resolv/Makefile: Define CFLAGS-libresolv.
19884
8de79a24
AS
198852011-08-17 Andreas Schwab <schwab@redhat.com>
19886
19887 * nss/makedb.c (compute_tables): Make variables used in nested
19888 function static.
19889
27724598
UD
198902011-08-17 Ulrich Drepper <drepper@gmail.com>
19891
c5305d88
UD
19892 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19893 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19894 if buffer was too small.
19895
27724598
UD
19896 * elf/pldd.c (main): Attach to all threads in the process.
19897 Rewrite /proc handling to use *at functions.
19898
076fe015
UD
198992011-08-16 Ulrich Drepper <drepper@gmail.com>
19900
174baab3
UD
19901 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19902 specifies first scope to show.
19903 (dl_open_worker): Update callers. Move printing scope of new
19904 object to before the relocation.
44f0a71e 19905 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19906 * sysdeps/generic/ldsodefs.h: Update declaration.
19907
076fe015
UD
19908 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19909 string for the scope number.
19910
a60df2c3
UD
199112011-08-14 Ulrich Drepper <drepper@gmail.com>
19912
19913 * nscd/servicescache.c (cache_addserv): Make sure written is always
19914 initialized.
19915
5e4287d1
RM
199162011-08-14 Roland McGrath <roland@hack.frob.com>
19917
85ae0589
RM
19918 * sysdeps/i386/i486/bits/atomic.h
19919 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19920 statement expression, so as to suppress "set but not used" warning.
19921 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19922
69f63097
RM
19923 * string/strncat.c (STRNCAT): Use prototype definition.
19924
675456ef
RM
19925 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19926 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19927 -Iprograms here.
19928 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19929 (localedef-modules): Add localedef.
19930 (locale-modules): Add locale.
19931
5e4287d1
RM
19932 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19933 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19934 to avoid a warning.
19935
9c96ff23
DM
199362011-08-14 David S. Miller <davem@davemloft.net>
19937
19938 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19939 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19940
f9ddf089
UD
199412011-08-13 Ulrich Drepper <drepper@gmail.com>
19942
44f0a71e 19943 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19944 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19945 * elf/rtld.c (dl_main): Set l_name of vDSO.
19946 Call _dl_show_scope when DL_DEBUG_SCOPES.
19947 (process_dl_debug): Recognize scopes flag and also set it for all.
19948 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19949 Declare _dl_show_scope.
19950
1dc27704
UD
19951 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19952 (do_dlopen): Pass caller_dlopen to dl_open.
19953 (__libc_dlopen_mode): Initialize caller_dlopen.
19954
f9ddf089
UD
19955 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19956 of libc. Make tolower call locale-independent. Optimize a bit by
19957 using isdigit instead of isalnum.
19958 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19959
9ac533d3
UD
199602011-08-12 Ulrich Drepper <drepper@gmail.com>
19961
19962 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19963 was a dependency or dynamically loaded.
19964
89edf2e9
UD
199652011-08-11 Ulrich Drepper <drepper@gmail.com>
19966
8e999d29
UD
19967 * intl/l10nflist.c: Allow architecture-specific pop function.
19968 * sysdeps/x86_64/l10nflist.c: New file.
19969
89edf2e9
UD
19970 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19971 classification.
19972
14d96785
AS
199732011-08-10 Andreas Schwab <schwab@redhat.com>
19974
19975 * include/dirent.h: Add libc_hidden_proto for scandirat and
19976 scandirat64. Don't declare __scandirat64.
19977 * dirent/scandirat.c: Add libc_hidden_def.
19978 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19979 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19980
6761ac04
DM
199812011-08-10 David S. Miller <davem@davemloft.net>
19982
19983 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19984 enum.
19985 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19986 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19987 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19988
c55fbd1e
UD
199892011-08-09 Ulrich Drepper <drepper@gmail.com>
19990
19991 * Versions.def [libc]: Add GLIBC_2.15.
19992 * dirent/Makefile (routines): Add scandirat and scandirat64.
19993 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19994 GLIBC_2.15.
19995 * dirent/dirent.h: Declare scandirat and scandirat64.
19996 * dirent/scandirat.c: New file.
19997 * dirent/scandirat64.c: New file.
19998 * sysdeps/wordsize-64/scandirat.c: New file.
19999 * sysdeps/wordsize-64/scandirat64.c: New file.
20000 * dirent/opendir.c: Define opendirat.
20001 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20002 using scandirat.
20003 * dirent/scandir64.c: Adjust for scandir.c change.
20004 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20005 __scandirat64, and __scandir_cancel_handler.
20006 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20007 additional parameter and use openat instead of open (outside of ld.so).
20008 Add new __opendir as wrapper around __opendirat.
20009 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20010 here without requiring old scandirat implementation.
20011
879165f2
UD
200122011-08-08 Ulrich Drepper <drepper@gmail.com>
20013
20014 * dirent/scandir.c (cancel_handler): Renamed to
20015 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20016 defined. Adjust users.
20017 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20018 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20019
cb7e923b
UD
200202011-08-04 Ulrich Drepper <drepper@gmail.com>
20021
16292edd
UD
20022 * string/test-string.h (IMPL): Use __STRING to expand name and then
20023 stringify it.
20024
cb7e923b
UD
20025 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20026 of cleanups.
20027
cff82933
LD
200282011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20029
20030 * string/Makefile: Update.
20031 (strop-tests): Append strncat.
20032 * string/test-wcscmp.c: New file.
20033 New comprehensive test for wcscmp.
20034 * string/test-strcmp.c: Update.
20035 (WIDE): New define.
20036
9be9bfcc
AS
200372011-07-22 Andreas Schwab <schwab@redhat.com>
20038
20039 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20040 line.
20041
2e96f1c7
AS
200422011-07-26 Andreas Schwab <schwab@redhat.com>
20043
20044 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20045 encoding to ACE if AI_IDN.
20046
85188888
JJ
200472011-08-01 Jakub Jelinek <jakub@redhat.com>
20048
20049 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20050 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20051
5fa16e9b
LD
200522011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20053
20054 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20055 Fix overflow bug in strncat.
20056 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20057
20058 * string/test-strncat.c: Update.
20059 Add new tests for checking overflow bugs.
20060
200612011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20062
20063 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20064 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20065 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20066 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20067 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20068 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20069 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20070 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20071 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20072
20073 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20074 (USE_AS_STRCAT): Define.
20075 Add strcat and strncat support.
20076 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20077
8c1a459f
AS
200782011-07-25 Andreas Schwab <schwab@redhat.com>
20079
20080 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20081 __n bigger than INT_MAX+1.
20082 (__strncmp_g): Likewise.
20083
bba33c28
UD
200842011-07-23 Ulrich Drepper <drepper@gmail.com>
20085
798be72d
UD
20086 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20087 * libio/stido.h: Likewise.
20088
8accd4dc
UD
20089 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20090 (AF_NFC): Define.
20091 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20092 (AF_NFC): Define.
20093
cbff0d96
UD
20094 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20095 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20096 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20097 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20098 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20099
9191c04a
UD
20100 [BZ #13021]
20101 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20102 installed.
20103
bba33c28
UD
20104 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20105 typo.
20106 (_dl_x86_64_save_sse): Likewise.
20107
90f139dd
UD
201082011-07-22 Ulrich Drepper <drepper@gmail.com>
20109
1aae088a
UD
20110 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20111 OSXSAVE.
20112 (_dl_x86_64_save_sse): Likewise.
20113
8e2045f5
UD
20114 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20115
90f139dd
UD
20116 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20117
1d002f25
AS
201182011-07-21 Andreas Schwab <schwab@redhat.com>
20119
20120 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20121 change.
20122 (_dl_x86_64_save_sse): Use correct AVX check.
20123
21137f89
UD
201242011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20125
20126 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20127 bug in strncpy/strncat.
20128 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20129
a65c0b7a
UD
201302011-07-21 Ulrich Drepper <drepper@gmail.com>
20131
20132 * string/tester.c (test_strcat): Add tests for different alignments
20133 of source and destination.
20134 (test_strncat): Likewise.
20135
6986b98a
UD
201362011-07-20 Ulrich Drepper <drepper@gmail.com>
20137
90bb2039
UD
20138 [BZ #12852]
20139 * posix/glob.c (glob): Check passed in values before using them in
20140 expressions to avoid some overflows.
20141 (glob_in_dir): Likewise.
20142
5644ef54
UD
20143 [BZ #13007]
20144 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20145 check for AVX enablement so that we don't crash with old kernels and
20146 new hardware.
20147 * elf/tst-audit4.c: Add same checks here.
20148 * elf/tst-audit6.c: Likewise.
20149
20150 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 20151
bfc9dc9b
AS
201522011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20153
20154 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20155
702e64bb
UD
201562011-07-20 Ulrich Drepper <drepper@gmail.com>
20157
20158 * po/cs.po: Update from translation team.
20159 * po/bg.po: Likewise.
20160
295e904f
MP
201612011-07-12 Marek Polacek <mpolacek@redhat.com>
20162
20163 * misc/sys/cdefs.h: Add support for const attribute.
20164 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20165 to gnu_dev_{major,minor,makedev} functions.
20166
3ff94596
MP
201672011-07-20 Marek Polacek <mpolacek@redhat.com>
20168
20169 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20170
28b59fca
AS
201712011-07-20 Andreas Schwab <schwab@redhat.com>
20172
20173 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20174 strlen results.
20175
19df733e
AK
201762011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20177
20178 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20179 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20180 register in order to avoid conflicts with the soft frame pointer
20181 being held in r11 when necessary.
20182 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20183 (INTERNAL_VSYSCALL_NCS): Likewise.
20184
c8835729
MP
201852011-07-14 Marek Polacek <mpolacek@redhat.com>
20186
20187 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20188 * elf/dl-fini.c (_dl_fini): Adjust caller.
20189 * elf/dl-close.c (_dl_close_worker): Likewise.
20190 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20191
b902330c
MP
201922011-07-15 Marek Polacek <mpolacek@redhat.com>
20193
8991e135
MP
20194 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20195 "aux_cache->nlibs < 0".
20196
b902330c
MP
20197 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20198 in the reload-count case.
20199
99710781
LD
202002011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20201
20202 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20203 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20204 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20205 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20206 * sysdeps/x86_64/multiarch/strcat.S: New file.
20207 * sysdeps/x86_64/multiarch/strncat.S: New file.
20208 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20209 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20210 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20211 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20212 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20213 (USE_AS_STRCAT): Define.
20214 Add strcat and strncat support.
20215 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20216 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20217 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20218 * string/strncat.c: Update.
20219 (USE_AS_STRNCAT): Define.
20220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20221 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20222 and i7.
20223 * sysdeps/x86_64/multiarch/init-arch.h
20224 (bit_Prefer_PMINUB_for_stringop): New.
20225 (index_Prefer_PMINUB_for_stringop): Likewise.
20226 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20227 bit_Prefer_PMINUB_for_stringop.
20228
7dc6bd90
UD
202292011-07-19 Ulrich Drepper <drepper@gmail.com>
20230
20231 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20232 buffer64.
20233 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20234 of casting of buffer.
20235 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20236 buffer32 and buffer64.
20237 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20238 writes instead of casting of buffer.
20239 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20240 buffer32.
20241 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20242 casting of buffer.
20243
e0e72284
AS
202442011-07-19 Andreas Schwab <schwab@redhat.com>
20245
20246 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20247
feb1eb0b
UD
202482011-07-19 Ulrich Drepper <drepper@gmail.com>
20249
20250 * nscd/nscd.c (termination_handler): Don't do anything for a database
20251 if it has not yet been initialized.
20252
298711ff
UD
202532011-07-18 Ulrich Drepper <drepper@gmail.com>
20254
20255 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20256
202572011-07-15 Marek Polacek <mpolacek@redhat.com>
20258
20259 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20260
f9d68389
UD
202612011-07-18 Ulrich Drepper <drepper@gmail.com>
20262
20263 * po/nl.po: Update from translation team.
20264 * po/sv.po: Likewise.
20265
db290cf5
RM
202662011-07-16 Roland McGrath <roland@hack.frob.com>
20267
20268 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20269 now disallowed by GCC.
5c550700 20270
fd5e21c7
RM
20271 * configure.in (use-default-link): Default to yes if a test -shared
20272 link meets our qualifications.
20273 * configure: Regenerated.
20274
5c550700
RM
20275 * config.make.in (output-format): New variable.
20276 * configure.in: Check for ld --print-output-format support.
20277 * configure: Regenerated.
20278 * Makerules ($(common-objpfx)format.lds)
20279 [$(output-format) != unknown]: Just use $(output-format),
20280 instead of the linker-script munging.
20281
9fa2c032
RM
202822011-07-14 Roland McGrath <roland@hack.frob.com>
20283
a6928d51
RM
20284 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20285 of $(common-objpfx)shlib.lds.
20286 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20287
661607b3
RM
20288 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20289 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20290
9fa2c032
RM
20291 * configure.in (-z relro check): Adjust test code to add a large
20292 writable data section after it.
20293 * configure: Regenerated.
20294
defe9061
RM
202952011-07-11 Roland McGrath <roland@hack.frob.com>
20296
20297 * configure.in (-z relro check): Fix test code to make the variable
20298 truly const.
20299 * configure: Regenerated.
20300
319b9ad4
UD
203012011-07-11 Ulrich Drepper <drepper@gmail.com>
20302
20303 * nscd/nscd.h (struct traced_file): Define.
20304 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20305 elements. Add traced_files.
20306 (inotify_fd): Declare.
20307 (register_traced_file): Declare.
20308 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20309 (inotify_fd): Export.
20310 (resolv_conf_descr): Remove.
20311 (nscd_init): Move inotify descriptor creation to main.
20312 Don't register files for notification here.
20313 (register_traced_file): New function.
20314 (invalidate_cache): Don't use reset_res to determine whether to call
20315 res_init, go through the list of registered files.
20316 (main_loop_poll): The inotify descriptors are now stored in the
20317 structures for the traced files.
20318 (main_loop_epoll): Likewise
20319 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20320 to __nss_disable_nscd.
20321 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20322 for a database anymore. Check the records for all the registered
20323 files instead.
20324 * nss/Makefile (libnss_files-routines): Add files-init.
20325 (libnss_db-routines): Add db-init.
20326 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20327 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20328 * nss/nss_db/db-init.c: New file.
20329 * nss/nss_files/files-init.c: New file.
20330 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20331 __nss_lookup_function.
20332 (__nss_lookup_function): Call nss_load_library.
20333 (nss_load_all_libraries): New function.
20334 (__nss_disable_nscd): Take parameter with callback function for files
20335 to register. Set is_nscd. Load all the DSOs for the NSS modules
20336 used for the cached services.
20337 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20338 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20339 options for features to all the files in nscd.
20340
20341 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20342
23bee3e8
RM
203432011-07-10 Roland McGrath <roland@hack.frob.com>
20344
20345 * csu/elf-init.c (__libc_csu_init): Comment typo.
20346
46a5b7f0
UD
203472011-07-09 Ulrich Drepper <drepper@gmail.com>
20348
20349 * po/pl.po: Update from translation team.
20350 * po/ja.po: Likewise.
20351 * po/ru.po: Likewise.
20352 * po/ko.po: Likewise.
20353 * po/fr.po: Likewise.
20354
d30cf5bb
RM
203552011-07-09 Roland McGrath <roland@hack.frob.com>
20356
113ddea4
RM
20357 * configure.in (.ctors/.dtors header and trailer check):
20358 Use an empirical test on a built program.
20359 * configure: Regenerated.
20360
574920b4
RM
20361 * configure.in (-z relro check): Use an empirical test on a built DSO.
20362 Detect, but do not require, on ia64.
20363 * configure: Regenerated.
20364
d30cf5bb
RM
20365 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20366 Update tests that use readelf to use $READELF instead.
20367 * configure: Regenerated.
20368
8538fdb3
UD
203692011-07-08 Ulrich Drepper <drepper@gmail.com>
20370
20371 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20372 if the result is not used.
20373
04d08991
AJ
203742011-07-05 Andreas Jaeger <aj@suse.de>
20375
20376 [BZ#9696]
20377 * stdlib/tst-strtod.c: Add testcase.
20378
de283087
AD
203792011-07-07 Ulrich Drepper <drepper@gmail.com>
20380
4e5f31c8 20381 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 20382 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
20383 The latter has a higher limit. Take additional parameter to pass to
20384 the new function.
20385 (__pathconf): Pass file to __statfs_link_max.
20386 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20387 __statfs_link_max.
20388 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20389 __statfs_link_max.
20390
de283087
AD
20391 [BZ #12868]
20392 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20393 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20394 Handle Lustre.
20395 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20396 (__statfs_filesize_max): Likewise.
20397 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20398
c75fa153
AJ
203992011-07-05 Andreas Jaeger <aj@suse.de>
20400
20401 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20402
1a544854
UD
204032011-07-06 Marek Polacek <mpolacek@redhat.com>
20404
20405 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20406 `status' variable.
20407 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20408 Likewise.
20409
6f0eec67
UD
204102011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20411
20412 * Makefile (strop-tests): Add strncat.
20413 * string/test-strncat.c: New file.
20414
aae30307
UD
204152011-06-30 Marek Polacek <mpolacek@redhat.com>
20416
20417 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20418
c0cfb5eb
UD
204192011-06-21 Andreas Jaeger <aj@suse.de>
20420
20421 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20422 Copy rule from iconvdata/Makefile.
20423
01636b21
UD
204242011-07-06 Ulrich Drepper <drepper@gmail.com>
20425
20426 [BZ #12922]
20427 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20428 but no long options are defined, just return 'W'.
20429
9895c8bc
UD
204302011-06-22 Marek Polacek <mpolacek@redhat.com>
20431
20432 [BZ #9696]
20433 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20434
5d4cf042
UD
204352011-07-06 Ulrich Drepper <drepper@gmail.com>
20436
20437 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20438 netgroups to read.
960e5535 20439 (innetgr): Likewise.
5d4cf042 20440
751eb97e
RM
204412011-07-05 Roland McGrath <roland@hack.frob.com>
20442
20443 * config.make.in (install_root): Default to $(DESTDIR).
20444
f15f1e45
UD
204452011-07-05 Ulrich Drepper <drepper@gmail.com>
20446
20447 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20448
4e34ac6a
RM
204492011-07-02 Roland McGrath <roland@hack.frob.com>
20450
5e9b6af4
RM
20451 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20452
84f9ea0f
RM
20453 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20454 containing directory rather than embedding absolute directory names.
20455
ea5ee9f7
RM
20456 * scripts/check-local-headers.sh: Rewritten using awk.
20457 Match by word, not by line. Print error messages for matches.
20458 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20459
1b74661a
RM
20460 * Makerules [shlib-lds-flags empty]:
20461 ($(common-objpfx)libc_pic.opts): New target.
20462 ($(common-objpfx)libc_pic.os.clean): New target.
20463 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20464
20465 * config.make.in (OBJCOPY): New variable.
20466 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20467 * configure: Regenerated.
20468
f781ef40
RM
20469 * config.make.in (use-default-link): New variable.
20470 * configure.in (use_default_link): Grok --with-default-link to set it.
20471 * configure: Regenerated.
20472 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20473 (shlib-lds, shlib-lds-flags): Define to empty.
20474
2d4fa81e
RM
20475 * Makerules (shlib-lds): New variable.
20476 (shlib-lds-flags): New variable.
20477 (build-shlib, build-moduile, build-module-asneeded): Use it.
20478 ($(common-objpfx)libc.so): Use $(shlib-lds).
20479 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20480 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20481
31fffa6b
RM
20482 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20483 DT_FLAGS/DT_FLAGS_1 with zero flags.
20484
4e34ac6a
RM
20485 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20486 linker script munging.
20487
fcfc776b
UD
204882011-07-02 Ulrich Drepper <drepper@gmail.com>
20489
20490 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20491 as 128-bit value.
20492 * crypt/sha512.c (sha512_process_block): Perform total addition using
20493 128-bit if possible.
20494 (__sha512_finish_ctx): Likewise.
20495 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20496 as 64-bit value.
20497 * crypt/sha256.c (SWAP64): Define.
20498 (sha256_process_block): Perform total addition using 64-bit if
20499 possible.
20500 (__sha256_finish_ctx): Likewise.
20501
99231d9a
UD
205022011-07-01 Ulrich Drepper <drepper@gmail.com>
20503
20504 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20505 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20506 * nscd/hstcache.c (cache_addhst): Likewise.
20507 * nscd/grpcache.c (cache_addgr): Likewise.
20508 * nscd/aicache.c (addhstaiX): Likewise
20509 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20510
445b4a53
TK
205112011-07-01 Thorsten Kukuk <kukuk@suse.de>
20512
20513 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20514 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20515 * nscd/hstcache.c (cache_addhst): Likewise.
20516 * nscd/grpcache.c (cache_addgr): Likewise.
20517 * nscd/aicache.c (addhstaiX): Likewise
20518
6d4d8e8e
AS
205192011-07-01 Andreas Schwab <schwab@redhat.com>
20520
20521 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20522 domain only when needed.
20523
89f654c5
AS
205242011-06-30 Andreas Schwab <schwab@redhat.com>
20525
20526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20527 is always restored.
20528
cf3b23ff
UD
205292011-06-29 Ulrich Drepper <drepper@gmail.com>
20530
20531 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20532 are re-adding the entry.
20533 * nscd/servicescache.c (cache_addserv): Likewise.
20534
751626f9
AJ
205352011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20536
20537 * sysdeps/generic/dl-irel.h: fix protection against multiple
20538 inclusions.
20539 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20540
9113ea1f
UD
205412011-06-28 Ulrich Drepper <drepper@gmail.com>
20542
5c0b8d90
UD
20543 [BZ #12935]
20544 * malloc/memusage.sh: Fix quoting in message.
20545 * debug/xtrace.sh: Likewise.
20546
9113ea1f
UD
20547 * configure.in: Remove support for --experimental-malloc option, make
20548 it the default.
20549 * config.make.in: Likewise.
20550 * malloc/Makefile: Likewise.
20551
a4172181
AS
205522011-06-27 Andreas Schwab <schwab@redhat.com>
20553
20554 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20555 two-byte characters.
20556
78a7eee7
RM
205572011-06-27 Roland McGrath <roland@hack.frob.com>
20558
62bede13
RM
20559 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20560 AC_CACHE_CHECK invocation.
20561 * configure: Regenerated.
20562
78a7eee7
RM
20563 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20564
5ce33a62
UD
205652011-06-27 Ulrich Drepper <drepper@gmail.com>
20566
034807a9
UD
20567 [BZ #12350]
20568 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20569 bit from old_res_options.
20570
4902da17
UD
20571 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20572
5ce33a62
UD
20573 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20574 value type for setfct.
20575
c2344f56
L
205762011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20577
20578 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20579 __gettimeofday instead of gettimeofday.
20580
68468076
UD
205812011-06-26 Ulrich Drepper <drepper@gmail.com>
20582
20583 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20584
acb0d739
L
205852011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20586
20587 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20588
20589 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20590 info.
20591
8912479f
L
205922011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20593
20594 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20595 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20596 strcpy-sse2-unaligned strncpy-sse2-unaligned
20597 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20598 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20599 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20600 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20601 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20602 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20603 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20604 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20605 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20606 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20607 (STRCPY): Support SSE2 and SSSE3 versions.
20608
d5495a11
UD
206092011-06-24 Ulrich Drepper <drepper@gmail.com>
20610
20611 [BZ #12874]
20612 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20613 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20614 kernels which artificially limit size of requests.
20615
0b1cbaae
L
206162011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20617
20618 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20619 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20620 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20621 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20622 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20623 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20624 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20625 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20626 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20627 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20628 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20629 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20630 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20631 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20632 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20634 Enable unaligned load optimization for Intel Core i3, i5 and i7
20635 processors.
20636 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20637 Define.
20638 (index_Fast_Unaligned_Load): Define.
20639 (HAS_FAST_UNALIGNED_LOAD): Define.
20640
07f494a0
MP
206412011-06-23 Marek Polacek <mpolacek@redhat.com>
20642
20643 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20644
fa3fc0fe
UD
206452011-06-22 Ulrich Drepper <drepper@gmail.com>
20646
20647 [BZ #12907]
20648 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20649 until it is clear that the information is realy needed.
20650 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20651
e12df166
AS
206522011-06-22 Andreas Schwab <schwab@redhat.com>
20653
20654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20655
852eb34d
UD
206562011-06-22 Ulrich Drepper <drepper@gmail.com>
20657
84e2a551
UD
20658 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20659 /sys/devices/system/cpu/online if it is usable.
20660
852eb34d
UD
20661 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20662 reading the information from the /proc filesystem to once a second.
20663
6e502e19
UD
206642011-06-21 Andreas Jaeger <aj@suse.de>
20665
20666 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20667 NULL after inclusion of kernel headers.
20668
75d39ff2
UD
206692011-06-21 Ulrich Drepper <drepper@gmail.com>
20670
51f9aa6a
UD
20671 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20672 calls to internal_setent.
20673
c0244a9d
UD
20674 [BZ #12885]
20675 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20676 addresses using gethostbyname4_r ignore IPv4 addresses.
20677
c5e3c2ae
UD
20678 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20679 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20680
75d39ff2
UD
20681 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20682
42675c6f
DM
206832011-06-20 David S. Miller <davem@davemloft.net>
20684
20685 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20686 inclusions.
20687 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20688
20689 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20690 (elf_irel): Use it.
20691 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20692 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20693 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20694 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20695 * sysdeps/x86_64/dl-irel.h: Likewise.
20696
20697 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20698 * elf/dl-sym.c: Likewise.
20699
57912a71
UD
207002011-06-15 Ulrich Drepper <drepper@gmail.com>
20701
20702 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20703 need to dereference resplen2.
20704
ee22793d
AS
207052011-06-14 Andreas Schwab <schwab@redhat.com>
20706
20707 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20708
a9e836b0
UD
207092011-06-15 Ulrich Drepper <drepper@gmail.com>
20710
77fb9117
UD
20711 * Makeconfig: Define vardbdir and inst_vardbdir.
20712 * nss/Makefile: Add rules to install db-Makefile.
20713
40c1b22c
UD
20714 * nss/nss_db/db-XXX.c: Cleanup.
20715
9f2da732
UD
20716 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20717 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20718 GLIBC_PRIVATE.
20719 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20720 * nss/makedb.c: Implement -g option to specify that value strings
20721 are generated and should not be added to table iterated over for
20722 get*ent calls.
20723 * nss/nss_db/db-initgroups.c: New file.
20724
82e9a1f7
UD
20725 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20726 interface.
20727
c41af17e
UD
20728 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20729 (internal_getgrouplist): Adjust to name change.
20730 Update use_initgroups_entry if this is not the first call.
20731 * nss/databases.def: Add initgroups entry.
20732
a9e836b0
UD
20733 * nss/makedb.c (compute_tables): Check result of multiple hash table
20734 sizes to minimize maximum chain length.
20735
2666d441
UD
207362011-06-14 Ulrich Drepper <drepper@gmail.com>
20737
20738 * Versions.def: Add entry for libnss_db.
20739 * shlib-versions: Likewise.
20740 * nss/Makefile: Add rules to build libnss_db.
20741 * nss/Versions: Add libnss_db information. Organize libnss_files
20742 entries better.
20743 * nss/db-Makefile: Add gshadow support. Change rules for the new
20744 makedb progra. Some minor improvements to generate smaller files.
20745 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20746 here from...
20747 * nss/makedb.c: ...here.
20748 Improve database format to be smaller and require less memory at
20749 runtime.
20750 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20751 db anymore.
20752 * nss/nss_db/db-netgrp.c: Likewise.
20753 * nss/nss_db/db-open.c: Likewise.
20754 * nss/nss_files/flies-XXX.x: Adjust comments.
20755 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20756 * nss/nss_files/files-grp.c: Likewise.
20757 * nss/nss_files/files-hosts.c: Likewise.
20758 * nss/nss_files/files-network.c: Likewise.
20759 * nss/nss_files/files-proto.c: Likewise.
20760 * nss/nss_files/files-pwd.c: Likewise.
20761 * nss/nss_files/files-rpc.c: Likewise.
20762 * nss/nss_files/files-service.c: Likewise.
20763 * nss/nss_files/files-sgrp.c: Likewise.
20764 * nss/nss_files/files-spwd.c: Likewise.
20765 * nss/nss_db/db-alias.c: Removed.
20766 * nss/nss_db/dummy-db.h: Removed.
20767
9ee76b5a
UD
207682011-06-02 Ulrich Drepper <drepper@gmail.com>
20769
20770 * nss/makedb.c: Rewritten to not use database library.
20771 * nss/Makefile: Update to build new makedb program.
20772
c71ca1f8
AJ
207732011-06-14 Andreas Jaeger <aj@suse.de>
20774
20775 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20776 memset declaration.
20777
3154bfb8
UD
207782011-06-10 Andreas Schwab <schwab@redhat.com>
20779
20780 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20781 tmpbuf.
20782
b350afab
RM
207832011-06-10 Roland McGrath <roland@hack.frob.com>
20784
decd4e50
RM
20785 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20786 * elf/Makefile ($(objpfx)ld.so): Likewise.
20787
5615eaf2
RM
20788 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20789 Don't list ld.so twice in dependencies.
20790
20791 * posix/bug-regex31.c: Include <stdlib.h>.
20792
20793 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20794
20795 * nis/nss_compat/compat-spwd.c
20796 (getspent_next_nss_netgr): Remove unused variable.
20797 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20798
20799 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20800 nonmembers" output to use the right array.
20801
20802 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20803
20804 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20805
20806 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20807 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20808 * catgets/gencat.c (read_input_file): Likewise.
20809 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20810
20811 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20812 variable definition inside #if's controlling its use.
20813
20814 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20815
20816 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20817
20818 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20819
20820 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20821 unreachable code.
20822
20823 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20824
b68e08db
RM
20825 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20826 * configure: Regenerated.
20827
b350afab
RM
20828 * Makerules: Revert last change.
20829 * elf/Makefile: Likewise.
20830
28368601
RM
208312011-06-09 Roland McGrath <roland@hack.frob.com>
20832
20833 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20834 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20835 (reloc-link): Likewise.
20836
11988f8f
UD
208372011-06-09 Ulrich Drepper <drepper@gmail.com>
20838
20839 * elf/Makefile: Add rules to build pldd.
20840 * elf/pldd.c: New file.
20841 * elf/pldd-xx.c: New file.
20842
e80fab37
UD
208432011-06-07 Ulrich Drepper <drepper@gmail.com>
20844
20845 * version.h: Update for 2.15 development version.
20846
9b849836
DM
208472011-06-07 David S. Miller <davem@davemloft.net>
20848
20849 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20850 ifuncs.
20851 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20852 elf_machine_lazy_rel): Likewise.
20853 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20854 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20855 elf_machine_lazy_rel): Likewise.
20856 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20857 dl_hwcap via passed in argument.
20858 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20859 Likewise.
20860
5a31b283
AK
208612011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20862
20863 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20864
069e52f8
RM
208652011-06-06 Roland McGrath <roland@hack.frob.com>
20866
20867 [BZ #12849]
20868 * manual/fdl-1.1.texi: New file, verbatim from:
20869 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20870 * manual/lgpl-2.1.texi: New file, verbatim from:
20871 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20872 * manual/Makefile (licenses): New variable, list those new file names.
20873 (texis): Use it.
20874 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20875
20876 * manual/fdl.texi: File removed.
20877 * manual/lesser.texi: File removed.
20878 * manual/libc.texinfo (Copying, Documentation License):
20879 Use new @include file names, put @appendix directive before @include.
20880
f16846a5
JJ
208812011-06-04 Jakub Jelinek <jakub@redhat.com>
20882
20883 [BZ #12841]
20884 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20885 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20886 (mq_open): Add __NTH.
20887
3d29045b
L
208882011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20889
20890 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20891 Assume Intel Core i3/i5/i7 processor if AVX is available.
20892
8c297311
UD
208932011-05-31 Ulrich Drepper <drepper@gmail.com>
20894
20895 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20896 typo.
20897
c8fc0c91
UD
208982011-05-31 Andreas Schwab <schwab@redhat.com>
20899
20900 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20901 memory. Use alloca_account. Fix memory leak when retrying.
20902
5b27a807
UD
209032011-05-31 Ulrich Drepper <drepper@gmail.com>
20904
356f8bc6
UD
20905 * version.h (RELEASE): Bump for 2.14 release.
20906 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20907
5b27a807
UD
20908 * config.make.in (RANLIB): Remove entry.
20909
01f16ab0
UD
209102011-05-30 Ulrich Drepper <drepper@gmail.com>
20911
41fce8bd
UD
20912 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20913 (libc.pot): Work around missing support for .ksh extension in xgettext.
20914
4769ae77
UD
20915 [BZ #12684]
20916 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20917 if both request failed.
20918 (send_dg): In case of server errors clear resplen or *resplen2.
20919
6b1e7d19
UD
20920 [BZ #12454]
20921 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20922 when there are multiple maps.
20923 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20924 (_dl_fini): Remove test here.
20925
01f16ab0
UD
20926 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20927
b1ebd700
UD
209282011-05-29 Ulrich Drepper <drepper@gmail.com>
20929
7ae22829
UD
20930 [BZ #12350]
20931 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20932 bit from old_res_options.
20933 (gaih_inet): Likewise.
20934
553149f6 20935 [BZ #11099]
18a84741 20936 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20937 as signed.
20938
652ffab1
UD
20939 * resolv/res_init.c (res_setoptions): Make the code more compact.
20940
16985fd0
UD
20941 [BZ #11558]
20942 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20943 set RES_USEVC.
20944
0464f746
UD
20945 [BZ #11634]
20946 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20947
7d17596c
UD
20948 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20949
cf6bbbd7
UD
20950 [BZ #11781]
20951 * malloc/malloc.h: Declare malloc hook variables as volatile.
20952
13f1ab36
UD
20953 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20954 in last patch.
20955
b1ebd700
UD
20956 [BZ #11799]
20957 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20958 raise in the comment.
80e2212d
UD
20959 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20960 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20961 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20962
ce67228d
UD
209632011-05-28 Ulrich Drepper <drepper@gmail.com>
20964
8887a920
UD
20965 [BZ #12811]
20966 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20967 grow the buffers more if it already has to be sufficient.
20968 (build_wcs_upper_buffer): Likewise.
20969 * posix/regexec.c (check_matching): Likewise.
20970 (clean_state_log_if_needed): Likewise.
20971 (extend_buffers): Don't enlarge buffers beyond size of the input
20972 buffer.
20973 Patches mostly by Emil Wojak <emil@wojak.eu>.
20974 * posix/bug-regex32.c: New file.
20975 * posix/Makefile (tests): Add bug-regex32.
20976
4f031072
UD
20977 * locale/findlocale.c (_nl_find_locale): Return right away if
20978 _nl_explode_name failed.
20979 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20980
d0478f0c
UD
20981 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20982
de81b246
UD
20983 * debug/xtrace.sh: Unify messages.
20984 * malloc/memusage.sh: Likewise.
20985
c738465a
UD
20986 [BZ #12813]
20987 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20988 time symbol from vDSO. Substitute with vsyscall if not available.
20989 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20990 __vdso_time.
20991
f1f929d7
UD
20992 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20993 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20994 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20995 Add sendmmsg and internal_sendmmsg.
20996 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20997 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20998 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20999
ce67228d
UD
21000 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21001 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21002 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21003
e57420c6
UD
210042011-05-27 Ulrich Drepper <drepper@gmail.com>
21005
a8509ca5
UD
21006 [BZ #12813]
21007 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21008 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21009 available.
21010 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21011 __vdso_getcpu.
21012
e57420c6
UD
21013 [BZ #12814]
21014 * iconvdata/Makefile (tests): Add bug-iconv9.
21015 * iconvdata/bug-iconv9.c: New file.
21016
4d07db15
AS
210172011-05-27 Andreas Schwab <schwab@redhat.com>
21018
21019 [BZ #12814]
21020 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21021
ea486f69
JJ
210222011-05-25 Jakub Jelinek <jakub@redhat.com>
21023
21024 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21025 (struct user_regs_struct): Change intcs field back to cs.
21026
6f038433
UD
210272011-05-25 Ulrich Drepper <drepper@gmail.com>
21028
21029 * po/ja.po: Update from translation team.
21030
67f86a25
UD
210312011-05-23 Ulrich Drepper <drepper@gmail.com>
21032
21033 [BZ #12795]
21034 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21035 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21036
def7fbd6
AS
210372011-05-20 Andreas Schwab <schwab@redhat.com>
21038
21039 * stdlib/longlong.h: Update from GCC.
21040
f50ef8f1
AS
210412011-05-23 Andreas Schwab <schwab@redhat.com>
21042
21043 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21044 parameter name.
21045 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21046 Add parameter name.
21047 (__sysconf): Pass it down.
21048
de7ce8f1
UD
210492011-05-22 Ulrich Drepper <drepper@gmail.com>
21050
f2962a71
UD
21051 [BZ #12671]
21052 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21053 some situations.
21054 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21055 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21056 add in in __libc_use_alloca calls. Adjust callers.
21057 (glob): Use malloc in some situations.
21058
de7ce8f1
UD
21059 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21060 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21061 pltexit.
21062
aec84f53
UD
210632011-05-21 Ulrich Drepper <drepper@gmail.com>
21064
05bb4a68
UD
21065 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21066 and CLOCK_BOOTTIME_ALARM.
21067
7ea72f99
UD
21068 [BZ #12782]
21069 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21070 is returned.
21071
7e4afad5
UD
21072 * string/_strerror.c (__strerror_r): Print negative errors as signed
21073 numbers.
21074
8e211fec
UD
21075 [BZ #12777]
21076 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21077 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21078 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21079
f7d82dc9
UD
21080 * configure.in: Fix typo in redirection and correct removal of test
21081 files in two cases.
21082
cc9e536d
UD
21083 [BZ #12788]
21084 * locale/setlocale.c (new_composite_name): Fix test to check for
21085 identical name of all categories.
21086
aec84f53
UD
21087 [BZ #12792]
21088 * libio/filedoalloc.c (local_isatty): New function.
21089 (_IO_file_doallocate): Use local_isatty.
21090 * stdio-common/perror.c (perror): In case a new stream is used
21091 forward the stream error.
21092 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21093 error flag.
21094
78e64fdc
RT
210952011-05-20 Ulrich Drepper <drepper@gmail.com>
21096
34a9094f
UD
21097 [BZ #11869]
21098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21099 alloca.
21100 * include/alloca.h (extend_alloca_account): Define.
21101
78e64fdc
RT
21102 [BZ #11857]
21103 * posix/regex.h: Fix comments with documentation of user-accessible
21104 fields after compilation and describe correct free'ing of pattern
21105 after re_compile_pattern.
21106 Patch by Reuben Thomas <rrt@sc3d.org>.
21107
457bddfc
RA
211082011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21109
21110 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21111 and -mno-altivec to prevent the compiler from using Altivec and/or
21112 VSX instructions when the corresponding registers are not available.
21113
a4527b51
AS
211142011-05-19 Andreas Schwab <schwab@redhat.com>
21115
21116 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21117
ed690b2f
UD
211182011-05-19 Ulrich Drepper <drepper@gmail.com>
21119
21120 * libio/freopen.c (freopen): Use __dup2, not dup2.
21121 * libio/freopen64.c (freopen64): Likewise.
21122
8db73634
L
211232011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21124
21125 [BZ #12775]
21126 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21127 * math/Makefile (tests): Add test-powl.
21128 (CFLAGS-test-powl.c): Define.
21129 * math/test-powl.c: New file.
21130
0a197a9d
L
211312011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21132
21133 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21134
ee30c380
UD
211352011-05-17 Ulrich Drepper <drepper@gmail.com>
21136
21137 [BZ #11837]
21138 * iconvdata/gb18030.c: Update to GB18020-2005.
21139
6ce75379
UD
211402011-05-16 Ulrich Drepper <drepper@gmail.com>
21141
a4b89fd8
AR
21142 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21143 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21144 Patch by Aharon Robbins <arnold@skeeve.com>.
21145
ea389b12
UD
21146 [BZ #11892]
21147 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21148 on the stack.
21149
68a3f91f
UD
21150 [BZ #11895]
21151 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21152 through underflows.
21153
15cc7dd1
UD
21154 [BZ #12766]
21155 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21156 point to strings before performing equality test for error_one_per_line
21157 mode.
21158
f3799213
UD
21159 [BZ #11697]
21160 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21161
d79a9c94
UD
21162 [BZ #11820]
21163 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21164 (struct user_fpregs_struct): Avoid __uint*_t types.
21165
56e5eb46
UD
21166 [BZ #6420]
21167 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21168 symbol info. Use it instead of calling _dl_addr locally.
21169 (lock_and_info): New function.
21170 (tr_freehook): Call lock_and_info and pass symbol info as additional
21171 parameter to tr_where.
21172 (tr_mallochook): Likewise.
21173 (tr_reallochook): Likewise.
21174 (tr_memalignhook): Likewise.
21175
6ce75379
UD
21176 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21177 used and couldn't be at all thread-safe.
21178
f8a3b5bf
UD
211792011-05-15 Ulrich Drepper <drepper@gmail.com>
21180
94b7cc37
UD
21181 * libio/freopen.c (freopen): Don't close old file descriptor
21182 before the new one is opened. Instead dup the new file descriptor
21183 to the old one after the new stream is created.
21184 * libio/freopen64.c (freopen64): Likewise.
21185 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21186 * libio/fileops.c (_IO_new_file_close_it): Handle new
21187 _IO_FLAGS2_NOCLOSE flag.
21188 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21189 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21190 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21191 _IO_FLAGS2_NOCLOSE flag.
21192 * include/unistd.h: Add hidden_proto for dup3.
21193 Define __have_dup3.
21194 * io/dup3.c: Define hidden symbol.
21195 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21196
bd25564e
UD
21197 [BZ #7101]
21198 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21199 when an incomplete long option is used.
21200 * posix/tst-getopt_long1.c: New file.
21201 * posix/Makefile (tests): Add tst-getopt_long1.
21202
c84cfef4
UD
21203 [BZ #10138]
21204 * scripts/config.guess: Update from autoconf-2.68.
21205 * scripts/config.sub: Likewise.
21206
3b85df27
UD
21207 [BZ #10157]
21208 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21209 tests into ...
21210 (has_cpuclock): ...this. New function.
21211 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21212 macro here based on has_cpuclock code.
21213
15a856b1
UD
21214 [BZ #10149]
21215 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21216 First byte (not low byte) is now always NUL.
21217 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21218
05f399e6
UD
21219 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21220 Use non-cancelable interfaces.
21221
10a52685 21222 [BZ #9809]
94ecc67d
UD
21223 * locale/iso-639.def: Add entry for Sorani.
21224
f8a3b5bf
UD
21225 [BZ #11901]
21226 * include/stdlib.h: Move include protection to the right place.
21227 Define abort_msg_s. Declare __abort_msg with it.
21228 * stdlib/abort.c (__abort_msg): Adjust type.
21229 * assert/assert.c (__assert_fail_base): New function. Majority
21230 of code from __assert_fail. Allocate memory for __abort_msg with
21231 mmap.
21232 (__assert_fail): Now call __assert_fail_base.
21233 * assert/assert-perr.c: Remove bulk of implementation. Use
21234 __assert_fail_base.
21235 * include/assert.hL Declare __assert_fail_base.
21236 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21237 mmap.
21238 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21239
1af4e298
UD
212402011-05-14 Ulrich Drepper <drepper@gmail.com>
21241
f8a3b5bf 21242 [BZ #11952]
d26dfc60
MG
21243 [BZ #12453]
21244 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21245 until all modules are registered in the DTV.
21246 * elf/Makefile: Add rules to build and run tst-tls19.
21247 * elf/tst-tls19.c: New file.
21248 * elf/tst-tls19mod1.c: New file.
21249 * elf/tst-tls19mod2.c: New file.
21250 * elf/tst-tls19mod3.c: New file.
21251 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21252
2fc54d6f
UD
21253 [BZ #12083]
21254 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21255 correctly.
21256
98d76b46
UD
21257 [BZ #12601]
21258 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21259 two-byte sequence errors.
21260 * iconvdata/Makefile (tests): Add bug-iconv8.
21261 * iconvdata/bug-iconv8.c: New file.
21262
da3c19ef
UD
21263 [BZ #12626]
21264 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21265 buf2 definition.
21266
ca408c15
UD
21267 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21268
d6f67f7d
UD
21269 [BZ #12432]
21270 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21271 (dummy_getcfa): New function.
21272 (init): Get _Unwind_GetCFA address, use dummy if not found.
21273 (backtrace_helper): In recursion check, also check whether CFA changes.
21274 (__backtrace): Completely initialize arg.
21275
1af4e298 21276 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
21277 storing incomplete byte sequence in state object. Avoid testing for
21278 guaranteed too small input if we know there is enough data available.
1af4e298 21279
da62f81b
AS
212802011-05-11 Andreas Schwab <schwab@redhat.com>
21281
21282 * Makeconfig (+link-pie): Indent.
21283 * Rules (binaries-pie): Define if $(have-fpie) and
21284 $(build-shared).
21285 (binaries-shared): Also filter out $(binaries-pie).
21286 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21287 * nscd/Makefile (others-pie): Add nscd.
21288 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21289 ($(objpfx)nscd): Remove command override.
21290 * login/Makefile (others-pie): Add pt_chown.
21291 ($(objpfx)pt_chown): Remove command override.
21292 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21293 remove command overrides.
21294
fcabc0f8
UD
212952011-05-13 Ulrich Drepper <drepper@gmail.com>
21296
20030ae6
UD
21297 * libio/tst_putwc.c: Fix error messages.
21298
fcabc0f8
UD
21299 [BZ #12724]
21300 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21301 currently writing and seek to current position when not.
21302 * libio/Makefile (tests): Add bug-fclose1.
21303 * libio/bug-fclose1.c: New file.
21304
320a5dc0
PB
213052011-05-12 Ulrich Drepper <drepper@gmail.com>
21306
21307 [BZ #12511]
21308 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21309 don't set DF_1_NODELETE here.
21310 (do_lookup_x): When entering new entry test for copy relocation
21311 and if necessary set DF_1_NODELETE flag.
21312 * elf/tst-unique4.cc: New file.
21313 * elf/tst-unique4.h: New file.
21314 * elf/tst-unique4lib.cc: New file.
21315 * elf/Makefile: Add rules to build and run tst-unique4.
21316 Patch by Piotr Bury <pbury@goahead.com>.
21317
22836f52
UD
213182011-05-11 Ulrich Drepper <drepper@gmail.com>
21319
f574184a
UD
21320 [BZ #12052]
21321 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21322
e1fb097f
UD
21323 [BZ #12625]
21324 * misc/mntent_r.c (addmntent): Flush the stream after the output
21325
22836f52
UD
21326 [BZ #12393]
21327 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21328 (is_trusted_path_normalize): Skip initial colon. Append slash
21329 to empty buffer. Duplicate is_trusted_path code but allow
21330 constructed patch to be prefix.
21331 (is_dst): Allow $ORIGIN followed by /.
21332 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21333 Correct testing of result of is_trusted_path_normalize
21334 (decompose_rpath): Fix warning.
21335
7b3b0b2a
UD
213362011-05-10 Ulrich Drepper <drepper@gmail.com>
21337
21338 [BZ #11257]
21339 * grp/initgroups.c (internal_getgrouplist): When we found the service
21340 list through the initgroups entry in nsswitch.conf do not always
21341 continue on a successful lookup. Don't always use the
eac80ce2 21342 __nss_group_database value if it is set.
7b3b0b2a
UD
21343 * nss/nsswitch.conf (initgroups): Change action for successful db
21344 lookup to continue for compatibility.
21345
2a81eaa5
UD
213462011-05-09 Ulrich Drepper <drepper@gmail.com>
21347
be97a69e
UD
21348 [BZ #11532]
21349 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21350 and CP774 modules.
21351 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21352 and CP774 modules.
21353 * iconvdata/tst-tables.sh: Likewise.
21354 * iconvdata/cp770.c: New file.
21355 * iconvdata/cp771.c: New file.
21356 * iconvdata/cp772.c: New file.
21357 * iconvdata/cp773.c: New file.
21358 * iconvdata/cp774.c: New file.
21359 * iconvdata/testdata/CP770: New file.
21360 * iconvdata/testdata/CP770..UTF8: New file.
21361 * iconvdata/testdata/CP771: New file.
21362 * iconvdata/testdata/CP771..UTF8: New file.
21363 * iconvdata/testdata/CP772: New file.
21364 * iconvdata/testdata/CP772..UTF8: New file.
21365 * iconvdata/testdata/CP773: New file.
21366 * iconvdata/testdata/CP773..UTF8: New file.
21367 * iconvdata/testdata/CP774: New file.
21368 * iconvdata/testdata/CP774..UTF8: New file.
21369
21370 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21371 END CHARMAP line.
21372 * iconvdata/gen-8bit-gap.sh: Likewise.
21373 * iconvdata/gen-8bit.sh: Likewise.
21374
c1e9e399
UD
21375 * locale/iso-639.def: Add ary entry.
21376
24c55fb3 21377 [BZ #11258]
96b4b1b0
UD
21378 * locale/C-translit.h.in: Add U20A1 transliteration.
21379
bdc2f971
KB
21380 [BZ #12178]
21381 * locale/iso-639.def: Add wae entry.
21382 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21383
2952b117
UD
21384 [BZ #12545]
21385 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21386 for n.
21387
2a81eaa5
UD
21388 [BZ #12711]
21389 * locale/C-translit.h.in: Add entry for U20B9.
21390 Patch by pravin.d.s@gmail.com.
21391
28377d1b
UD
213922011-05-08 Ulrich Drepper <drepper@gmail.com>
21393
7fb90fb8
UD
21394 [BZ #12713]
21395 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21396 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
21397 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21398 in rtld. Use *stat64.
7fb90fb8 21399 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 21400 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 21401 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
21402 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21403 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21404 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21405 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21406 __fstatat64 macros.
7fb90fb8
UD
21407 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21408 * dirent/rewinddir.c: Add libc_hidden_def.
21409 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 21410 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 21411
28377d1b
UD
21412 * include/dirent.h (__alloc_dir): Add flags parameter.
21413 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21414 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21415 __alloc_dir.
21416 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21417 from fdopendir if O_CLOEXEC is already set.
21418
66bdbaa4
AM
214192011-03-15 Alan Modra <amodra@gmail.com>
21420
21421 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21422 l_tls_firstbyte_offset non-zero. Save padding offset in
21423 l_tls_firstbyte_offset for later use.
21424 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21425 freeing static tls block.
21426
95721191
JN
214272011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21428
21429 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21430 where #ifdef was intended. The intent is to prevent ARG_MAX from
21431 being defined by the kernel headers.
21432
f87dfb1f
UD
214332011-05-07 Ulrich Drepper <drepper@gmail.com>
21434
21435 [BZ #12734]
21436 * resolv/resolv.h: Define RES_NOTLDQUERY.
21437 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21438 no-tld-query and set RES_NOTLDQUERY.
21439 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21440 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21441 modern BIND to search name as TLD unless forbidden.
21442
47c3cd7a
UD
214432011-05-07 Petr Baudis <pasky@suse.cz>
21444 Ulrich Drepper <drepper@gmail.com>
21445
21446 [BZ #12393]
21447 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21448 (is_trusted_path): ...to here.
c1e9ea35 21449 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 21450 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 21451 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 21452
8a35c912
PP
214532011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21454
21455 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21456 __BEGIN/__END_DECLS.
21457
acd41f47
UD
214582011-05-06 Ulrich Drepper <drepper@gmail.com>
21459
21460 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21461 NSS_STATUS_NOTFOUND if no record was found.
21462
597df647
AS
214632011-05-05 Andreas Schwab <schwab@redhat.com>
21464
21465 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21466 (headers-not-in-tirpc): Remove rpc/netdb.h
21467 * resolv/netdb.h: Revert last change.
21468
b9af1301
PP
214692011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21470
21471 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21472 circular dependency between libgcc.a and libc.a.
21473
4e34d5f5
AS
214742011-05-05 Andreas Schwab <schwab@redhat.com>
21475
21476 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21477 * nis/Makefile: Don't install rpcsvc/*.
21478 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21479 instead of <rpc/types.h>.
21480 (MAXHOSTNAMELEN): Define.
21481
00ee369c
AS
214822011-05-03 Andreas Schwab <schwab@redhat.com>
21483
21484 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21485
0b592a30
MB
214862011-04-28 Maciej Babinski <mbabinski@google.com>
21487
21488 [BZ #12714]
21489 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21490 gethostbyname4_r when IPv6 results are possible.
21491
6e04cbbe
UD
214922011-05-02 Ulrich Drepper <drepper@gmail.com>
21493
21494 [BZ #12723]
21495 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21496 _PC_PIPE_BUF handling.
21497
e4ecafe0
BH
214982011-04-30 Bruno Haible <bruno@clisp.org>
21499
21500 [BZ #12717]
21501 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21502 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21503 to 'int'.
21504 * inet/getnameinfo.c (getnameinfo): Likewise.
21505
125ee683
UD
215062011-04-29 Ulrich Drepper <drepper@gmail.com>
21507
21508 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21509 to groups setting in database lookup.
21510 * nss/nsswitch.conf: Add initgroups entry.
21511
b722481a
EB
215122011-04-22 Ulrich Drepper <drepper@gmail.com>
21513
21514 [BZ #12685]
21515 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21516 mode string.
21517 Patch by Eric Blake <eblake@redhat.com>.
21518
4df46dbd
L
215192011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21520
21521 * sunrpc/Makefile (need-export-routines): Add svc_run.
21522 (routines): Remove svc_run.
21523 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21524 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21525 * sunrpc/svc_run.c (svc_run): Likewise.
21526 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21527
e84142d2
UD
215282011-04-21 Ulrich Drepper <drepper@gmail.com>
21529
21530 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21531 problem in reallocation in last patch.
21532
877175d8
UD
215332011-04-20 Ulrich Drepper <drepper@gmail.com>
21534
21535 * sunrpc/Makefile: Move inclusion of Rules.
21536
ab8eed78
UD
215372011-04-19 Ulrich Drepper <drepper@gmail.com>
21538
21539 * nss/nss_files/files-initgroups.c: New file.
21540 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21541 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21542 _nss_files_initgroups_dyn.
21543
e3d8f584
RS
215442011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21545
21546 * elf/elf.h (R_ARM_IRELATIVE): Define.
21547
af190f45
UD
215482011-04-19 Ulrich Drepper <drepper@gmail.com>
21549
21550 * po/ru.po: Update from translation team.
21551
53cf59ef
UD
215522011-04-17 Ulrich Drepper <drepper@gmail.com>
21553
21554 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21555 dependencies.
21556
4c559bcd
MF
215572011-02-06 Mike Frysinger <vapier@gentoo.org>
21558
21559 [BZ #12653]
21560 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21561 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21562 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21563 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21564 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21565
4420675c
AS
215662011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21567
21568 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21569 differing bytes.
21570 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21571 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21572 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21573
75ea32ab
UD
215742011-04-17 Ulrich Drepper <drepper@gmail.com>
21575
21576 [BZ #12420]
21577 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21578 storing it.
21579 * stdlib/bug-getcontext.c: New file.
21580 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21581
27390476
AK
215822011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21583
21584 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21585 instructions into .machine "z9-109".
21586 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21587 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21588
10442705
AK
215892011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21590
21591 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21592 between environment variables and auxiliary vector.
21593
7b57bfe5
UD
215942011-04-16 Ulrich Drepper <drepper@gmail.com>
21595
21596 * Makefile: Add rules to build linkobj/libc.so.
21597 * include/libc-symbols.h: Define libc_hidden_nolink.
21598 * include/rpc/auth.h: Mark functions which are to be hidden.
21599 * include/rpc/auth_des.h: Likewise.
21600 * include/rpc/auth_unix.h: Likewise.
21601 * include/rpc/clnt.h: Likewise.
21602 * include/rpc/des_crypt.h: Likewise.
21603 * include/rpc/key_prot.h: Likewise.
21604 * include/rpc/pmap_clnt.h: Likewise.
21605 * include/rpc/pmap_prot.h: Likewise.
21606 * include/rpc/pmap_rmt.h: Likewise.
21607 * include/rpc/rpc_msg.h: Likewise.
21608 * include/rpc/svc.h: Likewise.
21609 * include/rpc/svc_auth.h: Likewise.
21610 * include/rpc/xdr.h: Likewise.
21611 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21612 * nss/Makefile: Likewise.
21613 * sunrpc/Makefile: Don't install headers. Build library with normal
21614 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21615 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21616 for the compat linking library. Remove use of INTDEF/INTUSE.
21617 * sunrpc/auth_none.c: Likewise.
21618 * sunrpc/auth_unix.c: Likewise.
21619 * sunrpc/authdes_prot.c: Likewise.
21620 * sunrpc/authuxprot.c: Likewise.
21621 * sunrpc/clnt_gen.c: Likewise.
21622 * sunrpc/clnt_perr.c: Likewise.
21623 * sunrpc/clnt_raw.c: Likewise.
21624 * sunrpc/clnt_simp.c: Likewise.
21625 * sunrpc/clnt_tcp.c: Likewise.
21626 * sunrpc/clnt_udp.c: Likewise.
21627 * sunrpc/clnt_unix.c: Likewise.
21628 * sunrpc/des_crypt.c: Likewise.
21629 * sunrpc/des_soft.c: Likewise.
21630 * sunrpc/get_myaddr.c: Likewise.
21631 * sunrpc/key_call.c: Likewise.
21632 * sunrpc/key_prot.c: Likewise.
21633 * sunrpc/netname.c: Likewise.
21634 * sunrpc/pm_getmaps.c: Likewise.
21635 * sunrpc/pm_getport.c: Likewise.
21636 * sunrpc/pmap_clnt.c: Likewise.
21637 * sunrpc/pmap_prot.c: Likewise.
21638 * sunrpc/pmap_prot2.c: Likewise.
21639 * sunrpc/pmap_rmt.c: Likewise.
21640 * sunrpc/publickey.c: Likewise.
21641 * sunrpc/rpc_cmsg.c: Likewise.
21642 * sunrpc/rpc_common.c: Likewise.
21643 * sunrpc/rpc_dtable.c: Likewise.
21644 * sunrpc/rpc_prot.c: Likewise.
21645 * sunrpc/rpc_thread.c: Likewise.
21646 * sunrpc/rtime.c: Likewise.
21647 * sunrpc/svc.c: Likewise.
21648 * sunrpc/svc_auth.c: Likewise.
21649 * sunrpc/svc_authux.c: Likewise.
21650 * sunrpc/svc_raw.c: Likewise.
21651 * sunrpc/svc_run.c: Likewise.
21652 * sunrpc/svc_simple.c: Likewise.
21653 * sunrpc/svc_tcp.c: Likewise.
21654 * sunrpc/svc_udp.c: Likewise.
21655 * sunrpc/svc_unix.c: Likewise.
21656 * sunrpc/svcauth_des.c: Likewise.
21657 * sunrpc/xcrypt.c: Likewise.
21658 * sunrpc/xdr.c: Likewise.
21659 * sunrpc/xdr_array.c: Likewise.
21660 * sunrpc/xdr_float.c: Likewise.
21661 * sunrpc/xdr_intXX_t.c: Likewise.
21662 * sunrpc/xdr_mem.c: Likewise.
21663 * sunrpc/xdr_rec.c: Likewise.
21664 * sunrpc/xdr_ref.c: Likewise.
21665 * sunrpc/xdr_sizeof.c: Likewise.
21666 * sunrpc/xdr_stdio.c: Likewise.
21667
e6c61494
UD
216682011-04-10 Ulrich Drepper <drepper@gmail.com>
21669
21670 [BZ #12650]
21671 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21672 * sysdeps/ia64/dl-tls.h: Likewise.
21673 * sysdeps/powerpc/dl-tls.h: Likewise.
21674 * sysdeps/s390/dl-tls.h: Likewise.
21675 * sysdeps/sh/dl-tls.h: Likewise.
21676 * sysdeps/sparc/dl-tls.h: Likewise.
21677 * sysdeps/x86_64/dl-tls.h: Likewise.
21678 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21679
34fe483e
AS
216802011-03-14 Andreas Schwab <schwab@redhat.com>
21681
21682 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21683 rpath element also skip the following colon.
21684 (expand_dynamic_string_token): Add is_path parameter and pass
21685 down to DL_DST_REQUIRED and _dl_dst_substitute.
21686 (decompose_rpath): Call expand_dynamic_string_token with
21687 non-zero is_path. Ignore empty rpaths.
21688 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21689 with zero is_path.
21690
f12a32e6
AS
216912011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21692
21693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21694 Make cancelable.
21695
38a7d692
UD
216962011-04-09 Ulrich Drepper <drepper@gmail.com>
21697
21698 [BZ #12655]
21699 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21700 Patch by Filipe David Manana <fdmanana@apache.org>.
21701
e451d22b
AS
217022011-04-07 Andreas Schwab <schwab@redhat.com>
21703
21704 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21705 Maintain aligned stack.
21706 (CHECK_RSP): Remove unused macro.
21707
dedc7c7b
UD
217082011-04-03 Ulrich Drepper <drepper@gmail.com>
21709
21710 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21711 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21712
94521213
UD
217132011-04-02 Ulrich Drepper <drepper@gmail.com>
21714
21715 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21716
8cb700c0 21717 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21718
0354e355
L
217192011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21720
21721 [BZ #12518]
21722 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21723 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21724 * sysdeps/x86_64/memmove.c: New file.
21725 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21726 (memcpy): Renamed to ...
21727 (__new_memcpy): This.
21728 (memcpy): Provide GLIBC_2_14 memcpy.
21729 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21730 (memcpy): Provide GLIBC_2_2_5 memcpy.
21731
8593482f
UD
217322011-04-01 Ulrich Drepper <drepper@gmail.com>
21733
21734 [BZ #12631]
21735 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21736
81a5726b
AS
217372011-03-30 Andreas Schwab <schwab@redhat.com>
21738
21739 * misc/syncfs.c: New file.
21740 * misc/Makefile (routines): Add syncfs.
21741 * posix/unistd.h: Declare syncfs.
21742 * sysdeps/unix/syscalls.list: Add syncfs.
21743
00e5419f
AS
217442011-04-01 Andreas Schwab <schwab@redhat.com>
21745
21746 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21747 open_by_handle_at.
21748 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21749 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21750 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21751 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21752 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21753 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21754 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21755
748876bf
UD
217562011-04-01 Ulrich Drepper <drepper@gmail.com>
21757
658e451d
UD
21758 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21759 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21760 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21761 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21762 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21763 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21764 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21765
748876bf
UD
21766 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21767 sync_file_range.c with -fexceptions.
21768 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21769 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21770 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21771 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21772 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21773 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21774 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21775 sync_file_range as cancellation point
21776 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21777 now a wrapper around __call_sync_file_range with cancellation handling.
21778 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21779 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21780 function name to __call_sync_file_range.
21781 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21782 Add call_sync_file_range.
748876bf 21783
6e63d5e1
AS
217842011-04-01 Andreas Schwab <schwab@redhat.com>
21785
21786 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21787 bits/timex.h.
6e63d5e1 21788
46998f74
UD
217892011-04-01 Ulrich Drepper <drepper@gmail.com>
21790
4c1423ed
UD
21791 * iconv/iconv.h: Fix typo in comment.
21792 * io/fcntl.h: Likewise.
21793 * libio/stdio.h: Likewise.
21794 * posix/spawn.h: Likewise.
21795 * posix/unistd.h: Likewise.
21796 * stdlib/stdlib.h: Likewise.
21797 * time/time.h: Likewise.
21798 * wcsmbs/wchar.h: Likewise.
21799
158648c0
UD
21800 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21801 open_by_handle): Add.
21802 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21803 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21804 Augment a few comments.
21805 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21806 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21807 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21808 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21809 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21810 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21811 open_by_handle.
21812
46998f74
UD
21813 * io/fcntl.h (AT_EMPTY_PATH): Define.
21814
83fe108b
UD
218152011-03-30 Ulrich Drepper <drepper@gmail.com>
21816
21817 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21818 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21819 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21820 to...
21821 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21822 * Versions.def: Add GLIBC_2.14.
21823 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21824 Export.
83fe108b 21825
bb242059
UD
218262011-03-22 Ulrich Drepper <drepper@gmail.com>
21827
21828 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21829 round counter.
21830 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21831
c97a1282
L
218322011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21833
21834 [BZ #12597]
21835 * string/test-strncmp.c (do_page_test): New function.
21836 (check2): Likewise.
21837 (test_main): Call check2.
21838 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21839
2a115601
UD
218402011-03-20 Ulrich Drepper <drepper@gmail.com>
21841
21842 [BZ #12587]
21843 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21844 Handle cache information in CPU leaf 4.
21845 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21846
8126d904
UD
218472011-03-18 Ulrich Drepper <drepper@gmail.com>
21848
042c49c6 21849 [BZ #12583]
8126d904
UD
21850 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21851 character representation.
21852 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21853
ccfe366e
RA
218542011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21855
21856 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21857 END(__isnan) to END(__isnanf) to match function entry point/label
21858 EALIGN(__isnanf,...).
21859
c6e13027
JJ
218602011-03-10 Jakub Jelinek <jakub@redhat.com>
21861
21862 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21863
33f85a3f
UD
218642011-03-10 Ulrich Drepper <drepper@gmail.com>
21865
028478fa
UD
21866 [BZ #12510]
21867 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21868 copy from the symbol referenced in the relocation to initialize the
21869 used variable.
21870 Patch by Piotr Bury <pbury@goahead.com>.
21871 * elf/Makefile: Add rules to build and tst-unique3.
21872 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21873 * elf/tst-unique3.cc: New file.
21874 * elf/tst-unique3.h: New file.
21875 * elf/tst-unique3lib.cc: New file.
21876 * elf/tst-unique3lib2.cc: New file.
21877
33f85a3f
UD
21878 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21879
03592fc7
MF
218802011-03-10 Mike Frysinger <vapier@gentoo.org>
21881
21882 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21883 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21884 to _start.
03592fc7 21885
6a5ee102
UD
218862011-03-06 Ulrich Drepper <drepper@gmail.com>
21887
21888 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21889 to-be-loaded object along a path to loader is ld.so.
21890
7e4ba49c
HJ
218912011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21892 Ulrich Drepper <drepper@gmail.com>
21893
21894 * sysdeps/x86_64/memset.S: After aligning destination, code
21895 branches to different locations depending on the value of
21896 misalignment, when multiarch is enabled. Fix this.
21897
218982011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21899
21900 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21901 Set _x86_64_preferred_memory_instruction for AMD processsors.
21902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21903 Set bit_Prefer_SSE_for_memop for AMD processors.
21904
13a804de
UD
219052011-03-04 Ulrich Drepper <drepper@gmail.com>
21906
21907 * libio/fmemopen.c (fmemopen): Optimize a bit.
21908
9d25c392
AS
219092011-03-03 Andreas Schwab <schwab@redhat.com>
21910
21911 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21912
a5543c6a
RM
219132011-03-03 Roland McGrath <roland@redhat.com>
21914
21915 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21916
012d35f7
DM
219172011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21918
7e4ba49c 21919 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21920 __bzero_ultra1 instead of __memset_ultra1.
21921
4bff6e01
AS
219222011-02-23 Andreas Schwab <schwab@redhat.com>
21923 Ulrich Drepper <drepper@gmail.com>
21924
21925 [BZ #12509]
21926 * include/link.h (struct link_map): Add l_orig_initfini.
21927 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21928 returning unsuccessfully.
21929 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21930 close of a file loaded at startup, restore the original l_initfini
21931 list.
21932 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21933 list, store the pointer.
21934 * elf/Makefile ($(objpfx)noload-mem): New rule.
21935 (noload-ENV): Define.
21936 (tests): Add $(objpfx)noload-mem.
21937 * elf/noload.c: Include <memcheck.h>.
21938 (main): Call mtrace. Close all opened handles.
21939
f2092faf
AS
219402011-02-17 Andreas Schwab <schwab@redhat.com>
21941
21942 [BZ #12454]
21943 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21944 dependencies are missing.
21945
6c8a2e88
ST
219462011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21947
f2092faf 21948 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21949 Hurd needs munmap.
21950 * sysdeps/mach/hurd/ifreq.h: New file.
21951
84a42118
PB
219522011-01-27 Petr Baudis <pasky@suse.cz>
21953 Ulrich Drepper <drepper@gmail.com>
21954
071f805e 21955 [BZ 12445]#
84a42118
PB
21956 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21957 to extend_alloca().
21958 * stdio-common/bug23.c: New file.
21959 * stdio-common/Makefile (tests): Add bug23.
21960
e23fe25b
AS
219612010-09-28 Andreas Schwab <schwab@redhat.com>
21962 Ulrich Drepper <drepper@gmail.com>
21963
21964 [BZ #12489]
21965 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21966 before performing relro protection. At old place add assertion
21967 to make sure nothing changed.
21968
d3f02e10
NS
219692011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21970 Glauber de Oliveira Costa <glommer@gmail.com>
21971
21972 * elf/elf.h: Add new ARM TLS relocs.
21973
d55fd7a5
RA
219742011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21975
21976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21977 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21978 cast from r3.
21979 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21980 'tests' variable.
21981 * sysdeps/wordsize-64/tst-writev.c: New file.
21982
2206397e
RA
219832011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21984
21985 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21986 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21987 insns in _dl_start to prevent a TOC reference before relocs are
21988 resolved.
21989
e9433893
UD
219902011-02-15 Ulrich Drepper <drepper@gmail.com>
21991
21992 [BZ #12469]
21993 * Makeconfig: Remove RANLIB definition.
21994 * Makerules: Don't use RANLIB.
21995 * aclocal.m4: Remove ranlib test.
21996 * configure.in: No need to check for ranlib.
21997 * elf/rtld-Rules: Don't use RANLIB.
21998
f75286c6
ST
219992011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22000
8e31c82d
ST
22001 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22002 protection macro.
22003 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22004 inclusion protection macro.
22005
f75286c6
ST
22006 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22007 SIGRTMIN and SIGRTMAX and print information in that case only when
22008 SIGRTMIN is defined.
22009
c1d0e639
JJ
220102011-02-11 Jakub Jelinek <jakub@redhat.com>
22011
22012 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22013 arginfo fn returning -1.
22014
22015 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22016 and thousands string is zero terminated.
22017
edf9294e
AS
220182011-02-03 Andreas Schwab <schwab@redhat.com>
22019
22020 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22021 sysdeps/unix/sysv/linux/bits/socket.h.
22022
2b7e92df
ST
220232011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22024
edf9294e
AS
22025 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22026 (__CPU_COUNT): Remove old macros.
22027 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22028 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22029 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
22030 (__sched_cpualloc, __sched_cpufree): Add declarations.
22031
a4c7ea7b
UD
220322011-02-05 Ulrich Drepper <drepper@gmail.com>
22033
22034 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22035 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22036 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22037 (readdhstai): Return value of addhstaiX call.
22038 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22039 (addgrbyX): Return value returned by cache_addgr.
22040 (readdgrbyname): Return value returned by addgrbyX.
22041 (readdgrbygid): Likewise.
22042 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22043 (addpwbyX): Return value returned by cache_addpw.
22044 (readdpwbyname): Return value returned by addhstbyX.
22045 (readdpwbyuid): Likewise.
22046 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22047 (addservbyX): Return value returned by cache_addserv.
22048 (readdservbyname): Return value returned by addservbyX:
22049 (readdservbyport): Likewise.
22050 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22051 (addhstbyX): Return value returned by cache_addhst.
22052 (readdhstbyname): Return value returned by addhstbyX.
22053 (readdhstbyaddr): Likewise.
22054 (readdhstbynamev6): Likewise.
22055 (readdhstbyaddrv6): Likewise.
22056 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22057 (readdinitgroups): Return value returned by addinitgroupsX.
22058 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22059 (prune_cache): Keep track of timeout value of re-added entries.
22060 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22061 * nscd/nscd.h: Adjust prototypes of readd* functions.
22062
a0bf67cc
RM
220632011-02-04 Roland McGrath <roland@redhat.com>
22064
22065 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22066 (nis_stats): Likewise.
22067 * nis/nis_modify.c (nis_modify): Likewise.
22068 * nis/nis_remove.c (nis_remove): Likewise.
22069 * nis/nis_add.c (nis_add): Likewise.
22070
22071 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22072
22073 * posix/fnmatch_loop.c: Add some consts.
22074
22075 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22076
435b95eb
L
220772011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22078
22079 [BZ #12460]
22080 * config.make.in (config-cflags-novzeroupper): Define.
22081 * configure.in: Substitute libc_cv_cc_novzeroupper.
22082 * elf/Makefile (AVX-CFLAGS): Define.
22083 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22084 (CFLAGS-tst-auditmod4a.c): Likewise.
22085 (CFLAGS-tst-auditmod4b.c): Likewise.
22086 (CFLAGS-tst-auditmod6b.c): Likewise.
22087 (CFLAGS-tst-auditmod6c.c): Likewise.
22088 (CFLAGS-tst-auditmod7b.c): Likewise.
22089 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22090
8517b15e
UD
220912011-02-02 Ulrich Drepper <drepper@gmail.com>
22092
22093 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22094 function to the callback.
22095 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22096
10a656fe
AS
220972011-02-02 Andreas Schwab <schwab@redhat.com>
22098
22099 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22100 of errno.
22101
968dad0a
UD
221022011-01-19 Ulrich Drepper <drepper@gmail.com>
22103
9f94d2ea 22104 [BZ #11724]
968dad0a
UD
22105 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22106 of constructors.
22107 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22108 of destructors.
22109 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22110
22111 [BZ #11724]
22112 * elf/Makefile: Add rules to build and run new test.
22113 * elf/tst-initorder.c: New file.
22114 * elf/tst-initorder.exp: New file.
22115 * elf/tst-initordera1.c: New file.
22116 * elf/tst-initordera2.c: New file.
22117 * elf/tst-initordera3.c: New file.
22118 * elf/tst-initordera4.c: New file.
22119 * elf/tst-initorderb1.c: New file.
22120 * elf/tst-initorderb2.c: New file.
22121 * elf/tst-order-a1.c: New file.
22122 * elf/tst-order-a2.c: New file.
22123 * elf/tst-order-a3.c: New file.
22124 * elf/tst-order-a4.c: New file.
22125 * elf/tst-order-b1.c: New file.
22126 * elf/tst-order-b2.c: New file.
22127 * elf/tst-order-main.c: New file.
22128 New test case by George Gensure <werkt0@gmail.com>.
22129
86e92359
UD
221302010-10-01 Andreas Schwab <schwab@redhat.com>
22131
22132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22133 decoding ACE if AI_CANONIDN.
22134
5d5732b0
UD
221352011-01-18 Ulrich Drepper <drepper@gmail.com>
22136
22137 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22138
a77e8cbc
UD
221392011-01-17 Ulrich Drepper <drepper@gmail.com>
22140
6392473f
UD
22141 * version.h (RELEASE): Bump for 2.13 release.
22142 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22143
620a0529
UD
22144 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22145
18ba70a5
UD
22146 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22147 MADV_NOHUGEPAGE.
32465c3e
UD
22148 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22149 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22150 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22151 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22152 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22153 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22154
c0dafcf1
UD
22155 * posix/getconf.c: Update copyright year.
22156 * catgets/gencat.c: Likewise.
22157 * csu/version.c: Likewise.
22158 * debug/catchsegv.sh: Likewise.
22159 * debug/xtrace.sh: Likewise.
22160 * elf/ldconfig.c: Likewise.
22161 * elf/ldd.bash.in: Likewise.
22162 * elf/sprof.c (print_version): Likewise.
22163 * iconv/iconv_prog.c: Likewise.
22164 * iconv/iconvconfig.c: Likewise.
22165 * locale/programs/locale.c: Likewise.
22166 * locale/programs/localedef.c: Likewise.
22167 * malloc/memusage.sh: Likewise.
22168 * malloc/mtrace.pl: Likewise.
22169 * nscd/nscd.c (print_version): Likewise.
22170 * nss/getent.c: Likewise.
22171
a77e8cbc
UD
22172 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22173 PF_CAIF, and PF_ALG.
22174 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22175
77e8bddf
AS
221762011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22177
1f20b93a
AS
22178 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22179 (modules-names): Use them.
22180 (ifunc-test-modules, ifunc-pie-tests): Define.
22181 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22182 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22183 (test-extras): Likewise.
22184 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22185 $(compile-command.c).
22186 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22187 (all-built-dso): Define.
22188 (check-textrel.out, check-execstack.out): Depend on it.
22189
77e8bddf
AS
22190 * configure.in: Don't override --enable-multi-arch.
22191
bc425b33
UD
221922011-01-15 Ulrich Drepper <drepper@gmail.com>
22193
22194 [BZ #6812]
22195 * nscd/hstcache.c (tryagain): Define.
22196 (cache_addhst): Return tryagain not notfound for temporary errors.
22197 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22198 failed.
22199
794c3ad3
UD
222002011-01-14 Ulrich Drepper <drepper@gmail.com>
22201
70181fdd
UD
22202 [BZ #10563]
22203 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22204 to make the syscall.
22205 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22206
794c3ad3
UD
22207 [BZ #12378]
22208 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22209 and fall back to matching as normal character if the string ends before
22210 the matching ']' is found. This is what POSIX requires.
22211 * posix/testfnm.c: Adjust test result.
22212 * posix/globtest.sh: Adjust test result. Add new test.
22213 * posix/tst-fnmatch.input: Likewise.
22214 * posix/tst-fnmatch2.c: Add new test.
22215
68dc9497
AS
222162010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22217
22218 * elf/Makefile (check-execstack): Revert last change. Depend on
22219 check-execstack.h.
22220 (check-execstack.h): New target.
22221 (generated): Add check-execstack.h.
22222 * elf/check-execstack.c: Include "check-execstack.h".
22223 (main): Revert last change.
22224 (handle_file): Return zero if GNU_STACK is absent and
22225 DEFAULT_STACK_PERMS doesn't include PF_X.
22226
451f001b
UD
222272011-01-13 Ulrich Drepper <drepper@gmail.com>
22228
cfa28e56
UD
22229 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22230 in child fails because the descriptor is already closed.
8cf8ce17
UD
22231 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22232 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22233 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 22234
1086d70d
UD
22235 [BZ #12397]
22236 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22237 syscall.
22238
451f001b
UD
22239 [BZ #10484]
22240 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22241 temporary buffer used to handle multi lookups locally.
a85b5cb4 22242 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 22243
08769175
UD
222442011-01-12 Ulrich Drepper <drepper@gmail.com>
22245
22246 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22247 loader is ld.so.
22248
5e49c52e
UD
222492011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22250
22251 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22252 alignment for SSE2.
22253
60522a5f
UD
222542011-01-12 Ulrich Drepper <drepper@gmail.com>
22255
22256 [BZ #12394]
22257 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22258 characters. When rounding increased number of integer digits recompute
22259 number of groups.
22260 * stdio-common/tst-grouping.c: New file.
22261 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22262
f257bbd7
UD
222632011-01-09 Ulrich Drepper <drepper@gmail.com>
22264
22265 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22266 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22267
22268 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22269 void.
22270 * bits/select.h: Likewise.
22271
fa9c15cb
UD
222722011-01-08 Ulrich Drepper <drepper@gmail.com>
22273
22274 * po/ja.po: Update from translation team.
22275
16c2895f
DM
222762011-01-04 David S. Miller <davem@sunset.davemloft.net>
22277
22278 [BZ #11155]
22279 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22280 implementation just like for lxstat, fxstatat, et al.
22281
2543fef2
JM
222822010-12-27 Jim Meyering <meyering@redhat.com>
22283
22284 [BZ #12348]
22285 * posix/regexec.c (build_trtable): Return failure indication upon
22286 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22287
98727dbe
UD
222882010-12-25 Ulrich Drepper <drepper@gmail.com>
22289
5bd6dc5c
UD
22290 [BZ #12201]
22291 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22292 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22293 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22294 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22295
97983464
UD
22296 [BZ #12207]
22297 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22298
98727dbe
UD
22299 [BZ #12204]
22300 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22301 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22302
4a531bb0
L
223032010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22304
22305 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22306 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22307 script has SORT_BY_INIT_PRIORITY.
22308 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22309 NO_CTORS_DTORS_SECTIONS is defined.
22310 * elf/soinit.c: Likewise.
22311 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22312 NO_CTORS_DTORS_SECTIONS is defined.
22313 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22314 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22315 * sysdeps/sh/init-first.c: Likewise.
22316 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22317
07eb4b71
UD
223182010-12-24 Ulrich Drepper <drepper@gmail.com>
22319
22320 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22321 always use the slow path.
22322
30950a5f
RA
223232010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22324
22325 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22326 similar rule which adds the sysdep directories to the header search in
22327 order to pick up the correct platform stackinfo.h.
22328 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22329 perform test if it is, otherwise return successfully without testing.
22330 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22331 DEFAULT_STACK_PERMS define in stackinfo.h.
22332 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22333 defined in stackinfo.h.
22334 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22335 DEFAULT_STACK_PERMS defined in stackinfo.h.
22336 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22337 * sysdeps/ia64/stackinfo.h: Likewise.
22338 * sysdeps/s390/stackinfo.h: Likewise.
22339 * sysdeps/sh/stackinfo.h: Likewise.
22340 * sysdeps/sparc/stackinfo.h: Likewise.
22341 * sysdeps/x86_64/stackinfo.h: Likewise.
22342 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22343 PF_X for powerpc64. Retain PF_X for powerpc32.
22344
db753e2c
UD
223452010-12-19 Ulrich Drepper <drepper@gmail.com>
22346
14b697f7
UD
22347 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22348 accurately.
db753e2c
UD
22349 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22350 GETDENTS_64BIT_ALIGNED.
22351
28300719
UD
223522010-12-14 Ulrich Drepper <dreper@gmail.com>
22353
14b697f7 22354 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 22355
4f197237
AS
223562010-12-10 Andreas Schwab <schwab@redhat.com>
22357
dbb0472f
AS
22358 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22359 _GNU_SOURCE.
22360
4f197237
AS
22361 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22362 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22363 Remove __restrict.
22364 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22365 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22366
fb88ac72
UD
223672010-12-09 Ulrich Drepper <drepper@gmail.com>
22368
22369 [BZ #11655]
22370 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22371 are initialized.
22372
42acbb92
JJ
223732010-12-09 Jakub Jelinek <jakub@redhat.com>
22374
22375 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22376
c038d98d
UD
223772010-12-03 Ulrich Drepper <drepper@gmail.com>
22378
22379 * po/it.po: Update from translation team.
22380
3a4a2499
L
223812010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22382
22383 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22384 unused codes.
22385
1e24cf6e
UD
223862010-11-30 Ulrich Drepper <drepper@gmail.com>
22387
22388 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22389
a7690819
AS
223902010-11-24 Andreas Schwab <schwab@redhat.com>
22391
22392 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22393 specially.
22394 (gaih_getanswer_slice): Likewise.
22395
3bf8d1b1
JJ
223962010-10-20 Jakub Jelinek <jakub@redhat.com>
22397
22398 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22399
6db52fbb
PB
224002010-05-31 Petr Baudis <pasky@suse.cz>
22401
22402 [BZ #11149]
22403 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22404 silently even in the chroot mode.
22405
eaca7569
UD
224062010-11-22 Ulrich Drepper <drepper@gmail.com>
22407
22408 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22409 last patch a bit. Pretty printing
22410
3056dcdb
UD
224112010-05-31 Petr Baudis <pasky@suse.cz>
22412
22413 [BZ #10085]
22414 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22415 initialization of skip_initgroups_dyn.
22416
cf7c9078
UD
224172010-11-19 Ulrich Drepper <drepper@gmail.com>
22418
22419 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22420 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22421
a1fb5e3e
UD
224222010-11-16 Ulrich Drepper <drepper@gmail.com>
22423
22424 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22425
3540d66b
AS
224262010-11-11 Andreas Schwab <schwab@redhat.com>
22427
22428 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22429 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22430 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22431 ($(objpfx)tst-fnmatch-mem): New rule.
22432 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22433 * posix/tst-fnmatch.c (main): Call mtrace.
22434
13b69574
L
224352010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22436
22437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22438 Support Intel processor model 6 and model 0x2c.
22439
da93d214
LM
224402010-11-10 Luis Machado <luisgpm@br.ibm.com>
22441
22442 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22443 signed comparison.
22444
8ca52c6e
L
224452010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22446
22447 [BZ #12205]
22448 * string/test-strncasecmp.c (check_result): New function.
22449 (do_one_test): Use it.
22450 (check1): New function.
22451 (test_main): Use it.
22452 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22453 Support strcasecmp and strncasecmp.
22454
69da074d
UD
224552010-11-08 Ulrich Drepper <drepper@gmail.com>
22456
22457 [BZ #12194]
22458 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22459 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22460
ff02d528
L
224612010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22462
22463 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22464 IFUNC support.
22465 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22466 memset-x86-64.
22467 * sysdeps/x86_64/multiarch/bzero.S: New file.
22468 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22469 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22470 * sysdeps/x86_64/multiarch/memset.S: New file.
22471 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22473 Set bit_Prefer_SSE_for_memop for Intel processors.
22474 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22475 Define.
22476 (index_Prefer_SSE_for_memop): Define.
22477 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22478
344d0b54
LM
224792010-11-04 Luis Machado <luisgpm@br.ibm.com>
22480
22481 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22482 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22483
c0dde15b
UD
224842010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22485
22486 [BZ #12191]
22487 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22488 (__x86_64_raw_data_cache_size_half): Likewise.
22489 (__x86_64_raw_shared_cache_size): Likewise.
22490 (__x86_64_raw_shared_cache_size_half): Likewise.
22491
22492 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22493 (__x86_64_raw_data_cache_size_half): Likewise.
22494 (__x86_64_raw_shared_cache_size): Likewise.
22495 (__x86_64_raw_shared_cache_size_half): Likewise.
22496 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22497 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22498 and __x86_64_raw_shared_cache_size_half. Round
22499 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22500 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22501 to multiple of 256 bytes.
22502
0e516e0e
MS
225032010-11-03 Ulrich Drepper <drepper@gmail.com>
22504
22505 [BZ #12167]
22506 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22507 of inacessible symlinks. Verify result of symlink before returning it.
22508 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22509 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22510
0e012e87
ER
225112010-10-28 Erich Ritz <erichritz@gmail.com>
22512
22513 * math/math.h (isinf): Fix typo in comment.
22514
de0ff7bc
UD
225152010-11-01 Ulrich Drepper <drepper@gmail.com>
22516
22517 * po/da.po: Update from translation team.
22518
fa41c84d
UD
225192010-10-26 Ulrich Drepper <drepper@gmail.com>
22520
22521 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22522 is added to the list.
22523
f0967738
AK
225242010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22525 Ulrich Drepper <drepper@gmail.com>
22526
22527 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22528 the global list here. Move code to...
22529 (_dl_add_to_namespace_list): ...here. New function.
22530 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22531 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22532 * elf/dl-load.c (lose): Don't remove the element from the list.
22533 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22534 (_dl_map_object): Likewise.
22535
225362010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22537
22538 [BZ #12159]
22539 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22540 into all bytes of SSE register.
22541 Patch by Richard Li <richardpku@gmail.com>.
22542
f0967738 225432010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22544
22545 [BZ #12140]
22546 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22547 perturbing.
22548
d0b9e94f
MB
225492010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22550
22551 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22552 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22553 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22554 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22556 submachine.
22557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22558
8e9f92e9
AS
225592010-10-22 Andreas Schwab <schwab@redhat.com>
22560
22561 * include/dlfcn.h (__RTLD_SECURE): Define.
22562 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22563 mode & __RTLD_SECURE instead.
22564 (open_path): Rename preloaded parameter to secure.
22565 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22566 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22567 * elf/dl-deps.c (openaux): Likewise.
22568 * elf/rtld.c (struct map_args): Remove is_preloaded.
22569 (map_doit): Don't use it.
22570 (dl_main): Likewise.
22571 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22572 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22573
bc96fbda
AS
225742010-09-09 Andreas Schwab <schwab@redhat.com>
22575
22576 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22577 (sysd-rules-targets): Remove duplicates.
22578 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22579 rtld-%.$o dependency.
22580
22cd1c9b
AS
225812010-10-18 Andreas Schwab <schwab@redhat.com>
22582
22583 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22584 _dl_map_object do it.
22585
18edac48
UD
225862010-10-19 Ulrich Drepper <drepper@gmail.com>
22587
22588 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22589 fast fma builtins, define the macros in the C99 standard.
22590 (FP_FAST_FMAF): Likewise.
22591 (FP_FAST_FMAL): Likewise.
22592 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22593
22594 * bits/mathdef.h: Update copyright year.
22595 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22596
d2050124
MM
225972010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22598
22599 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22600 builtins, define the macros in the C99 standard.
22601 (FP_FAST_FMAF): Likewise.
22602 (FP_FAST_FMAL): Likewise.
22603 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22604 multiply/add.
22605 (FP_FAST_FMAF): Likewise.
22606
475facd1
JJ
226072010-10-15 Jakub Jelinek <jakub@redhat.com>
22608
22609 [BZ #3268]
22610 * math/libm-test.inc (fma_test): Some new testcases.
22611 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22612 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22613 y and infinite z. Do multiplication by C already in long double.
22614 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22615 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22616 y and infinite z. Do bitwise or of inexact bit into u.d.
22617 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22618 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22619 * sysdeps/i386/fpu/s_fma.S: Removed.
22620 * sysdeps/i386/fpu/s_fmal.S: Removed.
22621
7c08a05c
JJ
226222010-10-16 Jakub Jelinek <jakub@redhat.com>
22623
22624 [BZ #3268]
22625 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22626 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22627 computation is not scheduled after fetestexcept. Fix value
22628 of minimum denormal long double.
22629
f3f7372d
JJ
226302010-10-14 Jakub Jelinek <jakub@redhat.com>
22631
22632 [BZ #3268]
22633 * math/libm-test.inc (fma_test): Add some more tests.
22634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22635 correctly.
22636
14d43591
AS
226372010-10-15 Andreas Schwab <schwab@redhat.com>
22638
22639 * scripts/data/localplt-s390-linux-gnu.data: New file.
22640 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22641
5e908464
JJ
226422010-10-13 Jakub Jelinek <jakub@redhat.com>
22643
22644 [BZ #3268]
22645 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22646 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22647 instead of dbl-64.
22648 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22649 inlines.
22650 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22651 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22652 if one of x and y is very large and the other is subnormal.
22653 * sysdeps/s390/fpu/s_fmaf.c: New file.
22654 * sysdeps/s390/fpu/s_fma.c: New file.
22655 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22656 * sysdeps/powerpc/fpu/s_fma.S: New file.
22657 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22658 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22659 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22660
226612010-10-12 Jakub Jelinek <jakub@redhat.com>
22662
22663 [BZ #3268]
22664 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22665 fma tests.
22666 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22667 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22668 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22669 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22670 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22671 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22672 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22673
b833d51f
UD
226742010-10-12 Ulrich Drepper <drepper@redhat.com>
22675
22676 [BZ #12078]
22677 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22678 * posix/bug-regex31.input: Add test case.
22679
1751705d
UD
226802010-10-11 Ulrich Drepper <drepper@gmail.com>
22681
e9b9cbf5
UD
22682 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22683 * posix/bug-regex31.input: New file.
22684
22685 [BZ #12078]
22686 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22687 (parse_sub_exp): Fix last change, use postorder.
22688
ef06edbe
UD
22689 * posix/bug-regex31.c: New file.
22690 * posix/Makefile: Add rules to build and run bug-regex31.
22691
a129c80d
UD
22692 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22693
22694 [BZ #12078]
22695 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22696
b76b818e
UD
22697 [BZ #12108]
22698 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22699 to have entries in sys_siglist.
22700
1751705d
UD
22701 [BZ #12093]
22702 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22703 be NULL.
22704
9ff8d36f
JJ
227052010-10-07 Jakub Jelinek <jakub@redhat.com>
22706
22707 [BZ #3268]
22708 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22709 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22710 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22711 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22712 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22713 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22714 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22715 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22716 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22717 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22718 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22719 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22720 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22721 * math/ftestexcept.c (fetestexcept): Likewise.
22722 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22723 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22724 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22725 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22726 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22727 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22728 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22729
af325969
UD
227302010-10-11 Ulrich Drepper <drepper@gmail.com>
22731
c579b202 22732 [BZ #12107]
af325969
UD
22733 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22734 newline.
22735
67a67b95
UD
227362010-10-06 Ulrich Drepper <drepper@gmail.com>
22737
22738 * string/bug-strstr1.c: New file.
22739 * string/Makefile: Add rules to build and run bug-strstr1.
22740
5fb308bc
EB
227412010-10-05 Eric Blake <eblake@redhat.com>
22742
22743 [BZ #12092]
22744 * string/str-two-way.h (two_way_long_needle): Always clear memory
22745 when skipping input due to the shift table.
22746
45db99c7
UD
227472010-10-03 Ulrich Drepper <drepper@gmail.com>
22748
3b111893
UD
22749 [BZ #12005]
22750 * malloc/mcheck.c: Handle large requests.
22751
45db99c7
UD
22752 [BZ #12077]
22753 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22754 for strncmp and strncasecmp.
22755 * string/stratcliff.c: Add tests for strcmp and strncmp.
22756 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22757
cf7a1eb8
NI
227582010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22759
22760 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22761 __set_fpscr.
22762
6484ba5e
AJ
227632010-09-30 Andreas Jaeger <aj@suse.de>
22764
22765 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22766 (CGROUP_SUPER_MAGIC): Define.
22767 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22768 Handle btrfs and cgroup file systems.
22769 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22770 Likewise.
22771
91c42559
LM
227722010-09-27 Luis Machado <luisgpm@br.ibm.com>
22773
22774 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22775 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22776
87a97932
AK
227772010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22778
22779 [BZ #12067]
22780 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22781 trying to locate the ELF header.
22782
c21cc9bc
AS
227832010-09-27 Andreas Schwab <schwab@redhat.com>
22784
22785 [BZ #11611]
22786 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22787 Mask out sign-bit copies when constructing f_fsid.
22788
315970f6
PB
227892010-09-24 Petr Baudis <pasky@suse.cz>
22790
22791 * debug/stack_chk_fail_local.c: Add missing licence exception.
22792 * debug/warning-nop.c: Likewise.
22793
1ac7a2c7
JM
227942010-09-15 Joseph Myers <joseph@codesourcery.com>
22795
22796 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22797 implementing getdents64 using getdents syscall, set d_type if
22798 __ASSUME_GETDENTS32_D_TYPE.
22799
56801c50
AS
228002010-09-16 Andreas Schwab <schwab@redhat.com>
22801
22802 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22803 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22804
dda51327
UD
228052010-09-21 Ulrich Drepper <drepper@redhat.com>
22806
22807 [BZ #12037]
22808 * posix/unistd.h: Undo change of feature selection for ftruncate from
22809 2010-01-11.
22810
8ffcee4a
UD
228112010-09-20 Ulrich Drepper <drepper@redhat.com>
22812
a545ecd9 22813 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22814 detection.
22815
e24f0a8b
AS
228162010-09-20 Andreas Schwab <schwab@redhat.com>
22817
22818 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22819 fanotify_mark.
22820 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22821
7291c56f
AS
228222010-09-14 Andreas Schwab <schwab@redhat.com>
22823
22824 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22825 variables after CHECK_SP call.
22826 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22827
bc5fb037
AS
228282010-09-13 Andreas Schwab <schwab@redhat.com>
22829 Ulrich Drepper <drepper@redhat.com>
22830
22831 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22832 re-relocationg ld.so.
22833 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22834 _dl_init_paths call.
22835 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22836 here anymore.
22837
e66e7419
UD
228382010-09-14 Ulrich Drepper <drepper@redhat.com>
22839
22840 * resolv/res_init.c (__res_vinit): Count the default server we added.
22841
c044aa75
CLT
228422010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22843 Ulrich Drepper <drepper@redhat.com>
22844
22845 [BZ #11968]
22846 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22847 (____longjmp_chk): Use %ebx for saving value across system call.
22848 Add unwind info.
22849
32cf4069
AS
228502010-09-06 Andreas Schwab <schwab@redhat.com>
22851
22852 * manual/Makefile: Don't mix pattern rules with normal rules.
22853
817328ee
AS
228542010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22855
22856 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22857 operation.
22858 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22859 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22860 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22861 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22862 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22863 Likewise.
22864
29fddf61
UD
228652010-09-04 Ulrich Drepper <drepper@redhat.com>
22866
22867 [BZ #11979]
22868 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22869 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22870
0959ffc9
UD
228712010-09-02 Ulrich Drepper <drepper@redhat.com>
22872
22873 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22874 * sysdeps/x86_64/addmul_1.S: Likewise.
22875 * sysdeps/x86_64/lshift.S: Likewise.
22876 * sysdeps/x86_64/mul_1.S: Likewise.
22877 * sysdeps/x86_64/rshift.S: Likewise.
22878 * sysdeps/x86_64/sub_n.S: Likewise.
22879 * sysdeps/x86_64/submul_1.S: Likewise.
22880
ece29840
ST
228812010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22882
0959ffc9
UD
22883 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22884 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22885 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22886 * bits/sched.h [__need_schedparam]
ece29840 22887 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22888 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22889 (__defined_schedparam): Define to 1.
ece29840
ST
22890 (__sched_param): New structure, identical to sched_param.
22891 (__need_schedparam): Undefine.
22892
e53a31fe
MF
228932010-08-31 Mike Frysinger <vapier@gentoo.org>
22894
fdc0c10d
MF
22895 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22896 (epoll_create1): Declare.
22897
e53a31fe
MF
22898 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22899
a726d796
AS
229002010-08-31 Andreas Schwab <schwab@redhat.com>
22901
22902 [BZ #7066]
22903 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22904 shifting retval into place.
22905
2f3e3dc7
UD
229062010-09-01 Ulrich Drepper <drepper@redhat.com>
22907
f2933da9
UD
22908 * nis/rpcsvc/nis.h: Update copyright notice.
22909 * nis/rpcsvc/nis.x: Likewise.
22910 * nis/rpcsvc/nis_callback.h: Likewise.
22911 * nis/rpcsvc/nis_callback.x: Likewise.
22912 * nis/rpcsvc/nis_object.x: Likewise.
22913 * nis/rpcsvc/nis_tags.h: Likewise.
22914 * nis/rpcsvc/yp.h: Likewise.
22915 * nis/rpcsvc/yp.x: Likewise.
22916 * nis/rpcsvc/ypupd.h: Likewise.
22917 * nis/yp_xdr.c: Likewise.
22918 * nis/ypupdate_xdr.c: Likewise.
22919
2f3e3dc7
UD
22920 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22921 mainly the body of pmap_getport. Add parameters to specify timeouts.
22922 (pmap_getport): Use __libc_rpc_getport.
22923 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22924 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22925 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22926
f3dcc2f9
AS
229272010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22928
22929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22930 fanotify_mark.
22931
6d34eb5b
RM
229322010-08-27 Roland McGrath <roland@redhat.com>
22933
22934 * sysdeps/i386/i686/multiarch/Makefile
22935 (CFLAGS-varshift.c): New variable.
22936
9ea3de11
UD
229372010-08-27 Ulrich Drepper <drepper@redhat.com>
22938
c96d23fc
UD
22939 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22940 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22941
9ea3de11
UD
22942 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22943
22944 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22945
623aac7f
L
229462010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22947
22948 * sysdeps/x86_64/strlen.S: Unroll the loop.
22949 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22950 strlen-sse2 strlen-sse2-bsf.
22951 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22952 __strlen_no_bsf if bit_Slow_BSF is set.
22953 (__strlen_sse42): Removed.
22954 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22955 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22956
8b2b7715
RM
229572010-08-25 Roland McGrath <roland@redhat.com>
22958
22959 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22960 * sysdeps/x86_64/multiarch/varshift.c: New file.
22961 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22962 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22963 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22964 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22965
e73015f2
L
229662010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22967
22968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22969 strlen-sse2 strlen-sse2-bsf.
22970 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22971 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22972 (__strlen_sse2): Removed.
22973 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22974 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22976 bit_Slow_BSF for Atom.
22977 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22978 (index_Slow_BSF): Define.
22979 (HAS_SLOW_BSF): Define.
22980
df24a73e
UD
229812010-08-25 Ulrich Drepper <drepper@redhat.com>
22982
22983 [BZ #10851]
22984 * resolv/res_init.c (__res_vinit): When no server address at all
22985 is given default to loopback.
22986
f2ac4868
RM
229872010-08-24 Roland McGrath <roland@redhat.com>
22988
09055553
RM
22989 * configure.in: Remove config-name.h generation.
22990 * configure: Regenerated.
22991 * config-name.in: File removed.
22992 * scripts/config-uname.sh: New file.
22993 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22994 ($(objdir)config-name.h): New target.
22995
f2ac4868
RM
22996 * sunrpc/rpc_parse.h: Avoid nested comment.
22997
73f27d5e
RH
229982010-08-24 Richard Henderson <rth@redhat.com>
22999 Ulrich Drepper <drepper@redhat.com>
23000 H.J. Lu <hongjiu.lu@intel.com>
23001
23002 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23004 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23005 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23006 _mm_alignr_epi8 with _mm_loadu_si128.
23007 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23008 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23009 (__m128i_shift_right): Removed.
23010 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23011 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23012 * sysdeps/x86_64/multiarch/varshift.h: New file.
23013 * sysdeps/x86_64/multiarch/varshift.S: New file.
23014
84b9230c
MF
230152010-08-21 Mike Frysinger <vapier@gentoo.org>
23016
23017 * configure.in: Move assembler checks to before sysdep dir checking.
23018
9bbd0ddc
PB
230192010-08-20 Petr Baudis <pasky@suse.cz>
23020
23021 * LICENSES: Sync the sunrpc license.
23022
9da4bb31
UD
230232010-08-19 Ulrich Drepper <drepper@redhat.com>
23024
a7ab6ec8
UD
23025 * sunrpc/auth_des.c: Update copyright notice once again.
23026 * sunrpc/auth_none.c: Likewise.
23027 * sunrpc/auth_unix.c: Likewise.
23028 * sunrpc/authdes_prot.c: Likewise.
23029 * sunrpc/authuxprot.c: Likewise.
23030 * sunrpc/bindrsvprt.c: Likewise.
23031 * sunrpc/clnt_gen.c: Likewise.
23032 * sunrpc/clnt_perr.c: Likewise.
23033 * sunrpc/clnt_raw.c: Likewise.
23034 * sunrpc/clnt_simp.c: Likewise.
23035 * sunrpc/clnt_tcp.c: Likewise.
23036 * sunrpc/clnt_udp.c: Likewise.
23037 * sunrpc/clnt_unix.c: Likewise.
23038 * sunrpc/des_crypt.c: Likewise.
23039 * sunrpc/des_soft.c: Likewise.
23040 * sunrpc/get_myaddr.c: Likewise.
23041 * sunrpc/getrpcport.c: Likewise.
23042 * sunrpc/key_call.c: Likewise.
23043 * sunrpc/key_prot.c: Likewise.
23044 * sunrpc/openchild.c: Likewise.
23045 * sunrpc/pm_getmaps.c: Likewise.
23046 * sunrpc/pm_getport.c: Likewise.
23047 * sunrpc/pmap_clnt.c: Likewise.
23048 * sunrpc/pmap_prot.c: Likewise.
23049 * sunrpc/pmap_prot2.c: Likewise.
23050 * sunrpc/pmap_rmt.c: Likewise.
23051 * sunrpc/rpc/auth.h: Likewise.
23052 * sunrpc/rpc/auth_unix.h: Likewise.
23053 * sunrpc/rpc/clnt.h: Likewise.
23054 * sunrpc/rpc/des_crypt.h: Likewise.
23055 * sunrpc/rpc/key_prot.h: Likewise.
23056 * sunrpc/rpc/netdb.h: Likewise.
23057 * sunrpc/rpc/pmap_clnt.h: Likewise.
23058 * sunrpc/rpc/pmap_prot.h: Likewise.
23059 * sunrpc/rpc/pmap_rmt.h: Likewise.
23060 * sunrpc/rpc/rpc.h: Likewise.
23061 * sunrpc/rpc/rpc_des.h: Likewise.
23062 * sunrpc/rpc/rpc_msg.h: Likewise.
23063 * sunrpc/rpc/svc.h: Likewise.
23064 * sunrpc/rpc/svc_auth.h: Likewise.
23065 * sunrpc/rpc/types.h: Likewise.
23066 * sunrpc/rpc/xdr.h: Likewise.
23067 * sunrpc/rpc_clntout.c: Likewise.
23068 * sunrpc/rpc_cmsg.c: Likewise.
23069 * sunrpc/rpc_common.c: Likewise.
23070 * sunrpc/rpc_cout.c: Likewise.
23071 * sunrpc/rpc_dtable.c: Likewise.
23072 * sunrpc/rpc_hout.c: Likewise.
23073 * sunrpc/rpc_main.c: Likewise.
23074 * sunrpc/rpc_parse.c: Likewise.
23075 * sunrpc/rpc_parse.h: Likewise.
23076 * sunrpc/rpc_prot.c: Likewise.
23077 * sunrpc/rpc_sample.c: Likewise.
23078 * sunrpc/rpc_scan.c: Likewise.
23079 * sunrpc/rpc_scan.h: Likewise.
23080 * sunrpc/rpc_svcout.c: Likewise.
23081 * sunrpc/rpc_tblout.c: Likewise.
23082 * sunrpc/rpc_util.c: Likewise.
23083 * sunrpc/rpc_util.h: Likewise.
23084 * sunrpc/rpcinfo.c: Likewise.
23085 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23086 * sunrpc/rpcsvc/key_prot.x: Likewise.
23087 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23088 * sunrpc/rpcsvc/mount.x: Likewise.
23089 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23090 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23091 * sunrpc/rpcsvc/rex.x: Likewise.
23092 * sunrpc/rpcsvc/rstat.x: Likewise.
23093 * sunrpc/rpcsvc/rusers.x: Likewise.
23094 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23095 * sunrpc/rpcsvc/spray.x: Likewise.
23096 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23097 * sunrpc/rtime.c: Likewise.
23098 * sunrpc/svc.c: Likewise.
23099 * sunrpc/svc_auth.c: Likewise.
23100 * sunrpc/svc_authux.c: Likewise.
23101 * sunrpc/svc_raw.c: Likewise.
23102 * sunrpc/svc_run.c: Likewise.
23103 * sunrpc/svc_simple.c: Likewise.
23104 * sunrpc/svc_tcp.c: Likewise.
23105 * sunrpc/svc_udp.c: Likewise.
23106 * sunrpc/svc_unix.c: Likewise.
23107 * sunrpc/svcauth_des.c: Likewise.
23108 * sunrpc/xcrypt.c: Likewise.
23109 * sunrpc/xdr.c: Likewise.
23110 * sunrpc/xdr_array.c: Likewise.
23111 * sunrpc/xdr_float.c: Likewise.
23112 * sunrpc/xdr_mem.c: Likewise.
23113 * sunrpc/xdr_rec.c: Likewise.
23114 * sunrpc/xdr_ref.c: Likewise.
23115 * sunrpc/xdr_sizeof.c: Likewise.
23116 * sunrpc/xdr_stdio.c: Likewise.
23117
9da4bb31
UD
23118 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23119 handling.
23120
bdaa77bc
AS
231212010-08-19 Andreas Schwab <schwab@redhat.com>
23122
23123 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23124
fe2f79db
LM
231252010-08-19 Luis Machado <luisgpm@br.ibm.com>
23126
23127 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23128 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23129 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23130 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23131 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23132 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23133 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23134 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23135 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23136 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23137 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23138 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23139 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23140 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23141
b9b42ee0
AB
231422010-07-26 Anton Blanchard <anton@samba.org>
23143
23144 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23145 * malloc/arena.c (heap_trim): Likewise.
23146
1c06ba31
UD
231472010-08-16 Ulrich Drepper <drepper@redhat.com>
23148
23149 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23150 here. Not...
23151 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23152 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23153
f8392f40
L
231542010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23155
23156 * sysdeps/i386/elf/Makefile: New file.
23157
3162f12e
AS
231582010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23159
23160 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23161 from fanotify_init.
23162 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23163 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23164
28c90b2c
UD
231652010-08-15 Ulrich Drepper <drepper@redhat.com>
23166
23167 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23168 of strncasecmp_l.
1feccb6c 23169 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23170
ca6bb004
UD
231712010-08-14 Ulrich Drepper <drepper@redhat.com>
23172
e9f82e0d
UD
23173 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23174 strncase_l-nonascii.
23175 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23176 Add strncase_l-ssse3.
23177 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23178 * sysdeps/x86_64/strcmp.S: Likewise.
23179 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23180 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23181 * sysdeps/x86_64/strncase.S: New file.
23182 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23183 * sysdeps/x86_64/strncase_l.S: New file.
23184 * string/Makefile (strop-tests): Add strncasecmp.
23185 * string/test-strncasecmp.c: New file.
23186
23187 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23188 warning.
23189
ca6bb004
UD
23190 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23191 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23192
052fa7b3
AS
231932010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23194
23195 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23196
962dba78
UD
231972010-08-12 Ulrich Drepper <drepper@redhat.com>
23198
23199 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23200 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23201 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23202
bebff237
AM
232032010-05-01 Alan Modra <amodra@gmail.com>
23204
23205 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23206 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23207 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23208 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23209 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23210 tidying. Don't tail-call __sigjmp_save for static lib.
23211 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23212 save location.
23213 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23214 (CALL_MCOUNT): Add eh info, and nop after bl.
23215 (TAIL_CALL_SYSCALL_ERROR): New macro.
23216 (PSEUDO_RET): Use it.
23217 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23218 Correct save location of integer regs and cr.
23219 (_dl_profile_resolve): Correct cr save location. Delete nops
23220 after bl when SHARED. Reduce cfi size a little by better
23221 placement of cfi directives.
23222 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23223 make a stack frame. Instead use parm save area as a temp.
23224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23225 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23227 Don't make a stack frame for parent, use parm save area.
23228 Increase child stack frame to 112 bytes. Don't save unused reg,
23229 and adjust reg usage. Set up cfi on error recovery and
23230 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23232 (__makecontext): Add dummy nop after jump to exit.
23233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23234 Use correct parm save area and cr save, reduce stack frame.
23235 Correct cfi for possible PSEUDO_RET frame setup.
23236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23237 Branch to local label emitted by PSEUDO_RET rather than
23238 __syscall_error.
23239
02637374
AS
232402010-08-12 Andreas Schwab <schwab@redhat.com>
23241
23242 [BZ #11904]
23243 * locale/programs/locale.c (print_assignment): New function.
23244 (show_locale_vars): Use it.
23245
c3e2f19b
UD
232462010-08-11 Ulrich Drepper <drepper@redhat.com>
23247
3cdaa6ad
UD
23248 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23249 field.
23250 (struct statfs64): Likewise.
23251 (_STATFS_F_FLAGS): Define.
23252 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23253 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23254 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23255 (ST_VALID): Define locally.
23256 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23257 __statvfs_getflags, use the provided value.
23258 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23259 __ASSUME_STATFS_F_FLAGS.
23260
754f7da3
UD
23261 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23262
10b3bedc
UD
23263 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23264 Add sys/fanotify.h.
23265 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23266 fanotify_mask for GLIBC_2.13.
23267 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23268 fanotify_init and fanotify_mark.
23269 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23270 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23271
c08fb0d7
UD
23272 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23273 Add prlimit.
23274 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23275 prlimit64 for GLIBC_2.13.
23276 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23277 prlimit64.
23278 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23279 syscall.
23280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23281 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23282 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23283 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23284 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23285 add prlimit alias.
23286 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23287
15bac72b
UD
23288 [BZ #11903]
23289 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23290 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23291
c3e2f19b
UD
23292 * nss/Makefile: Add rules to build and run tst-nss-test1.
23293 * shlib-versions: Add entry for libnss_test1.
23294 * nss/nss_test1.c: New file.
23295 * nss/tst-nss-test1.c: New file.
23296
23297 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23298 (__nss_configure_lookup): Set appropriate entry in
23299 __nss_configure_lookup to true.
23300 * nss/nsswitch.h: Define enum with indeces of databases in
23301 databases and __nss_database_custom arrays. Declare
23302 __nss_database_custom.
23303 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23304 to avoid using nscd when custom rules are installed.
23305 * nss/getXXbyYY_r.c: Likewise.
23306 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23307
23308 * nss/nss_files/files-parse.c: Whitespace fixes.
23309
f15ce4d8
UD
233102010-08-09 Ulrich Drepper <drepper@redhat.com>
23311
23312 [BZ #11883]
23313 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23314 * posix/fnmatch_loop.c: Likewise.
23315
d22e4cc9
AK
233162010-07-17 Andi Kleen <ak@linux.intel.com>
23317
23318 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23319 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23320 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23321 * Versions.def [GLIBC_2.13]: Add.
23322
805bc17d
UD
233232010-08-06 Ulrich Drepper <drepper@redhat.com>
23324
23325 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23326 Also fail if tpwd after pwuid call is NULL.
23327
5a42321d
ST
233282010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23329
23330 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23331 when converting to ms.
23332
fd3ebeda
ST
233332010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23334
23335 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23336 EOPNOTSUPP errors with ENOTTY.
23337 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23338 EOPNOTSUPP errors with ENOTTY.
23339
73507d3a
UD
233402010-07-31 Ulrich Drepper <drepper@redhat.com>
23341
23342 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23343 Add strcasecmp_l-ssse3.
23344 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23345 strcasecmp.
23346 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23347 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23348 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23349
fe36dd02
UD
233502010-07-30 Ulrich Drepper <drepper@redhat.com>
23351
66f6765a
UD
23352 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23353
42e08a54
UD
23354 * string/Makefile (strop-tests): Add strcasecmp.
23355 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23356 strcasecmp_l-nonascii.
23357 (gen-as-const-headers): Add locale-defines.sym.
23358 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23359 * sysdeps/x86_64/strcasecmp.S: New file.
23360 * sysdeps/x86_64/strcasecmp_l.S: New file.
23361 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23362 * sysdeps/x86_64/locale-defines.sym: New file.
23363 * string/test-strcasecmp.c: New file.
23364
fe36dd02
UD
23365 * string/test-strcasestr.c: Test both ends of the range of characters.
23366 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23367
48cbc0d6
RM
233682010-07-29 Roland McGrath <roland@redhat.com>
23369
76e6d6bc 23370 [BZ #11856]
48cbc0d6
RM
23371 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23372
880113d9
UD
233732010-07-27 Ulrich Drepper <drepper@redhat.com>
23374
23375 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23376 for ld.so.
23377
deb9cabb
AS
233782010-07-27 Andreas Schwab <schwab@redhat.com>
23379
23380 * manual/memory.texi (Malloc Tunable Parameters): Document
23381 M_PERTURB.
23382
1c7570ff
RM
233832010-07-26 Roland McGrath <roland@redhat.com>
23384
23385 [BZ #11840]
23386 * configure.in (-fgnu89-inline check): Set and substitute
23387 gnu89_inline, not libc_cv_gnu89_inline.
23388 * configure: Regenerated.
23389 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23390
24fb0f88
UD
233912010-07-26 Ulrich Drepper <drepper@redhat.com>
23392
23393 * string/test-strnlen.c: New file.
23394 * string/Makefile (strop-tests): Add strnlen.
23395 * string/tester.c (test_strnlen): Add a few more test cases.
23396 * string/tst-strlen.c: Better error reporting.
23397
23398 * sysdeps/x86_64/strnlen.S: New file.
23399
8e96b93a
UD
234002010-07-24 Ulrich Drepper <drepper@redhat.com>
23401
23402 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23403 lower-latency instructions.
23404
dbc676d4
UD
234052010-07-23 Ulrich Drepper <drepper@redhat.com>
23406
23407 * string/test-strcasestr.c: New file.
23408 * string/test-strstr.c: New file.
23409 * string/Makefile (strop-tests): Add strstr and strcasestr.
23410 * string/str-two-way.h: Don't undefine MAX.
23411 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23412
f6a31e0e
AS
234132010-07-21 Andreas Schwab <schwab@redhat.com>
23414
23415 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23416 strcasestr-nonascii.
23417 (CFLAGS-strcasestr-nonascii.c): Define.
23418 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23419 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23420 Remove unused attribute.
23421
5dbc3b6c
RM
234222010-07-20 Roland McGrath <roland@redhat.com>
23423
23424 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23425 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23426 ld.so.cache was broken. With it, there is no way to disable dsocaps
23427 like LD_HWCAP_MASK can disable hwcaps.
23428
23d101d8
EPM
234292010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23430
23431 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23432
cc9f2e47
UD
234332010-07-16 Ulrich Drepper <drepper@redhat.com>
23434
23435 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23436 call in strcasestr.
23437 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23438 __strcasestr_sse42_nonascii.
23439 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23440 strcasestr-nonascii.c.
23441 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23442
77c1b069
LM
234432010-06-15 Luis Machado <luisgpm@br.ibm.com>
23444
23445 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23446 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23447 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23448 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23449
440566c3
UD
234502010-07-09 Ulrich Drepper <drepper@redhat.com>
23451
23452 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23453 fcntl.
23454
5be9d05d
AS
234552010-07-06 Andreas Schwab <schwab@redhat.com>
23456
c30b7ee2 23457 [BZ #11577]
5be9d05d
AS
23458 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23459 dl_signal_cerror.
23460
8a492a67
UD
234612010-07-06 Ulrich Drepper <drepper@redhat.com>
23462
23463 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23464 _PC_PIPE_BUF using F_GETPIPE_SZ.
23465
713df3d5
RM
234662010-07-05 Roland McGrath <roland@redhat.com>
23467
23468 * manual/arith.texi (Rounding Functions): Fix rint description
23469 implicit in round description.
23470
702e8f14
UD
234712010-07-02 Ulrich Drepper <drepper@redhat.com>
23472
23473 * elf/Makefile: Fix linking for a few tests to make recent linker
23474 happy.
23475
52ed8be9
AS
234762010-06-30 Andreas Schwab <schwab@redhat.com>
23477
23478 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23479 $(common-objpfx)libc_nonshared.a.
23480
f47c9a11
LM
234812010-06-21 Luis Machado <luisgpm@br.ibm.com>
23482
23483 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23484 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23485 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23486 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23487 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23488 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23489 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23490 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23505 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23506 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23507 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23508 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23509 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23510 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23511 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23512 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23513 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23514 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23515 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23516 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23531
6fb8cbcb
L
235322010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23533
23534 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23535 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23536 * string/memmove.c (memmove): Renamed to ...
23537 (MEMMOVE): ...this. Default to memmove.
23538 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23539 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23540 (END_CHK): Define.
23541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23542 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23543 mempcpy-ssse3-back memmove-ssse3-back.
23544 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23545 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23546 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23547 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23548 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23549 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23550 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23551 * sysdeps/x86_64/multiarch/memmove.c: New file.
23552 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23553 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23554 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23555 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23556 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23557 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23558 Define.
23559 (index_Fast_Copy_Backward): Define.
23560 (HAS_ARCH_FEATURE): Define.
23561 (HAS_FAST_REP_STRING): Define.
23562 (HAS_FAST_COPY_BACKWARD): Define.
23563
4e733bac 235642010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23565
23566 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23567 Restore proper fallback handling.
23568
63c4ed22
UD
235692010-06-19 Ulrich Drepper <drepper@redhat.com>
23570
ac2b484c
UD
23571 [BZ #11701]
23572 * posix/group_member.c (__group_member): Correct checking loop.
23573
63c4ed22
UD
23574 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23575 OOM in getpwuid_r correctly. Return error number when the caller
23576 should return, otherwise -1.
23577 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23578 call returning > 0 value.
23579 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23580
765ade4b
AS
235812010-06-07 Andreas Schwab <schwab@redhat.com>
23582
23583 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23584 libc_nonshared.a from targets in modules-names.
23585
80da2e09
KS
235862010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23587
23588 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23589 requires it.
23590
158db122
LM
235912010-06-10 Luis Machado <luisgpm@br.ibm.com>
23592
23593 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23594 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23595 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23596 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23597
caa78cf8
AS
235982010-06-02 Andreas Schwab <schwab@redhat.com>
23599
23600 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23601
b2ef2c01
UD
236022010-06-14 Ulrich Drepper <drepper@redhat.com>
23603
23604 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23605 and F_GETPIPE_SZ.
23606 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23607 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23608 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23609 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23610 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23611 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23612
fbd643b6
RM
236132010-06-14 Roland McGrath <roland@redhat.com>
23614
23615 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23616
f32f2869
JJ
236172010-06-07 Jakub Jelinek <jakub@redhat.com>
23618
23619 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23620 __REDIRECT followed by __THROW.
23621 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23622 * posix/getopt.h (getopt): Likewise.
23623
2a50c078
EPM
236242010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23625
23626 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23627 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23628 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23629 in AT_FLAGS.
23630 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23631 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23632
eb5ad2eb
LM
236332010-05-28 Luis Machado <luisgpm@br.ibm.com>
23634
23635 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23636
3c88fe1e
L
236372010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23638
23639 [BZ #11640]
23640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23641 Properly check family and model.
23642
d2f73151
TY
236432010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23644
23645 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23646
ebd2e13d
LM
236472010-05-24 Luis Machado <luisgpm@br.ibm.com>
23648
23649 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23650
b32b8b45
UD
236512010-05-21 Ulrich Drepper <drepper@redhat.com>
23652
23653 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23654 symbol reference.
23655
9acbe24d
AS
236562010-05-19 Andreas Schwab <schwab@redhat.com>
23657
23658 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23659 symbol reference.
23660
f0ccf6ea
AS
236612010-05-21 Andreas Schwab <schwab@redhat.com>
23662
3d04ff3a
AS
23663 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23664 and internal_recvmmsg.
23665 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23666 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23667 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23668 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23669
f0ccf6ea
AS
23670 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23671 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23672 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23673
5b08ac57
AS
236742010-05-20 Andreas Schwab <schwab@redhat.com>
23675
23676 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23677
4828935d
LM
236782010-05-17 Luis Machado <luisgpm@br.ibm.com>
23679
23680 POWER7 optimizations.
23681 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23682 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23683
373d545e
UD
236842010-05-19 Ulrich Drepper <drepper@redhat.com>
23685
23686 * version.h: Update for 2.13 development version.
23687
21a2b1ae
AS
236882010-05-12 Andrew Stubbs <ams@codesourcery.com>
23689
23690 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23691 exceptions. Return 0.
23692
3f7dcb2b
RM
236932010-05-07 Roland McGrath <roland@redhat.com>
23694
23695 * elf/ldconfig.c (main): Add a const.
23696
5f24d53a 236972010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23698
a160f8d8
UD
23699 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23700 (args_options): Add no-idn option.
23701 (ahosts_keys_int): Add idn_flags to ai_flags.
23702 (parse_option): Handle 'i' option to clear idn_flags.
23703
5f24d53a
UD
23704 * malloc/malloc.c (_int_free): Possible race in the most recently
23705 added check. Only act on the data if no current modification
23706 happened.
265bb1ce
UD
23707
23708See ChangeLog.17 for earlier changes.
This page took 3.058988 seconds and 5 git commands to generate.